Nextcloud version: 27.1.0
Operating system and version: Ubuntu 22.04
Apache or nginx version: nginx/1.18.0 (Ubuntu)
PHP version: 8.2
The issue you are facing:
Previous Nextcloud version was 27.0.0. Used web-based updater to upgrade to 27.1.0 (automatic).
The upgrade went smoothly, but afterwards the web-based UI is unstyled (I have screenshots, is it possible to include them here? Nevermind, figured it out, see my next post.).
This happened last week, and I thought I’d messed up the upgrade procedure somehow.
So I restored from backup this morning and tried again, same result.
Is this the first time you’ve seen this error? N
Steps to replicate it:
- Restore system to 27.0.x
- Use web-based updater to upgrade to latest version
- Access web site for my cloud
The output of your Nextcloud log in Admin > Logging:
cat updater.log | grep 2023-09-18
2023-09-18T14:18:35+0000 xmRYqC3e1o [info] request to updater
2023-09-18T14:18:35+0000 xmRYqC3e1o [info] currentStep()
2023-09-18T14:18:36+0000 xmRYqC3e1o [info] show HTML page
2023-09-18T14:18:36+0000 xmRYqC3e1o [info] current version: 27.0.0 build time: 2023-06-12T14:58:06+00:00 add4e4365a4040d2e4e6aa79c0d03c3edd78583c
2023-09-18T14:18:36+0000 xmRYqC3e1o [info] getUpdateServerResponse()
2023-09-18T14:18:36+0000 xmRYqC3e1o [info] updaterServer: https://updates.nextcloud.com/updater_server/
2023-09-18T14:18:36+0000 xmRYqC3e1o [info] releaseChannel: stable
2023-09-18T14:18:36+0000 xmRYqC3e1o [info] internal version: 27.0.0.8
2023-09-18T14:18:36+0000 xmRYqC3e1o [info] updateURL: https://updates.nextcloud.com/updater_server/?version=27x0x0x8xxxstablexx2023-06-12T14%3A58%3A06%2B00%3A00+add4e4365a4040d2e4e6aa79c0d03c3edd78583cx8x2x10
2023-09-18T14:18:36+0000 xmRYqC3e1o [info] getUpdateServerResponse response: Array
2023-09-18T14:18:36+0000 xmRYqC3e1o [info] checkForUpdate() Array
2023-09-18T14:18:36+0000 xmRYqC3e1o [info] getChangelogURL()
2023-09-18T14:18:36+0000 xmRYqC3e1o [info] end of checkForUpdate() Update to Nextcloud 27.1.0 available. (channel: "stable")<br /><span class="light">Following file will be downloaded automatically:</span> <code class="light">https://download.nextcloud.com/server/releases/nextcloud-27.1.0.zip</code><br /><a class="external_link" href="https://nextcloud.com/changelog/#27-1-0" target="_blank" rel="noreferrer noopener">Open changelog ↗</a>
2023-09-18T14:18:45+0000 chzcsCaTnH [info] request to updater
2023-09-18T14:18:45+0000 chzcsCaTnH [info] currentStep()
2023-09-18T14:18:45+0000 chzcsCaTnH [info] POST request for step "1"
2023-09-18T14:18:45+0000 chzcsCaTnH [info] startStep("1")
2023-09-18T14:18:45+0000 chzcsCaTnH [info] checkForExpectedFilesAndFolders()
2023-09-18T14:18:45+0000 chzcsCaTnH [info] end of checkForExpectedFilesAndFolders()
2023-09-18T14:18:45+0000 chzcsCaTnH [info] endStep("1")
2023-09-18T14:18:45+0000 Fyqc5vB59c [info] request to updater
2023-09-18T14:18:45+0000 Fyqc5vB59c [info] currentStep()
2023-09-18T14:18:45+0000 Fyqc5vB59c [info] Step 1 is in state "end".
2023-09-18T14:18:45+0000 Fyqc5vB59c [info] POST request for step "2"
2023-09-18T14:18:45+0000 Fyqc5vB59c [info] startStep("2")
2023-09-18T14:18:45+0000 Fyqc5vB59c [info] checkWritePermissions()
2023-09-18T14:18:45+0000 Fyqc5vB59c [info] end of checkWritePermissions()
2023-09-18T14:18:45+0000 Fyqc5vB59c [info] endStep("2")
2023-09-18T14:18:46+0000 8r4Ve0aG1W [info] request to updater
2023-09-18T14:18:46+0000 8r4Ve0aG1W [info] currentStep()
2023-09-18T14:18:46+0000 8r4Ve0aG1W [info] Step 2 is in state "end".
2023-09-18T14:18:46+0000 8r4Ve0aG1W [info] POST request for step "3"
2023-09-18T14:18:46+0000 8r4Ve0aG1W [info] startStep("3")
2023-09-18T14:18:46+0000 8r4Ve0aG1W [info] createBackup()
2023-09-18T14:18:46+0000 8r4Ve0aG1W [info] backup folder location: /mnt/cloud/updater-ocncf1ocvpoh/backups/nextcloud-27.0.0.8-1695046726/
2023-09-18T14:19:17+0000 8r4Ve0aG1W [info] end of createBackup()
2023-09-18T14:19:17+0000 8r4Ve0aG1W [info] endStep("3")
2023-09-18T14:19:17+0000 MdXAIarCMV [info] request to updater
2023-09-18T14:19:17+0000 MdXAIarCMV [info] currentStep()
2023-09-18T14:19:17+0000 MdXAIarCMV [info] Step 3 is in state "end".
2023-09-18T14:19:17+0000 MdXAIarCMV [info] POST request for step "4"
2023-09-18T14:19:17+0000 MdXAIarCMV [info] startStep("4")
2023-09-18T14:19:17+0000 MdXAIarCMV [info] downloadUpdate()
2023-09-18T14:19:17+0000 MdXAIarCMV [info] getUpdateServerResponse()
2023-09-18T14:19:17+0000 MdXAIarCMV [info] updaterServer: https://updates.nextcloud.com/updater_server/
2023-09-18T14:19:17+0000 MdXAIarCMV [info] releaseChannel: stable
2023-09-18T14:19:17+0000 MdXAIarCMV [info] internal version: 27.0.0.8
2023-09-18T14:19:17+0000 MdXAIarCMV [info] updateURL: https://updates.nextcloud.com/updater_server/?version=27x0x0x8xxxstablexx2023-06-12T14%3A58%3A06%2B00%3A00+add4e4365a4040d2e4e6aa79c0d03c3edd78583cx8x2x10
2023-09-18T14:19:18+0000 MdXAIarCMV [info] getUpdateServerResponse response: Array
2023-09-18T14:19:18+0000 MdXAIarCMV [info] storage location exists
2023-09-18T14:19:28+0000 MdXAIarCMV [info] end of downloadUpdate()
2023-09-18T14:19:28+0000 MdXAIarCMV [info] endStep("4")
2023-09-18T14:19:28+0000 mW4lOTwtkn [info] request to updater
2023-09-18T14:19:28+0000 mW4lOTwtkn [info] currentStep()
2023-09-18T14:19:28+0000 mW4lOTwtkn [info] Step 4 is in state "end".
2023-09-18T14:19:28+0000 mW4lOTwtkn [info] POST request for step "5"
2023-09-18T14:19:28+0000 mW4lOTwtkn [info] startStep("5")
2023-09-18T14:19:28+0000 mW4lOTwtkn [info] verifyIntegrity()
2023-09-18T14:19:28+0000 mW4lOTwtkn [info] getUpdateServerResponse()
2023-09-18T14:19:28+0000 mW4lOTwtkn [info] updaterServer: https://updates.nextcloud.com/updater_server/
2023-09-18T14:19:28+0000 mW4lOTwtkn [info] releaseChannel: stable
2023-09-18T14:19:28+0000 mW4lOTwtkn [info] internal version: 27.0.0.8
2023-09-18T14:19:28+0000 mW4lOTwtkn [info] updateURL: https://updates.nextcloud.com/updater_server/?version=27x0x0x8xxxstablexx2023-06-12T14%3A58%3A06%2B00%3A00+add4e4365a4040d2e4e6aa79c0d03c3edd78583cx8x2x10
2023-09-18T14:19:28+0000 mW4lOTwtkn [info] getUpdateServerResponse response: Array
2023-09-18T14:19:28+0000 mW4lOTwtkn [info] storage location: /mnt/cloud/updater-ocncf1ocvpoh/downloads/
2023-09-18T14:19:30+0000 mW4lOTwtkn [info] end of verifyIntegrity()
2023-09-18T14:19:30+0000 mW4lOTwtkn [info] endStep("5")
2023-09-18T14:19:31+0000 dQhKdsOI8F [info] request to updater
2023-09-18T14:19:31+0000 dQhKdsOI8F [info] currentStep()
2023-09-18T14:19:31+0000 dQhKdsOI8F [info] Step 5 is in state "end".
2023-09-18T14:19:31+0000 dQhKdsOI8F [info] POST request for step "6"
2023-09-18T14:19:31+0000 dQhKdsOI8F [info] startStep("6")
2023-09-18T14:19:31+0000 dQhKdsOI8F [info] extractDownload()
2023-09-18T14:19:31+0000 dQhKdsOI8F [info] storage location: /mnt/cloud/updater-ocncf1ocvpoh/downloads/
2023-09-18T14:19:50+0000 dQhKdsOI8F [info] end of extractDownload()
2023-09-18T14:19:50+0000 dQhKdsOI8F [info] endStep("6")
2023-09-18T14:19:50+0000 VnOr7dUkHO [info] request to updater
2023-09-18T14:19:50+0000 VnOr7dUkHO [info] currentStep()
2023-09-18T14:19:50+0000 VnOr7dUkHO [info] Step 6 is in state "end".
2023-09-18T14:19:50+0000 VnOr7dUkHO [info] POST request for step "7"
2023-09-18T14:19:50+0000 VnOr7dUkHO [info] startStep("7")
2023-09-18T14:19:50+0000 VnOr7dUkHO [info] setMaintenanceMode("true")
2023-09-18T14:19:50+0000 VnOr7dUkHO [info] configFileName /var/www/nextcloud/updater/../config/config.php
2023-09-18T14:19:50+0000 VnOr7dUkHO [info] end of setMaintenanceMode()
2023-09-18T14:19:50+0000 VnOr7dUkHO [info] endStep("7")
2023-09-18T14:19:50+0000 gYgeQ4gsll [info] request to updater
2023-09-18T14:19:50+0000 gYgeQ4gsll [info] currentStep()
2023-09-18T14:19:50+0000 gYgeQ4gsll [info] Step 7 is in state "end".
2023-09-18T14:19:50+0000 gYgeQ4gsll [info] POST request for step "8"
2023-09-18T14:19:50+0000 gYgeQ4gsll [info] startStep("8")
2023-09-18T14:19:50+0000 gYgeQ4gsll [info] replaceEntryPoints()
2023-09-18T14:19:50+0000 gYgeQ4gsll [info] replace index.php
2023-09-18T14:19:50+0000 gYgeQ4gsll [info] replace status.php
2023-09-18T14:19:50+0000 gYgeQ4gsll [info] replace remote.php
2023-09-18T14:19:50+0000 gYgeQ4gsll [info] replace public.php
2023-09-18T14:19:50+0000 gYgeQ4gsll [info] replace ocs/v1.php
2023-09-18T14:19:50+0000 gYgeQ4gsll [info] replace ocs/v2.php
2023-09-18T14:19:50+0000 gYgeQ4gsll [info] end of replaceEntryPoints()
2023-09-18T14:19:50+0000 gYgeQ4gsll [info] endStep("8")
2023-09-18T14:19:51+0000 xEQJY2GLHK [info] request to updater
2023-09-18T14:19:51+0000 xEQJY2GLHK [info] currentStep()
2023-09-18T14:19:51+0000 xEQJY2GLHK [info] Step 8 is in state "end".
2023-09-18T14:19:51+0000 xEQJY2GLHK [info] POST request for step "9"
2023-09-18T14:19:51+0000 xEQJY2GLHK [info] startStep("9")
2023-09-18T14:19:52+0000 xEQJY2GLHK [info] deleteOldFiles()
2023-09-18T14:19:53+0000 xEQJY2GLHK [info] config sample exists
2023-09-18T14:19:53+0000 xEQJY2GLHK [info] themes README exists
2023-09-18T14:19:54+0000 xEQJY2GLHK [info] end of deleteOldFiles()
2023-09-18T14:19:54+0000 xEQJY2GLHK [info] endStep("9")
2023-09-18T14:19:54+0000 cx1Zm1bO9w [info] request to updater
2023-09-18T14:19:54+0000 cx1Zm1bO9w [info] currentStep()
2023-09-18T14:19:54+0000 cx1Zm1bO9w [info] Step 9 is in state "end".
2023-09-18T14:19:54+0000 cx1Zm1bO9w [info] POST request for step "10"
2023-09-18T14:19:55+0000 cx1Zm1bO9w [info] startStep("10")
2023-09-18T14:19:55+0000 cx1Zm1bO9w [info] moveNewVersionInPlace()
2023-09-18T14:19:55+0000 cx1Zm1bO9w [info] storage location: /mnt/cloud/updater-ocncf1ocvpoh/downloads/nextcloud/
2023-09-18T14:20:13+0000 cx1Zm1bO9w [info] end of moveNewVersionInPlace()
2023-09-18T14:20:13+0000 cx1Zm1bO9w [info] endStep("10")
2023-09-18T14:20:19+0000 9SWKh3cocn [info] request to updater
2023-09-18T14:20:19+0000 9SWKh3cocn [info] currentStep()
2023-09-18T14:20:19+0000 9SWKh3cocn [info] Step 10 is in state "end".
2023-09-18T14:20:19+0000 9SWKh3cocn [info] POST request for step "11"
2023-09-18T14:20:19+0000 9SWKh3cocn [info] startStep("11")
2023-09-18T14:20:19+0000 9SWKh3cocn [info] setMaintenanceMode("false")
2023-09-18T14:20:19+0000 9SWKh3cocn [info] configFileName /var/www/nextcloud/updater/../config/config.php
2023-09-18T14:20:19+0000 9SWKh3cocn [info] end of setMaintenanceMode()
2023-09-18T14:20:19+0000 9SWKh3cocn [info] endStep("11")
2023-09-18T14:20:19+0000 s2rISBv8QO [info] request to updater
2023-09-18T14:20:19+0000 s2rISBv8QO [info] currentStep()
2023-09-18T14:20:19+0000 s2rISBv8QO [info] Step 11 is in state "end".
2023-09-18T14:20:19+0000 s2rISBv8QO [info] POST request for step "12"
2023-09-18T14:20:19+0000 s2rISBv8QO [info] startStep("12")
2023-09-18T14:20:19+0000 s2rISBv8QO [info] finalize()
2023-09-18T14:20:19+0000 s2rISBv8QO [info] storage location: /mnt/cloud/updater-ocncf1ocvpoh/downloads/nextcloud/
2023-09-18T14:20:19+0000 s2rISBv8QO [info] call opcache_reset()
2023-09-18T14:20:19+0000 s2rISBv8QO [info] end of finalize()
2023-09-18T14:20:19+0000 s2rISBv8QO [info] endStep("12")
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'ocncf1ocvpoh',
'passwordsalt' => 'randomstuff',
'secret' => 'randomstuff',
'trusted_domains' =>
array (
0 => 'cloud.mydomain.com',
),
'datadirectory' => '/mnt/cloud',
'overwrite.cli.url' => 'https://cloud.mydomain.com',
'dbtype' => 'mysql',
'version' => '27.0.0.8',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => 'easypeasy',
'default_phone_region' => 'us',
'installed' => true,
'logtimezone' => 'UTC',
'loglevel' => 1,
'maintenance' => false,
'theme' => '',
'memcache.local' => '\OC\Memcache\APCu',
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => [
'host' => 'localhost',
'port' => 6379,
],
'mysql.utf8mb4' => true,
'has_rebuilt_cache' => true,
'updater.secret' => 'randomstuff',
);
The output of your Apache/nginx/system log in /var/log/____
:
2023/09/18 07:12:33 [error] 562001#562001: *1241 open() "/var/www/nextcloud/index.php/.well-known/webfinger" failed (20: Not a directory), client: ip.ad.dres.s, server: cloud.mydomain.com, request: "GET /index.php/.well-known/webfinger HTTP/2.0", host: "cloud.mydomain.com"
2023/09/18 07:12:33 [error] 562001#562001: *1241 open() "/var/www/nextcloud/index.php/.well-known/nodeinfo" failed (20: Not a directory), client: ip.ad.dres.s, server: cloud.mydomain.com, request: "GET /index.php/.well-known/nodeinfo HTTP/2.0", host: "cloud.mydomain.com"
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.
/var/www/nextcloud/data# ll
total 12
drwxr-xr-x 2 www-data www-data 4096 Sep 18 06:35 ./
drwxr-xr-x 15 www-data www-data 4096 Sep 18 07:20 ../
-rw-r--r-- 1 www-data www-data 284 Sep 18 06:35 .htaccess
-rw-r--r-- 1 www-data www-data 0 Sep 18 06:35 index.html
-rw-r--r-- 1 www-data www-data 0 Sep 18 06:35 nextcloud.log