Support intro
Unfortunately, the update to 27.1.4 coincided with the concurrent update to php 8.1.26.
# sudo -u www 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
Update app recognize from App Store
ld-elf.so.1: /usr/local/lib/php/20210902/apcu.so: Undefined symbol "php_pcre2_match_data_create_from_pattern"
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: 27.1.4
Operating system and version: FreeBSD 13.2-RELEASE
Nginx version: 1.24.0_12,3
PHP version: 8.1.26 (php-fpm)
The issue you are facing:
I can’t complete the update. The Nextcloud instance is offline
Is this the first time you’ve seen this error? Y
Steps to replicate it:
- Upgrade Nextcloud to version 27.1.4
- Upgrade php to version 8.1.26
- run occ upgrade
- restart nginx and php-fpm
- attempt to open Dashboard
The output of your Nextcloud log in Admin > Logging:
N/A
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!): unchanged from 27.1.3
<?php
$CONFIG = array (
'apps_paths' =>
array (
0 =>
array (
'path' => '/usr/local/www/nextcloud/apps',
'url' => '/apps',
'writable' => true,
),
1 =>
array (
'path' => '/usr/local/www/nextcloud/apps-pkg',
'url' => '/apps-pkg',
'writable' => false,
),
),
'logfile' => '/var/log/nextcloud/nextcloud.log',
'memcache.local' => '\\OC\\Memcache\\APCu',
'instanceid' => 'oc4k8d00tjnj',
'passwordsalt' => '***',
'secret' => '****',
'trusted_domains' =>
array (
0 => '10.0.1.100',
1 => 'wx.schamschula.com',
),
'datadirectory' => '/tank/www/nextcloud/data',
'dbtype' => 'mysql',
'version' => '27.1.3.2',
'overwrite.cli.url' => 'http://10.0.1.100/nextcloud',
'dbname' => 'nextcloud_db',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud_user',
'dbpassword' => 'tJIYmYz60GlT',
'installed' => true,
'trashbin_retention_obligation' => 'auto, 30',
'theme' => '',
'loglevel' => 0,
'maintenance' => true,
);
The output of your nginx log:
2023/11/26 11:13:19 [error] 45344#100932: *662 upstream timed out (60: Operation timed out) while reading upstream, client: 10.0.1.20, server: wx.schamschula.com, request: "GET /nextcloud/core/ajax/update.php?requesttoken=%2Fb8Ri6MAlCDX0JgwaLx5%2FGp7CzUDmltAVfC024UBlcs%3D%3Au9hk3NBQuxC%2BmvpWHdAXrws2ZgRN1xQ0AbbdrvdRw4A%3D HTTP/1.1", upstream: "fastcgi://127.0.0.
1:9000", host: "10.0.1.100"
2023/11/26 11:13:53 [error] 45344#100932: *686 open() "/usr/local/www/nginx/apps/theming/img/background/kamil-porembinski-clouds.jpg" failed (2: No such file or directory), client: 10.0.1.20, server: wx.schamschula.com, request: "GET /apps/theming/img/background/kamil-porembinski-clouds.jpg HTTP/1.1", host: "10.0.1.100"
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.
N/A