tail -n 100 20200501-053614-app_upgrade-gitea.log
2020-05-01 07:38:19,635: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/MYDOMAIN.TLD.d/gitea.conf
2020-05-01 07:38:19,635: DEBUG - + set +x
2020-05-01 07:38:19,635: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_MYDOMAIN.TLD.d_gitea.conf
2020-05-01 07:38:19,636: DEBUG - ++ md5sum /etc/nginx/conf.d/MYDOMAIN.TLD.d/gitea.conf
2020-05-01 07:38:19,636: DEBUG - ++ cut '-d ' -f1
2020-05-01 07:38:19,636: DEBUG - + ynh_app_setting_set --app=gitea --key=checksum__etc_nginx_conf.d_MYDOMAIN.TLD.d_gitea.conf --value=5780cc51d6290e53e4c01ebf7d4e5215
2020-05-01 07:38:19,636: DEBUG - + local legacy_args=akv
2020-05-01 07:38:19,636: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-05-01 07:38:19,636: DEBUG - + declare -Ar args_array
2020-05-01 07:38:19,637: DEBUG - + local app
2020-05-01 07:38:19,637: DEBUG - + local key
2020-05-01 07:38:19,637: DEBUG - + local value
2020-05-01 07:38:19,637: DEBUG - + ynh_handle_getopts_args --app=gitea --key=checksum__etc_nginx_conf.d_MYDOMAIN.TLD.d_gitea.conf --value=5780cc51d6290e53e4c01ebf7d4e5215
2020-05-01 07:38:19,637: DEBUG - + set +x
2020-05-01 07:38:19,637: DEBUG - + ynh_app_setting set gitea checksum__etc_nginx_conf.d_MYDOMAIN.TLD.d_gitea.conf 5780cc51d6290e53e4c01ebf7d4e5215
2020-05-01 07:38:19,638: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-05-01 07:38:19,638: DEBUG - + ACTION=set
2020-05-01 07:38:19,638: DEBUG - + APP=gitea
2020-05-01 07:38:19,638: DEBUG - + KEY=checksum__etc_nginx_conf.d_MYDOMAIN.TLD.d_gitea.conf
2020-05-01 07:38:19,638: DEBUG - + VALUE=5780cc51d6290e53e4c01ebf7d4e5215
2020-05-01 07:38:19,638: DEBUG - + python2.7 -
2020-05-01 07:38:19,739: DEBUG - + [[ checksum__etc_nginx_conf.d_MYDOMAIN.TLD.d_gitea.conf =~ ^(unprotected|skipped)_ ]]
2020-05-01 07:38:19,739: WARNING - Reload the service nginx
2020-05-01 07:38:19,740: DEBUG - + '[' -n '' ']'
2020-05-01 07:38:19,740: DEBUG - + unset backup_file_checksum
2020-05-01 07:38:19,740: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2020-05-01 07:38:19,740: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
2020-05-01 07:38:19,740: DEBUG - + declare -Ar args_array
2020-05-01 07:38:19,741: DEBUG - + local service_name
2020-05-01 07:38:19,741: DEBUG - + local action
2020-05-01 07:38:19,741: DEBUG - + local line_match
2020-05-01 07:38:19,741: DEBUG - + local length
2020-05-01 07:38:19,741: DEBUG - + local log_path
2020-05-01 07:38:19,742: DEBUG - + local timeout
2020-05-01 07:38:19,742: DEBUG - + ynh_handle_getopts_args --service_name=nginx --action=reload
2020-05-01 07:38:19,742: DEBUG - + set +x
2020-05-01 07:38:19,742: DEBUG - + local service_name=nginx
2020-05-01 07:38:19,742: DEBUG - + local action=reload
2020-05-01 07:38:19,742: DEBUG - + local log_path=/var/log/nginx/nginx.log
2020-05-01 07:38:19,743: DEBUG - + local length=20
2020-05-01 07:38:19,743: DEBUG - + local timeout=300
2020-05-01 07:38:19,743: DEBUG - + [[ -n '' ]]
2020-05-01 07:38:19,743: DEBUG - + echo 'Reload the service nginx'
2020-05-01 07:38:19,743: DEBUG - + systemctl reload nginx
2020-05-01 07:38:19,944: DEBUG - + [[ -n '' ]]
2020-05-01 07:38:19,944: DEBUG - + ynh_script_progression '--message=Upgrading database and sources...' --weight=6
2020-05-01 07:38:19,945: DEBUG - + set +x
2020-05-01 07:38:19,945: DEBUG - + set +x
2020-05-01 07:38:19,945: DEBUG - + echo '! Helper used in legacy mode !'
2020-05-01 07:38:19,945: DEBUG - + set +x
2020-05-01 07:38:19,945: DEBUG - + echo '[##########++++......] > Upgrading database and sources...'
2020-05-01 07:38:19,946: DEBUG - + set -x
2020-05-01 07:38:19,946: DEBUG - + '[' -z 1.10.3 ']'
2020-05-01 07:38:19,946: DEBUG - + case $upstream_version in
2020-05-01 07:38:19,946: DEBUG - + ynh_setup_source /opt/gitea source/x86-64
2020-05-01 07:38:19,946: DEBUG - + local legacy_args=ds
2020-05-01 07:38:19,946: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
2020-05-01 07:38:19,947: DEBUG - + declare -Ar args_array
2020-05-01 07:38:19,947: DEBUG - + local dest_dir
2020-05-01 07:38:19,947: DEBUG - + local source_id
2020-05-01 07:38:19,947: DEBUG - + ynh_handle_getopts_args /opt/gitea source/x86-64
2020-05-01 07:38:19,947: DEBUG - + set +x
2020-05-01 07:38:19,947: DEBUG - + echo '! Helper used in legacy mode !'
2020-05-01 07:38:19,948: DEBUG - + set +x
2020-05-01 07:38:19,948: DEBUG - + source_id=source/x86-64
2020-05-01 07:38:19,948: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/gitea_ynh-3365066a7671674b90c43de2cb975df83b9e84b5/scripts/../conf/source/x86-64.src
2020-05-01 07:38:19,948: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/gitea_ynh-3365066a7671674b90c43de2cb975df83b9e84b5/scripts/../conf/source/x86-64.src ']'
2020-05-01 07:38:19,948: DEBUG - ++ cut -d= -f2-
2020-05-01 07:38:19,949: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/gitea_ynh-3365066a7671674b90c43de2cb975df83b9e84b5/scripts/../conf/source/x86-64.src
2020-05-01 07:38:19,949: DEBUG - + local src_url=https://github.com/go-gitea/gitea/releases/download/v1.11.4/gitea-1.11.4-linux-amd64
2020-05-01 07:38:19,949: DEBUG - ++ cut -d= -f2-
2020-05-01 07:38:19,949: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/gitea_ynh-3365066a7671674b90c43de2cb975df83b9e84b5/scripts/../conf/source/x86-64.src
2020-05-01 07:38:19,949: DEBUG - + local src_sum=4408c781069c36cbb1b5923ae924e67ceee661ba9c9bd6c73cd7408c9cd62af6
2020-05-01 07:38:19,949: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/gitea_ynh-3365066a7671674b90c43de2cb975df83b9e84b5/scripts/../conf/source/x86-64.src
2020-05-01 07:38:19,950: DEBUG - ++ cut -d= -f2-
2020-05-01 07:38:19,950: DEBUG - + local src_sumprg=sha256sum
2020-05-01 07:38:19,950: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/gitea_ynh-3365066a7671674b90c43de2cb975df83b9e84b5/scripts/../conf/source/x86-64.src
2020-05-01 07:38:19,950: DEBUG - ++ cut -d= -f2-
2020-05-01 07:38:19,950: DEBUG - + local src_format=
2020-05-01 07:38:19,950: DEBUG - ++ cut -d= -f2-
2020-05-01 07:38:19,951: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/gitea_ynh-3365066a7671674b90c43de2cb975df83b9e84b5/scripts/../conf/source/x86-64.src
2020-05-01 07:38:19,951: DEBUG - + local src_extract=false
2020-05-01 07:38:19,951: DEBUG - ++ cut -d= -f2-
2020-05-01 07:38:19,951: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/gitea_ynh-3365066a7671674b90c43de2cb975df83b9e84b5/scripts/../conf/source/x86-64.src
2020-05-01 07:38:19,951: DEBUG - + local src_in_subdir=
2020-05-01 07:38:19,951: DEBUG - ++ cut -d= -f2-
2020-05-01 07:38:19,952: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/gitea_ynh-3365066a7671674b90c43de2cb975df83b9e84b5/scripts/../conf/source/x86-64.src
2020-05-01 07:38:19,952: DEBUG - + local src_filename=gitea
2020-05-01 07:38:19,952: DEBUG - + src_sumprg=sha256sum
2020-05-01 07:38:19,952: DEBUG - + src_in_subdir=true
2020-05-01 07:38:19,952: DEBUG - + src_format=tar.gz
2020-05-01 07:38:19,953: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2020-05-01 07:38:19,953: DEBUG - ++ echo tar.gz
2020-05-01 07:38:19,953: DEBUG - + src_format=tar.gz
2020-05-01 07:38:19,953: DEBUG - + src_extract=false
2020-05-01 07:38:19,953: DEBUG - + '[' gitea = '' ']'
2020-05-01 07:38:19,953: INFO - [##########++++......] > Upgrading database and sources...
2020-05-01 07:38:19,956: DEBUG - + local local_src=/opt/yunohost-apps-src/gitea/gitea
2020-05-01 07:38:19,957: DEBUG - + test -e /opt/yunohost-apps-src/gitea/gitea
2020-05-01 07:38:19,957: DEBUG - ++ wget -nv -O gitea https://github.com/go-gitea/gitea/releases/download/v1.11.4/gitea-1.11.4-linux-amd64
The Gitea Upgrade was the last available log in that folder. Stopped during wget maybe.