mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-19 13:59:15 +02:00
Update
This commit is contained in:
@@ -1,6 +1,3 @@
|
|||||||
### 27.0.1-3 (22-07-2023)
|
|
||||||
- Minor bugs fixed
|
|
||||||
## 27.0.1 (21-07-2023)
|
|
||||||
- ⚠ MAJOR BREAKING CHANGE:
|
- ⚠ MAJOR BREAKING CHANGE:
|
||||||
- Code rewrite due in upstream logic change https://info.linuxserver.io/issues/2023-06-25-nextcloud
|
- Code rewrite due in upstream logic change https://info.linuxserver.io/issues/2023-06-25-nextcloud
|
||||||
- Please backup before updating
|
- Please backup before updating
|
||||||
|
|||||||
@@ -124,6 +124,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": "27.0.1-3",
|
"version": "27.0.1-4",
|
||||||
"webui": "https://[HOST]:[PORT:443]"
|
"webui": "https://[HOST]:[PORT:443]"
|
||||||
}
|
}
|
||||||
@@ -19,10 +19,8 @@ htuser='abc'
|
|||||||
htgroup='abc'
|
htgroup='abc'
|
||||||
rootuser='root'
|
rootuser='root'
|
||||||
|
|
||||||
datadirectory=$(bashio::config 'data_directory')
|
|
||||||
|
|
||||||
printf "Creating possible missing Directories\n"
|
printf "Creating possible missing Directories\n"
|
||||||
for folder in "$ocpath"/data "$ocpath"/assets "$ocpath"/updater "$ocpath"/apps "$ocpath"/assets "$ocpath"/config "$ocpath"/data "$ocpath"/themes /data/config/nextcloud/config /data/config/nextcloud/data "$datadirectory" /ssl/nextcloud/keys; do
|
for folder in "$ocpath"/data "$ocpath"/assets "$ocpath"/updater "$ocpath"/apps "$ocpath"/assets "$ocpath"/config "$ocpath"/data "$ocpath"/themes /data/config/nextcloud/config /data/config/nextcloud/data /ssl/nextcloud/keys; do
|
||||||
if [ ! -f "$folder" ]; then
|
if [ ! -f "$folder" ]; then
|
||||||
echo "... $folder"
|
echo "... $folder"
|
||||||
mkdir -p "$folder" || true
|
mkdir -p "$folder" || true
|
||||||
@@ -41,7 +39,7 @@ printf "chown Directories. This could take some time, please wait...\n"
|
|||||||
chown -R ${rootuser}:${htgroup} "${ocpath}"/
|
chown -R ${rootuser}:${htgroup} "${ocpath}"/
|
||||||
chmod +x "${ocpath}"/occ
|
chmod +x "${ocpath}"/occ
|
||||||
for folder in "${ocpath}"/apps/ "${ocpath}"/assets/ "${ocpath}"/config/ "${ocpath}"/data/ "${ocpath}"/themes/ "${datadirectory}" /ssl/nextcloud/keys; do
|
for folder in "${ocpath}"/apps/ "${ocpath}"/assets/ "${ocpath}"/config/ "${ocpath}"/data/ "${ocpath}"/themes/ "${datadirectory}" /ssl/nextcloud/keys; do
|
||||||
chown -R ${htuser}:${htgroup} || true
|
chown -R ${htuser}:${htgroup} "$folder" || true
|
||||||
done
|
done
|
||||||
|
|
||||||
printf "chmod/chown .htaccess\n"
|
printf "chmod/chown .htaccess\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user