Thanks!! It works
Now I found a new problem
I can’t install any app
For example, I tried to install Lstu
But it failed
log of installation
2020-05-12 17:53:08,317: INFO - Installing the app 'lstu'…
2020-05-12 17:53:08,396: DEBUG - The permission database has been resynchronized
2020-05-12 17:53:08,470: DEBUG - SSOwat configuration generated
2020-05-12 17:53:08,478: DEBUG - No default hook for action 'post_app_addaccess' in /usr/share/yunohost/hooks/
2020-05-12 17:53:08,478: DEBUG - No custom hook for action 'post_app_addaccess' in /etc/yunohost/hooks.d/
2020-05-12 17:53:08,479: DEBUG - Permission 'lstu.main' created
2020-05-12 17:53:08,479: DEBUG - Full log of this operation: '<a href="#/tools/logs/20200512-145308-permission_create-lstu" style="text-decoration:underline">Create permission 'lstu'</a>'
2020-05-12 17:53:08,482: DEBUG - Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/lstu_ynh-2d33783907d6de4486ac9e954ebc4b4028e11de8/scripts YNH_APP_ARG_THEME=milligram YNH_APP_INSTANCE_NAME=lstu YNH_STDINFO=/tmp/tmpvkp6sE/stdinfo YNH_APP_ARG_PASSWORD='**********' YNH_APP_ARG_IS_PUBLIC=0 YNH_INTERFACE=api YNH_APP_ID=lstu YNH_APP_ARG_PATH=/lstu YNH_STDRETURN=/tmp/tmppmLnD3/stdreturn YNH_APP_ARG_DOMAIN=examply.com BASH_XTRACEFD=7 /bin/bash -x "./install" examply.com /lstu 0 milligram '**********' lstu 7>&1'…
2020-05-12 17:53:08,482: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/lstu_ynh-2d33783907d6de4486ac9e954ebc4b4028e11de8/scripts YNH_APP_ARG_THEME=milligram YNH_APP_INSTANCE_NAME=lstu YNH_STDINFO=/tmp/tmpvkp6sE/stdinfo YNH_APP_ARG_PASSWORD=\'I\xd7\x90\xd7\xa9\xd7\x98121233\' YNH_APP_ARG_IS_PUBLIC=0 YNH_INTERFACE=api YNH_APP_ID=lstu YNH_APP_ARG_PATH=/lstu YNH_STDRETURN=/tmp/tmppmLnD3/stdreturn YNH_APP_ARG_DOMAIN=examply.com BASH_XTRACEFD=7 /bin/bash -x "./install" examply.com /lstu 0 milligram \'I\xd7\x90\xd7\xa9\xd7\x98121233\' lstu 7>&1']'
2020-05-12 17:53:08,591: DEBUG - + source _common.sh
2020-05-12 17:53:08,592: INFO - Validating installation parameters...
2020-05-12 17:53:08,593: DEBUG - + source /usr/share/yunohost/helpers
2020-05-12 17:53:08,593: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2020-05-12 17:53:08,593: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-12 17:53:08,593: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2020-05-12 17:53:08,593: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2020-05-12 17:53:08,593: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-12 17:53:08,594: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2020-05-12 17:53:08,594: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2020-05-12 17:53:08,594: DEBUG - +++ CAN_BIND=1
2020-05-12 17:53:08,594: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-12 17:53:08,594: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2020-05-12 17:53:08,594: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2020-05-12 17:53:08,594: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-12 17:53:08,594: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2020-05-12 17:53:08,595: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2020-05-12 17:53:08,595: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-12 17:53:08,595: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2020-05-12 17:53:08,595: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2020-05-12 17:53:08,595: DEBUG - +++ increment_progression=0
2020-05-12 17:53:08,595: DEBUG - +++ previous_weight=0
2020-05-12 17:53:08,595: DEBUG - +++ max_progression=-1
2020-05-12 17:53:08,595: DEBUG - +++ progress_scale=20
2020-05-12 17:53:08,596: DEBUG - +++ progress_string2='####################'
2020-05-12 17:53:08,596: DEBUG - +++ progress_string1=++++++++++++++++++++
2020-05-12 17:53:08,596: DEBUG - +++ progress_string0=....................
2020-05-12 17:53:08,596: DEBUG - ++++ date +%s
2020-05-12 17:53:08,596: DEBUG - +++ base_time=1589295188
2020-05-12 17:53:08,596: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-12 17:53:08,596: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2020-05-12 17:53:08,596: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2020-05-12 17:53:08,596: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-12 17:53:08,597: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2020-05-12 17:53:08,597: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2020-05-12 17:53:08,597: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2020-05-12 17:53:08,597: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-12 17:53:08,597: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2020-05-12 17:53:08,597: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2020-05-12 17:53:08,598: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-12 17:53:08,598: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2020-05-12 17:53:08,598: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2020-05-12 17:53:08,598: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-12 17:53:08,598: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2020-05-12 17:53:08,598: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2020-05-12 17:53:08,598: DEBUG - +++ n_install_dir=/opt/node_n
2020-05-12 17:53:08,598: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2020-05-12 17:53:08,599: DEBUG - +++ export N_PREFIX=/opt/node_n
2020-05-12 17:53:08,599: DEBUG - +++ N_PREFIX=/opt/node_n
2020-05-12 17:53:08,599: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-12 17:53:08,599: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2020-05-12 17:53:08,599: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2020-05-12 17:53:08,599: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-12 17:53:08,599: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2020-05-12 17:53:08,599: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2020-05-12 17:53:08,599: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2020-05-12 17:53:08,600: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-12 17:53:08,600: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2020-05-12 17:53:08,600: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2020-05-12 17:53:08,600: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-12 17:53:08,600: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2020-05-12 17:53:08,600: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2020-05-12 17:53:08,600: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-12 17:53:08,600: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2020-05-12 17:53:08,601: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2020-05-12 17:53:08,601: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-12 17:53:08,601: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2020-05-12 17:53:08,601: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2020-05-12 17:53:08,601: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-12 17:53:08,601: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2020-05-12 17:53:08,601: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2020-05-12 17:53:08,601: DEBUG - + ynh_abort_if_errors
2020-05-12 17:53:08,602: DEBUG - + set -eu
2020-05-12 17:53:08,602: DEBUG - + trap ynh_exit_properly EXIT
2020-05-12 17:53:08,602: DEBUG - + domain=examply.com
2020-05-12 17:53:08,602: DEBUG - + path_url=/lstu
2020-05-12 17:53:08,602: DEBUG - + is_public=0
2020-05-12 17:53:08,602: DEBUG - + theme=milligram
2020-05-12 17:53:08,602: DEBUG - + password=**********
2020-05-12 17:53:08,602: DEBUG - + app=lstu
2020-05-12 17:53:08,602: DEBUG - + ynh_print_info 'Validating installation parameters...'
2020-05-12 17:53:08,603: DEBUG - + local legacy_args=m
2020-05-12 17:53:08,603: DEBUG - + args_array=([m]=message=)
2020-05-12 17:53:08,603: DEBUG - + declare -Ar args_array
2020-05-12 17:53:08,603: DEBUG - + local message
2020-05-12 17:53:08,603: DEBUG - + ynh_handle_getopts_args 'Validating installation parameters...'
2020-05-12 17:53:08,603: DEBUG - + set +x
2020-05-12 17:53:08,603: DEBUG - + echo '! Helper used in legacy mode !'
2020-05-12 17:53:08,603: DEBUG - + set +x
2020-05-12 17:53:08,603: DEBUG - + echo 'Validating installation parameters...'
2020-05-12 17:53:08,604: DEBUG - + final_path=/var/www/lstu
2020-05-12 17:53:08,604: DEBUG - + test '!' -e /var/www/lstu
2020-05-12 17:53:08,604: DEBUG - ++ ynh_normalize_url_path /lstu
2020-05-12 17:53:08,604: DEBUG - ++ local legacy_args=p
2020-05-12 17:53:08,604: DEBUG - ++ args_array=([p]=path_url=)
2020-05-12 17:53:08,604: DEBUG - ++ declare -Ar args_array
2020-05-12 17:53:08,604: DEBUG - ++ local path_url
2020-05-12 17:53:08,604: DEBUG - ++ ynh_handle_getopts_args /lstu
2020-05-12 17:53:08,604: DEBUG - ++ set +x
2020-05-12 17:53:08,605: DEBUG - ++ echo '! Helper used in legacy mode !'
2020-05-12 17:53:08,605: DEBUG - ++ set +x
2020-05-12 17:53:08,605: DEBUG - ++ test -n /lstu
2020-05-12 17:53:08,605: DEBUG - ++ '[' / '!=' / ']'
2020-05-12 17:53:08,605: DEBUG - ++ '[' u == / ']'
2020-05-12 17:53:08,605: DEBUG - ++ echo /lstu
2020-05-12 17:53:08,605: DEBUG - + path_url=/lstu
2020-05-12 17:53:08,605: DEBUG - + ynh_webpath_available examply.com /lstu
2020-05-12 17:53:08,606: DEBUG - + local legacy_args=dp
2020-05-12 17:53:08,606: DEBUG - + args_array=([d]=domain= [p]=path_url=)
2020-05-12 17:53:08,606: DEBUG - + declare -Ar args_array
2020-05-12 17:53:08,606: DEBUG - + local domain
2020-05-12 17:53:08,606: DEBUG - + local path_url
2020-05-12 17:53:08,606: DEBUG - + ynh_handle_getopts_args examply.com /lstu
2020-05-12 17:53:08,606: DEBUG - + set +x
2020-05-12 17:53:08,606: DEBUG - + echo '! Helper used in legacy mode !'
2020-05-12 17:53:08,606: DEBUG - + set +x
2020-05-12 17:53:08,607: DEBUG - + yunohost domain url-available examply.com /lstu
2020-05-12 17:53:08,707: DEBUG - + ynh_exit_properly
2020-05-12 17:53:08,707: WARNING - Traceback (most recent call last):
2020-05-12 17:53:08,708: DEBUG - + local exit_code=1
2020-05-12 17:53:08,708: WARNING - File "/usr/bin/yunohost", line 218, in <module>
2020-05-12 17:53:08,708: DEBUG - + '[' 1 -eq 0 ']'
2020-05-12 17:53:08,708: WARNING - timeout=opts.timeout,
2020-05-12 17:53:08,709: DEBUG - + trap '' EXIT
2020-05-12 17:53:08,709: WARNING - File "/usr/lib/python2.7/dist-packages/moulinette/__init__.py", line 132, in cli
2020-05-12 17:53:08,709: DEBUG - + set +eu
2020-05-12 17:53:08,709: WARNING - 'parser_kwargs': parser_kwargs,
2020-05-12 17:53:08,709: DEBUG - + sleep 0.5
2020-05-12 17:53:08,710: WARNING - File "/usr/lib/python2.7/dist-packages/moulinette/core.py", line 398, in init_interface
2020-05-12 17:53:08,710: WARNING - return interface(amap, **kwargs)
2020-05-12 17:53:08,710: WARNING - File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/cli.py", line 387, in __init__
2020-05-12 17:53:08,711: WARNING - m18n.set_locale(get_locale())
2020-05-12 17:53:08,711: WARNING - File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/cli.py", line 171, in get_locale
2020-05-12 17:53:08,711: WARNING - lang = locale.getdefaultlocale()[0]
2020-05-12 17:53:08,712: WARNING - File "/usr/lib/python2.7/locale.py", line 545, in getdefaultlocale
2020-05-12 17:53:08,712: WARNING - return _parse_localename(localename)
2020-05-12 17:53:08,712: WARNING - File "/usr/lib/python2.7/locale.py", line 477, in _parse_localename
2020-05-12 17:53:08,712: WARNING - raise ValueError, 'unknown locale: %s' % localename
2020-05-12 17:53:08,713: WARNING - ValueError: unknown locale: en_IL
2020-05-12 17:53:09,215: DEBUG - + type -t ynh_clean_setup
2020-05-12 17:53:09,215: WARNING -
2020-05-12 17:53:09,215: DEBUG - + ynh_clean_setup
2020-05-12 17:53:09,215: DEBUG - + ynh_clean_check_starting
2020-05-12 17:53:09,215: DEBUG - + '[' -n '' ']'
2020-05-12 17:53:09,216: DEBUG - + '[' -n '' ']'
2020-05-12 17:53:09,216: DEBUG - + true
2020-05-12 17:53:09,216: DEBUG - + ynh_die
2020-05-12 17:53:09,216: DEBUG - + local legacy_args=mc
2020-05-12 17:53:09,216: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2020-05-12 17:53:09,216: DEBUG - + declare -Ar args_array
2020-05-12 17:53:09,216: DEBUG - + local message
2020-05-12 17:53:09,216: DEBUG - + local ret_code
2020-05-12 17:53:09,216: DEBUG - + ynh_handle_getopts_args
2020-05-12 17:53:09,217: DEBUG - + set +x
2020-05-12 17:53:09,217: DEBUG - + echo ''
2020-05-12 17:53:09,217: DEBUG - + exit 1
2020-05-12 17:53:09,352: ERROR - Could not install lstu: An error occurred inside the app installation script