-
Notifications
You must be signed in to change notification settings - Fork 1
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
Allo.com image - from Web admin page, gmrender service enable FAILS - No gmrender.service file #48
Comments
this is the allo.com version image, freshly downloaded and flashed with Rufus. Everything up&running fine, but gmrender. I've taken the file from the author's git, and done ''' [Unit] [Service] ExecStart=/usr/bin/gmediarender -f "$UPNP_DEVICE_NAME" -u "$UPNP_UUID" [Install] ''' this is my dirty fix variables UPNP_DEVICE_NAME, UPNP_DEVICE_NAME not working though |
Since services on DietPi are now regularly enabled and won't be controlled by DietPi-Services if disabled, the Allo GUI can toggle the service state commonly this way and does not need to mask or rename them. Also use the new GMediaRender service name, changed with v8.10: #48
* Update service controller for DietPi v8.16 Since services on DietPi are now regularly enabled and won't be controlled by DietPi-Services if disabled, the Allo GUI can toggle the service state commonly this way and does not need to mask or rename them. Also use the new GMediaRender service name, changed with v8.10: #48 * Rebuilt PHP dependencies and Laravel Mix
Many thanks for your report. Indeed this service name has changed. Fix is here: #49 Before I do an official release (implying an update for all Allo GUI users on next DietPi update), would you give it a try, please? For this, copy the below code block into some root user SSH session. G_EXEC cd /tmp
G_EXEC curl -LO 'https://github.com/MichaIng/DietPi-AlloGUI/archive/refs/heads/main.tar.gz'
G_EXEC tar xf main.tar.gz
G_EXEC rm main.tar.gz
G_EXEC mv DietPi-AlloGUI-main allo
G_EXEC chmod -R 'o=,g-w' allo
G_EXEC chgrp -R www-data allo
G_EXEC chmod -R 'g=' allo/storage allo/bootstrap/cache
G_EXEC find allo/{storage,bootstrap/cache} -type d -exec chown www-data {} +
db_password=$(tr -dc '[:alnum:]' < /dev/random | head -c32)
mysql -e "grant all privileges on allo.* to allo@localhost identified by '$db_password';"
GCI_PASSWORD=1 G_CONFIG_INJECT 'DB_PASSWORD=' "DB_PASSWORD=$db_password" allo/.env
unset -v db_password
GCI_PASSWORD=1 G_CONFIG_INJECT 'APP_KEY=' "APP_KEY=base64:$(base64 < <(tr -dc '[:graph:]' < /dev/urandom | head -c32))" allo/.env
G_EXEC rm -R /opt/allo
G_EXEC mv allo /opt |
Creating a bug report/issue
this applies for:
DietPi - Allo.com Web GUI Image
Required Information
cat /boot/dietpi/.version
G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=17
G_DIETPI_VERSION_RC=2
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
Distro version |
echo $G_DISTRO_NAME $G_RASPBIAN
bullseye 0
Kernel version |
uname -a
Linux mini3 6.1.21-v8+ MichaIng/DietPi#1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
SBC model |
echo $G_HW_MODEL_NAME
or (EG: RPi3)rpi3 mod A+
Power supply used | (EG: 5V 1A RAVpower)
5V 2,5A
SD card used | (EG: SanDisk ultra)
SanDisk ultra
Steps to reproduce
Expected behaviour
Actual behaviour
The text was updated successfully, but these errors were encountered: