mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-16 01:18:19 +01:00
Correct PUID
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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]"
|
||||
}
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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 #
|
||||
|
||||
Reference in New Issue
Block a user