[GH-ISSUE #2223] [Fixed] Problem updating to karakeep v0.29.0 from hoarder v0.22 #1360

Closed
opened 2026-03-02 11:56:46 +03:00 by kerem · 2 comments
Owner

Originally created by @xxjoe2 on GitHub (Dec 5, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/2223

Describe the Bug

hi

I just started to test migrating from hoarder 0.22 to karakeep 0.29 installation version. after successfully compiled 0.29 I imported the db dump from previous meilisearch into 0.29 without problem, followed by copying /var/lib/hoarder/*db to /var/lib/karakeep/ and restarted all services accoriding to the shell script

however, i am unable to log into 0.29 with password or previous api key. on the browser it showed 401 in the console, and with the app the log showed the following errors with api key and password respectively:

2025-12-05T15:12:41.059Z info: <-- POST /api/trpc/apiKeys.validate?batch=1
Error [TRPCError]: UNAUTHORIZED
at (.next/server/chunks/3014.js:7:2709)
at async T._.middlewares (.next/server/chunks/7364.js:16:6854)
at async x (.next/server/chunks/7364.js:19:68)
at async t (.next/server/chunks/7364.js:16:6116)
at async x (.next/server/chunks/7364.js:19:68)
at async x (.next/server/chunks/7364.js:19:68)
at async x (.next/server/chunks/7364.js:19:68)
at async x (.next/server/chunks/7364.js:19:68)
at async (.next/server/chunks/3014.js:21:38131) {
cause: undefined,
code: 'UNAUTHORIZED'
}

2025-12-05T15:25:54.126Z info: <-- POST /api/trpc/apiKeys.exchange?batch=1
Error [TRPCError]: UNAUTHORIZED
at (.next/server/chunks/3014.js:7:2385)
at async T._.middlewares (.next/server/chunks/7364.js:16:6854)
at async x (.next/server/chunks/7364.js:19:68)
at async t (.next/server/chunks/7364.js:16:6116)
at async x (.next/server/chunks/7364.js:19:68)
at async x (.next/server/chunks/7364.js:19:68)
at async x (.next/server/chunks/7364.js:19:68)
at async x (.next/server/chunks/7364.js:19:68)
at async (.next/server/chunks/3014.js:21:38131) {
cause: undefined,
code: 'UNAUTHORIZED'
}

i have also tried copying the existing /var/lib/hoarder to /var/lib/karakeep, /etc/hoarder to /etc/karakeep, and /var/lib/meilisearch to the test machine instead of data dump but with same results.

any idea please? i understand that there were tons of changes from 0.20 to 0.29.

thanks a lot

Steps to Reproduce

1 compile the latest with the sh provided
2 import db dump to new meilisearch
3 copy /var/lib/hoarder/* to /var/lib/karakeep/

Expected Behaviour

able to login with previous email + password or api key

Screenshots or Additional Context

No response

Device Details

No response

Exact Karakeep Version

v0.29.0

Have you checked the troubleshooting guide?

  • I have checked the troubleshooting guide and I haven't found a solution to my problem
Originally created by @xxjoe2 on GitHub (Dec 5, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/2223 ### Describe the Bug hi I just started to test migrating from hoarder 0.22 to karakeep 0.29 installation version. after successfully compiled 0.29 I imported the db dump from previous meilisearch into 0.29 without problem, followed by copying /var/lib/hoarder/*db to /var/lib/karakeep/ and restarted all services accoriding to the shell script however, i am unable to log into 0.29 with password or previous api key. on the browser it showed 401 in the console, and with the app the log showed the following errors with api key and password respectively: 2025-12-05T15:12:41.059Z info: <-- POST /api/trpc/apiKeys.validate?batch=1 Error [TRPCError]: UNAUTHORIZED at <unknown> (.next/server/chunks/3014.js:7:2709) at async T._.middlewares (.next/server/chunks/7364.js:16:6854) at async x (.next/server/chunks/7364.js:19:68) at async t (.next/server/chunks/7364.js:16:6116) at async x (.next/server/chunks/7364.js:19:68) at async x (.next/server/chunks/7364.js:19:68) at async x (.next/server/chunks/7364.js:19:68) at async x (.next/server/chunks/7364.js:19:68) at async (.next/server/chunks/3014.js:21:38131) { cause: undefined, code: 'UNAUTHORIZED' } 2025-12-05T15:25:54.126Z info: <-- POST /api/trpc/apiKeys.exchange?batch=1 Error [TRPCError]: UNAUTHORIZED at <unknown> (.next/server/chunks/3014.js:7:2385) at async T._.middlewares (.next/server/chunks/7364.js:16:6854) at async x (.next/server/chunks/7364.js:19:68) at async t (.next/server/chunks/7364.js:16:6116) at async x (.next/server/chunks/7364.js:19:68) at async x (.next/server/chunks/7364.js:19:68) at async x (.next/server/chunks/7364.js:19:68) at async x (.next/server/chunks/7364.js:19:68) at async (.next/server/chunks/3014.js:21:38131) { cause: undefined, code: 'UNAUTHORIZED' } i have also tried copying the existing /var/lib/hoarder to /var/lib/karakeep, /etc/hoarder to /etc/karakeep, and /var/lib/meilisearch to the test machine instead of data dump but with same results. any idea please? i understand that there were tons of changes from 0.20 to 0.29. thanks a lot ### Steps to Reproduce 1 compile the latest with the sh provided 2 import db dump to new meilisearch 3 copy /var/lib/hoarder/* to /var/lib/karakeep/ ### Expected Behaviour able to login with previous email + password or api key ### Screenshots or Additional Context _No response_ ### Device Details _No response_ ### Exact Karakeep Version v0.29.0 ### Have you checked the troubleshooting guide? - [x] I have checked the troubleshooting guide and I haven't found a solution to my problem
kerem 2026-03-02 11:56:46 +03:00
Author
Owner

@xxjoe2 commented on GitHub (Dec 6, 2025):

finally fixed after re-importing data dump process again

thanks

<!-- gh-comment-id:3620521026 --> @xxjoe2 commented on GitHub (Dec 6, 2025): finally fixed after re-importing data dump process again thanks
Author
Owner

@MohamedBassem commented on GitHub (Dec 7, 2025):

Glad that it was fixed!

<!-- gh-comment-id:3621901913 --> @MohamedBassem commented on GitHub (Dec 7, 2025): Glad that it was fixed!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#1360
No description provided.