Our configuration is :
nextcloud 20.0.9
Apache/2.4.38 (Debian)
PHP 7.3.19-1~deb10u1
php -i | grep apc
/etc/php/7.3/cli/conf.d/20-apcu.ini,
/etc/php/7.3/cli/conf.d/25-apcu_bc.ini,
apc
apcu
apc.coredump_unmap => Off => Off
apc.enable_cli => On => On
apc.enabled => On => On
apc.entries_hint => 4096 => 4096
apc.gc_ttl => 3600 => 3600
apc.mmap_file_mask => no value => no value
apc.preload_path => no value => no value
apc.serializer => php => php
apc.shm_segments => 1 => 1
apc.shm_size => 32M => 32M
apc.slam_defense => Off => Off
apc.smart => 0 => 0
apc.ttl => 0 => 0
apc.use_request_time => On => On
when we try the upgrade :
sudo -u www-data php ./occ upgrade
we obtain
Starting …
1/0 [->--------------------------] 0%Segmentation fault
and with the browser also.
Everything on the forum has been tried :
sudo -u www-data php ./occ db: add-missing-primary-keys
sudo -u www-data php ./occ db:add-missing-columns
sudo -u www-data php ./occ db:add-missing-indices
sudo -u www-data php ./occ app:update
with the same result :
Segmentation fault
Please, how we can resolve the upgrade of nextcloud ? Is it a fail of the application ?
After a lot of manipulations with the cli occ, I’ve tried with with the web updater, the upgrade worked in 2 steps : 20.0.4 and 21.01 but I still have the error
Migrate old user config
Starting ...
1/0 [->--------------------------] 0%Segmentation fault
I’m using Debian GNU/Linux 10 (buster), no I don’t think I am out of resource limit : the server has 62 go of ram, and nextcloud is using merely 5% of it.
I commented in config/config.php # 'memcache.local' => '\\OC\\Memcache\\APCu',
but same same …