-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
dietpi-software: snapweb snapcast server invalid web root #7073
Comments
Hmm, snapweb is not included in this package anymore: root@VM-Bookworm:~# l /usr/share/snapserver/
total 8.0K
-rw-r--r-- 1 root root 1.7K Dec 22 2021 index.html
drwxr-xr-x 2 root root 4.0K May 14 17:58 plug-ins Using
which is obviously not true. Not sure whether this is intended or a packaging bug in the latest version. |
Under my setup, which package would the dietpi-software installer use? |
Ah lol, my testing VM was at DietPi v9.3 as well. Please update to latest version and reinstall it: dietpi-software reinstall 191 The latest Snapcast release added packages which support Debian Bookworm. Before that, we installed the packages from Debian themselves on Bookworm, which indeed do not include snapweb (anymore). |
Due to some wired permission issues, I hade to uninstall and reinstall in addition to that, but now it works, Thanks! |
Since it is still relevant for RISC-V, I just fixed it, installing snapweb in those cases where we install the Debian package: 2b34d77 Now I understand why it was disabled OOTB in Debian's Indeed this changed in the meantime: badaix/snapweb#46 EDIT: For the record: badaix/snapweb#82 |
- DietPi-Software | Snapcast Server: Resolved an issue where on Bookworm systems, which installed the Snapcast Server before DietPi v9.4 and reinstalled it afterwards, the server failed to start due to a permissions issue, since the services of both packages use different users. Many thanks to @hllhll for reporting this issue: #7073
- DietPi-Software | Snapcast Server: Resolved an issue where on Bookworm systems, which installed the Snapcast Server before DietPi v9.4 and reinstalled it afterwards, the server failed to start due to a permissions issue, since the services of both packages use different users. Many thanks to @hllhll for reporting this issue: #7073
I also found the weird permissions issue. It is since the Debian package uses the Both addressed here: 0091219 |
Required Information
Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
Additional Information (if applicable)
Steps to reproduce
Install snapcast server using dietpi-software
navigate to http://<host>:1780
Expected behaviour
snapweb should load
Actual behaviour
Web page reports an error:
Extra details
Looks like the path to the www document root should contain a file named
index.html
; Default path configured during installation is/usr/share/snapserver/snapweb
which doesn't exist. index file seem to be in/usr/share/snapserver/index.html
I Will probably fix it on my own and perform a PR, eventually :)
The text was updated successfully, but these errors were encountered: