[Wordpress] Beautiful website, blog, or app

I install wordpress with the testing banch and choose to make it public. It works !
(My Yunohost is only local, no ports redirection)

I can update the forth themes.
Wordpress is corretly in the 5.3.2
He ask me to upgrade to the new 5.4 version.
If I try to upgrade, i launch it and wait. The a few minute after, he stop it.
If I retry, he answer “another upgrade is in progress”.

Perhaps, it’s a yunohost choice to block any core upgrade ?
I can blog, upload files and publish.

The LDAP auth is ok for yunohost users.

I can also create some local user, which is not in the LDAP, just in worpdress.

About health in Tools menu of Wordpress :

  • PHP 7.0.33 require an update
  • The scheduled event, recovery_mode_clean_expired_keys, failed to run. Your site still works, but this may indicate that scheduling posts or automated updates may not work as intended.
  • (optional) imagemagick is missing
  • (optional) zip isn’t installed or deactivate.
  • Could not confirm that the wp_version_check() filter is available.
1 Like

I personaly got a stuck maintenance mode, looks like its trendy to have a fucking maintenance mode you can’t remove other than from CLI…
I’ll add an action to fix that stupid thing…

On the contrary, wordpress is supposed to auto update, or to let you do it if you want.
But as with nextcloud, looks like wordpress likes to crash itself while doing upgrades.

Never used that page. Let’s have a look to it.

Wants php7.3, not natively supported in Debian Stretch. It will wait for Buster.

I do not have that warning, maybe related to your upgrade not fully finished ?

Same for this one.
Maybe you should retry to upgrade or try to restart php, if it can help.

Not installed indeed. Never was. Could be considered though.

I install the wp-cli and try to upgrade manually :

admin@yunohost:/var/www/wordpress$ wp core update
Updating to version 5.4 (fr_FR)...
Téléchargement de la mise à jour depuis https://downloads.wordpress.org/release/fr_FR/wordpress-5.4.zip…
Décompression de la mise à jour...
Error: Impossible de créer le dossier.

So I try in root :

root@yunohost:/var/www/wordpress# sudo -u wordpress wp core update
Creating directory '/home/wordpress'.
Updating to version 5.4 (fr_FR)...
Téléchargement de la mise à jour depuis https://downloads.wordpress.org/release/fr_FR/wordpress-5.4.zip…
Décompression de la mise à jour...
Cleaning up files...
No files found that need cleaning up.

I return to wordpress and he ask me to upgrade the database. I valid and then I have the 5.4 version up-to-date.

New testing release available

22 Apr 2020 - #85

Added

Fixed

Changed

sudo yunohost app install https://github.com/YunoHost-Apps/wordpress_ynh/tree/testing --force --debug
or
sudo yunohost app upgrade wordpress -u https://github.com/YunoHost-Apps/wordpress_ynh/tree/testing --force --debug

I try a fresh install with testing branch on a Yuno 3.7.1.1 and it works, I use the 5.4 version !

I would like to test the upgrade from the master app wordpress, but the upgrade inside wordpress works fine too. I just upgrade from wordpress and I reach the 5.4 version.

I will retry soon from a previous version 5.3.

1 Like

And finally a new stable version for wordpress :partying_face::partying_face:

5.4.0~ynh1 - 2020-05-02

Added

Fixed

Changed

2 Likes

New testing release available

22 Aug 2020 - #108

Fixed

Changed

sudo yunohost app install https://github.com/YunoHost-Apps/wordpress_ynh/tree/testing --force --debug
or
sudo yunohost app upgrade wordpress -u https://github.com/YunoHost-Apps/wordpress_ynh/tree/testing --force --debug
1 Like

New stable version:

5.5.0~ynh1 - 2020-08-15

Fixed

Changed

3 Likes

I have updated wordpress using the included tool. Is it better/advised to update also yunohost package ?

This is not a problem here, but we can sometimes add a security fix in our package.

1 Like

Perhaps I’m wrong but if YNH package’s dependencies are upgraded and you upgrade using Wordpress tool, you can break your installation.

1 Like

New testing release available

05 Nov 2020 - # 109

Changed

sudo yunohost app install https://github.com/YunoHost-Apps/wordpress_ynh/tree/testing --force --debug
or
sudo yunohost app upgrade wordpress -u https://github.com/YunoHost-Apps/wordpress_ynh/tree/testing --force --debug

New stable version:

18 Nov 2020 - # 109

Changed

Oups…
I’ve just done upgrade

  • Version 5.5~ynh1 to
  • Version 5.5.1~ynh1

And I get a 502 Bad Gateway

Here is the log with Yunopast: https://paste.yunohost.org/raw/necasixetu

tks for your help

edit:

sudo nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

I have restarted nginx
I have restarted the entire YNH server

BUT I still have the 502 bad gateway :frowning:

should I delete the application and restore the backup?

–> application deleted and backup restored. Back to initial state.

oh same error message her, both Yunohosts instances. Seems Yunohost needs more testers to prevent that, meaning I should start participating maybe.

edit: restoring worked!

1 Like

To restore, you had to delete the application and then restore the backup?

Yes, exactly, that’s how I did it

Same here, thanks i will try this solution.

Edit : it work again thanks.

That’s not a solution… just a “back to before” :slight_smile:

1 Like

Technically yes :slight_smile:

But it save my day :slight_smile: