What type of hardware are you using: Raspberry Pi 3, 4+
What YunoHost version are you running: 12.0.11
How are you able to access your server: The webadmin
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: no
Describe your issue
Hi,
YunoHost 12.0.11 (stable) on a Raspberry Pi 5 at home running the latest Wordpress 6.7.2.
However, the Yunohost ‘System update’ option shows that Wordpress requires an update:
System
All system packages are up to date!
Applications
XXXXXX (wordpress) from 6.7.1~ynh1 to 6.7.2~ynh1
Tried to upgrade regardless but it failed miserably.
Logfile ‘/var/log/yunohost/operations/20250312-192323-app_upgrade-wordpress.log’ shows:
2025-03-12 20:23:32,150: WARNING - PHP Fatal error: Uncaught TypeError: ftp_pwd(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /var/www/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:230
2025-03-12 20:23:32,153: WARNING - Stack trace:
2025-03-12 20:23:32,156: WARNING - #0 /var/www/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php(230): ftp_pwd()
2025-03-12 20:23:32,159: WARNING - #1 /var/www/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php(468): WP_Filesystem_FTPext->cwd()
2025-03-12 20:23:32,161: WARNING - #2 /var/www/wordpress/wp-content/plugins/ultimate-member/includes/common/class-filesystem.php(223): WP_Filesystem_FTPext->is_dir()
<…>
2025-03-12 20:23:33,917: WARNING - thrown in /var/www/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 230
2025-03-12 20:23:33,918: WARNING - Error: Er heeft zich een kritieke fout voorgedaan op deze website.Meer informatie over probleemoplossing in WordPress. Er heeft zich een kritieke fout voorgedaan op deze website.
2025-03-12 20:23:33,919: DEBUG - + ynh_exit_properly^M
2025-03-12 20:23:33,920: DEBUG - + local exit_code=1^M
2025-03-12 20:23:33,920: DEBUG - + [[ upgrade =~ ^install$|^upgrade$|^restore$ ]]^M
2025-03-12 20:23:33,920: DEBUG - + rm -rf /var/cache/yunohost/download/^M
2025-03-12 20:23:33,920: DEBUG - + ‘[’ 1 -eq 0 ‘]’^M
2025-03-12 20:23:33,920: DEBUG - + trap ‘’ EXIT^M
2025-03-12 20:23:33,920: DEBUG - + set +o errexit^M
2025-03-12 20:23:33,920: DEBUG - + set +o nounset^M
2025-03-12 20:23:33,920: DEBUG - + sleep 0.5^M
2025-03-12 20:23:34,371: DEBUG - + exit 1^M
2025-03-12 20:23:34,471: ERROR - Could not upgrade wordpress: An error occurred inside the app upgrade script
Regardless of the error, why does Yunohost believes WordPress needs to be upgraded?
It refers to ‘6.7.1~ynh1’ and ‘6.7.2~ynh1’.
Does this mean you are not allowed to upgrade WordPress within WordPress itself and it needs to be done on the Yunohost level?
How to remove this upgrade option?
Thanks