YunoHost-Apps / my_webapp_ynh

Custom Web app with SFTP access
GNU General Public License v3.0
48 stars 42 forks source link

Restore MyWebApp impossible / mistake in db.sql name #135

Closed croulibri closed 1 month ago

croulibri commented 8 months ago

Describe the bug

Impossible to restore a webapp with a MySQL database

Context

MyWebApp Version 1.0~ynh15 The webapp to be installed is Piwigo

I thinks this is due to the backup of MyWebApp where we can find in the tar.gz compressed file that the database name includes a at the end of its name (db.sql instead of db.sql), making the script unable to find the database.

If I explore the compressed backup file, I find the database name and remove the * at the end of its name, then the restore script works.

(I have read this advice somewhere without being able to find it again in the forum or in the ticket. So sorry for double posting if this has already been taken into account)

Snapyou2 commented 1 month ago

Same problem here, I tried your fix but then the yunohost restore script did not work in my case. It was quite messy...

grenagit commented 1 month ago

This should be fixed by the latest version #141?

OniriCorpe commented 1 month ago

This should be fixed by the latest version #141?

Yes