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

Fix plugin upgrade #111

Closed tituspijean closed 2 years ago

tituspijean commented 2 years ago

Problem

Plugin upgrade fails because the helper is not properly named.

PR Status

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

tituspijean commented 2 years ago

!gogogadgetotitus

yunohost-bot commented 2 years ago

:robot: Test Badge

Gofannon commented 2 years ago

Looks good to me. Thanks! (even if all my plugins are up to date)

147615 INFO [#################+..] > Updating all plugins...
147619 DEBUG + set -o xtrace 
147621 DEBUG + pushd /var/www/grav
147623 DEBUG /var/www/grav /var/cache/yunohost/app_tmp_work_dirs/app_p693r9lw/scripts
147624 DEBUG + ynh_exec_warn_less yes N
147625 DEBUG + [[ 2 -eq 1 ]]          
147626 DEBUG + ynh_exec_warn_less ynh_exec_as grav php7.3 bin/gpm update --all-yes --no-interaction
147627 DEBUG + yes N      
147628 DEBUG + [[ 7 -eq 1 ]]
147629 DEBUG + ynh_exec_as grav php7.3 bin/gpm update --all-yes --no-interaction
147630 DEBUG + local user=grav
147631 DEBUG + shift 1                
147632 DEBUG ++ whoami    
147655 DEBUG + [[ grav = root ]]        

147658 DEBUG + sudo -u grav php7.3 bin/gpm update --all-yes --no-interaction
148224 DEBUG              
148226 DEBUG GPM Releases Configuration: Stable                       
148227 DEBUG                                                                                                                                                                                 
148298 DEBUG Nothing to update.                                                                                                                                                              

148325 DEBUG + popd               
148326 DEBUG /var/cache/yunohost/app_tmp_work_dirs/app_p693r9lw/scripts
148328 DEBUG + echo '* *  *  *  * grav php7.3 /var/www/grav/bin/grav scheduler 1>> /dev/null 2>&1'
148330 DEBUG + chmod 644 /etc/cron.d/grav
148331 DEBUG + ynh_script_progression '--message=Reloading NGINX web server and PHP-FPM...' --weight=1
148333 DEBUG + set +o xtrace
148572 DEBUG + set +o xtrace
148618 DEBUG + echo '! Helper used in legacy mode !'
148620 DEBUG + set +x
148627 DEBUG + echo '[##################+.] > Reloading NGINX web server and PHP-FPM...'
148629 INFO [##################+.] > Reloading NGINX web server and PHP-FPM...