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 : 26.0.1.1
Operating system and version (eg, Ubuntu 20.04):
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Apache or nginx version (eg, Apache 2.4.25): 2.4.56-1~deb11u2
PHP version:
PHP 8.1.18 (cli) (built: Apr 14 2023 04:39:46) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.18, Copyright (c) Zend Technologies
with Zend OPcache v8.1.18, Copyright (c), by Zend Technologies
The issue you are facing:
Apche2 is not starting.
Found using journalctl -xe
░░ A start job for unit apache2.service has begun execution.
░░
░░ The job identifier is 1103.
Dec 27 14:51:23 petra apachectl[6943]: AH00526: Syntax error on line 12 of /etc/apache2/sites-enabled/nextcloud.conf:
Dec 27 14:51:23 petra apachectl[6943]: SSLCertificateFile: file '/etc/letsencrypt/live/nc.XXX.duckdns.org/fullchain.pem' does not exist or is empty
Dec 27 14:51:23 petra apachectl[6940]: Action 'start' failed.
Dec 27 14:51:23 petra apachectl[6940]: The Apache error log may have more information.
Dec 27 14:51:23 petra systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
It loos like there is a .../DOMAINNAME/fullcheain.pem
file missing
Is this the first time you’ve seen this error? (Y/N):
Steps to replicate it:
- restart apache2
The output of your Nextcloud log in Admin > Logging:
Well, NC-server is not running, is there another way to show this
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => 'xyzzy',
'secret' => 'xyzzy,
'trusted_domains' =>
array (
0 => 'localhost',
11 => '217.120.233.176',
1 => '192.168.2.67',
14 => 'petra',
3 => 'petra',
),
'datadirectory' => '/opt/ncdata/data',
'dbtype' => 'mysql',
'version' => '26.0.1.1',
'overwrite.cli.url' => 'https://petra/',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'ncadmin',
'dbpassword' => 'YPAJv2tM1zLvrmcOnSk4r4H4kFW7/oGLp3Ouc/iI8B0=',
'installed' => true,
'instanceid' => 'ocosndegi5bo',
'tempdirectory' => '/opt/ncdata/data/tmp',
'preview_max_x' => '2048',
'preview_max_y' => '2048',
'jpeg_quality' => '60',
'overwriteprotocol' => 'https',
'maintenance' => false,
'logfile' => '/opt/ncdata/data/nextcloud.log',
'trusted_proxies' =>
array (
11 => '127.0.0.1',
12 => '::1',
13 => 'petra',
14 => '192.168.2.67',
),
'default_phone_region' => 'NL',
'loglevel' => '2',
'log_type' => 'file',
'htaccess.RewriteBase' => '/',
'mail_sendmailmode' => 'smtp',
'mail_smtpdebug' => true,
'mail_from_address' => 'nextcloud',
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpport' => '587',
'mail_smtpauth' => 1,
'mail_smtpname' => 'xxxx@xxxxxxx.nl',
'mail_smtppassword' => 'xyzzy',
'mail_smtpstreamoptions' =>
array (
'ssl' =>
array (
'allow_self_signed' => true,
'verify_peer' => false,
'verify_peer_name' => false,
),
),
'filelocking.enabled' => true,
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
'password' => 'xyzzy',
),
'mail_smtpsecure' => 'tls',
'theme' => '',
'data-fingerprint' => 'xyzzy',
);
The output of your Apache/nginx/system log in /var/log/____
:
There is no apache.log , yet I past the /var/log/apache2/error.log
[Mon Oct 30 20:45:04.251897 2023] [proxy_fcgi:error] [pid 195294:tid 548089590144] [remote 192.168.2.40:36402] AH01071: Got error 'PHP message: PHP Warning: Array to st
ring conversion in /var/www/ncp-web/index.php on line 276'
[Mon Oct 30 20:45:12.176113 2023] [proxy_fcgi:error] [pid 195294:tid 548224094592] [remote 192.168.2.40:36402] AH01071: Got error 'PHP message: PHP Warning: Array to st
ring conversion in /var/www/ncp-web/index.php on line 276'
[Mon Oct 30 20:54:02.573313 2023] [proxy_fcgi:error] [pid 195294:tid 548140044672] [remote 192.168.2.40:36402] AH01071: Got error 'PHP message: PHP Warning: Array to st
ring conversion in /var/www/ncp-web/index.php on line 276'
[Tue Nov 14 12:45:06.483802 2023] [proxy_fcgi:error] [pid 195295:tid 548123226496] [remote 192.168.2.40:49540] AH01071: Got error 'PHP message: PHP Warning: Array to st
ring conversion in /var/www/ncp-web/index.php on line 276'
[Tue Nov 14 14:56:49.433975 2023] [http2:warn] [pid 195295:tid 547465716096] [client 192.168.2.40:49540] h2_stream(195295-2396-31,CLEANUP): started=1, scheduled=1, ready
=0, out_buffer=0
[Tue Nov 14 14:57:49.469389 2023] [http2:warn] [pid 195295:tid 547465716096] [client 192.168.2.40:49540] h2_stream(195295-2396-31,CLEANUP): started=1, scheduled=1, ready
=0, out_buffer=0
[Tue Nov 14 14:58:49.469578 2023] [http2:warn] [pid 195295:tid 547465716096] [client 192.168.2.40:49540] h2_stream(195295-2396-31,CLEANUP): started=1, scheduled=1, ready
=0, out_buffer=0
[Tue Nov 14 14:59:49.472453 2023] [http2:warn] [pid 195295:tid 547465716096] [client 192.168.2.40:49540] h2_stream(195295-2396-31,CLEANUP): started=1, scheduled=1, ready
=0, out_buffer=0
and /var/log/apache2/nc-error.log
[Mon Dec 11 06:02:07.741121 2023] [proxy_fcgi:error] [pid 195295:tid 547625079168] (70008)Partial results are valid but processing is incomplete: [client 121.64.82.54:59704] AH01075: Error dispatching request to :61042: (reading input brigade)
[Mon Dec 11 06:44:26.763546 2023] [proxy_fcgi:error] [pid 195294:tid 547935478144] (70008)Partial results are valid but processing is incomplete: [client 121.64.82.54:54364] AH01075: Error dispatching request to :61042: (reading input brigade)
[Mon Dec 11 06:44:26.801874 2023] [proxy_fcgi:error] [pid 195294:tid 547927085440] (70008)Partial results are valid but processing is incomplete: [client 121.64.82.54:54378] AH01075: Error dispatching request to :61042: (reading input brigade)
[Mon Dec 11 08:55:51.773350 2023] [proxy_fcgi:error] [pid 195294:tid 547566363008] (70008)Partial results are valid but processing is incomplete: [client 121.64.82.54:37754] AH01075: Error dispatching request to :61042: (reading input brigade)
[Mon Dec 11 09:37:32.436177 2023] [proxy_fcgi:error] [pid 195295:tid 547432145280] (70007)The timeout specified has expired: [client 121.64.82.54:39378] AH01075: Error dispatching request to :61042: (reading input brigade)
[Mon Dec 11 09:39:55.475484 2023] [proxy_fcgi:error] [pid 195295:tid 547423752576] (70007)The timeout specified has expired: [client 121.64.82.54:39358] AH01075: Error dispatching request to :61042: (reading input brigade)
[Mon Dec 11 10:07:56.433580 2023] [proxy_fcgi:error] [pid 195294:tid 547591541120] (70008)Partial results are valid but processing is incomplete: [client 121.64.82.54:58566] AH01075: Error dispatching request to :61042: (reading input brigade)
[Mon Dec 11 10:11:56.592116 2023] [proxy_fcgi:error] [pid 195295:tid 547432145280] (70008)Partial results are valid but processing is incomplete: [client 121.64.82.54:52674] AH01075: Error dispatching request to :61042: (reading input brigade)
[Mon Dec 11 11:38:20.938068 2023] [proxy_fcgi:error] [pid 195295:tid 547658649984] (70007)The timeout specified has expired: [client 109.37.147.235:11842] AH01075: Error dispatching request to :61042: (reading input brigade)
[Mon Dec 11 12:36:41.829321 2023] [proxy_fcgi:error] [pid 195295:tid 547675435392] (70008)Partial results are valid but processing is incomplete: [client 121.64.82.54:38280] AH01075: Error dispatching request to :61042: (reading input brigade)
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.