YunoHost-Apps / castopod_ynh

Castopod package for YunoHost
https://podlibre.org/
GNU General Public License v3.0
23 stars 7 forks source link

[BUG] MySQL database backup does not include procedures #94

Closed yassinedoghri closed 1 year ago

yassinedoghri commented 1 year ago

Describe the bug

MySQL database backup does not include procedures.

Context

Castopod uses stored procedures for podcast analytics. If the procedures are not present, the analytics will not store hits and the feature will not work anymore.

Steps to reproduce

Expected behavior

The backup should restore routines with the tables and data.


Looking at the backup script, the ynh_mysql_dump_db helper does not include the needed --routines flag to make this work:

ericgaspar commented 1 year ago

Thanks for pointing this out! ynh_mysql_dump_db helper should be updated when the next YunoHost version is out.