H
Homarrβ€’11mo ago
Spillebulle

An unexpected error has occurred

I talked to Mani about it a little bit here: https://canary.discord.com/channels/972958686051962910/1049079561071120384/1155548495399354489 This still does not work on all devices, on the deviced I have the page cached on it works with image dev-db-error. Un uncached devices I just get 404 If I use the dev image I get this: An unexpected error has occurred This page has crashed unexpectedly. We're sorry for the inconvenience. Please try again or contact an administrator Homarr docker logs, it also shows as unhealty: https://pastebin.com/raw/6KJJNZH7
Solution:
Apparently I had the PASSWORD env still in, removed that and works now
Jump to solution
15 Replies
Meierschlumpf
Meierschlumpfβ€’11mo ago
TypeError: Cannot open database because the directory does not exist I guess you need to mount the db directory
Thomas
Thomasβ€’11mo ago
@Spillebulle are you mounting a db correctly ?
Spillebulle
Spillebulleβ€’11mo ago
Here are the mounts @Meierschlumpf @ajnart
No description
Spillebulle
Spillebulleβ€’11mo ago
No description
Meierschlumpf
Meierschlumpfβ€’11mo ago
You need to mount the /app/database directory too, thats new for the new database stuff we added @Spillebulle
Spillebulle
Spillebulleβ€’11mo ago
We should add that here in the docs. I kept double checking here that I had done everything correct
No description
Meierschlumpf
Meierschlumpfβ€’11mo ago
Yeah it's not yet officially released and still on dev. Thats the reason why the documentation has not been updated yet πŸ˜‰
Spillebulle
Spillebulleβ€’11mo ago
@Meierschlumpf Still same Unexpected error has occurred https://pastebin.com/raw/Up8mtsrs
Spillebulle
Spillebulleβ€’11mo ago
No description
Meierschlumpf
Meierschlumpfβ€’11mo ago
For me this command works on windows with docker desktop: docker run --name homarr-error --restart unless-stopped -p 7575:7575 -v configs:/app/data/configs -v icons:/app/public/icons -v database:/app/database -d ghcr.io/ajnart/homarr:dev
Meierschlumpf
Meierschlumpfβ€’11mo ago
No description
Spillebulle
Spillebulleβ€’11mo ago
I am doing it through portainer but the run command would be like so I guess docker run --name Homarr --restart unless-stopped -p 7575:7575 -v /var/lib/docker/volumes/Homarr-data/_data:/app/data/configs -v /var/lib/docker/volumes/Homarr-database/_data:/app/database -d ghcr.io/ajnart/homarr:dev
Solution
Spillebulle
Spillebulleβ€’11mo ago
Apparently I had the PASSWORD env still in, removed that and works now
Meierschlumpf
Meierschlumpfβ€’11mo ago
Nice!
Thomas
Thomasβ€’11mo ago
@Spillebulle please help us write documentation for the new update if you have some free time 🫢🏻
Want results from more Discord servers?
Add your server