wordpress_ynh icon indicating copy to clipboard operation
wordpress_ynh copied to clipboard

Upgrade (the wordpress_ynh app) does not upgrade wordpress core

Open nathanael-h opened this issue 1 year ago • 1 comments

Hello, I am running wordpress_ynh version 6.5~ynh1 but in the admin dashboard it reports version 6.4.5 . I forced upgrade, no change. Here are logs : https://paste.yunohost.org/raw/ezafoseneb

I also upgraded to testing branch, no change. Here are logs: https://paste.yunohost.org/raw/nazegaleno

Also here is the version found in files:

# grep wp_version /var/www/wordpress__3/wp-includes/version.php 
 * @global string $wp_version
$wp_version = '6.4.5';

nathanael-h avatar Oct 12 '24 09:10 nathanael-h

Hi, noticed the same here when just updated to 6.7.1~ynh1 but in deed it still telling in the wp-admin panel that current version is 6.5.5 :

Image

I then upgraded from the wp-admin panel and it went smoothly although it displayed a memory error :

Image

In deed, when updating yunohost package memory limit configured is reset to 64M. So if you need more (if you want to run smoothly Elementor for example) you gotta to extend it.

Edit with vim sudo vi etc/php/8.3/fpm/pool.d/wordpress.conf file and set php_admin_value[memory_limit] to 128M and don't forget after to restart php : sudo systemctl restart php8.3-fpm

ImaCrea avatar Feb 05 '25 11:02 ImaCrea