MuscularCrab
MuscularCrab
HHomarr
Created by MuscularCrab on 12/23/2023 in #💬・get-help
Fresh Install - Error [TRPCClientError]: no such table: user
G'Day all! Migrating Homarr from Docker for Desktop (Windows) to a new Ubuntu machine. Everything freshly installed on Ubuntu. Docker-compose:
version: '3'
#---------------------------------------------------------------------#
# Homarr - A simple, yet powerful dashboard for your server. #
#---------------------------------------------------------------------#
services:
homarr:
container_name: homarrboard
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
- /mnt/v/linuxdata/homarr/configs:/app/data/configs
- /mnt/v/linuxdata/homarr/icons:/app/public/icons
- /mnt/v/linuxdata/homarr/data:/data
ports:
- '7575:7575'
version: '3'
#---------------------------------------------------------------------#
# Homarr - A simple, yet powerful dashboard for your server. #
#---------------------------------------------------------------------#
services:
homarr:
container_name: homarrboard
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
- /mnt/v/linuxdata/homarr/configs:/app/data/configs
- /mnt/v/linuxdata/homarr/icons:/app/public/icons
- /mnt/v/linuxdata/homarr/data:/data
ports:
- '7575:7575'
When starting Homarr from docker run or docker-compose, I get the error:
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)
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)
(Among other errors) Lurked on Github and here and seen similar issues. Looks like deleting/replacing the db.sqlite file has fixed it for most people but no luck on my end. I've tried: - copying the data/icons/configs folders from my old instance - no luck - Repulling the image (even homarr-dev) - no luck - Deleting everything in working folder - no luck - Replacing the db.sqlite file with someone elses (Worked for others) - no luck Apparently this was fixed in the latest version but not for me 😭 Anyone able to assist? Love yall Full error log: https://pastebin.com/7MKAPTRF
4 replies