deploy failing after installation of v0.15.10

Hi After updating to 0.15.10, the application is not coming back up, I get the following error:




Solution:
That said I'm not completly sure how your setup works, but if your db migration is not run on every release then it will probably not work. Let me know if this helps or we can investigate further
Jump to solution
13 Replies
Cakey Bot
Cakey Bot2mo ago
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?
Manicraft1001
Manicraft10012mo ago
Hi, what version did you upgrade from? What did you do to ugprade?
CrazyWolf13
CrazyWolf13OP2mo ago
0.15.7--> 0.15.10
Manicraft1001
Manicraft10012mo ago
Please post your docker compose / run
CrazyWolf13
CrazyWolf13OP2mo ago
I'm kinda not using docker, as Proxmox is my type one virtualizer. Here the commands I run to update: --> Backup .env file, config and DB remove full application folder download latest github release
export NEXTAUTH_URL="http://WILL_BE_OVERWRITTEN" turbo build
export DATABASE_URL="file:WILL_BE_OVERWRITTEN.sqlite "
update
yarn install &>/dev/null
yarn build &>/dev/null
# restore the config, dn and env file
yarn db:migrate
export NEXTAUTH_URL="http://WILL_BE_OVERWRITTEN" turbo build
export DATABASE_URL="file:WILL_BE_OVERWRITTEN.sqlite "
update
yarn install &>/dev/null
yarn build &>/dev/null
# restore the config, dn and env file
yarn db:migrate
Restart the service of homarr, this normally updates homarr just fine, but the latest v0.15.10 seems to not work with this method.
CrazyWolf13
CrazyWolf13OP2mo ago
PS: the thing with nextauth exports came from here: https://github.com/ajnart/homarr/issues/2125
GitHub
bug: Failing build static page generation · Issue #2125 · ajnart/ho...
Environment Docker Version 0.15.4 Describe the problem When I try to manually build this project, after updating I get the following error: To reproduce Install homarr via git build after a while a...
Manicraft1001
Manicraft10012mo ago
@Meierschlumpf can you look into this? Maybe migration is failing
Meierschlumpf
Meierschlumpf2mo ago
Sure, so the thing is that we added something to the db in the version 0.15.10. I suspect that is why it fails for you.
Solution
Meierschlumpf
Meierschlumpf2mo ago
That said I'm not completly sure how your setup works, but if your db migration is not run on every release then it will probably not work. Let me know if this helps or we can investigate further
CrazyWolf13
CrazyWolf13OP2mo ago
So you think doing each upgrade e.g. 0.15.7-->0.15.8-->0.15.9-->0.15.10 with each a db migration? Okay I'll test that.
Meierschlumpf
Meierschlumpf2mo ago
No, directly should work but you need to check if the db migration was executed
CrazyWolf13
CrazyWolf13OP2mo ago
i manually entered the yarn db:migrate command so yes
CrazyWolf13
CrazyWolf13OP2mo ago
I just re-did the whole process from scratch using a backup from some days ago, the db corrupt seems the most logical thing, but it's working now 🙂 Thanks!

Did you find this page helpful?