HomarrH
Homarr2y ago
Ctaeth

Error after updating (not sure which tag to assign to it)

Hello!
I'll preface this by saying it probably is some very stupid error on my part. It's been a while since I've updated Homarr.
I've updated it through portainer, using recreate with "Re-pull the image".
Now that I've updated it, I get an error page saying "An unexpected error has occurred. - Type: Client side".
When I go to the logs, I get this:
 2024-03-08T23:53:24.130529671Z   shape: {
2024-03-08T23:53:24.130533378Z   message: 'no such table: user',
2024-03-08T23:53:24.130536893Z   code: -32603,
2024-03-08T23:53:24.130540360Z   data: {
2024-03-08T23:53:24.130543847Z   code: 'INTERNAL_SERVER_ERROR',
2024-03-08T23:53:24.130547283Z   httpStatus: 500,
2024-03-08T23:53:24.130550649Z   path: 'user.count',
2024-03-08T23:53:24.130553965Z   zodError: null
2024-03-08T23:53:24.130557392Z }
2024-03-08T23:53:24.130560768Z },
2024-03-08T23:53:24.130564105Z   data: {
2024-03-08T23:53:24.130567561Z   code: 'INTERNAL_SERVER_ERROR',
2024-03-08T23:53:24.130570987Z   httpStatus: 500,
2024-03-08T23:53:24.130574153Z   path: 'user.count',
2024-03-08T23:53:24.130577480Z   zodError: null
2024-03-08T23:53:24.130580956Z },
2024-03-08T23:53:24.130584282Z   name: 'TRPCClientError'
2024-03-08T23:53:24.130587417Z },
2024-03-08T23:53:24.130590794Z   elapsedMs: 21
2024-03-08T23:53:24.130594200Z }
2024-03-08T23:53:24.130597677Z Error [TRPCClientError]: no such table: user
2024-03-08T23:53:24.130601343Z     at TRPCClientError.from (file:///app/.next/server/src/middleware.js:1718:20)
2024-03-08T23:53:24.130605060Z     at <unknown> (file:///app/.next/server/src/middleware.js:2273:60)
2024-03-08T23:53:24.130615249Z     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)


Any idea where should I even start looking for a fix?
Solution
Actually, I think you might have updated from a pre Auth version. Did you add the mount for the database?
We'll need to check your docker-compose if you did use that.
Was this page helpful?