mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02: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 : PLEASE BACKUP NEXTCLOUD & MARIADB ADDONS BEFORE UPDATING !
|
||||||
- ⚠ WARNING : Enables by default updater ; you can disable it with the option "disable_updates"
|
- ⚠ WARNING : Enables by default updater ; you can disable it with the option "disable_updates"
|
||||||
- Minor bugs fixed
|
|
||||||
- Improved updater code
|
- Improved updater code
|
||||||
- Autocorrection of permission errors in data directory
|
- Autocorrection of permission errors in data directory
|
||||||
|
|
||||||
|
|||||||
@@ -106,6 +106,6 @@
|
|||||||
"slug": "nextcloud_ocr",
|
"slug": "nextcloud_ocr",
|
||||||
"uart": true,
|
"uart": true,
|
||||||
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/nextcloud",
|
"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]"
|
"webui": "https://[HOST]:[PORT:443]"
|
||||||
}
|
}
|
||||||
@@ -35,8 +35,7 @@ fi
|
|||||||
|
|
||||||
# Specify launcher
|
# Specify launcher
|
||||||
PUID=$(bashio::config "PUID")
|
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
|
# Inform if new version available
|
||||||
function nextcloud_download {
|
function nextcloud_download {
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ if [ -f /notinstalled ]; then exit 0; fi
|
|||||||
|
|
||||||
# Specify launcher
|
# Specify launcher
|
||||||
PUID=$(bashio::config "PUID")
|
PUID=$(bashio::config "PUID")
|
||||||
PGID=$(bashio::config "PGID")
|
|
||||||
|
|
||||||
# Check current version
|
# Check current version
|
||||||
if [ -f /data/config/www/nextcloud/version.php ]; then
|
if [ -f /data/config/www/nextcloud/version.php ]; then
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ if [ -f /notinstalled ]; then exit 0; fi
|
|||||||
# Specify launcher
|
# Specify launcher
|
||||||
PUID=$(bashio::config "PUID")
|
PUID=$(bashio::config "PUID")
|
||||||
PGID=$(bashio::config "PGID")
|
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
|
if $LAUNCHER fulltextsearch:test &>/dev/null; then
|
||||||
echo "Full Text Search is already working"
|
echo "Full Text Search is already working"
|
||||||
|
|||||||
@@ -6,8 +6,7 @@ if [ -f /notinstalled ]; then exit 0; fi
|
|||||||
|
|
||||||
# Specify launcher
|
# Specify launcher
|
||||||
PUID=$(bashio::config "PUID")
|
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 #
|
# Initialization #
|
||||||
|
|||||||
Reference in New Issue
Block a user