Hi everyone,
As of today (2024-08-26), I still have an issue while trying to upgrade privatebin from 1.7.3~ynh1
to 1.7.4~ynh1
, even if I’m all up-to-date (yunohost 11.2.28).
My issue is exactly the same as described in this now closed subject
I also opened a bug report on the app repository, but I begin to wonder if it’s not an issue of yunohost itself?
The weird part is that the line 34 of current backup script does not speak about phpversion
.
So I wonder if the upgrade process of any app is not using the old backup script of the old (which might be a good idea), but using the context of the new version of the app. In the current case I think the new version now relies on helpers v2.1, but the old one was using the old helpers. Hence the missing phpversion
variable, as it has been renamed as php_version
in the helpers v2.1.
That’s why removing the app and reinstalling it works around the problem. But as a matter of debug for more complex app, I wonder if we should not find the real cause of the problem to fix it (I imagine it won’t be the only app to be migrated from helpers v2/1 to v2.1.
I’m willing to help as best as I can, but I must admit I don’t know much the packaging process right now. So don’t hesitate to ask me question or test, but I’ll need some guidance.