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, 12.0.2): 13.0.5
Operating system and version (eg, Ubuntu 17.04): Raspbian Stretch
Apache or nginx version (eg, Apache 2.4.25): 2.4.25-3+deb9u5
PHP version (eg, 7.1): 7.0+49
EDIT: Updated currently used version info.
The issue you are facing:
I am currently having a hard time trying to have both NextCloud and AirSonic (a music streaming server) in one Apache2 server. Both are running in a Raspberry Pi 2B+ with the Raspbian build. I added a config for AirSonic, added it, and then restarted the server, but for some reason, when I launch www.somedomain.com/nextcloud, the server says it doesn’t exist. Even the index.php portion of the website is said to not exist. Did I configure my Apache2’s sites enabled wrong for NextCloud?
NextCloud’s Apache2 .conf file:
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
DocumentRoot /var/www/nextcloud
ServerName (redacted)
CustomLog /var/log/apache2/nc-access.log combined
ErrorLog /var/log/apache2/nc-error.log
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/(redacted)/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/(redacted)/privkey.pem
</VirtualHost>
<Directory /var/www/nextcloud/>
Options +FollowSymlinks
AllowOverride All
<IfModule mod_dav.c>
Dav off
</IfModule>
LimitRequestBody 0
SSLRenegBufferSize 10486000
</Directory>
</IfModule>
AirSonic’s Apache2 .conf file:
<VirtualHost *:80>
ServerName (redacted)
Redirect permanent / (redacted)
</VirtualHost>
<VirtualHost *:443>
SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/(redacted)/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/(redacted)/privkey.pem
SSLProxyEngine on
ServerName (redacted)
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/airsonic-access.log combined
ErrorLog ${APACHE_LOG_DIR}/airsonic-error.log
ProxyPass /airsonic http://127.0.0.1:8080/airsonic
ProxyPassReverse /airsonic http://127.0.0.1:8080/airsonic
RequestHeader set X-Forwarded-Proto "https"
</VirtualHost>
Is this the first time you’ve seen this error?: Yes.
Steps to replicate it:
Whenever a new server wants to be part of the domain (like www.somedomain.com/airsonic or /nextcloud), either one or the other works.
The output of your Nextcloud log in Admin > Logging:
None that are outstanding.
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
Is it just what is in the config.php file (sorry, I just recently joined). Here’s what it is regardless though.
<?php
$CONFIG = array (
'passwordsalt' => '(redacted)',
'secret' => '(redacted)',
'trusted_domains' =>
array (
0 => 'localhost',
1 => '(redacted)',
5 => 'nextcloudpi.local',
3 => '(redacted)',
4 => '(redacted)',
),
'datadirectory' => '/var/www/nextcloud/data',
'overwrite.cli.url' => '(redacted)',
'dbtype' => 'mysql',
'version' => '13.0.5.2',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'ncadmin',
'dbpassword' => '(redacted)',
'installed' => true,
'instanceid' => 'oc7tx5do4iye',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
'password' => '(redacted)',
),
'mail_smtpmode' => 'php',
'mail_smtpauthtype' => 'LOGIN',
'mail_from_address' => 'admin',
'mail_domain' => 'ownyourbits.com',
'overwriteprotocol' => 'https',
'loglevel' => '2',
'log_type' => 'file',
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
'maintenance' => false,
);
The output of your Apache/nginx/system log in /var/log/____
:
Since the log is a bit long, it’s filtered by a few hours.
...
192.168.1.1 - - [31/Aug/2018:21:16:19 -0700] "PROPFIND /remote.php/dav/files/ncp/ HTTP/1.1" 207 1352 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
192.168.1.1 - - [31/Aug/2018:21:16:20 -0700] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 2265 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0"
192.168.1.1 - - [31/Aug/2018:21:16:33 -0700] "PROPFIND /remote.php/webdav/UCSD%20Schedule.pdf HTTP/2.0" 207 580 "-" "Microsoft-WebDAV-MiniRedir/10.0.17134"
192.168.1.1 - - [31/Aug/2018:21:16:38 -0700] "GET /ocs/v2.php/apps/notifications/api/v1/notifications?format=json HTTP/1.1" 200 2326 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
192.168.1.1 - - [31/Aug/2018:21:16:49 -0700] "PROPFIND /remote.php/dav/files/ncp/ HTTP/1.1" 207 1352 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
192.168.1.1 - - [31/Aug/2018:21:16:50 -0700] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 2265 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0"
192.168.1.1 - - [31/Aug/2018:21:17:19 -0700] "PROPFIND /remote.php/dav/files/ncp/ HTTP/1.1" 207 1352 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
192.168.1.1 - - [31/Aug/2018:21:17:20 -0700] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 2265 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0"
192.168.1.1 - - [31/Aug/2018:21:17:49 -0700] "PROPFIND /remote.php/dav/files/ncp/ HTTP/1.1" 207 1352 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
192.168.1.1 - - [31/Aug/2018:21:17:50 -0700] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 2265 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0"
192.168.1.1 - - [31/Aug/2018:21:17:59 -0700] "PROPFIND /remote.php/webdav/UCSD%20Schedule.pdf HTTP/2.0" 207 580 "-" "Microsoft-WebDAV-MiniRedir/10.0.17134"
192.168.1.1 - - [31/Aug/2018:21:18:19 -0700] "PROPFIND /remote.php/dav/files/ncp/ HTTP/1.1" 207 1352 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
192.168.1.1 - - [31/Aug/2018:21:18:20 -0700] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 2265 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0"
192.168.1.1 - - [31/Aug/2018:21:18:49 -0700] "PROPFIND /remote.php/dav/files/ncp/ HTTP/1.1" 207 1352 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
192.168.1.1 - - [31/Aug/2018:21:18:50 -0700] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 2265 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0"
192.168.1.1 - - [31/Aug/2018:21:19:03 -0700] "PROPFIND /remote.php/webdav/UCSD%20Schedule.pdf HTTP/2.0" 207 580 "-" "Microsoft-WebDAV-MiniRedir/10.0.17134"
192.168.1.1 - - [31/Aug/2018:21:19:20 -0700] "PROPFIND /remote.php/dav/files/ncp/ HTTP/1.1" 207 4690 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
192.168.1.1 - - [31/Aug/2018:21:19:20 -0700] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 2265 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0"
192.168.1.1 - - [31/Aug/2018:21:19:49 -0700] "PROPFIND /remote.php/dav/files/ncp/ HTTP/1.1" 207 1352 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
192.168.1.1 - - [31/Aug/2018:21:19:50 -0700] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 2265 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0"
192.168.1.1 - - [31/Aug/2018:21:20:19 -0700] "PROPFIND /remote.php/dav/files/ncp/ HTTP/1.1" 207 1352 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
192.168.1.1 - - [31/Aug/2018:21:20:20 -0700] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 2265 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0"
192.168.1.1 - - [31/Aug/2018:21:20:49 -0700] "PROPFIND /remote.php/dav/files/ncp/ HTTP/1.1" 207 1352 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
192.168.1.1 - - [31/Aug/2018:21:20:50 -0700] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 2265 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0"
192.168.1.1 - - [31/Aug/2018:21:21:19 -0700] "PROPFIND /remote.php/dav/files/ncp/ HTTP/1.1" 207 1352 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
192.168.1.1 - - [31/Aug/2018:21:21:20 -0700] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 2265 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0"
192.168.1.1 - - [31/Aug/2018:21:21:38 -0700] "GET /ocs/v2.php/apps/notifications/api/v1/notifications?format=json HTTP/1.1" 200 2326 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
192.168.1.1 - - [31/Aug/2018:21:21:49 -0700] "PROPFIND /remote.php/dav/files/ncp/ HTTP/1.1" 207 1352 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
192.168.1.1 - - [31/Aug/2018:21:21:50 -0700] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 2265 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0"
192.168.1.1 - - [31/Aug/2018:21:22:19 -0700] "PROPFIND /remote.php/dav/files/ncp/ HTTP/1.1" 207 1352 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
192.168.1.1 - - [31/Aug/2018:21:22:20 -0700] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 2265 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0"
192.168.1.1 - - [31/Aug/2018:21:22:49 -0700] "PROPFIND /remote.php/dav/files/ncp/ HTTP/1.1" 207 1352 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
192.168.1.1 - - [31/Aug/2018:21:22:50 -0700] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 2265 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0"
192.168.1.1 - - [31/Aug/2018:21:23:19 -0700] "PROPFIND /remote.php/dav/files/ncp/ HTTP/1.1" 207 1352 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
192.168.1.1 - - [31/Aug/2018:21:23:20 -0700] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 2265 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0"
192.168.1.1 - - [31/Aug/2018:21:23:49 -0700] "PROPFIND /remote.php/dav/files/ncp/ HTTP/1.1" 207 1352 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
192.168.1.1 - - [31/Aug/2018:21:23:50 -0700] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 2265 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0"