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, 20.0.5): Nextcloud Hub 5 (27.0.2)
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04.3 LTS
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.52 (Ubuntu)
PHP version (eg, 7.4): attempting to move from v8.0.30 to v8.2.8
The issue you are facing:
Trying to update from php 8.0 to php 8.2 but i seem to be missing something. I check other articles but couldn’t figure it out. running php -v from the terminal shows it is php8.2, but nextcloud seems to be still on php 8.0
Is this the first time you’ve seen this error? (Y/N): Yes
Steps to replicate it:
- Install PHP 8.2 and required modules
- Change /etc/alternatives/php to point to 8.2
- Check /index.php/settings/admin/overview - still showing 8.0
The output of your Nextcloud log in Admin > Logging:
Just a bunch of these that I'll get to later:
Warning suspicious_login Could not predict suspiciousness: No models found 2023-08-15T15:10:09-0400
Warning suspicious_login Could not predict suspiciousness: No models found 2023-08-15T15:10:09-0400
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '<notForYou>',
'passwordsalt' => '<notForYou>',
'secret' => '<notForYou>',
'trusted_domains' =>
array (
0 => 'cloud.myurl.net',
),
'datadirectory' => '/media/raid/',
'dbtype' => 'mysql',
'version' => '27.0.2.1',
'overwrite.cli.url' => 'http://cloud.myURL.net',
'overwriteprotocol' => 'https',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '<notForYou>',
'dbpassword' => '<notForYou>',
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'tls',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'noreply',
'mail_domain' => 'myURL.net',
'mail_smtphost' => 'mail.myURL.net',
'default_phone_region' => 'US',
'memcache.local' => '\OC\Memcache\Redis',
'memcache.distributed' => '\OC\Memcache\Redis',
'filelocking.enabled' => true,
'memcache.locking' => '\OC\Memcache\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
'dbindex' => 0,
'timeout' => 0.0,
),
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'mail_smtpport' => '587',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtpname' => 'noreply@myURL.net',
'mail_smtppassword' => '<notForYou>',
'app_install_overwrite' =>
array (
0 => 'folderplayer',
1 => 'spgverein',
),
'updater.secret' => '<notForYou>',
);
The output of your Apache/nginx/system log in /var/log/____
:
Error Log:
[Tue Aug 15 16:07:39.231360 2023] [core:notice] [pid 130] AH00094: Command line: '/usr/sbin/apache2'
[Tue Aug 15 16:30:24.376723 2023] [mpm_prefork:notice] [pid 130] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Aug 15 16:30:26.961242 2023] [mpm_prefork:notice] [pid 130] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Tue Aug 15 16:30:26.961289 2023] [core:notice] [pid 130] AH00094: Command line: '/usr/sbin/apache2'
[Tue Aug 15 16:30:27.069144 2023] [php:error] [pid 167] [client 192.168.136.133:35912] PHP Fatal error: Uncaught Doctrine\\DBAL\\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory in /var/www/nextcloud/lib/private/DB/Connection.php:140\nStack trace:\n#0 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1531): OC\\DB\\Connection->connect()\n#1 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1029): Doctrine\\DBAL\\Connection->getWrappedConnection()\n#2 /var/www/nextcloud/lib/private/DB/Connection.php(262): Doctrine\\DBAL\\Connection->executeQuery()\n#3 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(345): OC\\DB\\Connection->executeQuery()\n#4 /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(280): Doctrine\\DBAL\\Query\\QueryBuilder->execute()\n#5 /var/www/nextcloud/lib/private/AppConfig.php(418): OC\\DB\\QueryBuilder\\QueryBuilder->execute()\n#6 /var/www/nextcloud/lib/private/AppConfig.php(184): OC\\AppConfig->loadConfigValues()\n#7 /var/www/nextcloud/lib/private/AppConfig.php(374): OC\\AppConfig->getApps()\n#8 /var/www/nextcloud/lib/private/legacy/OC_App.php(803): OC\\AppConfig->getValues()\n#9 /var/www/nextcloud/lib/private/Server.php(733): OC_App::getAppVersions()\n#10 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(171): OC\\Server->OC\\{closure}()\n#11 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}()\n#12 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(138): Pimple\\Container->offsetGet()\n#13 /var/www/nextcloud/lib/private/ServerContainer.php(171): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#14 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(65): OC\\ServerContainer->query()\n#15 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(193): OC\\AppFramework\\Utility\\SimpleContainer->get()\n#16 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(171): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}()\n#17 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}()\n#18 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(138): Pimple\\Container->offsetGet()\n#19 /var/www/nextcloud/lib/private/ServerContainer.php(171): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#20 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(65): OC\\ServerContainer->query()\n#21 /var/www/nextcloud/lib/private/Server.php(1115): OC\\AppFramework\\Utility\\SimpleContainer->get()\n#22 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(171): OC\\Server->OC\\{closure}()\n#23 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}()\n#24 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(138): Pimple\\Container->offsetGet()\n#25 /var/www/nextcloud/lib/private/ServerContainer.php(171): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#26 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(65): OC\\ServerContainer->query()\n#27 /var/www/nextcloud/lib/private/Server.php(2067): OC\\AppFramework\\Utility\\SimpleContainer->get()\n#28 /var/www/nextcloud/lib/private/Files/View.php(106): OC\\Server->getLockingProvider()\n#29 /var/www/nextcloud/lib/private/Server.php(467): OC\\Files\\View->__construct()\n#30 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(171): OC\\Server->OC\\{closure}()\n#31 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}()\n#32 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(138): Pimple\\Container->offsetGet()\n#33 /var/www/nextcloud/lib/private/ServerContainer.php(171): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#34 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(65): OC\\ServerContainer->query()\n#35 /var/www/nextcloud/lib/private/Server.php(1469): OC\\AppFramework\\Utility\\SimpleContainer->get()\n#36 /var/www/nextcloud/lib/base.php(638): OC\\Server->boot()\n#37 /var/www/nextcloud/lib/base.php(1180): OC::init()\n#38 /var/www/nextcloud/ocs/v1.php(31): require_once('...')\n#39 /var/www/nextcloud/ocs/v2.php(23): require_once('...')\n#40 {main}\n thrown in /var/www/nextcloud/lib/private/DB/Connection.php on line 140
[Tue Aug 15 16:36:29.624535 2023] [mpm_prefork:notice] [pid 130] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Aug 15 16:36:29.723920 2023] [mpm_prefork:notice] [pid 351] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Tue Aug 15 16:36:29.723973 2023] [core:notice] [pid 351] AH00094: Command line: '/usr/sbin/apache2'
[Tue Aug 15 16:36:44.274129 2023] [mpm_prefork:notice] [pid 351] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Aug 15 16:36:46.852012 2023] [mpm_prefork:notice] [pid 131] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Tue Aug 15 16:36:46.852064 2023] [core:notice] [pid 131] AH00094: Command line: '/usr/sbin/apache2'
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.
Not Found