H
Homarr•11mo ago
Lety

Just updated container to latest version 1.14 Docker container now unhealthy and unable to access GU

So i host this via portainer. Did the usual duplicate/recreate to pull latest image and now its not working. Any idea's what is causing this. This is the logs below _closedPromise_resolve: undefined, _closedPromise_reject: undefined, _closedPromise: Promise { }, _readRequests: S { _cursor: 0, _size: 0, _front: { _elements: [], _next: undefined }, _back: { _elements: [], _next: undefined } } }, _storedError: undefined, _disturbed: true, _readableStreamController: ReadableStreamDefaultController { _controlledReadableStream: [Circular *1], _queue: S { _cursor: 0, _size: 0, _front: { _elements: [], _next: undefined }, _back: { _elements: [], _next: undefined } }, _queueTotalSize: 0, _started: true, _closeRequested: true, _pullAgain: false, _pulling: true, _strategySizeAlgorithm: undefined, _strategyHWM: 0, _pullAlgorithm: undefined, _cancelAlgorithm: undefined } }, source: null, length: null } }, [Symbol(headers)]: Headers { [Symbol(headers list)]: HeadersList {  cookies: [ 'next-auth.csrf-token=%7Cca905812967ad9b4cc9e1af37198dc6bcbf697c8c29b04d58757e7858669b0fc; Path=/; HttpOnly; SameSite=Lax, next-auth.callback-url=http%3A%2F%2Flocalhost%3A7575; Path=/; HttpOnly; SameSite=Lax' ], [Symbol(headers map)]: Map(8) { 'connection' => { name: 'connection', value: 'close' }, 'content-encoding' => { name: 'content-encoding', value: 'gzip' }, 'content-type' => { name: 'content-type', value: 'application/json' }, 'date' => { name: 'date', value: 'Thu, 18 Jan 2024 12:36:22 GMT' }, 'keep-alive' => { name: 'keep-alive', value: 'timeout=5' }, 'set-cookie' => { name: 'set-cookie', value: 'next-auth.csrf-token=%7Cca905812967ad9b4cc9e1af37198dc6bcbf697c8c29b04d58757e7858669b0fc; Path=/; HttpOnly; SameSite=Lax, next-auth.callback-url=http%3A%2F%2Flocalhost%3A7575; Path=/; HttpOnly; SameSite=Lax' }, 'transfer-encoding' => { name: 'transfer-encoding', value: 'chunked' }, 'vary' => { name: 'vary', value: 'Accept-Encoding' } }, [Symbol(headers map sorted)]: null }, [Symbol(guard)]: 'response', [Symbol(realm)]: { settingsObject: {} } } }, responseJSON: [ { error: {  { 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: 45 } 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)
Solution:
You can see this in the documentation: ``` version: '3' #---------------------------------------------------------------------#...
🚀 Installation | Homarr documentation
We provide multiple installation methods. Are you a newbie to Docker? We recommend Docker Compose for beginners.
Jump to solution
28 Replies
explosive parrot
explosive parrot•11mo ago
Looks like an authentication database error. Confirm your /data folder and permissions.
Manicraft1001
Manicraft1001•11mo ago
Hi, from what version did you update? 1.14 does not exist. @Lety
Lety
LetyOP•11mo ago
@Manicraft1001 sorry for late reply. it was from version v0.14.2 to v0.14.4
Manicraft1001
Manicraft1001•11mo ago
What are the permissions on the mounted directories? What is your compose?
Lety
LetyOP•11mo ago
@Manicraft1001 docker compose version Docker Compose version v2.21.0 might be time to upgrade to 3,0 i did see somewhere tha permissions get lost
Manicraft1001
Manicraft1001•11mo ago
I mean your compose file or run command
Lety
LetyOP•11mo ago
Manicraft1001
Manicraft1001•11mo ago
🚀 Installation | Homarr documentation
We provide multiple installation methods. Are you a newbie to Docker? We recommend Docker Compose for beginners.
Lety
LetyOP•11mo ago
I run it through portainer, its been fine for last year or so
Manicraft1001
Manicraft1001•11mo ago
We had a breaking change and you probably ignored the changelog / message for it 🙂
Lety
LetyOP•11mo ago
you mean i blindly cant unmount and pull latest 😛 @Manicraft1001 is there a tldr to recover this? or better to start fresh
Manicraft1001
Manicraft1001•11mo ago
You need to add the /data mount. That's very easy to do in Portainer Also make a backup before you remove the container, in case you destroy your config Starting fresh is also possible. (This will destroy all data) 1. Stop your container 2. Remove your container 3. Delete all mounted paths recursively 4. Set up again according to the Homarr documentation
Lety
LetyOP•11mo ago
Tyvm thats what im doing starting fresh Can i ask a dumb docker Q - nvm im going to ask
Manicraft1001
Manicraft1001•11mo ago
Sure. Ask
Lety
LetyOP•11mo ago
- <your-path>/configs:/app/data/configs - <your-path>/icons:/app/public/icons - <your-path>/data:/data The path, if its in a container what would this name format be? or best way to confirm Looking at my old Portainer for Homar it was this
Lety
LetyOP•11mo ago
No description
Lety
LetyOP•11mo ago
Can i jsut use the container name i.e - ./homarr/configs:/app/data/configs - ./homarr/icons:/app/public/icons - ./homarr/data:/data
Manicraft1001
Manicraft1001•11mo ago
Not sure if I understand your question. The right side of : is inside the container. It should not change. Left side varies from system to system. If you mounted multiple disks on your Linux, you might need to mount to something like /mnt/disk1/apps/homarr/XXX. On Unraid, you should mount to /mnt/user/appdata/homarr/XXX. If you only have one disk, then you could mount to /var/homarr/XXX or /home/your-user/homarr/XXX or other directories.
Solution
Manicraft1001
Manicraft1001•11mo ago
You can see this in the documentation:
version: '3'
#---------------------------------------------------------------------#
# Homarr - A simple, yet powerful dashboard for your server. #
#---------------------------------------------------------------------#
services:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- <your-path>/configs:/app/data/configs
- <your-path>/icons:/app/public/icons
- <your-path>/data:/data
ports:
- '7575:7575'
version: '3'
#---------------------------------------------------------------------#
# Homarr - A simple, yet powerful dashboard for your server. #
#---------------------------------------------------------------------#
services:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- <your-path>/configs:/app/data/configs
- <your-path>/icons:/app/public/icons
- <your-path>/data:/data
ports:
- '7575:7575'
https://homarr.dev/docs/getting-started/installation#-portainer-stacks Simply replace <your-path> with your desired path.
🚀 Installation | Homarr documentation
We provide multiple installation methods. Are you a newbie to Docker? We recommend Docker Compose for beginners.
Lety
LetyOP•11mo ago
I understand. Lets say there is no Homarr folder in /var should i create it first?
Manicraft1001
Manicraft1001•11mo ago
You don't have to, but you can if you want. Docker should create it itself when you execute it correctly
Lety
LetyOP•11mo ago
Only one way to find out 🙂
Manicraft1001
Manicraft1001•11mo ago
Docker doesn't like relative paths. So use something like /var/homarr/XXX on the left side of the mount paths instad of ./homarr
Lety
LetyOP•11mo ago
you are correc it created the directory We back baby
Lety
LetyOP•11mo ago
😦
No description
Manicraft1001
Manicraft1001•11mo ago
Is that our collective? Is Homarr running now? Can I mark it as resolved or do you need further assistance?
Lety
LetyOP•11mo ago
Yeah it is. Maybe my region (AUS) yes its runnig now thanks
Manicraft1001
Manicraft1001•11mo ago
Awesome. Will mark it as resolved then! I'll have a look at our OpenCollective settings. Can I DM you so you could check again later?
Want results from more Discord servers?
Add your server