Describe the bug
If I change the path in the Application Actions. I can't access to grocy anymore from the Panel.
Context
- Hardware: Raspberry Pi at home
- YunoHost version: 4.3.3
- I have access to my server: Through SSH | through the webadmin
- Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
Steps to reproduce
- Install grocy
- after installing grocy
- Go to 'Application'
- Click on 'grocy'
- Scroll down to 'Change URL' to maindomain.tld/grocy
- Save
- can't access to grocy anymore
Expected behavior
Access to grocy in the subdirectory maindomain.tld/grocy
Logs
see below the log
I see:
2021-11-24 21:41:58,338: DEBUG - + change_path=0
Is that right?
args:
app: grocy
domain: maindomain.tld
path: /grocy
ended_at: 2021-11-24 21:42:00.994622
env:
BASH_XTRACEFD: '7'
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_e7hkw14o
YNH_APP_ID: grocy
YNH_APP_INSTANCE_NAME: grocy
YNH_APP_INSTANCE_NUMBER: '1'
YNH_APP_MANIFEST_VERSION: 3.1.3~ynh2
YNH_APP_NEW_DOMAIN: maindomain.tld
YNH_APP_NEW_PATH: /grocy
YNH_APP_OLD_DOMAIN: maindomain.tld
YNH_APP_OLD_PATH: /
YNH_ARCH: armhf
YNH_CWD: /var/cache/yunohost/app_tmp_work_dirs/app_e7hkw14o/scripts
YNH_INTERFACE: api
YNH_STDRETURN: /tmp/tmpxznp6fx1/stdreturn
error: null
interface: api
operation: app_change_url
parent: null
related_to:
-
-
- domain
- maindomain.tld
started_at: 2021-11-24 21:41:40.692118
success: true
yunohost_version: 4.3.3
============
2021-11-24 21:41:40,719: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./change_url" 7>&1']'
2021-11-24 21:41:40,738: DEBUG - + source _common.sh
2021-11-24 21:41:40,739: DEBUG - ++ YNH_PHP_VERSION=8.0
2021-11-24 21:41:40,740: DEBUG - ++ pkg_dependencies='php8.0-mbstring php8.0-fileinfo php8.0-sqlite3 php8.0-gd php8.0-json php8.0-intl'
2021-11-24 21:41:40,740: DEBUG - + source /usr/share/yunohost/helpers
2021-11-24 21:41:40,743: DEBUG - +++ set +o
2021-11-24 21:41:40,743: DEBUG - +++ grep xtrace
2021-11-24 21:41:40,747: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-11-24 21:41:40,748: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-11-24 21:41:40,825: DEBUG - + old_domain=maindomain.tld
2021-11-24 21:41:40,825: DEBUG - + old_path=/
2021-11-24 21:41:40,826: DEBUG - + new_domain=maindomain.tld
2021-11-24 21:41:40,826: DEBUG - + new_path=/
2021-11-24 21:41:40,826: DEBUG - + app=grocy
2021-11-24 21:41:41,058: INFO - [+...................] > Loading installation settings...
2021-11-24 21:41:41,061: DEBUG - ++ ynh_app_setting_get --app=grocy --key=final_path
2021-11-24 21:41:41,061: DEBUG - ++ local globalapp=grocy
2021-11-24 21:41:41,149: DEBUG - ++ app=grocy
2021-11-24 21:41:41,149: DEBUG - ++ [[ final_path =~ (unprotected|protected|skipped) ]]
2021-11-24 21:41:41,150: DEBUG - ++ ynh_app_setting get grocy final_path
2021-11-24 21:41:41,277: DEBUG - + final_path=/var/www/grocy
2021-11-24 21:41:41,482: DEBUG - + ynh_backup_before_upgrade
2021-11-24 21:41:41,482: DEBUG - + '[' '!' -e /etc/yunohost/apps/grocy/scripts/backup ']'
2021-11-24 21:41:41,483: DEBUG - + backup_number=1
2021-11-24 21:41:41,483: DEBUG - + local old_backup_number=2
2021-11-24 21:41:41,484: DEBUG - + local app_bck=grocy
2021-11-24 21:41:41,484: DEBUG - + NO_BACKUP_UPGRADE=0
2021-11-24 21:41:41,485: DEBUG - + ynh_backup_archive_exists grocy-pre-upgrade1
2021-11-24 21:41:41,486: INFO - [#+++++++++++++......] > Backing up grocy before changing its URL (may take a while)...
2021-11-24 21:41:41,487: DEBUG - + yunohost backup list --output-as json --quiet
2021-11-24 21:41:41,488: DEBUG - + jq -e --arg archive grocy-pre-upgrade1 '.archives | index($archive)'
2021-11-24 21:41:41,994: DEBUG - + backup_number=2
2021-11-24 21:41:41,994: DEBUG - + old_backup_number=1
2021-11-24 21:41:41,995: DEBUG - + BACKUP_CORE_ONLY=1
2021-11-24 21:41:41,995: DEBUG - + yunohost backup create --apps grocy --name grocy-pre-upgrade2 --debug
2021-11-24 21:41:42,353: DEBUG - 268 initializing base actions map parser for cli
2021-11-24 21:41:42,356: DEBUG - 271 loading actions map namespace 'yunohost'
2021-11-24 21:41:42,361: DEBUG - 276 building parser...
2021-11-24 21:41:42,371: DEBUG - 286 building parser took 0.009s
2021-11-24 21:41:42,374: DEBUG - 289 acquiring lock...
2021-11-24 21:41:42,445: DEBUG - 360 loading python module yunohost.backup took 0.045s
2021-11-24 21:41:42,445: DEBUG - 360 processing action [8548.1]: yunohost.backup.create with args={'name': 'grocy-pre-upgrade2', 'description': None, 'output_directory': None, 'methods': None, 'system': None, 'apps': ['grocy'], 'dry_run': False}
2021-11-24 21:41:42,506: DEBUG - 421 Collecting files to be backed up for grocy...
2021-11-24 21:41:42,543: DEBUG - 458 Executing command '['sh', '-c', '/bin/bash -x "/var/cache/yunohost/app_tmp_work_dirs/app_1zmxjg62/scripts/backup" 7>&1']'
2021-11-24 21:41:42,558: DEBUG - 472 + source ../settings/scripts/_common.sh
2021-11-24 21:41:42,558: DEBUG - 473 ++ YNH_PHP_VERSION=8.0
2021-11-24 21:41:42,559: DEBUG - 474 ++ pkg_dependencies='php8.0-mbstring php8.0-fileinfo php8.0-sqlite3 php8.0-gd php8.0-json php8.0-intl'
2021-11-24 21:41:42,559: DEBUG - 474 + source /usr/share/yunohost/helpers
2021-11-24 21:41:42,561: DEBUG - 476 +++ set +o
2021-11-24 21:41:42,562: DEBUG - 477 +++ grep xtrace
2021-11-24 21:41:42,567: DEBUG - 481 ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-11-24 21:41:42,568: DEBUG - 482 ++ XTRACE_ENABLE='set -o xtrace'
2021-11-24 21:41:42,643: DEBUG - 558 + ynh_abort_if_errors
2021-11-24 21:41:42,645: DEBUG - 559 + trap ynh_exit_properly EXIT
2021-11-24 21:41:42,645: DEBUG - 559 + ynh_print_info '--message=Loading installation settings...'
2021-11-24 21:41:42,673: DEBUG - 588 + echo 'Loading installation settings...'
2021-11-24 21:41:42,674: DEBUG - 589 Loading installation settings...
2021-11-24 21:41:42,674: DEBUG - 589 + app=grocy
2021-11-24 21:41:42,675: DEBUG - 590 ++ ynh_app_setting_get --app=grocy --key=final_path
2021-11-24 21:41:42,676: DEBUG - 591 ++ local globalapp=grocy
2021-11-24 21:41:42,763: DEBUG - 678 ++ app=grocy
2021-11-24 21:41:42,763: DEBUG - 678 ++ [[ final_path =~ (unprotected|protected|skipped) ]]
2021-11-24 21:41:42,764: DEBUG - 679 ++ ynh_app_setting get grocy final_path
2021-11-24 21:41:42,893: DEBUG - 808 + final_path=/var/www/grocy
2021-11-24 21:41:42,894: DEBUG - 810 ++ ynh_app_setting_get --app=grocy --key=domain
2021-11-24 21:41:42,895: DEBUG - 810 ++ local globalapp=grocy
2021-11-24 21:41:42,983: DEBUG - 898 ++ app=grocy
2021-11-24 21:41:42,983: DEBUG - 898 ++ [[ domain =~ (unprotected|protected|skipped) ]]
2021-11-24 21:41:42,984: DEBUG - 899 ++ ynh_app_setting get grocy domain
2021-11-24 21:41:43,113: DEBUG - 1028 + domain=maindomain.tld
2021-11-24 21:41:43,114: DEBUG - 1029 ++ ynh_app_setting_get --app=grocy --key=phpversion
2021-11-24 21:41:43,115: DEBUG - 1030 ++ local globalapp=grocy
2021-11-24 21:41:43,203: DEBUG - 1117 ++ app=grocy
2021-11-24 21:41:43,203: DEBUG - 1118 ++ [[ phpversion =~ (unprotected|protected|skipped) ]]
2021-11-24 21:41:43,204: DEBUG - 1119 ++ ynh_app_setting get grocy phpversion
2021-11-24 21:41:43,332: DEBUG - 1247 + phpversion=8.0
2021-11-24 21:41:43,332: DEBUG - 1247 + ynh_print_info '--message=Declaring files to be backed up...'
2021-11-24 21:41:43,360: DEBUG - 1275 + echo 'Declaring files to be backed up...'
2021-11-24 21:41:43,361: DEBUG - 1276 Declaring files to be backed up...
2021-11-24 21:41:43,361: DEBUG - 1276 + ynh_backup --src_path=/var/www/grocy
2021-11-24 21:41:43,453: DEBUG - 1368 + dest_path=
2021-11-24 21:41:43,454: DEBUG - 1369 + is_big=0
2021-11-24 21:41:43,454: DEBUG - 1369 + not_mandatory=0
2021-11-24 21:41:43,455: DEBUG - 1369 + BACKUP_CORE_ONLY=1
2021-11-24 21:41:43,455: DEBUG - 1370 + test -n grocy
2021-11-24 21:41:43,456: DEBUG - 1370 ++ ynh_app_setting_get --app=grocy --key=do_not_backup_data
2021-11-24 21:41:43,456: DEBUG - 1371 ++ local globalapp=grocy
2021-11-24 21:41:43,546: DEBUG - 1461 ++ app=grocy
2021-11-24 21:41:43,547: DEBUG - 1462 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped) ]]
2021-11-24 21:41:43,547: DEBUG - 1462 ++ ynh_app_setting get grocy do_not_backup_data
2021-11-24 21:41:43,676: DEBUG - 1591 + do_not_backup_data=
2021-11-24 21:41:43,677: DEBUG - 1592 + '[' '!' -e /var/www/grocy ']'
2021-11-24 21:41:43,679: DEBUG - 1594 ++ realpath /var/www/grocy
2021-11-24 21:41:43,683: DEBUG - 1598 + src_path=/var/www/grocy
2021-11-24 21:41:43,683: DEBUG - 1598 + [[ -z '' ]]
2021-11-24 21:41:43,684: DEBUG - 1599 + dest_path=var/www/grocy
2021-11-24 21:41:43,684: DEBUG - 1599 + [[ -e var/www/grocy ]]
2021-11-24 21:41:43,685: DEBUG - 1600 + local rel_dir=/apps/grocy/backup
2021-11-24 21:41:43,685: DEBUG - 1600 + rel_dir=/apps/grocy/backup/
2021-11-24 21:41:43,686: DEBUG - 1601 + dest_path=/apps/grocy/backup/var/www/grocy
2021-11-24 21:41:43,687: DEBUG - 1601 + dest_path=apps/grocy/backup/var/www/grocy
2021-11-24 21:41:43,687: DEBUG - 1602 ++ echo /var/www/grocy
2021-11-24 21:41:43,689: DEBUG - 1604 ++ sed --regexp-extended 's/"/""/g'
2021-11-24 21:41:43,695: DEBUG - 1610 + local src=/var/www/grocy
2021-11-24 21:41:43,698: DEBUG - 1613 ++ echo apps/grocy/backup/var/www/grocy
2021-11-24 21:41:43,699: DEBUG - 1614 ++ sed --regexp-extended 's/"/""/g'
2021-11-24 21:41:43,705: DEBUG - 1620 + local dest=apps/grocy/backup/var/www/grocy
2021-11-24 21:41:43,706: DEBUG - 1621 + echo '"/var/www/grocy","apps/grocy/backup/var/www/grocy"'
2021-11-24 21:41:43,707: DEBUG - 1622 ++ dirname /home/yunohost.backup/tmp/grocy-pre-upgrade2/apps/grocy/backup/var/www/grocy
2021-11-24 21:41:43,711: DEBUG - 1626 + mkdir --parents /home/yunohost.backup/tmp/grocy-pre-upgrade2/apps/grocy/backup/var/www
2021-11-24 21:41:43,715: DEBUG - 1630 + ynh_backup --src_path=/etc/nginx/conf.d/maindomain.tld.d/grocy.conf
2021-11-24 21:41:43,812: DEBUG - 1727 + dest_path=
2021-11-24 21:41:43,813: DEBUG - 1728 + is_big=0
2021-11-24 21:41:43,813: DEBUG - 1728 + not_mandatory=0
2021-11-24 21:41:43,814: DEBUG - 1729 + BACKUP_CORE_ONLY=1
2021-11-24 21:41:43,814: DEBUG - 1729 + test -n grocy
2021-11-24 21:41:43,815: DEBUG - 1730 ++ ynh_app_setting_get --app=grocy --key=do_not_backup_data
2021-11-24 21:41:43,815: DEBUG - 1730 ++ local globalapp=grocy
2021-11-24 21:41:43,906: DEBUG - 1821 ++ app=grocy
2021-11-24 21:41:43,906: DEBUG - 1821 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped) ]]
2021-11-24 21:41:43,907: DEBUG - 1822 ++ ynh_app_setting get grocy do_not_backup_data
2021-11-24 21:41:44,036: DEBUG - 1951 + do_not_backup_data=
2021-11-24 21:41:44,037: DEBUG - 1952 + '[' '!' -e /etc/nginx/conf.d/maindomain.tld.d/grocy.conf ']'
2021-11-24 21:41:44,038: DEBUG - 1953 ++ realpath /etc/nginx/conf.d/maindomain.tld.d/grocy.conf
2021-11-24 21:41:44,041: DEBUG - 1956 + src_path=/etc/nginx/conf.d/maindomain.tld.d/grocy.conf
2021-11-24 21:41:44,042: DEBUG - 1957 + [[ -z '' ]]
2021-11-24 21:41:44,042: DEBUG - 1957 + dest_path=etc/nginx/conf.d/maindomain.tld.d/grocy.conf
2021-11-24 21:41:44,043: DEBUG - 1958 + [[ -e etc/nginx/conf.d/maindomain.tld.d/grocy.conf ]]
2021-11-24 21:41:44,043: DEBUG - 1958 + local rel_dir=/apps/grocy/backup
2021-11-24 21:41:44,044: DEBUG - 1958 + rel_dir=/apps/grocy/backup/
2021-11-24 21:41:44,044: DEBUG - 1959 + dest_path=/apps/grocy/backup/etc/nginx/conf.d/maindomain.tld.d/grocy.conf
2021-11-24 21:41:44,045: DEBUG - 1959 + dest_path=apps/grocy/backup/etc/nginx/conf.d/maindomain.tld.d/grocy.conf
2021-11-24 21:41:44,046: DEBUG - 1960 ++ echo /etc/nginx/conf.d/maindomain.tld.d/grocy.conf
2021-11-24 21:41:44,047: DEBUG - 1962 ++ sed --regexp-extended 's/"/""/g'
2021-11-24 21:41:44,053: DEBUG - 1968 + local src=/etc/nginx/conf.d/maindomain.tld.d/grocy.conf
2021-11-24 21:41:44,056: DEBUG - 1970 ++ echo apps/grocy/backup/etc/nginx/conf.d/maindomain.tld.d/grocy.conf
2021-11-24 21:41:44,056: DEBUG - 1971 ++ sed --regexp-extended 's/"/""/g'
2021-11-24 21:41:44,063: DEBUG - 1978 + local dest=apps/grocy/backup/etc/nginx/conf.d/maindomain.tld.d/grocy.conf
2021-11-24 21:41:44,063: DEBUG - 1978 + echo '"/etc/nginx/conf.d/maindomain.tld.d/grocy.conf","apps/grocy/backup/etc/nginx/conf.d/maindomain.tld.d/grocy.conf"'
2021-11-24 21:41:44,065: DEBUG - 1980 ++ dirname /home/yunohost.backup/tmp/grocy-pre-upgrade2/apps/grocy/backup/etc/nginx/conf.d/maindomain.tld.d/grocy.conf
2021-11-24 21:41:44,068: DEBUG - 1983 + mkdir --parents /home/yunohost.backup/tmp/grocy-pre-upgrade2/apps/grocy/backup/etc/nginx/conf.d/maindomain.tld.d
2021-11-24 21:41:44,073: DEBUG - 1988 + ynh_backup --src_path=/etc/php/8.0/fpm/pool.d/grocy.conf
2021-11-24 21:41:44,168: DEBUG - 2083 + dest_path=
2021-11-24 21:41:44,169: DEBUG - 2084 + is_big=0
2021-11-24 21:41:44,169: DEBUG - 2084 + not_mandatory=0
2021-11-24 21:41:44,170: DEBUG - 2084 + BACKUP_CORE_ONLY=1
2021-11-24 21:41:44,170: DEBUG - 2085 + test -n grocy
2021-11-24 21:41:44,171: DEBUG - 2085 ++ ynh_app_setting_get --app=grocy --key=do_not_backup_data
2021-11-24 21:41:44,171: DEBUG - 2086 ++ local globalapp=grocy
2021-11-24 21:41:44,262: DEBUG - 2177 ++ app=grocy
2021-11-24 21:41:44,262: DEBUG - 2177 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped) ]]
2021-11-24 21:41:44,263: DEBUG - 2178 ++ ynh_app_setting get grocy do_not_backup_data
2021-11-24 21:41:44,391: DEBUG - 2305 + do_not_backup_data=
2021-11-24 21:41:44,391: DEBUG - 2306 + '[' '!' -e /etc/php/8.0/fpm/pool.d/grocy.conf ']'
2021-11-24 21:41:44,393: DEBUG - 2308 ++ realpath /etc/php/8.0/fpm/pool.d/grocy.conf
2021-11-24 21:41:44,397: DEBUG - 2312 + src_path=/etc/php/8.0/fpm/pool.d/grocy.conf
2021-11-24 21:41:44,398: DEBUG - 2313 + [[ -z '' ]]
2021-11-24 21:41:44,398: DEBUG - 2313 + dest_path=etc/php/8.0/fpm/pool.d/grocy.conf
2021-11-24 21:41:44,399: DEBUG - 2314 + [[ -e etc/php/8.0/fpm/pool.d/grocy.conf ]]
2021-11-24 21:41:44,399: DEBUG - 2314 + local rel_dir=/apps/grocy/backup
2021-11-24 21:41:44,400: DEBUG - 2314 + rel_dir=/apps/grocy/backup/
2021-11-24 21:41:44,400: DEBUG - 2315 + dest_path=/apps/grocy/backup/etc/php/8.0/fpm/pool.d/grocy.conf
2021-11-24 21:41:44,401: DEBUG - 2315 + dest_path=apps/grocy/backup/etc/php/8.0/fpm/pool.d/grocy.conf
2021-11-24 21:41:44,401: DEBUG - 2316 ++ echo /etc/php/8.0/fpm/pool.d/grocy.conf
2021-11-24 21:41:44,402: DEBUG - 2317 ++ sed --regexp-extended 's/"/""/g'
2021-11-24 21:41:44,408: DEBUG - 2323 + local src=/etc/php/8.0/fpm/pool.d/grocy.conf
2021-11-24 21:41:44,411: DEBUG - 2326 ++ echo apps/grocy/backup/etc/php/8.0/fpm/pool.d/grocy.conf
2021-11-24 21:41:44,412: DEBUG - 2327 ++ sed --regexp-extended 's/"/""/g'
2021-11-24 21:41:44,419: DEBUG - 2333 + local dest=apps/grocy/backup/etc/php/8.0/fpm/pool.d/grocy.conf
2021-11-24 21:41:44,419: DEBUG - 2334 + echo '"/etc/php/8.0/fpm/pool.d/grocy.conf","apps/grocy/backup/etc/php/8.0/fpm/pool.d/grocy.conf"'
2021-11-24 21:41:44,421: DEBUG - 2336 ++ dirname /home/yunohost.backup/tmp/grocy-pre-upgrade2/apps/grocy/backup/etc/php/8.0/fpm/pool.d/grocy.conf
2021-11-24 21:41:44,424: DEBUG - 2339 + mkdir --parents /home/yunohost.backup/tmp/grocy-pre-upgrade2/apps/grocy/backup/etc/php/8.0/fpm/pool.d
2021-11-24 21:41:44,429: DEBUG - 2344 + ynh_print_info '--message=Backup script completed for grocy. (YunoHost will then actually copy those files to the archive).'
2021-11-24 21:41:44,460: DEBUG - 2375 + echo 'Backup script completed for grocy. (YunoHost will then actually copy those files to the archive).'
2021-11-24 21:41:44,461: DEBUG - 2376 + ynh_exit_properly
2021-11-24 21:41:44,463: DEBUG - 2378 Backup script completed for grocy. (YunoHost will then actually copy those files to the archive).
2021-11-24 21:41:44,464: DEBUG - 2379 + exit 0
2021-11-24 21:41:45,485: DEBUG - 3399 Backup permission for grocy
2021-11-24 21:41:45,666: DEBUG - 3581 initializing ldap interface
2021-11-24 21:41:45,989: DEBUG - 3903 Creating a backup archive from the collected files...
2021-11-24 21:41:45,989: DEBUG - 3904 The archive will contain about 141.3MiB of data.
2021-11-24 21:41:45,990: DEBUG - 3905 Creating the backup TAR archive...
2021-11-24 21:41:57,048: DEBUG - 14963 TAR backup archive created
2021-11-24 21:41:57,049: DEBUG - 14964 Backup created
2021-11-24 21:41:57,055: DEBUG - 14970 To view the log of the operation 'Create a backup archive', use the command 'yunohost log show 20211124-214142-backup_create'
2021-11-24 21:41:57,076: DEBUG - 14990 action [8548.1] executed in 14.630s
2021-11-24 21:41:57,076: DEBUG - name: grocy-pre-upgrade2
2021-11-24 21:41:57,077: DEBUG - results:
2021-11-24 21:41:57,077: DEBUG - apps:
2021-11-24 21:41:57,078: DEBUG - grocy: Success
2021-11-24 21:41:57,078: DEBUG - system:
2021-11-24 21:41:57,078: DEBUG - size: 148158735
2021-11-24 21:41:57,216: DEBUG - + ynh_backup_archive_exists grocy-pre-upgrade1
2021-11-24 21:41:57,217: DEBUG - + yunohost backup list --output-as json --quiet
2021-11-24 21:41:57,217: DEBUG - + jq -e --arg archive grocy-pre-upgrade1 '.archives | index($archive)'
2021-11-24 21:41:57,725: DEBUG - + yunohost backup delete grocy-pre-upgrade1
2021-11-24 21:41:58,336: DEBUG - + ynh_abort_if_errors
2021-11-24 21:41:58,337: DEBUG - + trap ynh_exit_properly EXIT
2021-11-24 21:41:58,337: DEBUG - + change_domain=0
2021-11-24 21:41:58,338: DEBUG - + '[' maindomain.tld '!=' maindomain.tld ']'
2021-11-24 21:41:58,338: DEBUG - + change_path=0
2021-11-24 21:41:58,338: DEBUG - + '[' / '!=' / ']'
2021-11-24 21:41:58,540: INFO - [##############++....] > Updating NGINX web server configuration...
2021-11-24 21:41:58,542: DEBUG - + nginx_conf_path=/etc/nginx/conf.d/maindomain.tld.d/grocy.conf
2021-11-24 21:41:58,755: INFO - [################++..] > Reloading NGINX web server...
2021-11-24 21:41:58,757: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2021-11-24 21:41:59,021: DEBUG - + service_name=nginx
2021-11-24 21:41:59,022: DEBUG - + action=reload
2021-11-24 21:41:59,023: DEBUG - + line_match=
2021-11-24 21:41:59,024: DEBUG - + length=20
2021-11-24 21:41:59,024: DEBUG - + log_path=/var/log/nginx/nginx.log
2021-11-24 21:41:59,025: DEBUG - + timeout=300
2021-11-24 21:41:59,025: DEBUG - + '[' reload == stop ']'
2021-11-24 21:41:59,026: DEBUG - + '[' reload == reload ']'
2021-11-24 21:41:59,027: DEBUG - + action=reload-or-restart
2021-11-24 21:41:59,027: DEBUG - + systemctl reload-or-restart nginx
2021-11-24 21:41:59,411: INFO - [####################] > Change of URL completed for grocy
2021-11-24 21:41:59,414: DEBUG - + ynh_exit_properly
2021-11-24 21:42:00,548: DEBUG - Konfiguration von SSOwat neu erstellt
2021-11-24 21:42:00,582: DEBUG - Reloading service nginx
2021-11-24 21:42:00,855: DEBUG - Running 'systemctl reload-or-restart nginx'
2021-11-24 21:42:00,990: SUCCESS - Der Dienst 'nginx' wurde erfolgreich neu geladen oder gestartet
2021-11-24 21:42:00,993: SUCCESS - grocy URL ist nun maindomain.tld/grocy
Additional information from grocy to get grocy running in sub-directory:
grocy/grocy#694 (comment)
I am asking me, if there are in the script some additions to conf file missing?
Panel
The tile points to the new path maindomain.tld/grocy