Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No thumbnail image and 404 error #55

Open
jlnbdt opened this issue Dec 27, 2024 · 7 comments
Open

No thumbnail image and 404 error #55

jlnbdt opened this issue Dec 27, 2024 · 7 comments

Comments

@jlnbdt
Copy link

jlnbdt commented Dec 27, 2024

Hi,

Describe the bug

No thumbnail image appears after adding a link (the space is white). What's more, when I try to access the archive of a link, I get a 404 error (from the main interface, the link to the archive points to https://shiori.domain.net/bookmark/3/content; after clicking on it, I'm redirected to https://shiori.domain.net/login?dst=/bookmark/3/content, which then displays a 404 error)

Context

  • Hardware: VPS bought online (Kimsufi)
  • YunoHost version: stable 12.0.9.1
  • I have access to my server: Through SSH | through the webadmin |
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no

Shiori v.1.7.2

Steps to reproduce

  • Add a bookmark

Expected behavior

  • A thumbnail image should be displayed
  • Archive should be accessible

Logs

  • No logs in /var/log/shiori
  • Service shiori is running without any problem
@jlnbdt
Copy link
Author

jlnbdt commented Dec 28, 2024

The two problems described above occur when shiori is installed on a sub-domain. I've just installed it on the main domain: there's still no thumbnail image, but this time the link to the archive doesn't generate a 404 but redirects to the portal.

@fmartingr
Copy link

Login redirect issue is being fixed over at go-shiori/shiori#1044

Regarding the thumbnail issue, can you inspect the HTML and let me know which image URL is trying to load? It's probably trying to load it without the root path (webroot set in config), code seems ok but want to confirm.

@jlnbdt
Copy link
Author

jlnbdt commented Dec 31, 2024

Thanks for your reply.

Is that screenshot useful?

image

@fmartingr
Copy link

Login redirect issue is being fixed in go-shiori/shiori#1044

Thanks for your reply.

Is that screenshot useful?

image

Yes, thank you.

@fmartingr
Copy link

Using shiori directly I found no issues. I'm not sure what yunohost uses in between to run the service. What happens if you try to open the thumbnail in a new tab? It may have something to do with cookies/subdomain and how the reverse proxy is set up.

@jlnbdt
Copy link
Author

jlnbdt commented Jan 1, 2025

@fmartingr
Copy link

This is probably some authentication issue between yunohost and shiori. I will wait until someone from yunohost chimes in here and we can work out together what's going on. The 404 on login page issue should be resolved in 1.7.3 which I just released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants