Unfinished Update destroyed Homarr
When I was updating Homarr I cancelled the update by accident and now my Homarr wont work anymore. Is there any way to fix it without losing all my apps and boards?
Solution:Jump to solution
take a backup the run the following
```bash
rm -rf /opt/homarr
mkdir -p /opt/homarr...
38 Replies
Thank you for submitting a support request.
Depending on the volume of requests, our team should get in contact with you shortly.
ā ļø Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
!qa required_data
Thank you for your question. Our support team has noted that your request does not meet the minimum required data so we are unable to answer your question.
Please provide:
- your Homarr logs
- your setup configuration (eg. docker compose, docker run, helm chart, screenshot, ...)
- A detailed description of your problem or question with additional images where necessary
- Your operating system
- Version of Homarr (do not say latest! say 0.15.2, ...)
Failure to comply with this will result in a permanent closure of your support request.
I have homarr running in a proxmox lxc container with debian on it. When trying to update homarr I get this error:
ā Backup Datacp: cannot stat '/opt/homarr/.env': No such file or directory
ā ¦ Backup Data
[ERROR] in line 92: exit code 0: while executing command cp /opt/homarr/.env /opt/homarr-data-backup/.env
And I cant access the UI because of "Internal Server Error"
Currently I have version 1.42.1
And I installed it via the proxmox helper script
@CrazyWolf13 can you check?
Also, why was the process interrupted @L0rd ?
It said that the user cancelled the process but I dont really remember what happened. I think I pressed something wrong. This was a few days ago. Have been trying to fix it ever since.
You probably sent the interrupt signal, for example by copying text, since CTRL + C also sends an INTR.
Please wait for CrazyWolf to reply.
Oh, thanks a lot!
In proxmox you should be able to just roll back to your latest backup of the lxc
@L0rd
Why it interrupted is difficult to say, either you pressed ctl+c or the build failed, do you possibly run older hardware? If so try bumping the ressources.
Problem is, I dont have one...
I thought about reinstalling homarr but than I will loose everything on it
Well that's not good, that should be a lesson to immediately set up proxmox backup server š¬
We can restore, but that will be a bit complicated
So setting up backups for your lxc is definitely a thing you should do.
Please ping me when you are ready
Yes have to do that
I am ready sorry just saw that.
sorry for the inconvenience
@L0rd okay, so please send
the reults of the following:
We need this to locate the .env file containing the creds for the db
This is it @CrazyWolf13
can you do the same for homarr-data-backup
root@homarr:/opt/homarr# ls -al /opt/homarr-data-backup
total 14
drwxr-xr-x 2 root root 3 Oct 26 08:57 .
drwxr-xr-x 5 root root 6 Oct 20 13:15 ..
-rw-r--r-- 1 root root 248 Oct 26 08:57 .env
root@homarr:/opt/homarr#
finally here we got the env file
Thanks so I just need to put it from here into the right folder?
Solution
take a backup the run the following
then try the update again and paste the output of every command here
Thanks thanks
will do a backup rq
alright
Thanks a lot
It works
thanks so much
awesome!
happy to help
but for god sake configure backup
if proxmox already has such an easy and efficient way to do so
Proxmox VE Helper-Scripts
Proxmox VE Helper-Scripts
The official website for the Proxmox VE Helper-Scripts (Community) repository. Featuring over 400+ scripts to help you manage your Proxmox Virtual Environment.
Youre right hahah
š
And this should run on a seperate node or the same node?
well best would be to run it compledtely on a different node
I personally run it as an LXC on my storage server.
Not ideal but possible
If it doesnt use much ressources I could run it on my secondary node in the cluster
worst case I have to install install proxmox backup server to a usb drive connect my zfs pool and have access again, a bit more fragile that with it's own server but good enough for me š
doesn't really use a lot for me
I have assigned 1 Core and 1Gbit RAM
just needs storage ^^
though for me it deduplicates around 7x, which is insane, imagine your VM and LXC taking up 700 GB, on proxmox backup server a full backup just uses 100GB
depending on what you run it may be even higher
Okay thats crazy haha
yeah
Would need to figure out where to best install it
alright, if you need anything else feel free to ping me š
Will do thanks
Really appreciate it
no problem ^^
Thanks a lot for helping on this @CrazyWolf13