NEXTCLOUD 24.0.1 : Migration de php 7.3 vers 7.4

J’ai utilisé l’outil de migration de NextCloud sauf pour PHP.

Migration de php 7.3 vers php 7.4, le fichier /etc/php/7.4/fpm/pool.d/www.conf  :

# cat /etc/php/7.4/fpm/pool.d/www.conf | grep -v ";" | grep -v "^$"
[www]
user = www-data
group = www-data
listen = /run/php/php7.4-fpm.sock
listen.owner = www-data
listen.group = www-data
pm = dynamic
pm.max_children = 10
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
env[HOSTNAME] = $HOSTNAME
env[PATH] = /usr/local/bin:/usr/bin:/bin
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp
php_admin_value[error_log] = /var/log/fpm-php.www.log
php_admin_flag[log_errors] = on
php_admin_value[memory_limit] = 1024M

 

Les modules que j’ai du installer :

sudo apt-get install php7.4-fpm
sudo apt install php-imagick
sudo apt install php7.4-bcmath

Et la creation d’index :

# cd /usr/share/nginx/nextcloud/
# sudo -u www-data php7.4 --define apc.enable_cli=1 occ db:add-missing-indices
PHP Warning:  Module 'apcu' already loaded in Unknown on line 0
Check indices of the share table.
Check indices of the filecache table.
Check indices of the twofactor_providers table.
Check indices of the login_flow_v2 table.
Check indices of the whats_new table.
Check indices of the cards table.
Check indices of the cards_properties table.
Check indices of the calendarobjects_props table.
Check indices of the schedulingobjects table.
Check indices of the oc_properties table.
Check indices of the oc_jobs table.
Check indices of the oc_direct_edit table.
Adding direct_edit_timestamp index to the oc_direct_edit table, this can take some time...
oc_direct_edit table updated successfully.

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Time limit is exhausted. Please reload CAPTCHA.