Support intro
Sorry to hear youâre facing problems
help.nextcloud.com is for home/non-enterprise users. If youâre running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isnât supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 29.0.5): Nextcloud AIO - Nextcloud Hub - 30.0.1
Operating system and version (eg, Ubuntu 24.04): Unraid 6.12.13
Apache or nginx version (eg, Apache 2.4.25): 2.4.62 (Unix)
PHP version (eg, 8.3): Unsure
The issue you are facing:
Iâm building a new Unraid server, and as part of that have installed Nextcloud AIO. Nextcloud functions in so much as I can log into the web version locally and remotely. On older Macs I can get the client software working, and I can get the client working on my iPhone.
But my newer Mac desktops stall at the âgrant accessâ phase of setup (which all goes fine, I click Grant Access, and the app never picks up that access has been granted and so doesnât move past the window waiting for me to complete login etc.)
This has caused me to drill down into why, and try and understand everything going on. Iâm a newbie to Unraid, newbie to Nextcloud and newbie to Linux style environments, though I am technical by nature and pretty computer savvy generally.
In my searching, I noted that whilst the docker of nextcloud-aio-apache is started and looks good, the logs show many âWaiting for Nextcloud to Startâ posts which is suspicious to me!
This is copied from my log (and I hope Iâm not giving away anything sensitive here!):
[Thu Oct 31 02:01:12.768677 2024] [mpm_event:notice] [pid 64:tid 64] AH00489: Apache/2.4.62 (Unix) configured -- resuming normal operations
[Thu Oct 31 02:01:12.768696 2024] [core:notice] [pid 64:tid 64] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'
[Thu Oct 31 02:02:40 2024] [error] [(111)Connection refused] [client: [AH00957: FCGI: attempt to connect to 172.20.0.9:9000 (nextcloud-aio-nextcloud:9000) failed]
[Thu Oct 31 02:02:40 2024] [error] [client: 109.158.134.94, 172.20.0.1] [AH01079: failed to make connection to backend: nextcloud-aio-nextcloud] [COOLWSD HTTP Agent 24.04.8.1]
Connection to nextcloud-aio-nextcloud (172.20.0.5) 9000 port [tcp/*] succeeded!
{"level":"info","ts":1730396046.2409494,"msg":"using config from file","file":"/tmp/Caddyfile"}
{"level":"info","ts":1730396046.242129,"msg":"adapted config to JSON","adapter":"caddyfile"}
[Thu Oct 31 17:34:08.174706 2024] [mpm_event:notice] [pid 133:tid 133] AH00489: Apache/2.4.62 (Unix) configured -- resuming normal operations
[Thu Oct 31 17:34:08.174727 2024] [core:notice] [pid 133:tid 133] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'
Connection to nextcloud-aio-nextcloud (172.20.0.5) 9000 port [tcp/*] succeeded!
{"level":"info","ts":1730426506.820187,"msg":"using config from file","file":"/tmp/Caddyfile"}
{"level":"info","ts":1730426506.8211472,"msg":"adapted config to JSON","adapter":"caddyfile"}
[Fri Nov 01 02:01:48.105088 2024] [mpm_event:notice] [pid 45:tid 45] AH00489: Apache/2.4.62 (Unix) configured -- resuming normal operations
[Fri Nov 01 02:01:48.105109 2024] [core:notice] [pid 45:tid 45] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'
[Fri Nov 01 02:03:51 2024] [error] [(111)Connection refused] [client: [AH00957: FCGI: attempt to connect to 172.20.0.5:9000 (nextcloud-aio-nextcloud:9000) failed]
[Fri Nov 01 02:03:51 2024] [error] [client: 109.158.134.94, 172.20.0.1] [AH01079: failed to make connection to backend: nextcloud-aio-nextcloud] [COOLWSD HTTP Agent 24.04.8.1]
[Fri Nov 01 09:40:52 2024] [error] [client: 185.93.28.142, 172.20.0.1] [AH01797: client denied by server configuration: /var/www/html/config] [Mozilla/5.0 (Macintosh) mirall/2.6.5legacy (build 20200710) (Nextcloud)]
Connection to nextcloud-aio-nextcloud (172.20.0.5) 9000 port [tcp/*] succeeded!
{"level":"info","ts":1730513028.1128132,"msg":"using config from file","file":"/tmp/Caddyfile"}
{"level":"info","ts":1730513028.1136234,"msg":"adapted config to JSON","adapter":"caddyfile"}
[Sat Nov 02 02:03:49.341878 2024] [mpm_event:notice] [pid 61:tid 61] AH00489: Apache/2.4.62 (Unix) configured -- resuming normal operations
[Sat Nov 02 02:03:49.341902 2024] [core:notice] [pid 61:tid 61] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'
[Sat Nov 02 02:06:02 2024] [error] [(EAI 2)Name does not resolve] [client: 109.158.134.94, 172.20.0.1] [AH00898: DNS lookup failure for: nextcloud-aio-nextcloud returned by /index.php] [COOLWSD HTTP Agent 24.04.8.1]
[Sat Nov 02 08:37:53 2024] [error] [client: 185.93.28.142, 172.20.0.1] [AH01797: client denied by server configuration: /var/www/html/config] [Mozilla/5.0 (Macintosh) mirall/2.6.5legacy (build 20200710) (Nextcloud)]
Connection to nextcloud-aio-nextcloud (172.20.0.5) 9000 port [tcp/*] succeeded!
{"level":"info","ts":1730599419.230296,"msg":"using config from file","file":"/tmp/Caddyfile"}
{"level":"info","ts":1730599419.2311502,"msg":"adapted config to JSON","adapter":"caddyfile"}
[Sun Nov 03 02:03:40.652109 2024] [mpm_event:notice] [pid 64:tid 64] AH00489: Apache/2.4.62 (Unix) configured -- resuming normal operations
[Sun Nov 03 02:03:40.652133 2024] [core:notice] [pid 64:tid 64] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'
{"level":"error","ts":1730599422.8097143,"logger":"http.log.error","msg":"dial tcp 172.20.0.3:9980: connect: connection refused","request":{"remote_ip":"172.20.0.1","remote_port":"60680","client_ip":"109.158.134.94","proto":"HTTP/1.1","method":"GET","host":"cloud.yoursoundsolution.co.uk","uri":"/hosting/capabilities","headers":{"Accept-Encoding":["gzip, br"],"Cf-Warp-Tag-Id":["1ff13089-2518-4aba-9cab-b62233660f3c"],"Connection":["keep-alive"],"X-Forwarded-For":["109.158.134.94"],"X-Forwarded-Proto":["https"],"User-Agent":["Nextcloud Server Crawler"],"Cdn-Loop":["cloudflare; loops=1"],"Cf-Connecting-Ip":["109.158.134.94"],"Cf-Ipcountry":["GB"],"Cf-Ray":["8dc8ca1879003691-LHR"],"Cf-Visitor":["{\"scheme\":\"https\"}"]}},"duration":0.00050114,"status":502,"err_id":"9cfp6gcg2","err_trace":"reverseproxy.statusError (reverseproxy.go:1269)"}
{"level":"error","ts":1730599423.3599126,"logger":"http.log.error","msg":"dial tcp 172.20.0.3:9980: connect: connection refused","request":{"remote_ip":"172.20.0.1","remote_port":"60680","client_ip":"109.158.134.94","proto":"HTTP/1.1","method":"GET","host":"cloud.yoursoundsolution.co.uk","uri":"/hosting/discovery","headers":{"Cdn-Loop":["cloudflare; loops=1"],"Cf-Connecting-Ip":["109.158.134.94"],"Cf-Ray":["8dc8ca1becd17786-LHR"],"Connection":["keep-alive"],"X-Forwarded-Proto":["https"],"User-Agent":["Nextcloud Server Crawler"],"Accept-Encoding":["gzip, br"],"Cf-Ipcountry":["GB"],"Cf-Visitor":["{\"scheme\":\"https\"}"],"Cf-Warp-Tag-Id":["1ff13089-2518-4aba-9cab-b62233660f3c"],"X-Forwarded-For":["109.158.134.94"]}},"duration":0.000445282,"status":502,"err_id":"uhydum4d4","err_trace":"reverseproxy.statusError (reverseproxy.go:1269)"}
[Sun Nov 03 02:06:31 2024] [error] [(111)Connection refused] [client: [AH00957: FCGI: attempt to connect to 172.20.0.5:9000 (nextcloud-aio-nextcloud:9000) failed]
[Sun Nov 03 02:06:31 2024] [error] [client: 109.158.134.94, 172.20.0.1] [AH01079: failed to make connection to backend: nextcloud-aio-nextcloud] [COOLWSD HTTP Agent 24.04.8.1]
Connection to nextcloud-aio-nextcloud (172.20.0.5) 9000 port [tcp/*] succeeded!
{"level":"info","ts":1730634432.3051498,"msg":"using config from file","file":"/tmp/Caddyfile"}
{"level":"info","ts":1730634433.3748848,"msg":"adapted config to JSON","adapter":"caddyfile"}
[Sun Nov 03 11:47:20.082834 2024] [mpm_event:notice] [pid 131:tid 131] AH00489: Apache/2.4.62 (Unix) configured -- resuming normal operations
[Sun Nov 03 11:47:20.082856 2024] [core:notice] [pid 131:tid 131] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'
{"level":"error","ts":1730636401.3144507,"logger":"http.log.error","msg":"dial tcp 127.0.0.1:8000: i/o timeout","request":{"remote_ip":"172.20.0.1","remote_port":"60242","client_ip":"109.158.134.94","proto":"HTTP/1.1","method":"PUT","host":"cloud.yoursoundsolution.co.uk","uri":"/ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json","headers":{"Sec-Fetch-Dest":["empty"],"X-Forwarded-For":["109.158.134.94"],"X-Forwarded-Proto":["https"],"Accept-Encoding":["gzip, br"],"Connection":["keep-alive"],"Requesttoken":["wR/qP+yYypYmpFOudGXWgbd9ZYPfLesXTWZHmHq6cMQ=:oFqsc7j7hNNnjzLBQwTi8c0rLeqaeqUnOTQW9DiNW48="],"Cf-Ray":["8dcc50a8eaf663eb-LHR"],"Content-Type":["application/json"],"Cookie":["REDACTED"],"Content-Length":["19"],"Accept":["application/json, text/plain, */*"],"Cf-Ipcountry":["GB"],"Origin":["https://cloud.yoursoundsolution.co.uk"],"Sec-Fetch-Mode":["cors"],"X-Requested-With":["XMLHttpRequest, XMLHttpRequest"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Safari/605.1.15"],"Cf-Visitor":["{\"scheme\":\"https\"}"],"Cf-Warp-Tag-Id":["e5d7db4f-b15f-4afb-a4c7-fa7ac12b50b8"],"Cf-Connecting-Ip":["109.158.134.94"],"Priority":["u=3, i"],"Sec-Fetch-Site":["same-origin"],"Accept-Language":["en-GB,en;q=0.9"],"Cdn-Loop":["cloudflare; loops=1"]}},"duration":8.100278935,"status":502,"err_id":"ihxcqi3iu","err_trace":"reverseproxy.statusError (reverseproxy.go:1269)"}
Connection to nextcloud-aio-nextcloud (172.20.0.5) 9000 port [tcp/*] succeeded!
{"level":"info","ts":1730642884.6316133,"msg":"using config from file","file":"/tmp/Caddyfile"}
{"level":"info","ts":1730642884.632415,"msg":"adapted config to JSON","adapter":"caddyfile"}
[Sun Nov 03 14:08:04.792140 2024] [mpm_event:notice] [pid 50:tid 50] AH00489: Apache/2.4.62 (Unix) configured -- resuming normal operations
[Sun Nov 03 14:08:04.792161 2024] [core:notice] [pid 50:tid 50] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'
Connection to nextcloud-aio-nextcloud (172.20.0.5) 9000 port [tcp/*] succeeded!
[Sun Nov 03 14:09:03.492522 2024] [mpm_event:notice] [pid 45:tid 45] AH00489: Apache/2.4.62 (Unix) configured -- resuming normal operations
[Sun Nov 03 14:09:03.492542 2024] [core:notice] [pid 45:tid 45] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'
{"level":"info","ts":1730642943.527764,"msg":"using config from file","file":"/tmp/Caddyfile"}
{"level":"info","ts":1730642943.5291111,"msg":"adapted config to JSON","adapter":"caddyfile"}
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
There are many more of those last âWaiting forâ messages but I could see the point in pasting them in!
Is this the first time youâve seen this error? (Y/N): Y
The output of your Nextcloud log in Admin > Logging:
Easier to link to: Dropbox
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
NB - This is the only Config. php file I can find in a âreasonableâ nextcloud folder. Iâm not convinced itâs the right one - I had a previous nextcloud instance installed previously that I believed Iâd cleared out, etc. But you knowâŚ
<?php
$CONFIG = array (
'datadirectory' => '/data',
'instanceid' => 'ocREDACTED',
'passwordsalt' => 'REDACTED',
'secret' => '***REDACTED***',
'trusted_domains' =>
array (
0 => '192.168.1.115:444',
1 => 'REDACTED',
),
'trusted_proxies' =>
array (
0 => '172.18.0.3',
1 => '192.168.1.115',
),
'default_phone_region' => 'GB',
'dbtype' => 'mysql',
'version' => '30.0.1.2',
'overwrite.cli.url' => 'REDACTED/',
'overwritehost' => 'REDACTED',
'overwriteprotocol' => 'https',
'dbname' => 'nextcloud',
'dbhost' => '192.168.1.115:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => '01SPRY5%fge',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'filelocking.enabled' => true,
'memcache.locking' => '\\OC\\Memcache\\APCu',
'upgrade.disable-web' => true,
'maintenance_window_start' => 1,
'mail_from_address' => 'REDACTED',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'REDACTED',
'mail_smtphost' => 'REDACTED',
'mail_smtpport' => '587',
'mail_smtpauth' => 1,
'mail_smtpname' => 'REDACTED',
'mail_smtppassword' => 'REDACTED',
'loglevel' => 2,
'maintenance' => false,
);
The output of your Apache/nginx/system log in /var/log/____
:
Can't find this I'm afraid.
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
See above link (I think)
Thank you for any insight anyone can offer!
Richard. x