-
-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Homarr not working after upgrade #1623
Comments
mine didnt work after upgrade either :( I had to delete the container and start from scratch. |
Just adding that I get that text file busy when trying to run the migration script on startup. Then it errors as above. Think this might be related to this? nodejs/docker-node#1912 |
I can't even delete the container and start from scratch. I get the same error. I started a new stack (on Portainer). OS is OMV. Machine is Intel x64. |
We are working on the text file being busy. 0.14.1 should release soon and fix many of the here mentioned issues. Please let us know if they were resolved in 0.14.1 or not. |
0.14.1 has been released, can you check if your issues are fixed? |
I had to remove the Portainer stack and create a new one, but it did work. |
I tried to upgrade to 0.14.1 but I still get this error
Tried to delete and recreate the container but that sadly didn't help |
Try to delete your database or try again. You can delete the mount point too if you want |
I don't think I have a database file where is it stored? Edit: saw that there is a new mount point, I will test if that solves my issue. |
@ajnart I have now mapped the directory, and it created a db.sqlite file in it but it's size is 0 bytes? Log:
|
Your mountpoint is not writeable. Can you try with no mount point for the DB at all? It will create a docker volume automatically |
How can it create a file if its not writable? (I run my containers with the read_only flag, just for occasions like this, otherwise my backups would have missed this new file) Looks like I had to add |
I had the same issue with the log output I am using docker-compose and adding the following to my docker-compose file helped:
When the app starts up afterwards, it shows a nice message about the upate process but its too late in my case. |
This error does not happen in the latest version, you do not need to mount a db, but it is recommended |
Well, it just happened for me. I updated to the latest Docker image and when starting up the container, it showed those errors. PS: Nice update, thanks a lot for working on Homarr :) |
The problem lies in the fact that the database has not been initialized. The temporary solution is as follows: # enter the docker container
docker exec -it <your_docker_container_id> /bin/bash
# grant executable permission to the script file
chmod +x /app/scripts/run.sh
# initialize the database
/app/scripts/run.sh |
Showing container as unhealthy
|
Pretty self-explanitory. |
ignore that error, and restart the container after script execution in it |
Environment
Docker
Version
No response
Describe the problem
Upgraded homarr as usual and I get an error message
-> An unexpected error has occurred
-> Detailed error information: type client side
The logs
My docker-compose
services: homarr: container_name: homarr image: ghcr.io/ajnart/homarr:latest restart: unless-stopped volumes: - /configs/homar/configs:/app/data/configs - /configs/homar/icons:/app/public/icons - /configs/homar/data:/data - /var/run/docker.sock:/var/run/docker.sock environment: - NEXTAUTH_URL=http://localhost:7575 ports: - '7575:7575'
What I have tried
None of the above works/brings about a new error message
Logs
} }, responseJSON: [ { error: { json: { message: 'no such table: user', code: -32603, data: { code: 'INTERNAL_SERVER_ERROR', httpStatus: 500, path: 'user.count', zodError: null } } } } ] }, shape: { message: 'no such table: user', code: -32603, data: { code: 'INTERNAL_SERVER_ERROR', httpStatus: 500, path: 'user.count', zodError: null } }, data: { code: 'INTERNAL_SERVER_ERROR', httpStatus: 500, path: 'user.count', zodError: null }, name: 'TRPCClientError' }, elapsedMs: 13 } 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)
Context
No response
Please tick the boxes
The text was updated successfully, but these errors were encountered: