hassio-addons: π [Nextcloud] Addon won't run with error about Composer autoloader not found or app directory not found
Which addon? Nextcloud
- Addon name : Nextcloud
- Addon version : 25.0.4-8
Describe the bug
I cannot get Nextcloud to open. I uninstalled it and tried to reinstall it as I was looking to move the data to another drive but I canβt even get to that point. I either get the error that βComposer autoloader not found, unable to continue. Check the folder β3rdpartyβ. Running βgit submodule update --initβ will initialize the git submodule that handles the subfolder β3rdpartyβ.β or that the app directory can not be found
To Reproduce
Just trying to start the addon
Full addon log
Full addon config
βββββββββββββββββββββββββββββββββββββββ
To support LSIO projects visit:
https://www.linuxserver.io/donate/
βββββββββββββββββββββββββββββββββββββββ
GID/UID
βββββββββββββββββββββββββββββββββββββββ
Nextcloud for Home Assistant
-----------------------------------------------------------
User UID: 1000
User GID: 1000
βββββββββββββββββββββββββββββββββββββββ
Add-on version: 25.0.4-8
You are running the latest version of this add-on.
System: Home Assistant OS 9.5 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2023.3.3
Home Assistant Supervisor: 2023.03.1
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums
https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
cont-init: info: /etc/cont-init.d/00-banner.sh exited 0
cont-init: info: running /etc/cont-init.d/01-custom_script.sh
[19:56:31] INFO: Execute /config/addons_autoscripts/nextcloud-ocr.sh if existing
[19:56:31] INFO: ... no script found
cont-init: info: /etc/cont-init.d/01-custom_script.sh exited 0
cont-init: info: running /etc/cont-init.d/01-folders.sh
[19:56:31] INFO: Checking permissions
cont-init: info: /etc/cont-init.d/01-folders.sh exited 0
cont-init: info: running /etc/cont-init.d/02-init_steps.sh
Cleaning files
Setting logs
cont-init: info: /etc/cont-init.d/02-init_steps.sh exited 0
cont-init: info: running /etc/cont-init.d/02-mariadb_discovery.sh
[19:56:32] WARNING: 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 :
Database password :
Database name :
Host-name :
cont-init: info: /etc/cont-init.d/02-mariadb_discovery.sh exited 0
cont-init: info: running /etc/cont-init.d/30-ssl.sh
cont-init: info: /etc/cont-init.d/30-ssl.sh exited 0
cont-init: info: running /etc/cont-init.d/92-local_mounts.sh
cont-init: info: /etc/cont-init.d/92-local_mounts.sh exited 0
cont-init: info: running /etc/cont-init.d/92-smb_mounts.sh
cont-init: info: /etc/cont-init.d/92-smb_mounts.sh exited 0
cont-init: info: running /etc/cont-init.d/99-add_packages.sh
Cloning into 'pdfannotate'...
warning: redirecting to https://gitlab.com/nextcloud-other/nextcloud-annotate.git/
Nextcloud annotate app added to Nextcloud app store
[19:56:38] INFO: Installing additional apps :
... inotify-tools
cont-init: info: /etc/cont-init.d/99-add_packages.sh exited 0
cont-init: info: running /etc/cont-init.d/99-elasticsearch.sh
Full Text Search is already working
Full_Text_Search option not set
cont-init: info: /etc/cont-init.d/99-elasticsearch.sh exited 0
cont-init: info: running /etc/cont-init.d/99-ocr.sh
cont-init: info: /etc/cont-init.d/99-ocr.sh exited 0
cont-init: info: running /etc/cont-init.d/99-trusted_domains.sh
[19:56:42] INFO: Currently set trusted domains :
[19:56:42] INFO: Trusted domains set in the configuration. Refreshing domains.
[19:56:42] INFO: ... removing previously added trusted domain (except for first one created)
[19:56:44] INFO: ... alignement with trusted domains list :
[19:56:44] INFO: ... adding
[19:56:44] INFO: ... adding
[19:56:45] INFO: ... adding 1
[19:56:45] INFO: Remaining configurated trusted domains :
[19:56:45] INFO: Composer autoloader not found, unable to continue. Check the folder "3rdparty". Running "git submodule update --init" will initialize the git submodule that handles the subfolder "3rdparty".
cont-init: info: /etc/cont-init.d/99-trusted_domains.sh exited 0
Composer autoloader not found, unable to continue. Check the folder "3rdparty". Running "git submodule update --init" will initialize the git submodule that handles the subfolder "3rdparty".Composer autoloader not found, unable to continue. Check the folder "3rdparty". Running "git submodule update --init" will initialize the git submodule that handles the subfolder "3rdparty".Composer autoloader not found, unable to continue. Check the folder "3rdparty". Running "git submodule update --init" will initialize the git submodule that handles the subfolder "3rdparty".Composer autoloader not found, unable to continue. Check the folder "3rdparty". Running "git submodule update --init" will initialize the git submodule that handles the subfolder "3rdparty".Composer autoloader not found, unable to continue. Check the folder "3rdparty". Running "git submodule update --init" will initialize the git submodule that handles the subfolder "3rdparty".Composer autoloader not found, unable to continue. Check the folder "3rdparty". Running "git submodule update --init" will initialize the git submodule that handles the subfolder "3rdparty".Composer autoloader not found, unable to continue. Check the folder "3rdparty". Running "git submodule update --init" will initialize the git submodule that handles the subfolder "3rdparty".Composer autoloader not found, unable to continue. Check the folder "3rdparty". Running "git submodule update --init" will initialize the git submodule that handles the subfolder "3rdparty".Setting resolver to 127.0.0.11
Setting worker_processes to 4
using keys found in /data/config/keys
cp: cannot create regular file '/data/config/www/nextcloud/config/config.php': No such file or directory
I also get this error in Supervisor log
23-03-20 19:55:23 ERROR (SyncWorker_1) [supervisor.docker.addon] Add-on Nextcloud try to access to blocked device sdb1!
System
Running HassOS on a Raspberry Pi 4 8GB
- Supervisor version: 2023.03.1
- Home assistant core: 2023.3.3
- Host system version: Home Assistant OS 9.5
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 15 (7 by maintainers)
Commits related to this issue
- Solve https://github.com/alexbelgium/hassio-addons/issues/764 — committed to alexbelgium/hassio-addons by alexbelgium a year ago
- Improve reinstall code https://github.com/alexbelgium/hassio-addons/issues/764 — committed to alexbelgium/hassio-addons by alexbelgium a year ago
You can indeed! Thank you very much
Thanks for the feedback. Should i close it?
Perfect! And Iβve implanted the code within the addon to avoid potential recurrence, and allow easier updates in the future with a boolean in the addon options
I do really appreciate you trying to help out
So reran and installed this. App directory error now attached below
No problem at all, thanks a lot man. Iβll keep you posted