[GH-ISSUE #1880] Bookmarks breaking randomly after updating to v0.26 #1168

Open
opened 2026-03-02 11:55:29 +03:00 by kerem · 5 comments
Owner

Originally created by @sam-jeffery on GitHub (Aug 30, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1880

Describe the Bug

Noticed today when looking at the web interface that a lot of my bookmarks show "Something went wrong" with just a date, no title or description unless I happened to set it manually in which case it is still there (no link though). These entries do not show up at all on mobile so it took me a while to notice this.

I spent a while looking through the database going back through my backups and it seems that some entries in the bookmarkLinks table are being removed even though the linked entries in the bookmarks table still exist. On 2025-08-17 I had zero broken links, a week later on the 24th I had 20 and today on the 30th I have 36 broken links.

The links that break aren't limited to just new links either; many links that were fine on the 24th are now broken on the 30th. Broken entries also do not show up in json exports.

Image

These are the createdAt timestamps from the bookmarks table for entries that are broken with no linked entry in the bookmarkLinks table. The entry at the bottom in green got fixed somehow, and the one in red got linked to an entry for a completely different link in the bookmarkLinks table. Not sure what's going on here.

Unfortunately I can't find anything in the logs as I have restarted both my server and the container since this happened. I'll try not to until it does it again to see if it logs anything. Happy to try other things if you need any more information on this.

These links also do not show up in the "broken links" section of the settings page. Might also be worth noting that I have no rules in the rule engine, webhooks, rss feeds. No AI is set up either.

Steps to Reproduce

Update to v0.26, using the standard compose file from the installation instructions given. Not sure what else I did differently, there have been no power cuts or ungraceful restarts of my server.

Expected Behaviour

Links don't break.

Screenshots or Additional Context

No response

Device Details

No response

Exact Karakeep Version

v0.26.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 @sam-jeffery on GitHub (Aug 30, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1880 ### Describe the Bug Noticed today when looking at the web interface that a lot of my bookmarks show "Something went wrong" with just a date, no title or description unless I happened to set it manually in which case it is still there (no link though). These entries do not show up at all on mobile so it took me a while to notice this. I spent a while looking through the database going back through my backups and it seems that some entries in the bookmarkLinks table are being removed even though the linked entries in the bookmarks table still exist. On 2025-08-17 I had zero broken links, a week later on the 24th I had 20 and today on the 30th I have 36 broken links. The links that break aren't limited to just new links either; many links that were fine on the 24th are now broken on the 30th. Broken entries also do not show up in json exports. <img width="166" height="716" alt="Image" src="https://github.com/user-attachments/assets/ab4471e4-6079-4a18-8836-7ff6cb85bcea" /> These are the createdAt timestamps from the bookmarks table for entries that are broken with no linked entry in the bookmarkLinks table. The entry at the bottom in green got fixed somehow, and the one in red got linked to an entry for a completely different link in the bookmarkLinks table. Not sure what's going on here. Unfortunately I can't find anything in the logs as I have restarted both my server and the container since this happened. I'll try not to until it does it again to see if it logs anything. Happy to try other things if you need any more information on this. These links also do not show up in the "broken links" section of the settings page. Might also be worth noting that I have no rules in the rule engine, webhooks, rss feeds. No AI is set up either. ### Steps to Reproduce Update to v0.26, using the standard compose file from the installation instructions given. Not sure what else I did differently, there have been no power cuts or ungraceful restarts of my server. ### Expected Behaviour Links don't break. ### Screenshots or Additional Context _No response_ ### Device Details _No response_ ### Exact Karakeep Version v0.26.0 ### Have you checked the troubleshooting guide? - [x] I have checked the troubleshooting guide and I haven't found a solution to my problem
Author
Owner

@MohamedBassem commented on GitHub (Aug 30, 2025):

interesting ... This is going to be so hard to debug without logs. Just to make sure I understand. It's not the upgrade process itself that caused the links to be broken, it's just that links randomly started getting broken "after" the upgrade right?

For those broken bookmarks, can you show me their full record in the database? Are they all of type "link"?

<!-- gh-comment-id:3239406068 --> @MohamedBassem commented on GitHub (Aug 30, 2025): interesting ... This is going to be so hard to debug without logs. Just to make sure I understand. It's not the upgrade process itself that caused the links to be broken, it's just that links randomly started getting broken "after" the upgrade right? For those broken `bookmarks`, can you show me their full record in the database? Are they all of type "link"?
Author
Owner

@sam-jeffery commented on GitHub (Aug 30, 2025):

They seem to be breaking randomly after doing the update as far as I can tell. I updated to v0.26 the day it released on the 20th according to docker and the number of broken links did change over the last week (20 broken on the 24th and 36 broken today)
All of the new ones are of type "link". There were a few of type "asset" and "text" in there as well but they are also present in backups from way back at the start of the year so I'm assuming theyre from something unrelated. Here is the list of entries that were working in my backup on the 17th and have since broken (Though a few of them are new links added in that time too):

xg4csqp0j5vm2gyfoqnom3fq|1742155113|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035440|pending
v1f8qio3epvx7o0vnzbadzsz|1742155158|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035366|pending
x6z36hn6oe7di8kceurkb136|1742676786|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035423|pending
xwh2kk7xye8szkm6q39z3su1|1742938325|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035463|pending
va74szwbww96chbpqnzqskb2|1743033273|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035375|pending
x97d4tu7zcawfnejs31s8sw8|1743589504|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035432|pending
t608f2794il84qm53t8r5uum|1743603705|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035334|pending
ugqo4x29fm2t9dfr2u5y3f3a|1744577917|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035357|pending
vs2qwhg4x8gcdl9h8f9e3xyg|1745325247|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035389|pending
z426oa1dujjikrdl791x1fkf|1745745577|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035496|pending
t7fvtj1q5qg9xdtf92v40945|1747552498|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035348|pending
rog0v1gvsmex4qytl9get5fc|1747733113|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035311|pending
x2ypn5bdw0ai0nlot1oa7oiy|1747837166|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035418|pending
yz4aiyyphwacqlksoksliwoz|1747849701|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035480|pending
w74fb1l39tm7a8qr4jfgpusq|1747950230|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748507073|pending
thwd8van54sbtb696ato35ud|1748355847|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1748355862|pending
wh0lfldguaocc53dfjrtnep1|1748505884|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1750752548|pending
eg1ri7825xngce8wyu2uyr05|1748511594|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1748511617|pending
qa520zro7wppmmjjvg0y3jb2|1748884144|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1750802749|pending
vq84huhgvrcdrpykh77ne3ys|1749030316|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1749030327|pending
tzkjmxyjtmx0r0bapawwizwb|1749368315|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1749579648|pending
ravncxa1csc0p6zbk2pdxufl|1749387508|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1749387561|pending
p369mo48n4gdug9bwhj6dgzi|1749593237|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1749593249|success
t22s22n16ubo5dvndqg7lqbk|1750255364|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1750331155|success
v4qfdwclwtujs3sq1rso2awv|1750255372|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1750331150|success
zr5k5s30w427oha32bhqbw0f|1750355981|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1750355998|success
y455rpw6jtippvb20jwqctgt|1750761759|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1750761774|success
vxg8pf3vl5neapot63rclelj|1751537075|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1751537088|success
udatco4k3t4kky8l8dfnaegs|1751830923|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1751830937|success
z9wu70i85m53tx19ybxi8roe|1753721094|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1753721106|success
u63tl8a37hfhvo5xpaqx2o1l|1754266025|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1754499696|success
ud24md3pa2svm18jtwi182ik|1754499818|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1754499828|success
ttr1qfosv5tm786acli8k9ts|1755181168|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1755181179|success
te75c8a1unz2hjqwr45dql2c|1755279227|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1755279237|success
senv9gadywnpquzom38xji7l|1755552918|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1755552934|success
<!-- gh-comment-id:3239527123 --> @sam-jeffery commented on GitHub (Aug 30, 2025): They seem to be breaking randomly after doing the update as far as I can tell. I updated to v0.26 the day it released on the 20th according to docker and the number of broken links did change over the last week (20 broken on the 24th and 36 broken today) All of the new ones are of type "link". There were a few of type "asset" and "text" in there as well but they are also present in backups from way back at the start of the year so I'm assuming theyre from something unrelated. Here is the list of entries that were working in my backup on the 17th and have since broken (Though a few of them are new links added in that time too): ``` xg4csqp0j5vm2gyfoqnom3fq|1742155113|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035440|pending v1f8qio3epvx7o0vnzbadzsz|1742155158|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035366|pending x6z36hn6oe7di8kceurkb136|1742676786|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035423|pending xwh2kk7xye8szkm6q39z3su1|1742938325|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035463|pending va74szwbww96chbpqnzqskb2|1743033273|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035375|pending x97d4tu7zcawfnejs31s8sw8|1743589504|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035432|pending t608f2794il84qm53t8r5uum|1743603705|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035334|pending ugqo4x29fm2t9dfr2u5y3f3a|1744577917|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035357|pending vs2qwhg4x8gcdl9h8f9e3xyg|1745325247|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035389|pending z426oa1dujjikrdl791x1fkf|1745745577|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035496|pending t7fvtj1q5qg9xdtf92v40945|1747552498|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035348|pending rog0v1gvsmex4qytl9get5fc|1747733113|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035311|pending x2ypn5bdw0ai0nlot1oa7oiy|1747837166|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035418|pending yz4aiyyphwacqlksoksliwoz|1747849701|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748035480|pending w74fb1l39tm7a8qr4jfgpusq|1747950230|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1748507073|pending thwd8van54sbtb696ato35ud|1748355847|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1748355862|pending wh0lfldguaocc53dfjrtnep1|1748505884|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1750752548|pending eg1ri7825xngce8wyu2uyr05|1748511594|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1748511617|pending qa520zro7wppmmjjvg0y3jb2|1748884144|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1750802749|pending vq84huhgvrcdrpykh77ne3ys|1749030316|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1749030327|pending tzkjmxyjtmx0r0bapawwizwb|1749368315|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1749579648|pending ravncxa1csc0p6zbk2pdxufl|1749387508|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1749387561|pending p369mo48n4gdug9bwhj6dgzi|1749593237|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1749593249|success t22s22n16ubo5dvndqg7lqbk|1750255364|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1750331155|success v4qfdwclwtujs3sq1rso2awv|1750255372|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1750331150|success zr5k5s30w427oha32bhqbw0f|1750355981|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1750355998|success y455rpw6jtippvb20jwqctgt|1750761759|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1750761774|success vxg8pf3vl5neapot63rclelj|1751537075|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1751537088|success udatco4k3t4kky8l8dfnaegs|1751830923|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1751830937|success z9wu70i85m53tx19ybxi8roe|1753721094|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1753721106|success u63tl8a37hfhvo5xpaqx2o1l|1754266025|1|0|au819b8cpwee37knhzsrt9c4|success|||link||1754499696|success ud24md3pa2svm18jtwi182ik|1754499818|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1754499828|success ttr1qfosv5tm786acli8k9ts|1755181168|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1755181179|success te75c8a1unz2hjqwr45dql2c|1755279227|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1755279237|success senv9gadywnpquzom38xji7l|1755552918|0|0|au819b8cpwee37knhzsrt9c4|success|||link||1755552934|success ```
Author
Owner

@sam-jeffery commented on GitHub (Aug 31, 2025):

I set up a script to periodically check the number of broken links and managed to capture some logs of when the number changes. Interestingly the number has actually gone down in both logs, from 35 to 24 in the first one then from 24 to 22 in the second. Is there anywhere I can send you the logs privately? (Since they do contain links I've been saving)

<!-- gh-comment-id:3240198332 --> @sam-jeffery commented on GitHub (Aug 31, 2025): I set up a script to periodically check the number of broken links and managed to capture some logs of when the number changes. Interestingly the number has actually gone down in both logs, from 35 to 24 in the first one then from 24 to 22 in the second. Is there anywhere I can send you the logs privately? (Since they do contain links I've been saving)
Author
Owner

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

@sam-jeffery it going down is very interesting :) You can send the support@karakeep.app and I'll have a look there.

<!-- gh-comment-id:3263570053 --> @MohamedBassem commented on GitHub (Sep 7, 2025): @sam-jeffery it going down is very interesting :) You can send the `support@karakeep.app` and I'll have a look there.
Author
Owner

@sam-jeffery commented on GitHub (Sep 13, 2025):

Hi, just sent you an email with the logs. I hope they are useful for you!

<!-- gh-comment-id:3288036914 --> @sam-jeffery commented on GitHub (Sep 13, 2025): Hi, just sent you an email with the logs. I hope they are useful for you!
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#1168
No description provided.