diff --git a/nextcloud/CHANGELOG.md b/nextcloud/CHANGELOG.md index c84385dbc..2ee399bee 100644 --- a/nextcloud/CHANGELOG.md +++ b/nextcloud/CHANGELOG.md @@ -1,5 +1,3 @@ -### 26.0.0-10 (02-04-2023) -- Minor bugs fixed - Improve PUID/PGID code setting, and avoid minor issues ### 26.0.0-9_updater (01-04-2023) diff --git a/nextcloud/config.json b/nextcloud/config.json index 74b4040e5..c163d1024 100644 --- a/nextcloud/config.json +++ b/nextcloud/config.json @@ -106,6 +106,6 @@ "slug": "nextcloud_ocr", "uart": true, "url": "https://github.com/alexbelgium/hassio-addons/tree/master/nextcloud", - "version": "26.0.0-10", + "version": "26.0.0-11", "webui": "https://[HOST]:[PORT:443]" } \ No newline at end of file diff --git a/nextcloud/rootfs/etc/cont-init.d/01-folders.sh b/nextcloud/rootfs/etc/cont-init.d/01-folders.sh index 4a6a3da77..940b988b5 100755 --- a/nextcloud/rootfs/etc/cont-init.d/01-folders.sh +++ b/nextcloud/rootfs/etc/cont-init.d/01-folders.sh @@ -2,9 +2,9 @@ # shellcheck shell=bash if bashio::config.has_value "PUID" && bashio::config.has_value "PGID"; then - bashio::log.green "Setting user to $PUID:$PGID" PUID="$(bashio::config "PUID")" PGID="$(bashio::config "PGID")" + bashio::log.green "Setting user to $PUID:$PGID" groupmod -o -g "$PGID" abc usermod -o -u "$PUID" abc fi