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, 18.0.2): 19.0.0.12
Operating system and version (eg, Ubuntu 20.04): docker
Apache or nginx version (eg, Apache 2.4.25): Apache
PHP version (eg, 7.1): 7.4.6
The issue you are facing:
After upgrading to NC 19.0.0.12 using
php occ app:update --all
php occ upgrade
and no errors showing up
nc just shows a blank page, the logs show HTTP error 500
remote sync using the Andoid app seems to still work
Is this the first time you’ve seen this error? (Y/N): Y
php occ
just returns to the prompt without showing anything
php occ somegarbage
does reurn to the prompt as well without any error, and without any log entry in nextcloud.log or the apache log
Steps to replicate it:
- browse to any page on nc
- php occ
The output of your Nextcloud log in Admin > Logging:
{"reqId":"B17KK3S2Nz9Cb3duboMC","level":0,"time":"2020-10-31T18:29:05+00:00","remoteAddr":"91.22.104.214","user":"--","app":"user_sql","method":"GET","url":"/","message":"The application properties has been loaded.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"19.0.0.12"}
{"reqId":"tT07oHL99k1YiSvMXTrA","level":0,"time":"2020-10-31T18:29:05+00:00","remoteAddr":"91.22.104.214","user":"--","app":"user_sql","method":"PROPFIND","url":"/remote.php/dav/calendars/christian/8600d5f7-b8c7-4b07-8b0a-79319efb50b1/","message":"The application properties has been loaded.","userAgent":"OpenSync/1.5.0.3-ose (2017/04/18; dav4android; okhttp3) Android/10","version":"19.0.0.12"}
{"reqId":"B17KK3S2Nz9Cb3duboMC","level":3,"time":"2020-10-31T18:29:05+00:00","remoteAddr":"91.22.104.214","user":"--","app":"PHP","method":"GET","url":"/","message":"Cannot redeclare composerRequirecc67855a12c2e40a8768edc62260d8c5() (previously declared in /var/www/html/apps/bookmarks/vendor/composer/autoload_real.php:54) at /var/www/html/custom_apps/bookmarks/vendor/composer/autoload_real.php#54","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"19.0.0.12"}
{"reqId":"tT07oHL99k1YiSvMXTrA","level":0,"time":"2020-10-31T18:29:07+00:00","remoteAddr":"91.22.104.214","user":"christian","app":"suspicious_login","method":"PROPFIND","url":"/remote.php/dav/calendars/christian/8600d5f7-b8c7-4b07-8b0a-79319efb50b1/","message":"loading latest model","userAgent":"OpenSync/1.5.0.3-ose (2017/04/18; dav4android; okhttp3) Android/10","version":"19.0.0.12"}
{"reqId":"tT07oHL99k1YiSvMXTrA","level":0,"time":"2020-10-31T18:29:07+00:00","remoteAddr":"91.22.104.214","user":"christian","app":"suspicious_login","method":"PROPFIND","url":"/remote.php/dav/calendars/christian/8600d5f7-b8c7-4b07-8b0a-79319efb50b1/","message":"loading model 141 from app data","userAgent":"OpenSync/1.5.0.3-ose (2017/04/18; dav4android; okhttp3) Android/10","version":"19.0.0.12"}
{"reqId":"tT07oHL99k1YiSvMXTrA","level":4,"time":"2020-10-31T18:29:08+00:00","remoteAddr":"91.22.104.214","user":"christian","app":"suspicious_login","method":"PROPFIND","url":"/remote.php/dav/calendars/christian/8600d5f7-b8c7-4b07-8b0a-79319efb50b1/","message":"Could not load classifier model 141: /appdata_ocvp55efbtjc/suspicious_login/models","userAgent":"OpenSync/1.5.0.3-ose (2017/04/18; dav4android; okhttp3) Android/10","version":"19.0.0.12"}
{"reqId":"tT07oHL99k1YiSvMXTrA","level":2,"time":"2020-10-31T18:29:08+00:00","remoteAddr":"91.22.104.214","user":"christian","app":"suspicious_login","method":"PROPFIND","url":"/remote.php/dav/calendars/christian/8600d5f7-b8c7-4b07-8b0a-79319efb50b1/","message":"Could not predict suspiciousness: Could not load model 141","userAgent":"OpenSync/1.5.0.3-ose (2017/04/18; dav4android; okhttp3) Android/10","version":"19.0.0.12"}
{"reqId":"bXgoiBJwjnqhSCZ816FG","level":0,"time":"2020-10-31T18:29:11+00:00","remoteAddr":"91.22.104.214","user":"--","app":"user_sql","method":"PROPFIND","url":"/remote.php/dav/calendars/christian/personal/","message":"The application properties has been loaded.","userAgent":"OpenSync/1.5.0.3-ose (2017/04/18; dav4android; okhttp3) Android/10","version":"19.0.0.12"}
{"reqId":"bXgoiBJwjnqhSCZ816FG","level":0,"time":"2020-10-31T18:29:13+00:00","remoteAddr":"91.22.104.214","user":"christian","app":"suspicious_login","method":"PROPFIND","url":"/remote.php/dav/calendars/christian/personal/","message":"loading latest model","userAgent":"OpenSync/1.5.0.3-ose (2017/04/18; dav4android; okhttp3) Android/10","version":"19.0.0.12"}
{"reqId":"bXgoiBJwjnqhSCZ816FG","level":0,"time":"2020-10-31T18:29:13+00:00","remoteAddr":"91.22.104.214","user":"christian","app":"suspicious_login","method":"PROPFIND","url":"/remote.php/dav/calendars/christian/personal/","message":"loading model 141 from app data","userAgent":"OpenSync/1.5.0.3-ose (2017/04/18; dav4android; okhttp3) Android/10","version":"19.0.0.12"}
{"reqId":"bXgoiBJwjnqhSCZ816FG","level":4,"time":"2020-10-31T18:29:15+00:00","remoteAddr":"91.22.104.214","user":"christian","app":"suspicious_login","method":"PROPFIND","url":"/remote.php/dav/calendars/christian/personal/","message":"Could not load classifier model 141: /appdata_ocvp55efbtjc/suspicious_login/models","userAgent":"OpenSync/1.5.0.3-ose (2017/04/18; dav4android; okhttp3) Android/10","version":"19.0.0.12"}
{"reqId":"bXgoiBJwjnqhSCZ816FG","level":2,"time":"2020-10-31T18:29:15+00:00","remoteAddr":"91.22.104.214","user":"christian","app":"suspicious_login","method":"PROPFIND","url":"/remote.php/dav/calendars/christian/personal/","message":"Could not predict suspiciousness: Could not load model 141","userAgent":"OpenSync/1.5.0.3-ose (2017/04/18; dav4android; okhttp3) Android/10","version":"19.0.0.12"}
{"reqId":"MO1nV6z8P2n89HPEf02M","level":0,"time":"2020-10-31T18:29:15+00:00","remoteAddr":"91.22.104.214","user":"--","app":"user_sql","method":"PROPFIND","url":"/remote.php/dav/calendars/christian/8600d5f7-b8c7-4b07-8b0a-79319efb50b1/","message":"The application properties has been loaded.","userAgent":"OpenSync/1.5.0.3-ose (2017/04/18; dav4android; okhttp3) Android/10","version":"19.0.0.12"}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'xxxxxxx',
'passwordsalt' => 'xxxxxx',
'secret' => 'xxxxxxxx,
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'redis',
'password' => false,
'port' => 6379,
),
'trusted_domains' =>
array (
0 => 'a',
1 => 'b',
),
'datadirectory' => '/var/www/html/data',
'trashbin_retention_obligation' => 'auto',
'filesystem_check_changes' => 1,
'dbtype' => 'mysql',
'version' => '19.0.0.12',
'overwrite.cli.url' => 'http://bla:81',
'dbname' => 'xxxxxx',
'dbhost' => 'db:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'xxxxxx',
'dbpassword' => 'xxxxxxxx',
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'name',
'mail_domain' => 'host.com',
'mail_smtpauthtype' => 'PLAIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'smtp.host.com',
'mail_smtpport' => '465',
'mail_smtpname' => 'name@host.com',
'mail_smtppassword' => 'xxxxxxx',
'maintenance' => false,
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'loglevel' => 0,
'app_install_overwrite' =>
array (
0 => 'social',
),
'overwriteprotocol' => 'https',
'overwritehost' => 'cloud.name.net',
'trusted_proxies' =>
array (
0 => '192.168.80.134',
1 => '192.168.80.0/24',
2 => '172.19.0.0/16',
),
'theme' => '',
);
The output of your Apache/nginx/system log in /var/log/____
:
172.24.0.1 - - [31/Oct/2020:18:30:13 +0000] "GET / HTTP/1.0" 500 885 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
172.24.0.1 - christian [31/Oct/2020:18:30:37 +0000] "PROPFIND /remote.php/dav/calendars/christian/personal/ HTTP/1.0" 207 2154 "-" "OpenSync/1.5.0.3-ose (2017/04/18; dav4android; okhttp3) Android/10"
172.24.0.1 - christian [31/Oct/2020:18:30:41 +0000] "PROPFIND /remote.php/dav/calendars/christian/8600d5f7-b8c7-4b07-8b0a-79319efb50b1/ HTTP/1.0" 207 2180 "-" "OpenSync/1.5.0.3-ose (2017/04/18; dav4android; okhttp3) Android/10"
172.24.0.1 - christian [31/Oct/2020:18:30:43 +0000] "PROPFIND /remote.php/dav/calendars/christian/personal/ HTTP/1.0" 207 2152 "-" "OpenSync/1.5.0.3-ose (2017/04/18; dav4android; okhttp3) Android/10"
172.24.0.1 - christian [31/Oct/2020:18:30:43 +0000] "PROPFIND /remote.php/dav/calendars/christian/8600d5f7-b8c7-4b07-8b0a-79319efb50b1/ HTTP/1.0" 207 2174 "-" "OpenSync/1.5.0.3-ose (2017/04/18; dav4android; okhttp3) Android/10"
172.24.0.1 - christian [31/Oct/2020:18:30:44 +0000] "PROPFIND /remote.php/dav/calendars/christian/personal/ HTTP/1.0" 207 2121 "-" "DAVx5/3.3.5-gplay (2020/10/24; dav4jvm; okhttp/4.9.0) Android/10"
Output of occ --help
www-data@e17e437ab78d:~/html$ ./occ --help
www-data@e17e437ab78d:~/html$
www-data@e17e437ab78d:~/html$ ./occ sd......gkmaSLKGALWKglaKNBVGLAJNBVG
www-data@e17e437ab78d:~/html$
and:
yes,
works … so Apache + PHP are up and running …
rebuilding the docker containers does not help either
docker-compose stop
docker-compose pull
docker-compose build
docker-compose up -d
same error afterwards