-
-
Notifications
You must be signed in to change notification settings - Fork 320
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
[Enhancement] Re-introduce the ability to host lychee in a subfolder of a domain #2137
Comments
Hello I followed the linked PR and I have been testing it on my own setup. However, currently I am experiencing some weird problems with some albums loading while others are not when accessing the images via sym-links (= without beeing logged in). |
Hmm, the problem still exists with the latest version posted in #2150, however I was not able to reproduce it on newly created albums or with newly uploaded images into a "broken album", so this may only affect (some of the) images uploaded before the changes between v5.0.2 and #2150 . Nevertheless, I thought I still add a report, maybe this rings a bell where the problem could be otherwise it's up to you, if you want to invest the time of troubleshooting. (I personally would be ok with re-uploading the "broken" images.) While testing the changes in #2150 some of the images are not loading when accessing them without being logged in. Detailed description of the problem [REQUIRED]When I am logged in, everything is working fine and I can see all the images and albums. Example When I open the "broken" album Test1 all the images are missing: However, when I look at the path of the images that are working, they looks similar to those which are not working: Even stranger, when I look up the IDs in the MySQL Database both of the seem to be correct (the working one) And when I look up the "true" path of the broken image As stated above, when I created a few new albums and uploaded new images, the bug didn't showed up. Even when I add new images to the "broken" album Test1 then the new images are working fine. So maybe there has been a change on how the symbolic urls are created (maybe during #2169)? Or is there a possibility to delete all symbolic urls and recreate new ones? Output of the diagnostics [REQUIRED]
Browser and systemUbuntu 22.04 LTS and Firefox |
Hello
I have been hosting v4 of Lychee on a subfolder of my domain (e.g. https://mydomin.org/lychee/).
However, after upgrading to Lychee v5 and enabling the new frontend, this is not longer working correctly and the subfolder seems to be ignored in some paths (mydomin.org/livewire/* instead of mydomin.org/lychee/livewire/*).
After digging through other bug reports like #2120 I found that this type of configuration is not supported any more by the new front-end.
Therefore, I wanted to make a request to reintroduce the possibility to host Lychee v5 in a subfolder.
Also, I think it would be nice to mention this new behavoir somewhere in the changelog, because for anyone using a setup like me, this is results in a breaking change.
The text was updated successfully, but these errors were encountered: