YunoHost-Apps / wordpress_ynh

WordPress package for YunoHost
https://wordpress.org/
GNU General Public License v3.0
26 stars 30 forks source link

Unable to import backup, as description_fr.md contains bad caracters #209

Open klorydryk opened 1 year ago

klorydryk commented 1 year ago

Coming from Yunohost 32bits Importing backup to Yunohost 64bits DESCRIPTION_fr.md file contains

WordPress est un logiciel libre que vous pouvez utiliser pour cr�er un site ou un blog. Avec ce package, vous pouvez m�me activer l'option multisite.

Yunohost is unable to import it, and fail during the action with this comment:

Préparation de l'archive pour restauration... Restauration de wordpress... Failed to read info for wordpress : Erreur inconnue en essayant de lire le fichier /etc/yunohost/apps/wordpress/doc/DESCRIPTION_fr.md (raison :'utf-8' codec can't decode byte 0xe9 in position 64: invalid continuation byte) Failed to read info for wordpress : Erreur inconnue en essayant de lire le fichier /etc/yunohost/apps/wordpress/doc/DESCRIPTION_fr.md (raison :'utf-8' codec can't decode byte 0xe9 in position 64: invalid continuation byte)

Wordpress is then not listed, but installed. We need to remove it by command line "yunohost app remove wordpress" then reinstall it once the DESCRIPTION_fr.md file is fixed in the TAR backup file, removing the bad encoded caracters.

arthurlutz commented 1 year ago

Same here after upgrading from buster to bullseye (4.x to 11.x in yunohost).

alexAubin commented 1 year ago

Hmmm are you up to date on Yunohost ? This bug has been fixed a few weeks ago

arthurlutz commented 1 year ago

This is follow an upgrade to 11.x, the applications themselves are being updated as we speak, so maybe the error will be fixed after that upgrade.