J’ai installé (sans problème) un WordPress, mais j’ai d’emblée un message d’erreur concernant une mise à jour “core” qui a échouée:
Une mise à jour automatique de WordPress a échoué en cours de route ; vous pouvez tenter de la relancer.
Par la suite toute tentative de mise à jour de WP se lance et… n’aboutit jamais. Les mises à jour des plugins et des thèmes se font, par contre, sans problèmes.
J’ai regardé les logs de YNH et la seule chose éventuellement relative que j’ai trouvé c’est cela :
2019-05-11 17:34:07,699: DEBUG - system hook folder not found for action 'post_app_install' in /usr/share/yunohost/hooks/
2019-05-11 17:34:07,700: DEBUG - custom hook folder not found for action 'post_app_install' in /etc/yunohost/hooks.d/
Sinon WordPress semble tourner normalement… mais c’est embêtant de rester bloquer sur une version déjà ancienne (5.0.3) aux vues des problème récurrents de sécurité avec WP. La version actuelle étant la 5.2.
Configuration : YunoHost 3.5.2.2 sur VPS avec Debian 9
Just tried with a new install of wordpress, I do not have this error, but I too have that problem with the core upgrade not finishing.
First I think you should wait a little and retry in a little while. A few hours maybe. It could be a temporary problem from the repository of wordpress.
I don’t think that’s a problem with the package though. It’s more probably more a problem on wordpress side.
Anyway, I’m going to upgrade the package right now, so you won’t have to upgrade yourself.
WordPress is runing with version 5.2 but some error messages in yunohost install output:
Info: Installing application wordpress…
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
Info: [....................] > Retrieve arguments from the manifest
Info: [....................] > Check if the app can be installed
Info: [....................] > Store settings from manifest
Info: [#...................] > Install dependencies
Info: [###.................] > Create a mysql database
Info: [###.................] > Download, check and unpack source
Info: [####................] > Configure nginx
Info: Reload the service nginx
Info: [#####...............] > Create a dedicated user
Info: [######..............] > Configure php-fpm
Info: Reload the service php7.0-fpm
Info: [######..............] > Configure wp-config.php
Info: [#######.............] > Install wordpress with Curl
Info: Reload the service nginx
Info: Please wait during Wordpress installation
Warning: 2019-05-12 18:41:17 URL:https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar [5506663/5506663] -> "/var/www/wordpress/wp-cli.phar" [1]
Info: [#########...........] > Install wordpress plugins
Info: [##############......] > Set language
Info: [###############.....] > Activate wordpress plugins
Info: [################....] > Configure fail2ban
Info: [##################..] > Setup SSOwat
Info: [##################..] > Reload nginx
Info: Reload the service nginx
Info: [####################] > Installation completed
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
Success! The SSOwat configuration has been generated
Success! Installation complete