Description
I can't enable the External Storage Support App in Nextcloud. When trying to enable it, it says:
Error: This app cannot be enabled because it makes the server unstable
I set the Share up as CIFS networkdisks in the Addon Options and rebooted, it looks like sucessful:
[09:22:50] INFO: ...... //192.168.xxx.xxx/SERVER/SHARE1/Subfolder successfully mounted to /mnt/Subfolder with options rw,file_mode=0775,dir_mode=0775,username=user-smb-nextcloud,password=XXXXXXXXXX,nobrl,uid=1000,gid=1000,iocharset=utf8
Any Idea how to resolve that Issue?
Reproduction steps
1. Set up CIFS Share
2. Reboot the Nextcloud-Addon
3. Open the Nextcloud UI, navigate to Apps-> Find "External Storage Support"
4. Click on "Enable"
Addon Logs
Add-on version: 28.0.4
You are running the latest version of this add-on.
System: Home Assistant OS 12.1 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2024.3.3
Home Assistant Supervisor: 2024.03.1
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums
-----------------------------------------------------------
Provided by: https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
Defining permissions for main user :
User UID: 1000
User GID : 1000
-----------------------------------------------------------
/etc/cont-init.d/00-global_var.sh: executing
Full_Text_Search='false'
OCR='false'
OCRLANG='fra'
PGID='1000'
PUID='1000'
additional_apps='inotify-tools'
certfile='fullchain.pem'
cifspassword='xxxxxxxxxxxxx'
cifsusername='xxxxxxxxxxxxx'
default_phone_region='DE'
elasticsearch_server='<ip:port>'
enable_thumbnails='false'
keyfile='privkey.pem'
networkdisks='//192.168.xxx.xxx/SERVER/SHARE1/Subfolder/'
trusted_domains='ha.mydomain.com, ha-dev.mydomain.com'
use_own_certs='true'
/etc/cont-init.d/00-local_mounts.sh: executing
/etc/cont-init.d/00-smb_mounts.sh: executing
Mounting smb share(s)...
... using PUID 1000 and PGID 1000
... mounting //192.168.xxx.xxx/SERVER/SHARE1/Subfolder
[09:22:50] INFO: ...... //192.168.xxx.xxx/SERVER/SHARE1/Subfolder successfully mounted to /mnt/Subfolder with options rw,file_mode=0775,dir_mode=0775,username=user-smb-nextcloud,password=XXXXXXXXXX,nobrl,uid=1000,gid=1000,iocharset=utf8
/etc/cont-init.d/01-config_yaml.sh: executing
Setting permissions for the config.yaml directory
Load environment variables from /config/addons_config/nextcloud-ocr/config.yaml if existing
If accessing the file with filebrowser it should be mapped to /homeassistant/addons_config/nextcloud-ocr/config.yaml
---------------------------------------------------------
Wiki here on how to use : github.com/alexbelgium/hassio-addons/wiki/Add‐ons-feature-:-add-env-variables
... no env variables found, exiting
/etc/cont-init.d/01-custom_script.sh: executing
Execute /homeassistant/addons_config/nextcloud-ocr/nextcloud-ocr.sh if existing
Wiki here : github.com/alexbelgium/hassio-addons/wiki/Add-ons-feature-:-customisation
/etc/cont-init.d/01-folders.sh: executing
Setting user to 1000:1000
Updating permissions...
... Config directory : /data
... data directory detected : /share/nextcloud
... setting permissions
... done
/etc/cont-init.d/02-init_steps.sh: executing
/etc/cont-init.d/02-mariadb_discovery.sh: executing
/etc/cont-init.d/30-ssl.sh: executing
Using referenced ssl certificates
... checking if referenced files exist
... done
/etc/cont-init.d/99-add_packages.sh: executing
/etc/cont-init.d/99-elasticsearch.sh: executing
/etc/cont-init.d/99-ocr.sh: executing
/etc/cont-init.d/99-trusted_domains.sh: executing
Starting the upstream container
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] 02-default-location: skipped
[migrations] done
───────────────────────────────────────
██╗ ███████╗██╗ ██████╗
██║ ██╔════╝██║██╔═══██╗
██║ ███████╗██║██║ ██║
██║ ╚════██║██║██║ ██║
███████╗███████║██║╚██████╔╝
╚══════╝╚══════╝╚═╝ ╚═════╝
Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID: 1000
User GID: 1000
───────────────────────────────────────
using keys found in /data/config/keys
Initializing nextcloud 28.0.4.1 (this can take a while) ...
Setting permissions
Initializing finished
Starting...
/etc/cont-init.d/02-init_steps.sh: executing
Setting logs
----------------------------------------
Nextcloud 28.0.4.1 is installed
----------------------------------------
... checking for app updates
... Clean potential errors
Maintenance mode already disabled
... Remove CODE if installed as not compatible
... Define default_phone_region
System config value default_phone_region set to string DE
... Disabling check_data_directory_permissions
System config value check_data_directory_permissions set to boolean false
... disabling thumbnails
System config value enable_previews set to string false
/etc/cont-init.d/02-mariadb_discovery.sh: executing
0 [>---------------------------] 0 [->--------------------------]---
MariaDB addon was found! It can't be configured automatically due to the way Nextcloud works, but you can configure it manually when running the web UI for the first time using those values :
Database user : service bashio::log.blue Database user : service
Database password : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Database name : nextcloud
Host-name : core-mariadb:3306
---
/etc/cont-init.d/99-add_packages.sh: executing
[09:23:32] INFO: Installing additional apps :
... inotify-tools
/etc/cont-init.d/99-elasticsearch.sh: executing
/etc/cont-init.d/99-ocr.sh: executing
/etc/cont-init.d/99-trusted_domains.sh: executing
[09:23:35] INFO: Currently set trusted domains :
192.168.xxx.xxx:8099
ha.mydomain.com
ha-dev.mydomain.com
[09:23:36] INFO: Trusted domains set in the configuration. Refreshing domains.
[09:23:36] INFO: ... removing previously added trusted domain (except for first one created)
System config value trusted_domains => 2 deleted
System config value trusted_domains => 3 deleted
System config value trusted_domains => 4 deleted
System config value trusted_domains => 5 deleted
[09:23:41] INFO: ... alignement with trusted domains list : ha.mydomain.com, ha-dev.mydomain.com
[09:23:41] INFO: ... adding ha.mydomain.com
System config value trusted_domains => 6 set to string ha.mydomain.com
[09:23:42] INFO: ... adding ha-dev.mydomain.com
System config value trusted_domains => 7 set to string ha-dev.mydomain.com
[09:23:43] INFO: Remaining configurated trusted domains :
[09:23:44] INFO: 192.168.xxx.xxx:8099
ha.mydomain.com
ha-dev.mydomain.com
Starting the upstream container
[custom-init] No custom files found, skipping...
crond: crond (busybox 1.36.1) started, log level 8
[ls.io-init] done.
[05-Apr-2024 09:23:45] NOTICE: fpm is running, pid 1406
[05-Apr-2024 09:23:45] NOTICE: ready to handle connections
Architecture
No response
OS
HAos
Description
I can't enable the External Storage Support App in Nextcloud. When trying to enable it, it says:
Error: This app cannot be enabled because it makes the server unstableI set the Share up as CIFS networkdisks in the Addon Options and rebooted, it looks like sucessful:
Any Idea how to resolve that Issue?
Reproduction steps
Addon Logs
Architecture
No response
OS
HAos