Nextcloud version (eg, 18.0.2): 18.0.3
Operating system and version (eg, Ubuntu 20.04): Ubuntu 16.04.06 LTS
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.18
PHP version (eg, 7.1): 7.2.29
The issue you are facing:
In preparation to upgrade from 18.0.3 to 18.0.4, I checked my Settings -> Overview page and it has an error that some file didn’t pass the integrity check.
When I check the link for the results, here is the result:
Results
=======
- core
- EXTRA_FILE
- 0
Raw output
==========
Array
(
[core] => Array
(
[EXTRA_FILE] => Array
(
[0] => Array
(
[expected] =>
[current] => 175bcaf7735c8361e09efe735a559ae0d2683f6822ebd0ec6cf7ca5dd647c4dc2cc32a5d923c9861ee2f8a313a3423c43b59bd81165f2797e05642aceafe18c3
)
)
)
)
I figured it can’t look at a file for some strange reason and that the upgrade will overwrite everything anyways so, I went on to the Upgrader and and after starting, it also errors on what looks like the same issue.
Check for expected files
The following extra files have been found:
1
Google and searching here haven’t turned up anyone else showing this exact issue before.
I did find a .rnd file in the root of my installation and deleted it but that didn’t help.
My install path is /var/www/html/nextcloud/
Is this the first time you’ve seen this error? (Y/N): Y
The output of your Nextcloud log in Admin > Logging:
{"reqId":"CLG9xwkFAw60gWYLPIBs","level":1,"time":"2020-04-24T16:36:33+00:00","remoteAddr":"<redacted>","user":"--","app":"updater","method":"GET","url":"/core/ajax/update.php?requesttoken=YVFAgdA2SZRvbmE3oOKLum8m1UnHRn2w6kVjlNuYlkE%3D%3AFAIK25p%2BGtwIXVMB67fMzR0JvAi%2BEA%2BFmDIS%2FoGu%2BTk%3D","message":"\\OC\\Updater::updateEnd: Update successful","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36","version":"18.0.3.0"}
{"reqId":"CLG9xwkFAw60gWYLPIBs","level":1,"time":"2020-04-24T16:36:33+00:00","remoteAddr":"<redacted>","user":"--","app":"updater","method":"GET","url":"/core/ajax/update.php?requesttoken=YVFAgdA2SZRvbmE3oOKLum8m1UnHRn2w6kVjlNuYlkE%3D%3AFAIK25p%2BGtwIXVMB67fMzR0JvAi%2BEA%2BFmDIS%2FoGu%2BTk%3D","message":"\\OC\\Updater::maintenanceDisabled: Turned off maintenance mode","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36","version":"18.0.3.0"}
{"reqId":"CLG9xwkFAw60gWYLPIBs","level":1,"time":"2020-04-24T16:36:33+00:00","remoteAddr":"<redacted>","user":"--","app":"updater","method":"GET","url":"/core/ajax/update.php?requesttoken=YVFAgdA2SZRvbmE3oOKLum8m1UnHRn2w6kVjlNuYlkE%3D%3AFAIK25p%2BGtwIXVMB67fMzR0JvAi%2BEA%2BFmDIS%2FoGu%2BTk%3D","message":"\\OC\\Updater::resetLogLevel: Reset log level to Warning(2)","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36","version":"18.0.3.0"}
{"reqId":"2lFwbUYRj61r1sNtuA31","level":3,"time":"2020-04-24T16:51:02+00:00","remoteAddr":"<redacted>","user":"<redacted>","app":"no app in context","method":"POST","url":"/index.php/settings/apps/enable","message":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"mail.page.index\" as such route does not exist.","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":339,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->","args":["mail.page.index",[],1]},{"file":"/var/www/html/nextcloud/lib/private/URLGenerator.php","line":82,"function":"generate","class":"OC\\Route\\Router","type":"->","args":["mail.page.index",[]]},{"file":"/var/www/html/nextcloud/apps/mail/appinfo/app.php","line":42,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->","args":["mail.page.index"]},{"file":"/var/www/html/nextcloud/lib/private/legacy/app.php","line":266,"args":["/var/www/html/nextcloud/apps/mail/appinfo/app.php"],"function":"require_once"},{"file":"/var/www/html/nextcloud/lib/private/legacy/app.php","line":155,"function":"requireAppFile","class":"OC_App","type":"::","args":["mail"]},{"file":"/var/www/html/nextcloud/lib/private/legacy/app.php","line":966,"function":"loadApp","class":"OC_App","type":"::","args":["mail"]},{"file":"/var/www/html/nextcloud/lib/private/Installer.php","line":160,"function":"executeRepairSteps","class":"OC_App","type":"::","args":["mail",["OCA\\Mail\\Migration\\FixCollectedAddresses","OCA\\Mail\\Migration\\MakeItineraryExtractorExecutable","OCA\\Mail\\Migration\\MigrateProvisioningConfig","OCA\\Mail\\Migration\\ProvisionAccounts"]]},{"file":"/var/www/html/nextcloud/apps/settings/lib/Controller/AppSettingsController.php","line":443,"function":"installApp","class":"OC\\Installer","type":"->","args":["mail"]},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"enableApps","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->","args":[["mail"],[]]},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"enableApps"]},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"enableApps"]},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Settings\\Controller\\AppSettingsController","enableApps",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"settings.AppSettings.enableApps"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"settings.AppSettings.enableApps"}]},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"settings.AppSettings.enableApps"}]},{"file":"/var/www/html/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/settings/apps/enable"]},{"file":"/var/www/html/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/nextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":144,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36","version":"18.0.3.0"}
{"reqId":"gaJ962EbJs65KwHzC4JE","level":2,"time":"2020-04-24T17:00:11+00:00","remoteAddr":"<redacted>","user":"<redacted>","app":"appstoreFetcher","method":"GET","url":"/index.php/settings/admin/serverinfo","message":"Could not connect to appstore: cURL error 28: Connection timed out after 10001 milliseconds (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36","version":"18.0.3.0"}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
$CONFIG = array (
'datadirectory' => '<redacted>',
'version' => '18.0.3.0',
'installed' => true,
'maintenance' => false,
'memcached_servers' =>
array (
0 =>
array (
0 => '<redacted>',
1 => 11211,
),
),
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/nextcloud/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/nextcloud/apps2',
'url' => '/apps2',
'writable' => true,
),
),
'theme' => '',
'loglevel' => 2,
'updater.secret' => '<redacted>',
);