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](https://cdn.answeroverflow.com/1172826100460695582/IMG_0104.png)
Solution:Jump to solution
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'...
33 Replies
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 ?Same error even after deleting .sqllite in folder
What does it say when you start the app?
Same here.
File deleted, container restarted, same error.
File recreated, 0B size.
![No description](https://cdn.answeroverflow.com/1172835068646015056/IMG_0105.jpg)
Hi 🙂 It seems like, I have a same issue as @Dwarf :/
I have the same error
Instead of a deleting than restart, have you tried stopping the container, deleting, than starting?
This process provided me with a fresh db
If problems persist, this is a blank db.sqlite file ready for onboarding that my homarr created.
@NoScah @Dwarf @Leowen @SoldierofRome
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.
When in doubt, more force!
Too true
Replacing de DB file with this made it for me!
Thaxs!
@ajnart might want to consider having a replacement on the github or documentation so they aren't just copying mine.
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.