hassio-addons: π [Nextcloud] New installation won't start
Description
After installing Nextcloud 28.0.1-2 Addon it wonβt start and Nextcloud UI shows error (ERR_CONNECTION_REFUSED).
Reproduction steps
1. Install Nextcloud 28.0.1 Addon
2. Start Addon and complete initial setup of Nextcloud
3. Update Nextcloud 28.0.1 Addon to 28.0.1-2
4. May do something in your Nextcloud instance
5. Uninstall Nextcloud Addon (config was just for test, uninstall)
6. Delete Folder share/nextcloud
7. Install Nextcloud Addon
8. Start Addon
9. Nextcloud UI won't show anything
10. Wait some hours -> nothing changes
Addon Logs
Starting...
/etc/cont-init.d/00-banner.sh: executing
-----------------------------------------------------------
Add-on: Nextcloud
Nextcloud for Homeassistant
-----------------------------------------------------------
Add-on version: 28.0.1-2
You are running the latest version of this add-on.
System: Home Assistant OS 11.4 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2024.1.2
Home Assistant Supervisor: 2023.12.0
-----------------------------------------------------------
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'
elasticsearch_server='<ip:port>'
enable_thumbnails='true'
keyfile='privkey.pem'
trusted_domains='your-domain, your-domain2'
use_own_certs='false'
/etc/cont-init.d/00-local_mounts.sh: executing
/etc/cont-init.d/00-smb_mounts.sh: executing
/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
/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.1.1 (this can take a while) ...
Setting permissions
New nextcloud instance
Please run the web-based installer on first connect!
Initializing finished
After completing the web-based installer, restart the Nextcloud container to apply default memory caching and transactional file locking configurations.
Alternatively, you can apply your own configurations by editing /data/config/www/nextcloud/config/config.php following the documentation:
https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/caching_configuration.html
https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/files_locking_transactional.html
Starting...
/etc/cont-init.d/02-init_steps.sh: executing
Setting logs
... checking for app updates
Nextcloud is not installed - only a limited number of commands are available
There are no commands defined in the "app" namespace.
Error : /etc/cont-init.d/02-init_steps.sh exiting 1
/etc/cont-init.d/02-mariadb_discovery.sh: executing
/etc/cont-init.d/99-add_packages.sh: executing
[17:52:08] 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
[17:52:12] INFO: Currently set trusted domains :
Nextcloud is not installed - only a limited number of commands are available
There are no commands defined in the "config:system" namespace.
[17:52:12] INFO: No trusted domain set yet. The first one will be set when doing initial configuration
[17:52:12] INFO: Trusted domains set in the configuration. Refreshing domains.
[17:52:12] INFO: ... removing previously added trusted domain (except for first one created)
Nextcloud is not installed - only a limited number of commands are available
There are no commands defined in the "config:system" namespace.
Error : /etc/cont-init.d/99-trusted_domains.sh exiting 1
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.
[10-Jan-2024 17:52:13] NOTICE: fpm is running, pid 984
[10-Jan-2024 17:52:13] NOTICE: ready to handle connections
crond: USER abc pid 1292 cmd /usr/bin/php /app/www/public/cron.php 2>&1
Exception: Not installed in /app/www/public/lib/base.php:283
Stack trace:
#0 /app/www/public/lib/base.php(709): OC::checkInstalled()
#1 /app/www/public/lib/base.php(1200): OC::init()
#2 /app/www/public/cron.php(43): require_once('...')
#3 {main}
Exception: Not installed in /app/www/public/lib/base.php:283
Stack trace:
#0 /app/www/public/lib/base.php(709): OC::checkInstalled()
#1 /app/www/public/lib/base.php(1200): OC::init()
#2 /app/www/public/cron.php(43): require_once('...')
#3 {main}
Architecture
aarch64
OS
HAos
About this issue
- Original URL
- State: closed
- Created 6 months ago
- Comments: 18 (8 by maintainers)
Commits related to this issue
- Update 02-init_steps.sh https://github.com/alexbelgium/hassio-addons/issues/1170 — committed to alexbelgium/hassio-addons by alexbelgium 6 months ago
- Update 02-init_steps.sh https://github.com/alexbelgium/hassio-addons/issues/1170#issuecomment-1887415970 — committed to alexbelgium/hassio-addons by alexbelgium 6 months ago
All working for me with the latest update. Thanks for the quick fix!
Ohhhh shi**** I found the problemβ¦ The problem is behind the screen. I tried to add a user called adminβ¦ But the user already exists π
It works again. Thank you π
ok after refresh updates and install the new update and a reboot everything works now β€οΈ
Here you go:
After a few minutes:
I only installed it for the first time yesterday morning, and I had the issue where I coudnβt access the web interface. Updated last night, but still have the issue.
On Thu, 11 Jan 2024 at 12:41, Alexandre @.***> wrote: