Closed github-actions[bot] closed 2 years ago
Upgrade went fine from 1.7.30~ynh1
using this branch.
Automatic upgrade of grav's plugins did not work. Doing it from the webadmin is fine.
@Gofannon thanks for your tests! Can you share the upgrade log, to see where the plugins upgrade fail?
Hello @tituspijean,
here you go:
2022-05-05 22:04:37,673: INFO - [#################+..] > Updating all plugins...
2022-05-05 22:04:37,677: DEBUG - + pushd /var/www/grav
2022-05-05 22:04:37,678: DEBUG - /var/www/grav /var/cache/yunohost/app_tmp_work_dirs/app_ic8ji9o2/scripts
2022-05-05 22:04:37,679: DEBUG - + ynh_exec_warn_less yes N
2022-05-05 22:04:37,681: DEBUG - + [[ 2 -eq 1 ]]
2022-05-05 22:04:37,682: DEBUG - + yes N
2022-05-05 22:04:37,684: DEBUG - + ynh_exec_warn_less exec_as grav php7.3 bin/gpm update --all-yes --no-interaction
2022-05-05 22:04:37,684: DEBUG - + [[ 7 -eq 1 ]]
2022-05-05 22:04:37,685: DEBUG - + exec_as grav php7.3 bin/gpm update --all-yes --no-interaction
2022-05-05 22:04:37,686: DEBUG - /usr/share/yunohost/helpers.d/logging: line 143: exec_as: command not found
2022-05-05 22:04:37,712: DEBUG - + ynh_print_warn '--message=Automatic plugin upgrade has failed, you can upgrade them from your Grav admin panel.'
2022-05-05 22:04:37,757: DEBUG - + ynh_print_log 'Automatic plugin upgrade has failed, you can upgrade them from your Grav admin panel.'
2022-05-05 22:04:37,759: DEBUG - + echo -e 'Automatic plugin upgrade has failed, you can upgrade them from your Grav admin panel.'
2022-05-05 22:04:37,767: WARNING - Automatic plugin upgrade has failed, you can upgrade them from your Grav admin panel.
2022-05-05 22:04:37,769: DEBUG - + popd
2022-05-05 22:04:37,770: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_ic8ji9o2/scripts
2022-05-05 22:04:37,773: DEBUG - + chmod 644 /etc/cron.d/grav
2022-05-05 22:04:38,070: INFO - [##################+.] > Reloading NGINX web server and PHP-FPM...
Full log if needed : https://paste.yunohost.org/lomigajizi.sql
edit: add YunoHost version
~# yunohost --version
yunohost:
repo: stable
version: 4.3.6.3
yunohost-admin:
repo: testing
version: 4.3.4.1
moulinette:
repo: stable
version: 4.3.3.1
ssowat:
repo: stable
version: 4.3.3.1
Thanks! It looks like a massive typo. 😅 exec_as
should be ynh_exec_as
. I'll try to fix it in another PR.
Upgrade to v1.7.33