Correct PUID

This commit is contained in:
Alexandre
2023-03-31 22:10:26 +02:00
parent e44aefc383
commit e6f4300979
6 changed files with 4 additions and 9 deletions

View File

@@ -1,7 +1,5 @@
### 26.0.0-7_updater (31-03-2023)
- ⚠ WARNING : PLEASE BACKUP NEXTCLOUD & MARIADB ADDONS BEFORE UPDATING !
- ⚠ WARNING : Enables by default updater ; you can disable it with the option "disable_updates"
- Minor bugs fixed
- Improved updater code
- Autocorrection of permission errors in data directory

View File

@@ -106,6 +106,6 @@
"slug": "nextcloud_ocr",
"uart": true,
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/nextcloud",
"version": "26.0.0-7_updater",
"version": "26.0.0-8_updater",
"webui": "https://[HOST]:[PORT:443]"
}

View File

@@ -35,8 +35,7 @@ fi
# Specify launcher
PUID=$(bashio::config "PUID")
PGID=$(bashio::config "PGID")
LAUNCHER="sudo -u \#"$PUID" php /data/config/www/nextcloud/occ"
LAUNCHER="sudo -u \#$PUID php /data/config/www/nextcloud/occ"
# Inform if new version available
function nextcloud_download {

View File

@@ -6,7 +6,6 @@ if [ -f /notinstalled ]; then exit 0; fi
# Specify launcher
PUID=$(bashio::config "PUID")
PGID=$(bashio::config "PGID")
# Check current version
if [ -f /data/config/www/nextcloud/version.php ]; then

View File

@@ -8,7 +8,7 @@ if [ -f /notinstalled ]; then exit 0; fi
# Specify launcher
PUID=$(bashio::config "PUID")
PGID=$(bashio::config "PGID")
LAUNCHER="sudo -u \#"$PUID" php /data/config/www/nextcloud/occ"
LAUNCHER="sudo -u \#$PUID php /data/config/www/nextcloud/occ"
if $LAUNCHER fulltextsearch:test &>/dev/null; then
echo "Full Text Search is already working"

View File

@@ -6,8 +6,7 @@ if [ -f /notinstalled ]; then exit 0; fi
# Specify launcher
PUID=$(bashio::config "PUID")
PGID=$(bashio::config "PGID")
LAUNCHER="sudo -u \#"$PUID" php /data/config/www/nextcloud/occ"
LAUNCHER="sudo -u \#$PUID php /data/config/www/nextcloud/occ"
####################
# Initialization #