After updating to NC24, my Nextcloud clients seem to work fine, but if I go to the Nextcloud server’s webpage I get
Not Found - The requested resource was not found on this server.
Using the terminal, I ran occ check:
$ php occ check
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
I then ran the upgrade:
$ php occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Turned on maintenance mode
Updating database schema
Updated database
Disabled incompatible app: calendar
Disabled incompatible app: contacts
Disabled incompatible app: files_versions_s3
Disabled incompatible app: workflow_ocr
Updating <federation> ...
Updated <federation> to 1.14.0
Updating <lookup_server_connector> ...
Updated <lookup_server_connector> to 1.12.0
Updating <oauth2> ...
Updated <oauth2> to 1.12.0
Updating <password_policy> ...
Updated <password_policy> to 1.14.0
Updating <files> ...
Updated <files> to 1.19.0
Updating <activity> ...
Updated <activity> to 2.16.0
Updating <circles> ...
Updated <circles> to 24.0.0
Updating <cloud_federation_api> ...
Updated <cloud_federation_api> to 1.7.0
Updating <dav> ...
Fix broken values of calendar objects
Done
0/0 [->--------------------------] 0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
Done
0/0 [----->----------------------] 0%
Updated <dav> to 1.22.0
Updating <files_sharing> ...
Updated <files_sharing> to 1.16.2
Updating <files_trashbin> ...
Updated <files_trashbin> to 1.14.0
Updating <files_versions> ...
Updated <files_versions> to 1.17.0
Updating <sharebymail> ...
Updated <sharebymail> to 1.14.0
Updating <workflowengine> ...
Updated <workflowengine> to 2.6.0
Updating <comments> ...
Updated <comments> to 1.14.0
Updating <firstrunwizard> ...
Updated <firstrunwizard> to 2.13.0
Updating <nextcloud_announcements> ...
Updated <nextcloud_announcements> to 1.13.0
Updating <notifications> ...
Updated <notifications> to 2.12.0
Updating <systemtags> ...
Updated <systemtags> to 1.14.0
Updating <theming> ...
Updated <theming> to 1.15.0
Updating <accessibility> ...
Migrate old user config
Done
4/4 [============================] 100%
Updated <accessibility> to 1.10.0
Updating <bruteforcesettings> ...
Updated <bruteforcesettings> to 2.4.0
Updating <contactsinteraction> ...
Updated <contactsinteraction> to 1.5.0
Updating <dashboard> ...
Updated <dashboard> to 7.4.0
Updating <federatedfilesharing> ...
Updated <federatedfilesharing> to 1.14.0
Updating <files_pdfviewer> ...
Updated <files_pdfviewer> to 2.5.0
Updating <files_rightclick> ...
Updated <files_rightclick> to 1.3.0
Updating <files_videoplayer> ...
Updated <files_videoplayer> to 1.13.0
Updating <logreader> ...
Updated <logreader> to 2.9.0
Updating <photos> ...
Updated <photos> to 1.6.0
Updating <privacy> ...
Updated <privacy> to 1.8.0
Updating <provisioning_api> ...
Updated <provisioning_api> to 1.14.0
Updating <recommendations> ...
Updated <recommendations> to 1.3.0
Updating <serverinfo> ...
Updated <serverinfo> to 1.14.0
Updating <settings> ...
Updated <settings> to 1.6.0
Updating <support> ...
Updated <support> to 1.7.0
Updating <survey_client> ...
Updated <survey_client> to 1.12.0
Updating <text> ...
Updated <text> to 3.5.1
Updating <twofactor_backupcodes> ...
Updated <twofactor_backupcodes> to 1.13.0
Updating <updatenotification> ...
Updated <updatenotification> to 1.14.0
Updating <user_status> ...
Updated <user_status> to 1.4.0
Updating <viewer> ...
Updated <viewer> to 1.8.0
Updating <weather_status> ...
Updated <weather_status> to 1.4.0
Starting code integrity check...
Finished code integrity check
Update successful
Turned off maintenance mode
Resetting log level
So far so good. Ran occ check without any messages, and occ status:
$ php occ status
- installed: true
- version: 24.0.0.12
- versionstring: 24.0.0
- edition:
- maintenance: false
- needsDbUpgrade: false
- productname: Nextcloud
- extendedSupport: false
No problems with the Nextcloud clients. They seem to sync just fine. However, there was no accessible webpage still.
Nextcloud version (eg, 20.0.5): 24.0.0.12
Operating system and version : Linux cpanel… 3.10.0-962.3.2.lve1.5.63.el7.x86_64 #1 SMP Fri Oct 8 12:03:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Apache or nginx version: No available via cPanel or ssh
PHP version (eg, 7.4): 7.4.29
Is this the first time you’ve seen this error? Yes
Steps to replicate it (note that this is a cloud account that has limited rights, accessed via cPanel or ssh):
- Login to cPanel
- Go to Softaculous - All Installations
- Choose “Upgrade” Nextcloud installation to 24.
- Go to the login page, http://whatever.com/nextcloud.
The output of your Nextcloud log in Admin > Logging:
Not available via cPanel or ssh
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '....',
'passwordsalt' => '...',
'secret' => '...',
'filelocking.enabled' => true,
'trusted_domains' =>
array (
0 => 'www.whatever.com',
1 => 'whatever.com',
2 => 'nextcloud.whatever.com',
),
'memcache.local' => '\OC\Memcache\APCu',
'datadirectory' => '/home/whatever/nextclouddata',
'overwrite.cli.url' => 'https://www.whatever.com/nextcloud',
'dbtype' => 'mysql',
'version' => '24.0.0.12',
'dbname' => 'whatever_nextc23',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'whatever_nextc23',
'dbpassword' => '...',
'installed' => true,
'theme' => '',
'loglevel' => 0,
'maintenance' => false,
'mail_from_address' => 'mail',
'mail_smtpmode' => 'sendmail',
'mail_smtpsecure' => 'tls',
'mail_domain' => 'whatever.com',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'mail.whatever.com',
'mail_smtpport' => '465',
'mail_smtpname' => 'mail@whatever.com',
'mail_smtppassword' => '...',
'mail_sendmailmode' => 'smtp',
'app_install_overwrite' =>
array (
0 => 'bruteforcesettings',
),
'updater.secret' => '...',
);
The output of Apache/nginx/system log in /var/log/____
:
Not available via cPanel or ssh
Output errors in nextcloud.log in /var/www/:
Not available via cPanel or ssh
I have tried changing
'memcache.local' => '\OC\Memcache\APCu'
as per Memcache \OC\Memcache\APCu not available for local cache · Issue #2039 · nextcloud/vm · GitHub, but then I get an apc error; the module is not installed. Also looked at After migration to Nextcloud 24 some directories will not be shown in Browser - #2 by just, but ran into the same error. Tried installing the modules apc and memcache via cPanel, but got the same result; “apc missing” error.