Closed DevGoran closed 1 week ago
Ok, so this is a bug. What happened is that one of the bookmarks you added has an invalid image url. The crawler stored this in the database, but the API is refusing to return it. So any UI that attempts to render this bookmark will fail. Other lists that don't have it will be fine.
Are you comfortable with using the CLI? We might have to remove this bookmark manually from the database to fix the issue (until I send a fix to Hoarder).
Yes I'm fine with using CLI. I would just need to know the commands to execute.
So you'll need to:
Hopefully this should resolve it.
I'm unable to run the command inside the container, any advice?
/data # ls -la
total 2116
drwxr-xr-x 3 root root 4096 Oct 31 12:54 .
drwxr-xr-x 1 root root 4096 Oct 31 12:43 ..
drwxr-xr-x 3 root root 4096 Oct 16 19:32 assets
-rw-r--r-- 1 root root 2105344 Oct 31 12:54 db.db
-rw-r--r-- 1 root root 45056 Oct 31 12:54 queue.db
/data # sqlite3 db.db
sh: sqlite3: not found
you'll need to install sqlite3 inside the container.
'apk add --no-cache sqlite'
Gotcha. These are the ones that are different to the others. As you see, 4 of those here don't have any URL and the last one does not point to a file (I think). Would you remove all of those?
bs2h2qy94x6gf22nmzp0ud19|
lmuvkurcrtsw134o2dnysclx|
rigpg1jk8ko8gri46lmlrl8w|
rwnamnphwxjk9afbjruyecnc|
h746t2i2as8knyt67wdld5n6|https://techcommunity.microsoft.com/t5/image/serverpage/image-id/121179i70E1255B17FD53B9/image-size/original?v=v2&px=-1
PS: the SQL command is missing a semicolon in the end. Maybe you can add it in case someone else faces this issue meanwhile. :)
hmmm, not having an image url is supposed to be ok. What do you mean by the last one not pointing to a file?
Can you go in the browser to
What do you mean by the last one not pointing to a file?
Opening the URL of ID h746t2i2as8knyt67wdld5n6 gets me a Page Not Found Error
Can you go in the browser to
/dashboard/bookmarks/preview/ and see which ones results in the same error?
I get a not found error for any ID I tried (even some not listed above).
Ah sorry, it's
/dashboard/preview/ID
So this is the complete list of bookmarks currently:
sqlite> SELECT id, imageUrl FROM bookmarkLinks;
yd0tddiqb3ajwn66ih3lpnu6|https://www.ixsystems.com/documentation/freenas/11.2/_static/freenaslogo.png
sthwph0swginhtcvhv8s2nlx|https://cdn.sstatic.net/Sites/superuser/Img/apple-touch-icon@2.png?v=e869e4459439
e99v3vbya4wh2dyke32mdpcd|https://styles.redditmedia.com/t5_arli6b/styles/profileIcon_tsiqy41jvqjc1.jpeg?width=48&height=48&frame=1&auto=webp&crop=48:48,smart&s=4c78397cbdf88856f472fafa49527b267c67145d
clgljqd6y0654dswk2l9jkgj|http://answers.microsoft.com/static/images/icon_fb_answers3.png
h746t2i2as8knyt67wdld5n6|https://techcommunity.microsoft.com/t5/image/serverpage/image-id/121179i70E1255B17FD53B9/image-size/original?v=v2&px=-1
ecmnf7bp9dcwj2s19cf8mty8|https://packetpushers.net/wp-content/uploads/2024/01/BlogThumb.jpg
jkbviwmsn5ypigw3yb9zlx9v|https://cdn.sstatic.net/Sites/askubuntu/Img/apple-touch-icon@2.png?v=c492c9229955
k1rdlfjqksdf2oh2mtqw84br|https://community-assets.home-assistant.io/optimized/4X/6/a/4/6a4b31c4bc7a606500beb7171565308bdfbfb711_2_1024x512.png
w3i3acnz275wtj03zc1ea1qc|https://pureinfotech.com/wp-content/uploads/2023/06/windows-11-classic-context-menu-hero-mauro-huculak.webp
a4rbkebqc4jj7rmr3x5nygu3|https://global.discourse-cdn.com/plex/original/3X/b/f/bf4da7e4a0c1ed2fd6faf0decc0f3846e352c6fa.png
dhxmrpwo5av588jfldcfjsfq|https://styles.redditmedia.com/t5_2w844/styles/communityIcon_krq4riav5m191.png
bs2h2qy94x6gf22nmzp0ud19|
lmuvkurcrtsw134o2dnysclx|
rigpg1jk8ko8gri46lmlrl8w|
rwnamnphwxjk9afbjruyecnc|
ihh12anzi7otn6puegp7apd7|https://technotim.live/assets/img/headers/lightning-island.webp
ggej6xe48w190qlz8j11yv14|https://www.stationx.net/wp-content/uploads/2023/01/Og-Wireshark-Cheat-Sheet.jpg
xymtw2iuxodqeypieqnppvib|https://blog.victormendonca.com/img/zfs-cheat-sheet-for-dummies/zfs%20-components.png
ylnhigdihlwj2a0zdzbdb3nh|https://forum.proxmox.com/styles/uix/images/Proxmox-logo-stacked-white-background-1200.png
mxynajzq3rkekkxbagb0iqbl|https://community-assets.home-assistant.io/original/4X/5/0/e/50e585faea85010ebb16d3d466f071ef90ec1393.png
vbs5h3dydckhe6hfezvgyjd4|https://data%3Aimage/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%201024%201024%22%20style=%22background:%2362c4b1%22%3E%3Cg%3E%3Ctext%20text-anchor=%22middle%22%20dy=%22.35em%22%20x=%22512%22%20y=%22512%22%20fill=%22%23ffffff%22%20font-size=%22700%22%20font-family=%22-apple-system,%20BlinkMacSystemFont,%20Roboto,%20Helvetica,%20Arial,%20sans-serif%22%3ET%3C/text%3E%3C/g%3E%3C/svg%3E
h746t2i2as8knyt67wdld5n6 had some thumbnails in the preview page missing, which is why I attempted tor remove this one:
delete from bookmarks where id='h746t2i2as8knyt67wdld5n6';
However, when listing again the entries in the table, this bookmark appears again. Now, however, the preview shows not found.
Sorry for the late response. I've sent a fix to this issue. You can upgrade to nightly build to get your homepage back.
Sorry for the late response. I've sent a fix to this issue. You can upgrade to nightly build to get your homepage back.
No worries, what's the docker tag for the nightly build?
@DevGoran it's called latest
Works again, thanks!
Describe the Bug
Out of nowhere I saw the "Something went wrong" message in the "Home" tab. However, when clicking on the tags in the Tags page, it will show me the bookmarks accordingly.
Steps to Reproduce
Open hoarder
Expected Behaviour
Bookmarks show up in home tab.
Screenshots or Additional Context
Container Log shows following error:
Compose:
Device Details
No response
Exact Hoarder Version
v0.18.0