homarr gone by mistake
yes i know its a little stupid, looking to see if there is any way i could restore it
Solution:Jump to solution
Ok, then you can copy the compose from https://homarr.dev/docs/getting-started/installation/docker#installation into your Dockge and adjust the path
./homarr/appdata
to /opt/stacks/homarrrr/homarr/appdata
.
Replace the value of the SECRET_ENCRYPTION_KEY
variable with your previous secret encryption key. If you lost it, you can choose the autogenerated one from the documentation, but you'll have to re-setup all integrations....Docker | Homarr documentation
Docker is our recommended installation method for beginners and professionals.
36 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?
please ignore the tag
there is no bug
its just me
losing my mind rn
context is:
>downed my containers
>ran this command: sudo docker system prune -a --volumes --force
>everything is nuked
How did you install Homarr?
via dockge
Please post the docker compose or run command
this is the only thing that's left

Can you navigate into
db
and execute an ls
?
i found an old secret key if that helps
Ok, so the first step is to make a full backup of all files in the
appdata
directory. Store it on a different machine, for example your desktop.
The next step is to figure out your previous encryption key. Do you still have it? Do not post it here, treat it like a password!
The good news is that you data is likely still there. Let me know, once you completed the backup. I'll give you further instructions afterwards.hold on, i also found this

i will do the backup rn
Those are likely the directories from your 0.15.10 or previous installation. Not relevant anymore. But do not delete them just in case. Just to confirm, you were running 1.0.0 or higher and not 0.15.10 or lower?
yes i was running the latest version
i have /appdata in another pc now
backup done
Before we continue, can you confirm that the
db.sqlite
file is present in your backup?yessir

Perfect, from now on do not touch that directory just to be safe.
Are you still using Dockge?
alright
i reinstalled it but its empty
Solution
Ok, then you can copy the compose from https://homarr.dev/docs/getting-started/installation/docker#installation into your Dockge and adjust the path
./homarr/appdata
to /opt/stacks/homarrrr/homarr/appdata
.
Replace the value of the SECRET_ENCRYPTION_KEY
variable with your previous secret encryption key. If you lost it, you can choose the autogenerated one from the documentation, but you'll have to re-setup all integrations.Docker | Homarr documentation
Docker is our recommended installation method for beginners and professionals.
After that, you can attempt to start the stack in Dockge and try to access Homarr. If all went well, you should have access to your data again
okay, on it
For future reference, the
--force
flag is purposely named in a dangerous way, because it deletes all data, that is un-mounted (e.g. resides in volumes). The data that was hosted there is likely gone. If it was really important, you could try to send the disk to a data recovery company (expect high entry cost, likely > 800$).
Homarr was not deleted by this command, because we recommend you to mount the data onto directories in your file system. If you leave them un-mounted, the same thing would have happened to Homarr and your data would be gone.
Your
SECRET_ENCRYPTION_KEY
is misaligned. See the docs again.its alright, there was not much that is dockerize, the main thing that killed me is homarr, cuz i spent alot of time adjusting it
on it
No worries. As a general recommendation, read the docs before you do something. Your mistake is because you didn't plan and prepare. Try to think more carefully about the operations you do on your system 🙂
that is true
appreciate the advice
You're welcome. Were you able to restore it?
it is back but the key was wrong i believe
honestly that is good enough for me
sorry i posted the picture
i deleted it
Awesome. Just re-enter the credentials for the integrations then
Can I mark this as resolved?

it is resolved, thank you very very much