YunoHost-Apps / grav_ynh

Grav, a flat-file CMS packaged for YunoHost
https://getgrav.org/
GNU General Public License v3.0
16 stars 12 forks source link

Upgrade to version 1.7.33 #110

Closed github-actions[bot] closed 2 years ago

github-actions[bot] commented 2 years ago

Upgrade to v1.7.33

yunohost-bot commented 2 years ago

Fingers crossed! Test Badge

Gofannon commented 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.

tituspijean commented 2 years ago

@Gofannon thanks for your tests! Can you share the upgrade log, to see where the plugins upgrade fail?

Gofannon commented 2 years ago

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
tituspijean commented 2 years ago

Thanks! It looks like a massive typo. 😅 exec_as should be ynh_exec_as. I'll try to fix it in another PR.