Closed Josue-T closed 3 years ago
Any new about this ?
Hmf yeah I forgot about this issue ... I don't really know how to fix that, clearly that's the limit of a naive static analysis of the script using greps and stuff ...
On the other hand it's also related to the fact that, generally speaking, the backup/restore script ain't really a symetric of install/remove, and by that I mean that in one case we do for example ynh_add_nginx_config
, but in the backup/restore script we refer directly to the /etc/nginx/conf.d/$domain.d/$app.conf
file instead of having for example an ynh_backup/restore_nginx_config
So same things happen here ... (except we're talking about a custom helper). Naively I'd say "create a ynh_restore_uwsgi helper and call that in the restore script instead of manually calling the corresponding 2~3 commands" ...
Thanks, OK, I'll do this.
Hello, I got this error
But this warning don't really make sense as I use the uwsgi helper which already do this for the install / upgrade / remove script.
For me there are 2 possibility: