-
Lychee versionmaster Which PHP version are you using?PHP 8.3 Detailed description of the problemHello, I am currently hosting Lychee under a subpath of my domin ( However, when I tried to upgrade to the current master version, this is not working anymore and I get a 404 error on the livewire.js file and none of the buttons (like login) are working. To exclude other problems (like a failed build of the front-end) I changed my webserver config and adjusted the .env to remove the subpath, then it is working again. To narrow down the problem, I pulled in the commits from the latest release one by one and found that it is commit 8c5f8c1 that breaks the sub-paths. Up until that commit everything is working fine. Steps to reproduce the issue
Diagnostics [REQUIRED]DiagnosticsWarning: /vlic/uploads/ has permissions 0755, but should have 2775 System InformationLychee Version (release): 5.1.2 composer install: --no-dev System: Linux exec() Available: yes Config Informationversion: 050102 Browser & System [REQUIRED]Server: Ubuntu 22.04 LTS with nginx/1.18.0 Please confirm (incomplete submissions will not be addressed)
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Thank-you for the detailed debugging you've done here. I can't see anything in that commit that would break it, but I am not as current on the codebase as I once was. Hopefully ildyria will be able to make some sense of it! |
Beta Was this translation helpful? Give feedback.
-
Hi, thank you for pinning the issue down to that specific commit. I really really appreciate it. - "source": "https://github.com/livewire/livewire/tree/v3.4.4"
+ "source": "https://github.com/livewire/livewire/tree/v3.4.6" which I would guess is the source of our problems in this specific case. |
Beta Was this translation helpful? Give feedback.
Thanks a lot!
Could you please try this branch:
fix-livewire-breaking-on-subdir
My intuition is that it should fix it.your
.min
gave me the hint needed to dive into the deps:https://github.com/livewire/livewire/blob/main/src/Mechanisms/FrontendAssets/FrontendAssets.php#L22