H
Homarr14mo ago
Dwarf

Installation problem

Hi! I install homarr with docker: docker run \ --name homarr \ --restart unless-stopped \ -p 7575:7575 \ -e TZ=Europe/Madrid \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /Dwarf/Datos/AppData/homarr/configs:/app/data/configs \ -v /Dwarf/Datos/AppData/homarr/data:/data \ -v /Dwarf/Datos/AppData/homarr/icons:/app/public/icons \ -d ghcr.io/ajnart/homarr:latest Container state says “unhealthy”, and when i open the url i get the error in the image. The logs shows this errors: { message: 'no such table: user', code: -32603, ������ { code: 'INTERNAL_SERVER_ERROR', httpStatus: 500, path: 'user.count', zodError: null } } } } ] }, shape: { message: 'no such table: user', code: -32603, ������ { code: 'INTERNAL_SERVER_ERROR', httpStatus: 500, path: 'user.count', zodError: null } }, ������ { code: 'INTERNAL_SERVER_ERROR', httpStatus: 500, path: 'user.count', zodError: null }, name: 'TRPCClientError' }, elapsedMs: 56 } Error [TRPCClientError]: no such table: user at TRPCClientError.from (file:///app/.next/server/src/middleware.js:1718:20) at <unknown> (file:///app/.next/server/src/middleware.js:2273:60) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) What am i doing wrong? Thanxs!
No description
Solution:
This issue should be fixed with release v0.14.1 ! If not, please open up a ticket in #💬・get-help
GitHub
Release v0.14.1 Stability improvement and bug fixes · ajnart/homarr
Your issues should be resolved! During the last release, we didn't spend enough time to test on different hardware configurations to ensure that v0.14.0 would work on the majority of people'...
Jump to solution
33 Replies
Thomas
Thomas14mo ago
It seems that there was an error when adding the database somehow, can you try to go to Dwarf/Datos/AppData/homarr/data and deleting the database there ?
NoScah
NoScah14mo ago
Same error even after deleting .sqllite in folder
Thomas
Thomas14mo ago
What does it say when you start the app?
Dwarf
DwarfOP14mo ago
Same here. File deleted, container restarted, same error. File recreated, 0B size.
No description
Leowen
Leowen14mo ago
Hi 🙂 It seems like, I have a same issue as @Dwarf :/
SoldierofRome
SoldierofRome14mo ago
I have the same error
explosive parrot
explosive parrot14mo ago
Instead of a deleting than restart, have you tried stopping the container, deleting, than starting? This process provided me with a fresh db
explosive parrot
explosive parrot14mo ago
If problems persist, this is a blank db.sqlite file ready for onboarding that my homarr created.
explosive parrot
explosive parrot14mo ago
@NoScah @Dwarf @Leowen @SoldierofRome
SoldierofRome
SoldierofRome14mo ago
Was able to resolve it by fully removing the container and re-creating it. Usually don't have to do that when running the container on a Synology NAS; a reset of the container usually does the trick.
explosive parrot
explosive parrot14mo ago
When in doubt, more force!
SoldierofRome
SoldierofRome14mo ago
Too true
Dwarf
DwarfOP14mo ago
Replacing de DB file with this made it for me! Thaxs!
explosive parrot
explosive parrot14mo ago
@ajnart might want to consider having a replacement on the github or documentation so they aren't just copying mine.
NoScah
NoScah14mo ago
Same isssue even after removing container. There is a way to upload my old config in .json ? I think i have to re-create my dashboard from zero.
Leowen
Leowen14mo ago
my container was fresh 😄 I just started to play with Homarr yesterday. Stop - delete - restart did not solve the issue, but copying your db file is do the trick! 🙂
Thomas
Thomas14mo ago
So you had the mount point setup correctly and it still did not work?
Leowen
Leowen14mo ago
yep, thats correct replace db.sqlite with the db from above fix my instace without any additional changes.
Thomas
Thomas14mo ago
So before you had a file created by the app but it didn’t work ? If so can you try to rename your current to something like backup, run it again and run “ls -l” so that I can see the permissions on the files ?
Leowen
Leowen14mo ago
just a moment
Leowen
Leowen14mo ago
No description
Leowen
Leowen14mo ago
do you need the log file of my container?
Thomas
Thomas14mo ago
Can you try to chmod 777 db.sqlite an restart the container ? I wonder if that would fix it
Leowen
Leowen14mo ago
it did not
Thomas
Thomas14mo ago
@here We are looking for a group of people experiencing errors with the new release of homarr, if you are having issues please let @Manicraft1001 know you'd be interested in helping us fix this issue. Send a message there : https://discord.com/channels/972958686051962910/1173242881486635092
Solution
Thomas
Thomas14mo ago
This issue should be fixed with release v0.14.1 ! If not, please open up a ticket in #💬・get-help
GitHub
Release v0.14.1 Stability improvement and bug fixes · ajnart/homarr
Your issues should be resolved! During the last release, we didn't spend enough time to test on different hardware configurations to ensure that v0.14.0 would work on the majority of people'...
d.b.0331
d.b.033113mo ago
fwiw - i last updated my container image 10/31/23 to whatever the latest version was at the time - no issues. Today I tried updating to 0.14.2 and had the database issue. It was a zero byte size db.sqllite. I stopped the container, deleted the file, and restarted and got a 2nd db.sqllite. Tried chmod, no difference. Ultimately I downloaded the above sample db.sqllite, put in place, and things fired right up.
zlob1n8863
zlob1n886312mo ago
thanks, this helped me as well
zlob1n8863
zlob1n886312mo ago
Now I'm stuck on the account creation page 😦 After entering a username and a password, and clicking on Continue, the spinner just keeps spinning. Any ideas on what could be done?
No description
Manicraft1001
Manicraft100112mo ago
Please open a new post / issue @zlob1n8863
dvx
dvx12mo ago
Hello I updated Homarr through portainer and im getting the following message An unexpected error has occurred This page has crashed unexpectedly. We're sorry for the inconvenience. Please try again or contact an administrator
Manicraft1001
Manicraft100112mo ago
Please open a new post in #💬・get-help and post your log
Want results from more Discord servers?
Add your server