[SOLVED] Error in logrotate helper

I guess this will affect lots of apps. I got an error when updating gotosocial_ynh just now in case any people installing this app are checking the forum.

Info: Now upgrading gotosocial...
Info: [+...................] > Loading installation settings...
Info: [#+..................] > Backing up the app before upgrading (may take a while)...
Info: [##++................] > Stopping a systemd service...
Info: [####+...............] > Ensuring downward compatibility...
Info: [#####+..............] > Making sure dedicated system user exists...
Info: [######++............] > Upgrading NGINX web server configuration...
Info: [########+...........] > Upgrading dependencies...
Info: [#########+..........] > Updating a configuration file...
Info: [##########++........] > Upgrading systemd configuration...
Info: [############+.......] > Upgrading logrotate configuration...
Warning: /usr/share/yunohost/helpers.d/logrotate: line 30: all_args[$I]: unbound variable
Warning: [Error] Upgrade failed.
1 Like