The Basics
- Nextcloud Server version (e.g., 29.x.x):
- nextcloud:32.0.9-apache@sha256:ad0e7ae7 (Community Docker build)
- Reverse proxy and version _(e.g. nginx 1.27.2)
- traefik:3.6.10 Community Docker build
- Is this the first time you’ve seen this error? (Yes / No):
- Yes
- When did this problem seem to first start?
- Just about as of the time I’m posting this (today)
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
- No
Summary of the issue you are facing:
Very similar to this locked topic. The occ setupchecks command takes a long time (almost exactly 8 minutes: [7m 52.886s]) to execute. There is no CLI output until the very end, nor any logging output as far as I can see. It also can’t be interrupted (Ctrl+C) (not sure if possible to work around/fault of docker interface?) During this time, a php process consumes the maximum amount of CPU available, but at least in a respectful way that still allows everything including the nextcloud server to continue responding to requests.
Is there any way for me to get a closer look inside of setupchecks while it’s running? Thank you all in advance.
Steps to replicate it (hint: details matter!):
- Run
php occ -vvv setupchecks(in my case,docker exec -it nextcloud php occ -vvv setupchecks) - Observe as command takes 8 minutes to complete, not outputing any information by internal logging system, Docker logging system or CLI. CLI & web output only available after all work appears to be done.
Log entries
Nextcloud
No log entries related to the setupchecks process appear to be generated.
Web Browser
Does affect the Overview portion of the web interface, too. Would there be any local web console output if the CLI or logging interface aren’t generating anything?
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____:
The apache2 error log is linked to the /dev/stderror device, and I’m not sure where that’s going. The docker logs for this container only appear to show access from web.
Configuration
Nextcloud
The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***Host on private subdomain directed by AdGuardHome container***"
],
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"overwriteprotocol": "https",
"overwrite.cli.url": "***Host on private subdomain directed by AdGuardHome container***",
"htaccess.RewriteBase": "\/",
"dbtype": "pgsql",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"version": "32.0.9.2",
"installed": true,
"maintenance": false,
"updater.release.channel": "stable",
"maintenance_window_start": 7,
"memcache.local": "\\OC\\Memcache\\APCu",
"upgrade.disable-web": true,
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"loglevel": 1,
"forbidden_filename_basenames": [
"con",
"prn",
"aux",
"nul",
"com0",
"com1",
"com2",
"com3",
"com4",
"com5",
"com6",
"com7",
"com8",
"com9",
"com\u00b9",
"com\u00b2",
"com\u00b3",
"lpt0",
"lpt1",
"lpt2",
"lpt3",
"lpt4",
"lpt5",
"lpt6",
"lpt7",
"lpt8",
"lpt9",
"lpt\u00b9",
"lpt\u00b2",
"lpt\u00b3"
],
"forbidden_filename_characters": [
"<",
">",
":",
"\"",
"|",
"?",
"*",
"\\",
"\/"
],
"forbidden_filename_extensions": [
" ",
".",
".filepart",
".part"
],
"app_install_overwrite": [],
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "redis", (On private docker network. redis output seems to confirm successful access)
"port": "6379"
}
}
}
Apps
The output of occ app:list (if possible).
Enabled:
- activity: 5.0.0
- admin_audit: 1.22.0
- app_api: 32.0.0
- calendar: 6.4.2
- cloud_federation_api: 1.16.0
- contacts: 8.3.11
- contactsinteraction: 1.13.1
- cookbook: 0.11.6
- dashboard: 7.12.0
- dav: 1.34.2
- deck: 1.16.5
- federatedfilesharing: 1.22.0
- files: 2.4.0
- files_downloadlimit: 5.0.0
- files_pdfviewer: 5.0.0
- files_reminders: 1.5.0
- files_sharing: 1.24.1
- files_trashbin: 1.22.0
- files_versions: 1.25.0
- firstrunwizard: 5.0.0
- integration_google: 4.3.1
- logreader: 5.0.0
- lookup_server_connector: 1.20.0
- nextcloud_announcements: 4.0.0
- notifications: 5.0.0
- oauth2: 1.20.0
- password_policy: 4.0.0
- photos: 5.0.0
- privacy: 4.0.0
- profile: 1.1.0
- provisioning_api: 1.22.0
- recommendations: 5.0.0
- related_resources: 3.0.0
- serverinfo: 4.0.0
- settings: 1.15.1
- sharebymail: 1.22.0
- support: 4.0.0
- survey_client: 4.0.0
- systemtags: 1.22.0
- tasks: 0.17.1
- text: 6.0.2
- theming: 2.7.0
- twofactor_backupcodes: 1.21.0
- updatenotification: 1.22.0
- user_status: 1.12.0
- viewer: 5.0.0
- webhook_listeners: 1.3.0
- workflowengine: 2.14.0
Disabled:
- bruteforcesettings: 5.0.0 (installed 2.4.0)
- circles: 32.0.0 (installed 24.0.0)
- comments: 1.22.0 (installed 1.14.0)
- encryption: 2.20.0
- federation: 1.22.0 (installed 1.18.0)
- files_external: 1.24.1
- suspicious_login: 10.0.0
- twofactor_nextcloud_notification: 6.0.0
- twofactor_totp: 14.0.0
- user_ldap: 1.23.0
- weather_status: 1.12.0 (installed 1.8.0)