-
Notifications
You must be signed in to change notification settings - Fork 397
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
Bookworm Web Interface 403 #2128
Bookworm Web Interface 403 #2128
Conversation
Pull Request Test Coverage Report for Build 7066491871Warning: This coverage report may be inaccurate.We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
💛 - Coveralls |
On Bookworm there is another Problem with the "Folders and Files" Tab. I narrowed it down to this code lines, but not firm enough with php to see a quick fix (and whats the intention) RPi-Jukebox-RFID/htdocs/manageFilesFolders.php Lines 283 to 285 in 0457616
If the lines are removed, the page is loaded correctly and seems also to behave correct. |
ok maybe just a copy paste bug from the CardID UI (dont see why cardid and shortcut should be relevant in this UI) ? RPi-Jukebox-RFID/htdocs/inc.formCardEdit.php Lines 49 to 54 in 0457616
strange it runs prior bookworm without a fault. |
[...]
Do we have some git blame info? |
Nope. Was this way from the very beginning |
Ok i found why it behaves different on Bookworm.
There are a few incompatible changes (https://www.php.net/manual/en/migration80.incompatible.php) and this one strikes here
I now checked the error logs (/var/log/lighttpd/error.log) for both versions:
bookworm:
So it seems it was also not working on bullseye ( ever working? ), but it was just a silent warning. My suggestion is to remove the code snippet. |
Remove it:) |
* make homedir executable for lighttp * fix deprecations lighttp * removed faulty code (error in php 8.x) * automatic editorconfig changes (whitespaces)
If v2 is installed on Bookworm, on calling the Webinterface it results in a "403 Forbidden".
Setting the executable right for others on the home folder fixes this. Seems that opening a subfolder (htdocs) needs this permissions since Bookworm.
This was also introduced for nginx in V3
RPi-Jukebox-RFID/installation/routines/setup_jukebox_webapp.sh
Lines 78 to 79 in c0d5a20
Additionally fixed deprecation warnings for "mod_compress"