· 6 years ago · Jan 01, 2020, 11:54 AM
12020-01-01 12:44:38,844: INFO - Installing application mastodon…
22020-01-01 12:44:39,068: DEBUG - Ejecutando el comando 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ARG_LANGUAGE=en_EN YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmp0KMKjR/stdinfo YNH_CWD=/var/cache/yunohost/from_file/mastodon_ynh-7c299ee01c2e596ae1e89333bb20032ba5dbeef5/scripts YNH_APP_INSTANCE_NAME=mastodon YNH_APP_ARG_ADMIN=dav YNH_INTERFACE=api YNH_APP_ID=mastodon YNH_STDRETURN=/tmp/tmplOLW7u/stdreturn YNH_APP_ARG_DOMAIN=fediverso.net BASH_XTRACEFD=7 /bin/bash -x "./install" fediverso.net dav 1 en_EN mastodon 7>&1'...
32020-01-01 12:44:39,068: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ARG_LANGUAGE=en_EN YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmp0KMKjR/stdinfo YNH_CWD=/var/cache/yunohost/from_file/mastodon_ynh-7c299ee01c2e596ae1e89333bb20032ba5dbeef5/scripts YNH_APP_INSTANCE_NAME=mastodon YNH_APP_ARG_ADMIN=dav YNH_INTERFACE=api YNH_APP_ID=mastodon YNH_STDRETURN=/tmp/tmplOLW7u/stdreturn YNH_APP_ARG_DOMAIN=fediverso.net BASH_XTRACEFD=7 /bin/bash -x "./install" fediverso.net dav 1 en_EN mastodon 7>&1']'
42020-01-01 12:44:39,092: DEBUG - + source _common.sh
52020-01-01 12:44:39,095: DEBUG - ++ pkg_dependencies='imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev file git-core g++ libprotobuf-dev protobuf-compiler pkg-config gcc autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev redis-server redis-tools postgresql postgresql-contrib libidn11-dev libicu-dev libjemalloc-dev curl apt-transport-https'
62020-01-01 12:44:39,095: DEBUG - + source ynh_install_ruby__2
72020-01-01 12:44:39,095: DEBUG - ++ rbenv_install_dir=/opt/rbenv
82020-01-01 12:44:39,096: DEBUG - ++ export RBENV_ROOT=/opt/rbenv
92020-01-01 12:44:39,096: DEBUG - ++ RBENV_ROOT=/opt/rbenv
102020-01-01 12:44:39,096: DEBUG - + source ynh_add_extra_apt_repos__3
112020-01-01 12:44:39,096: DEBUG - + source ynh_send_readme_to_admin__2
122020-01-01 12:44:39,097: DEBUG - + source ynh_add_swap
132020-01-01 12:44:39,097: DEBUG - + source ynh_check_ram
142020-01-01 12:44:39,097: DEBUG - + source /usr/share/yunohost/helpers
152020-01-01 12:44:39,097: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
162020-01-01 12:44:39,198: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
172020-01-01 12:44:39,198: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
182020-01-01 12:44:39,199: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
192020-01-01 12:44:39,199: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
202020-01-01 12:44:39,199: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
212020-01-01 12:44:39,199: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
222020-01-01 12:44:39,200: DEBUG - +++ CAN_BIND=1
232020-01-01 12:44:39,200: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
242020-01-01 12:44:39,200: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
252020-01-01 12:44:39,200: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
262020-01-01 12:44:39,201: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
272020-01-01 12:44:39,201: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
282020-01-01 12:44:39,201: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
292020-01-01 12:44:39,201: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
302020-01-01 12:44:39,201: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
312020-01-01 12:44:39,202: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
322020-01-01 12:44:39,202: DEBUG - +++ increment_progression=0
332020-01-01 12:44:39,202: DEBUG - +++ previous_weight=0
342020-01-01 12:44:39,202: DEBUG - +++ max_progression=-1
352020-01-01 12:44:39,203: DEBUG - +++ progress_scale=20
362020-01-01 12:44:39,203: DEBUG - +++ progress_string2='####################'
372020-01-01 12:44:39,203: DEBUG - +++ progress_string1=++++++++++++++++++++
382020-01-01 12:44:39,203: DEBUG - +++ progress_string0=....................
392020-01-01 12:44:39,204: DEBUG - ++++ date +%s
402020-01-01 12:44:39,204: DEBUG - +++ base_time=1577879079
412020-01-01 12:44:39,204: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
422020-01-01 12:44:39,204: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
432020-01-01 12:44:39,204: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
442020-01-01 12:44:39,205: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
452020-01-01 12:44:39,205: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
462020-01-01 12:44:39,205: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
472020-01-01 12:44:39,206: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
482020-01-01 12:44:39,206: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
492020-01-01 12:44:39,206: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
502020-01-01 12:44:39,206: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
512020-01-01 12:44:39,206: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
522020-01-01 12:44:39,207: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
532020-01-01 12:44:39,207: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
542020-01-01 12:44:39,208: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
552020-01-01 12:44:39,209: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
562020-01-01 12:44:39,209: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
572020-01-01 12:44:39,209: DEBUG - +++ n_install_dir=/opt/node_n
582020-01-01 12:44:39,209: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
592020-01-01 12:44:39,210: DEBUG - +++ export N_PREFIX=/opt/node_n
602020-01-01 12:44:39,210: DEBUG - +++ N_PREFIX=/opt/node_n
612020-01-01 12:44:39,210: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
622020-01-01 12:44:39,211: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
632020-01-01 12:44:39,211: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
642020-01-01 12:44:39,211: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
652020-01-01 12:44:39,211: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
662020-01-01 12:44:39,211: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
672020-01-01 12:44:39,212: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
682020-01-01 12:44:39,212: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
692020-01-01 12:44:39,212: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
702020-01-01 12:44:39,212: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
712020-01-01 12:44:39,213: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
722020-01-01 12:44:39,213: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
732020-01-01 12:44:39,213: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
742020-01-01 12:44:39,213: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
752020-01-01 12:44:39,214: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
762020-01-01 12:44:39,214: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
772020-01-01 12:44:39,214: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
782020-01-01 12:44:39,214: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
792020-01-01 12:44:39,214: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
802020-01-01 12:44:39,215: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
812020-01-01 12:44:39,215: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
822020-01-01 12:44:39,215: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
832020-01-01 12:44:39,215: DEBUG - + ynh_abort_if_errors
842020-01-01 12:44:39,216: DEBUG - + set -eu
852020-01-01 12:44:39,216: DEBUG - + trap ynh_exit_properly EXIT
862020-01-01 12:44:39,216: DEBUG - + domain=fediverso.net
872020-01-01 12:44:39,216: DEBUG - + path_url=/
882020-01-01 12:44:39,217: DEBUG - + admin=dav
892020-01-01 12:44:39,217: DEBUG - + is_public=1
902020-01-01 12:44:39,217: DEBUG - + language=en_EN
912020-01-01 12:44:39,217: DEBUG - ++ ynh_user_get_info dav mail
922020-01-01 12:44:39,217: DEBUG - ++ local legacy_args=uk
932020-01-01 12:44:39,218: DEBUG - ++ args_array=([u]=username= [k]=key=)
942020-01-01 12:44:39,218: DEBUG - ++ declare -Ar args_array
952020-01-01 12:44:39,218: DEBUG - ++ local username
962020-01-01 12:44:39,218: DEBUG - ++ local key
972020-01-01 12:44:39,219: DEBUG - ++ ynh_handle_getopts_args dav mail
982020-01-01 12:44:39,219: DEBUG - ++ set +x
992020-01-01 12:44:39,219: DEBUG - ++ echo '! Helper used in legacy mode !'
1002020-01-01 12:44:39,219: DEBUG - ++ set +x
1012020-01-01 12:44:39,219: DEBUG - ++ sudo yunohost user info dav --output-as plain
1022020-01-01 12:44:39,220: DEBUG - ++ ynh_get_plain_key mail
1032020-01-01 12:44:39,220: DEBUG - ++ local prefix=#
1042020-01-01 12:44:39,220: DEBUG - ++ local founded=0
1052020-01-01 12:44:39,220: DEBUG - ++ local key_=mail
1062020-01-01 12:44:39,221: DEBUG - ++ shift
1072020-01-01 12:44:39,221: DEBUG - ++ read line
1082020-01-01 12:44:39,722: DEBUG - ++ [[ 0 == \1 ]]
1092020-01-01 12:44:39,723: DEBUG - ++ [[ #username =~ ^#mail$ ]]
1102020-01-01 12:44:39,723: DEBUG - ++ read line
1112020-01-01 12:44:39,723: DEBUG - ++ [[ 0 == \1 ]]
1122020-01-01 12:44:39,723: DEBUG - ++ [[ dav =~ ^#mail$ ]]
1132020-01-01 12:44:39,724: DEBUG - ++ read line
1142020-01-01 12:44:39,724: DEBUG - ++ [[ 0 == \1 ]]
1152020-01-01 12:44:39,724: DEBUG - ++ [[ #firstname =~ ^#mail$ ]]
1162020-01-01 12:44:39,724: DEBUG - ++ read line
1172020-01-01 12:44:39,725: DEBUG - ++ [[ 0 == \1 ]]
1182020-01-01 12:44:39,725: DEBUG - ++ [[ David =~ ^#mail$ ]]
1192020-01-01 12:44:39,725: DEBUG - ++ read line
1202020-01-01 12:44:39,725: DEBUG - ++ [[ 0 == \1 ]]
1212020-01-01 12:44:39,725: DEBUG - ++ [[ #lastname =~ ^#mail$ ]]
1222020-01-01 12:44:39,726: DEBUG - ++ read line
1232020-01-01 12:44:39,726: DEBUG - ++ [[ 0 == \1 ]]
1242020-01-01 12:44:39,726: DEBUG - ++ [[ Prieto =~ ^#mail$ ]]
1252020-01-01 12:44:39,726: DEBUG - ++ read line
1262020-01-01 12:44:39,727: DEBUG - ++ [[ 0 == \1 ]]
1272020-01-01 12:44:39,727: DEBUG - ++ [[ #mailbox-quota =~ ^#mail$ ]]
1282020-01-01 12:44:39,727: DEBUG - ++ read line
1292020-01-01 12:44:39,727: DEBUG - ++ [[ 0 == \1 ]]
1302020-01-01 12:44:39,727: DEBUG - ++ [[ ##use =~ ^#mail$ ]]
1312020-01-01 12:44:39,728: DEBUG - ++ read line
1322020-01-01 12:44:39,728: DEBUG - ++ [[ 0 == \1 ]]
1332020-01-01 12:44:39,728: DEBUG - ++ [[ 0.0K =~ ^#mail$ ]]
1342020-01-01 12:44:39,728: DEBUG - ++ read line
1352020-01-01 12:44:39,729: DEBUG - ++ [[ 0 == \1 ]]
1362020-01-01 12:44:39,729: DEBUG - ++ [[ ##limit =~ ^#mail$ ]]
1372020-01-01 12:44:39,729: DEBUG - ++ read line
1382020-01-01 12:44:39,729: DEBUG - ++ [[ 0 == \1 ]]
1392020-01-01 12:44:39,729: DEBUG - ++ [[ Sin cuota =~ ^#mail$ ]]
1402020-01-01 12:44:39,730: DEBUG - ++ read line
1412020-01-01 12:44:39,730: DEBUG - ++ [[ 0 == \1 ]]
1422020-01-01 12:44:39,730: DEBUG - ++ [[ #mail-aliases =~ ^#mail$ ]]
1432020-01-01 12:44:39,730: DEBUG - ++ read line
1442020-01-01 12:44:39,730: DEBUG - ++ [[ 0 == \1 ]]
1452020-01-01 12:44:39,731: DEBUG - ++ [[ root@fediverso.net =~ ^#mail$ ]]
1462020-01-01 12:44:39,731: DEBUG - ++ read line
1472020-01-01 12:44:39,731: DEBUG - ++ [[ 0 == \1 ]]
1482020-01-01 12:44:39,732: DEBUG - ++ [[ admin@fediverso.net =~ ^#mail$ ]]
1492020-01-01 12:44:39,732: DEBUG - ++ read line
1502020-01-01 12:44:39,732: DEBUG - ++ [[ 0 == \1 ]]
1512020-01-01 12:44:39,732: DEBUG - ++ [[ webmaster@fediverso.net =~ ^#mail$ ]]
1522020-01-01 12:44:39,732: DEBUG - ++ read line
1532020-01-01 12:44:39,733: DEBUG - ++ [[ 0 == \1 ]]
1542020-01-01 12:44:39,733: DEBUG - ++ [[ postmaster@fediverso.net =~ ^#mail$ ]]
1552020-01-01 12:44:39,733: DEBUG - ++ read line
1562020-01-01 12:44:39,733: DEBUG - ++ [[ 0 == \1 ]]
1572020-01-01 12:44:39,734: DEBUG - ++ [[ #mail =~ ^#mail$ ]]
1582020-01-01 12:44:39,734: DEBUG - ++ [[ -n '' ]]
1592020-01-01 12:44:39,734: DEBUG - ++ founded=1
1602020-01-01 12:44:39,734: DEBUG - ++ read line
1612020-01-01 12:44:39,735: DEBUG - ++ [[ 1 == \1 ]]
1622020-01-01 12:44:39,735: DEBUG - ++ [[ david@fediverso.net =~ ^#[^#] ]]
1632020-01-01 12:44:39,735: DEBUG - ++ echo david@fediverso.net
1642020-01-01 12:44:39,735: DEBUG - ++ read line
1652020-01-01 12:44:39,736: DEBUG - ++ [[ 1 == \1 ]]
1662020-01-01 12:44:39,736: DEBUG - ++ [[ #fullname =~ ^#[^#] ]]
1672020-01-01 12:44:39,736: DEBUG - ++ return
1682020-01-01 12:44:39,736: DEBUG - + admin_mail=david@fediverso.net
1692020-01-01 12:44:39,736: DEBUG - + app=mastodon
1702020-01-01 12:44:39,737: DEBUG - + ynh_script_progression '--message=Validating installation parameters...' --weight=2
1712020-01-01 12:44:39,737: DEBUG - + set +x
1722020-01-01 12:44:39,737: DEBUG - + set +x
1732020-01-01 12:44:39,838: DEBUG - + echo '! Helper used in legacy mode !'
1742020-01-01 12:44:39,838: DEBUG - + set +x
1752020-01-01 12:44:39,839: DEBUG - + echo '[....................] > Validating installation parameters...'
1762020-01-01 12:44:39,839: DEBUG - + set -x
1772020-01-01 12:44:39,839: DEBUG - + final_path=/var/www/mastodon
1782020-01-01 12:44:39,839: DEBUG - + test '!' -e /var/www/mastodon
1792020-01-01 12:44:39,839: DEBUG - + ynh_webpath_register --app=mastodon --domain=fediverso.net --path_url=/
1802020-01-01 12:44:39,840: DEBUG - + local legacy_args=adp
1812020-01-01 12:44:39,840: DEBUG - + args_array=([a]=app= [d]=domain= [p]=path_url=)
1822020-01-01 12:44:39,840: DEBUG - + declare -Ar args_array
1832020-01-01 12:44:39,840: DEBUG - + local app
1842020-01-01 12:44:39,841: DEBUG - + local domain
1852020-01-01 12:44:39,841: DEBUG - + local path_url
1862020-01-01 12:44:39,841: DEBUG - + ynh_handle_getopts_args --app=mastodon --domain=fediverso.net --path_url=/
1872020-01-01 12:44:39,841: DEBUG - + set +x
1882020-01-01 12:44:39,842: DEBUG - + sudo yunohost app register-url mastodon fediverso.net /
1892020-01-01 12:44:40,443: DEBUG - + ynh_script_progression '--message=Storing installation settings...' --weight=2
1902020-01-01 12:44:40,444: INFO - [....................] > Validating installation parameters...
1912020-01-01 12:44:40,445: DEBUG - + set +x
1922020-01-01 12:44:40,446: DEBUG - + set +x
1932020-01-01 12:44:40,446: DEBUG - + echo '! Helper used in legacy mode !'
1942020-01-01 12:44:40,446: DEBUG - + set +x
1952020-01-01 12:44:40,446: DEBUG - + echo '[....................] > Storing installation settings...'
1962020-01-01 12:44:40,447: DEBUG - + set -x
1972020-01-01 12:44:40,447: DEBUG - + ynh_app_setting_set --app=mastodon --key=domain --value=fediverso.net
1982020-01-01 12:44:40,447: DEBUG - + local legacy_args=akv
1992020-01-01 12:44:40,447: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2002020-01-01 12:44:40,448: DEBUG - + declare -Ar args_array
2012020-01-01 12:44:40,448: DEBUG - + local app
2022020-01-01 12:44:40,448: DEBUG - + local key
2032020-01-01 12:44:40,448: DEBUG - + local value
2042020-01-01 12:44:40,448: DEBUG - + ynh_handle_getopts_args --app=mastodon --key=domain --value=fediverso.net
2052020-01-01 12:44:40,449: DEBUG - + set +x
2062020-01-01 12:44:40,449: DEBUG - + ynh_app_setting set mastodon domain fediverso.net
2072020-01-01 12:44:40,449: DEBUG - + ACTION=set
2082020-01-01 12:44:40,449: DEBUG - + APP=mastodon
2092020-01-01 12:44:40,450: DEBUG - + KEY=domain
2102020-01-01 12:44:40,450: DEBUG - + VALUE=fediverso.net
2112020-01-01 12:44:40,450: DEBUG - + python -
2122020-01-01 12:44:40,651: DEBUG - + ynh_app_setting_set --app=mastodon --key=path --value=/
2132020-01-01 12:44:40,651: INFO - [....................] > Storing installation settings...
2142020-01-01 12:44:40,652: DEBUG - + local legacy_args=akv
2152020-01-01 12:44:40,652: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2162020-01-01 12:44:40,652: DEBUG - + declare -Ar args_array
2172020-01-01 12:44:40,653: DEBUG - + local app
2182020-01-01 12:44:40,653: DEBUG - + local key
2192020-01-01 12:44:40,653: DEBUG - + local value
2202020-01-01 12:44:40,653: DEBUG - + ynh_handle_getopts_args --app=mastodon --key=path --value=/
2212020-01-01 12:44:40,653: DEBUG - + set +x
2222020-01-01 12:44:40,654: DEBUG - + ynh_app_setting set mastodon path /
2232020-01-01 12:44:40,654: DEBUG - + ACTION=set
2242020-01-01 12:44:40,654: DEBUG - + APP=mastodon
2252020-01-01 12:44:40,654: DEBUG - + KEY=path
2262020-01-01 12:44:40,655: DEBUG - + VALUE=/
2272020-01-01 12:44:40,655: DEBUG - + python -
2282020-01-01 12:44:40,856: DEBUG - + ynh_app_setting_set --app=mastodon --key=admin --value=dav
2292020-01-01 12:44:40,856: DEBUG - + local legacy_args=akv
2302020-01-01 12:44:40,856: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2312020-01-01 12:44:40,857: DEBUG - + declare -Ar args_array
2322020-01-01 12:44:40,857: DEBUG - + local app
2332020-01-01 12:44:40,857: DEBUG - + local key
2342020-01-01 12:44:40,857: DEBUG - + local value
2352020-01-01 12:44:40,857: DEBUG - + ynh_handle_getopts_args --app=mastodon --key=admin --value=dav
2362020-01-01 12:44:40,858: DEBUG - + set +x
2372020-01-01 12:44:40,858: DEBUG - + ynh_app_setting set mastodon admin dav
2382020-01-01 12:44:40,858: DEBUG - + ACTION=set
2392020-01-01 12:44:40,858: DEBUG - + APP=mastodon
2402020-01-01 12:44:40,859: DEBUG - + KEY=admin
2412020-01-01 12:44:40,859: DEBUG - + VALUE=dav
2422020-01-01 12:44:40,859: DEBUG - + python -
2432020-01-01 12:44:41,060: DEBUG - + ynh_app_setting_set --app=mastodon --key=is_public --value=1
2442020-01-01 12:44:41,060: DEBUG - + local legacy_args=akv
2452020-01-01 12:44:41,061: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2462020-01-01 12:44:41,061: DEBUG - + declare -Ar args_array
2472020-01-01 12:44:41,061: DEBUG - + local app
2482020-01-01 12:44:41,061: DEBUG - + local key
2492020-01-01 12:44:41,061: DEBUG - + local value
2502020-01-01 12:44:41,062: DEBUG - + ynh_handle_getopts_args --app=mastodon --key=is_public --value=1
2512020-01-01 12:44:41,062: DEBUG - + set +x
2522020-01-01 12:44:41,062: DEBUG - + ynh_app_setting set mastodon is_public 1
2532020-01-01 12:44:41,062: DEBUG - + ACTION=set
2542020-01-01 12:44:41,063: DEBUG - + APP=mastodon
2552020-01-01 12:44:41,063: DEBUG - + KEY=is_public
2562020-01-01 12:44:41,063: DEBUG - + VALUE=1
2572020-01-01 12:44:41,063: DEBUG - + python -
2582020-01-01 12:44:41,264: DEBUG - + ynh_app_setting_set --app=mastodon --key=language --value=en_EN
2592020-01-01 12:44:41,264: DEBUG - + local legacy_args=akv
2602020-01-01 12:44:41,265: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2612020-01-01 12:44:41,265: DEBUG - + declare -Ar args_array
2622020-01-01 12:44:41,265: DEBUG - + local app
2632020-01-01 12:44:41,265: DEBUG - + local key
2642020-01-01 12:44:41,266: DEBUG - + local value
2652020-01-01 12:44:41,266: DEBUG - + ynh_handle_getopts_args --app=mastodon --key=language --value=en_EN
2662020-01-01 12:44:41,266: DEBUG - + set +x
2672020-01-01 12:44:41,266: DEBUG - + ynh_app_setting set mastodon language en_EN
2682020-01-01 12:44:41,266: DEBUG - + ACTION=set
2692020-01-01 12:44:41,267: DEBUG - + APP=mastodon
2702020-01-01 12:44:41,267: DEBUG - + KEY=language
2712020-01-01 12:44:41,267: DEBUG - + VALUE=en_EN
2722020-01-01 12:44:41,267: DEBUG - + python -
2732020-01-01 12:44:41,468: DEBUG - + ynh_script_progression '--message=Configuring firewall...' --weight=1
2742020-01-01 12:44:41,469: DEBUG - + set +x
2752020-01-01 12:44:41,469: DEBUG - + set +x
2762020-01-01 12:44:41,469: DEBUG - + echo '! Helper used in legacy mode !'
2772020-01-01 12:44:41,470: DEBUG - + set +x
2782020-01-01 12:44:41,470: DEBUG - + echo '[....................] > Configuring firewall...'
2792020-01-01 12:44:41,470: DEBUG - + set -x
2802020-01-01 12:44:41,471: DEBUG - ++ ynh_find_port --port=3000
2812020-01-01 12:44:41,471: DEBUG - ++ local legacy_args=p
2822020-01-01 12:44:41,471: DEBUG - ++ args_array=([p]=port=)
2832020-01-01 12:44:41,471: DEBUG - ++ declare -Ar args_array
2842020-01-01 12:44:41,472: DEBUG - ++ local port
2852020-01-01 12:44:41,472: DEBUG - ++ ynh_handle_getopts_args --port=3000
2862020-01-01 12:44:41,472: DEBUG - ++ set +x
2872020-01-01 12:44:41,472: DEBUG - ++ test -n 3000
2882020-01-01 12:44:41,473: DEBUG - ++ netcat -z 127.0.0.1 3000
2892020-01-01 12:44:41,473: DEBUG - ++ echo 3000
2902020-01-01 12:44:41,473: DEBUG - + port_web=3000
2912020-01-01 12:44:41,474: DEBUG - ++ ynh_find_port --port=4000
2922020-01-01 12:44:41,474: DEBUG - ++ local legacy_args=p
2932020-01-01 12:44:41,474: DEBUG - ++ args_array=([p]=port=)
2942020-01-01 12:44:41,474: DEBUG - ++ declare -Ar args_array
2952020-01-01 12:44:41,475: DEBUG - ++ local port
2962020-01-01 12:44:41,475: DEBUG - ++ ynh_handle_getopts_args --port=4000
2972020-01-01 12:44:41,475: DEBUG - ++ set +x
2982020-01-01 12:44:41,576: DEBUG - ++ test -n 4000
2992020-01-01 12:44:41,576: INFO - [....................] > Configuring firewall...
3002020-01-01 12:44:41,577: DEBUG - ++ netcat -z 127.0.0.1 4000
3012020-01-01 12:44:41,577: DEBUG - ++ echo 4000
3022020-01-01 12:44:41,577: DEBUG - + port_stream=4000
3032020-01-01 12:44:41,578: DEBUG - + ynh_app_setting_set --app=mastodon --key=port_web --value=3000
3042020-01-01 12:44:41,578: DEBUG - + local legacy_args=akv
3052020-01-01 12:44:41,578: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
3062020-01-01 12:44:41,578: DEBUG - + declare -Ar args_array
3072020-01-01 12:44:41,578: DEBUG - + local app
3082020-01-01 12:44:41,579: DEBUG - + local key
3092020-01-01 12:44:41,579: DEBUG - + local value
3102020-01-01 12:44:41,579: DEBUG - + ynh_handle_getopts_args --app=mastodon --key=port_web --value=3000
3112020-01-01 12:44:41,579: DEBUG - + set +x
3122020-01-01 12:44:41,580: DEBUG - + ynh_app_setting set mastodon port_web 3000
3132020-01-01 12:44:41,580: DEBUG - + ACTION=set
3142020-01-01 12:44:41,580: DEBUG - + APP=mastodon
3152020-01-01 12:44:41,580: DEBUG - + KEY=port_web
3162020-01-01 12:44:41,581: DEBUG - + VALUE=3000
3172020-01-01 12:44:41,581: DEBUG - + python -
3182020-01-01 12:44:41,782: DEBUG - + ynh_app_setting_set --app=mastodon --key=port_stream --value=4000
3192020-01-01 12:44:41,782: DEBUG - + local legacy_args=akv
3202020-01-01 12:44:41,782: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
3212020-01-01 12:44:41,783: DEBUG - + declare -Ar args_array
3222020-01-01 12:44:41,783: DEBUG - + local app
3232020-01-01 12:44:41,783: DEBUG - + local key
3242020-01-01 12:44:41,783: DEBUG - + local value
3252020-01-01 12:44:41,783: DEBUG - + ynh_handle_getopts_args --app=mastodon --key=port_stream --value=4000
3262020-01-01 12:44:41,784: DEBUG - + set +x
3272020-01-01 12:44:41,784: DEBUG - + ynh_app_setting set mastodon port_stream 4000
3282020-01-01 12:44:41,784: DEBUG - + ACTION=set
3292020-01-01 12:44:41,784: DEBUG - + APP=mastodon
3302020-01-01 12:44:41,785: DEBUG - + KEY=port_stream
3312020-01-01 12:44:41,785: DEBUG - + VALUE=4000
3322020-01-01 12:44:41,785: DEBUG - + python -
3332020-01-01 12:44:41,986: DEBUG - + ynh_script_progression '--message=Installing dependencies...' --weight=86
3342020-01-01 12:44:41,986: DEBUG - + set +x
3352020-01-01 12:44:41,987: DEBUG - + set +x
3362020-01-01 12:44:41,987: DEBUG - + echo '! Helper used in legacy mode !'
3372020-01-01 12:44:41,987: DEBUG - + set +x
3382020-01-01 12:44:41,987: DEBUG - + echo '[....................] > Installing dependencies...'
3392020-01-01 12:44:41,988: DEBUG - + set -x
3402020-01-01 12:44:41,988: DEBUG - + ynh_install_nodejs --nodejs_version=8
3412020-01-01 12:44:41,988: DEBUG - + local legacy_args=n
3422020-01-01 12:44:41,988: DEBUG - + args_array=([n]=nodejs_version=)
3432020-01-01 12:44:41,989: DEBUG - + declare -Ar args_array
3442020-01-01 12:44:41,989: DEBUG - + local nodejs_version
3452020-01-01 12:44:41,989: DEBUG - + ynh_handle_getopts_args --nodejs_version=8
3462020-01-01 12:44:41,989: DEBUG - + set +x
3472020-01-01 12:44:41,990: DEBUG - + mkdir -p /opt/node_n
3482020-01-01 12:44:41,990: DEBUG - + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
3492020-01-01 12:44:41,990: DEBUG - ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
3502020-01-01 12:44:41,990: DEBUG - ++ sed s@/usr/local/bin:@@
3512020-01-01 12:44:41,991: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
3522020-01-01 12:44:41,991: DEBUG - + test -x /usr/bin/node
3532020-01-01 12:44:41,991: DEBUG - + test -x /usr/bin/npm
3542020-01-01 12:44:41,992: DEBUG - ++ n --version
3552020-01-01 12:44:41,992: DEBUG - + test
3562020-01-01 12:44:41,992: DEBUG - + ynh_install_n
3572020-01-01 12:44:41,992: DEBUG - + ynh_print_info '--message=Installation of N - Node.js version management'
3582020-01-01 12:44:41,993: DEBUG - + local legacy_args=m
3592020-01-01 12:44:41,993: DEBUG - + args_array=([m]=message=)
3602020-01-01 12:44:41,993: DEBUG - + declare -Ar args_array
3612020-01-01 12:44:41,993: DEBUG - + local message
3622020-01-01 12:44:41,994: DEBUG - + ynh_handle_getopts_args '--message=Installation of N - Node.js version management'
3632020-01-01 12:44:41,994: DEBUG - + set +x
3642020-01-01 12:44:41,994: DEBUG - + echo 'Installation of N - Node.js version management'
3652020-01-01 12:44:41,994: DEBUG - + mkdir -p ../conf
3662020-01-01 12:44:41,995: DEBUG - + echo 'SOURCE_URL=https://github.com/tj/n/archive/v2.1.7.tar.gz
3672020-01-01 12:44:41,995: DEBUG - SOURCE_SUM=2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f'
3682020-01-01 12:44:41,995: DEBUG - + ynh_setup_source --dest_dir=/opt/node_n/git --source_id=n
3692020-01-01 12:44:41,995: DEBUG - + local legacy_args=ds
3702020-01-01 12:44:41,996: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
3712020-01-01 12:44:41,996: DEBUG - + declare -Ar args_array
3722020-01-01 12:44:41,996: DEBUG - + local dest_dir
3732020-01-01 12:44:41,996: DEBUG - + local source_id
3742020-01-01 12:44:41,997: DEBUG - + ynh_handle_getopts_args --dest_dir=/opt/node_n/git --source_id=n
3752020-01-01 12:44:41,997: DEBUG - + set +x
3762020-01-01 12:44:41,997: DEBUG - + source_id=n
3772020-01-01 12:44:41,997: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/mastodon_ynh-7c299ee01c2e596ae1e89333bb20032ba5dbeef5/scripts/../conf/n.src
3782020-01-01 12:44:41,997: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/mastodon_ynh-7c299ee01c2e596ae1e89333bb20032ba5dbeef5/scripts/../conf/n.src ']'
3792020-01-01 12:44:41,998: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/mastodon_ynh-7c299ee01c2e596ae1e89333bb20032ba5dbeef5/scripts/../conf/n.src
3802020-01-01 12:44:41,998: DEBUG - ++ cut -d= -f2-
3812020-01-01 12:44:41,998: DEBUG - + local src_url=https://github.com/tj/n/archive/v2.1.7.tar.gz
3822020-01-01 12:44:41,998: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/mastodon_ynh-7c299ee01c2e596ae1e89333bb20032ba5dbeef5/scripts/../conf/n.src
3832020-01-01 12:44:41,999: DEBUG - ++ cut -d= -f2-
3842020-01-01 12:44:41,999: DEBUG - + local src_sum=2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f
3852020-01-01 12:44:41,999: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/mastodon_ynh-7c299ee01c2e596ae1e89333bb20032ba5dbeef5/scripts/../conf/n.src
3862020-01-01 12:44:41,999: DEBUG - ++ cut -d= -f2-
3872020-01-01 12:44:41,999: DEBUG - + local src_sumprg=
3882020-01-01 12:44:42,000: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/mastodon_ynh-7c299ee01c2e596ae1e89333bb20032ba5dbeef5/scripts/../conf/n.src
3892020-01-01 12:44:42,000: DEBUG - ++ cut -d= -f2-
3902020-01-01 12:44:42,000: DEBUG - + local src_format=
3912020-01-01 12:44:42,000: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/mastodon_ynh-7c299ee01c2e596ae1e89333bb20032ba5dbeef5/scripts/../conf/n.src
3922020-01-01 12:44:42,001: DEBUG - ++ cut -d= -f2-
3932020-01-01 12:44:42,001: DEBUG - + local src_extract=
3942020-01-01 12:44:42,001: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/mastodon_ynh-7c299ee01c2e596ae1e89333bb20032ba5dbeef5/scripts/../conf/n.src
3952020-01-01 12:44:42,001: DEBUG - ++ cut -d= -f2-
3962020-01-01 12:44:42,001: DEBUG - + local src_in_subdir=
3972020-01-01 12:44:42,002: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/mastodon_ynh-7c299ee01c2e596ae1e89333bb20032ba5dbeef5/scripts/../conf/n.src
3982020-01-01 12:44:42,002: DEBUG - ++ cut -d= -f2-
3992020-01-01 12:44:42,002: DEBUG - + local src_filename=
4002020-01-01 12:44:42,002: DEBUG - + src_sumprg=sha256sum
4012020-01-01 12:44:42,003: DEBUG - + src_in_subdir=true
4022020-01-01 12:44:42,003: DEBUG - + src_format=tar.gz
4032020-01-01 12:44:42,003: DEBUG - ++ echo tar.gz
4042020-01-01 12:44:42,003: DEBUG - ++ tr '[:upper:]' '[:lower:]'
4052020-01-01 12:44:42,003: DEBUG - + src_format=tar.gz
4062020-01-01 12:44:42,004: DEBUG - + src_extract=true
4072020-01-01 12:44:42,004: DEBUG - + '[' '' = '' ']'
4082020-01-01 12:44:42,004: DEBUG - + src_filename=n.tar.gz
4092020-01-01 12:44:42,004: DEBUG - + local local_src=/opt/yunohost-apps-src/mastodon/n.tar.gz
4102020-01-01 12:44:42,004: DEBUG - + test -e /opt/yunohost-apps-src/mastodon/n.tar.gz
4112020-01-01 12:44:42,005: DEBUG - ++ wget -nv -O n.tar.gz https://github.com/tj/n/archive/v2.1.7.tar.gz
4122020-01-01 12:44:43,109: DEBUG - + local 'out=2020-01-01 12:44:43 URL:https://codeload.github.com/tj/n/tar.gz/v2.1.7 [9592] -> "n.tar.gz" [1]'
4132020-01-01 12:44:43,109: INFO - [....................] > Installing dependencies...
4142020-01-01 12:44:43,110: DEBUG - + echo '2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f n.tar.gz'
4152020-01-01 12:44:43,110: INFO - Installation of N - Node.js version management
4162020-01-01 12:44:43,111: DEBUG - + sha256sum -c --status
4172020-01-01 12:44:43,111: DEBUG - + mkdir -p /opt/node_n/git
4182020-01-01 12:44:43,111: DEBUG - + true
4192020-01-01 12:44:43,111: DEBUG - + '[' tar.gz = zip ']'
4202020-01-01 12:44:43,112: DEBUG - + local strip=
4212020-01-01 12:44:43,112: DEBUG - + '[' true '!=' false ']'
4222020-01-01 12:44:43,112: DEBUG - + '[' true == true ']'
4232020-01-01 12:44:43,112: DEBUG - + local sub_dirs=1
4242020-01-01 12:44:43,113: DEBUG - + strip='--strip-components 1'
4252020-01-01 12:44:43,113: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
4262020-01-01 12:44:43,114: DEBUG - + tar -xf n.tar.gz -C /opt/node_n/git --strip-components 1
4272020-01-01 12:44:43,114: DEBUG - ++ find /var/cache/yunohost/from_file/mastodon_ynh-7c299ee01c2e596ae1e89333bb20032ba5dbeef5/scripts/../sources/patches/ -type f -name 'n-*.patch'
4282020-01-01 12:44:43,114: DEBUG - ++ wc -l
4292020-01-01 12:44:43,114: DEBUG - + (( 0 > 0 ))
4302020-01-01 12:44:43,115: DEBUG - + test -e /var/cache/yunohost/from_file/mastodon_ynh-7c299ee01c2e596ae1e89333bb20032ba5dbeef5/scripts/../sources/extra_files/n
4312020-01-01 12:44:43,115: DEBUG - + cd /opt/node_n/git
4322020-01-01 12:44:43,115: DEBUG - + PREFIX=/opt/node_n
4332020-01-01 12:44:43,115: DEBUG - + make install
4342020-01-01 12:44:43,116: DEBUG - mkdir -p /opt/node_n/bin/
4352020-01-01 12:44:43,116: DEBUG - cp bin/n /opt/node_n/bin/n
4362020-01-01 12:44:43,116: DEBUG - + ynh_replace_string '--match_string=^N_PREFIX=${N_PREFIX-.*}$' '--replace_string=N_PREFIX=${N_PREFIX-/opt/node_n}' --target_file=/opt/node_n/bin/n
4372020-01-01 12:44:43,116: DEBUG - + local legacy_args=mrf
4382020-01-01 12:44:43,117: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
4392020-01-01 12:44:43,117: DEBUG - + declare -Ar args_array
4402020-01-01 12:44:43,117: DEBUG - + local match_string
4412020-01-01 12:44:43,117: DEBUG - + local replace_string
4422020-01-01 12:44:43,118: DEBUG - + local target_file
4432020-01-01 12:44:43,118: DEBUG - + ynh_handle_getopts_args '--match_string=^N_PREFIX=${N_PREFIX-.*}$' '--replace_string=N_PREFIX=${N_PREFIX-/opt/node_n}' --target_file=/opt/node_n/bin/n
4442020-01-01 12:44:43,118: DEBUG - + set +x
4452020-01-01 12:44:43,118: DEBUG - + local delimit=@
4462020-01-01 12:44:43,118: DEBUG - + match_string='^N_PREFIX=${N_PREFIX-.*}$'
4472020-01-01 12:44:43,119: DEBUG - + replace_string='N_PREFIX=${N_PREFIX-/opt/node_n}'
4482020-01-01 12:44:43,119: DEBUG - + sudo sed --in-place 's@^N_PREFIX=${N_PREFIX-.*}$@N_PREFIX=${N_PREFIX-/opt/node_n}@g' /opt/node_n/bin/n
4492020-01-01 12:44:43,119: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
4502020-01-01 12:44:43,119: DEBUG - + test -x /usr/bin/node_n
4512020-01-01 12:44:43,120: DEBUG - + test -x /usr/bin/npm_n
4522020-01-01 12:44:43,120: DEBUG - ++ uname -m
4532020-01-01 12:44:43,120: DEBUG - + uname=x86_64
4542020-01-01 12:44:43,120: DEBUG - + [[ x86_64 =~ aarch64 ]]
4552020-01-01 12:44:43,120: DEBUG - + [[ x86_64 =~ arm64 ]]
4562020-01-01 12:44:43,121: DEBUG - + n 8
4572020-01-01 12:44:45,729: DEBUG -
4582020-01-01 12:44:45,729: DEBUG - [36m install[0m : [2mnode-v8.17.0[22m[0m
4592020-01-01 12:44:46,030: DEBUG - [36m mkdir[0m : [2m/opt/node_n/n/versions/node/8.17.0[22m[0m
4602020-01-01 12:44:46,031: DEBUG - [36m fetch[0m : [2mhttps://nodejs.org/dist/v8.17.0/node-v8.17.0-linux-x64.tar.gz[22m[0m
4612020-01-01 12:44:49,540: WARNING -
462 0,2%
463#### 5,8%
464######### 13,7%
465############### 21,8%
466######################## 33,7%
467######################## 33,8%
468######################## 34,5%
469######################### 35,9%
470########################### 38,4%
471############################## 42,9%
472#################################### 50,7%
473########################################## 58,9%
474################################################ 67,0%
475###################################################### 75,3%
476############################################################ 83,7%
477################################################################## 91,8%
478######################################################################## 100,0%
4792020-01-01 12:44:49,942: DEBUG - [36m installed[0m : [2mv8.17.0[22m[0m
4802020-01-01 12:44:49,942: DEBUG -
4812020-01-01 12:44:49,943: DEBUG - ++ find /opt/node_n/n/versions/node/8.17.0 -maxdepth 0
4822020-01-01 12:44:49,943: DEBUG - ++ sort --version-sort
4832020-01-01 12:44:49,943: DEBUG - ++ tail --lines=1
4842020-01-01 12:44:49,943: DEBUG - + real_nodejs_version=/opt/node_n/n/versions/node/8.17.0
4852020-01-01 12:44:49,944: DEBUG - ++ basename /opt/node_n/n/versions/node/8.17.0
4862020-01-01 12:44:49,944: DEBUG - + real_nodejs_version=8.17.0
4872020-01-01 12:44:49,944: DEBUG - + '[' '!' -e /opt/node_n/n/versions/node/8 ']'
4882020-01-01 12:44:49,944: DEBUG - + ln --symbolic --force --no-target-directory /opt/node_n/n/versions/node/8.17.0 /opt/node_n/n/versions/node/8
4892020-01-01 12:44:49,945: DEBUG - + echo mastodon:8
4902020-01-01 12:44:49,945: DEBUG - + tee --append /opt/node_n/ynh_app_version
4912020-01-01 12:44:49,945: DEBUG - mastodon:8
4922020-01-01 12:44:49,945: DEBUG - + ynh_app_setting_set --app=mastodon --key=nodejs_version --value=8
4932020-01-01 12:44:49,945: DEBUG - + local legacy_args=akv
4942020-01-01 12:44:49,946: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
4952020-01-01 12:44:49,946: DEBUG - + declare -Ar args_array
4962020-01-01 12:44:49,946: DEBUG - + local app
4972020-01-01 12:44:49,946: DEBUG - + local key
4982020-01-01 12:44:49,947: DEBUG - + local value
4992020-01-01 12:44:49,947: DEBUG - + ynh_handle_getopts_args --app=mastodon --key=nodejs_version --value=8
5002020-01-01 12:44:49,947: DEBUG - + set +x
5012020-01-01 12:44:49,947: DEBUG - + ynh_app_setting set mastodon nodejs_version 8
5022020-01-01 12:44:49,947: DEBUG - + ACTION=set
5032020-01-01 12:44:49,948: DEBUG - + APP=mastodon
5042020-01-01 12:44:49,948: DEBUG - + KEY=nodejs_version
5052020-01-01 12:44:49,948: DEBUG - + VALUE=8
5062020-01-01 12:44:49,948: DEBUG - + python -
5072020-01-01 12:44:50,149: DEBUG - + ynh_cron_upgrade_node
5082020-01-01 12:44:50,150: DEBUG - + cat
5092020-01-01 12:44:50,150: DEBUG - + chmod +x /opt/node_n/node_update.sh
5102020-01-01 12:44:50,150: DEBUG - + cat
5112020-01-01 12:44:50,150: DEBUG - + chmod +x /etc/cron.daily/node_update
5122020-01-01 12:44:50,150: DEBUG - + ynh_use_nodejs
5132020-01-01 12:44:50,151: DEBUG - ++ ynh_app_setting_get --app=mastodon --key=**********
5142020-01-01 12:44:50,151: DEBUG - ++ local legacy_args=ak
5152020-01-01 12:44:50,151: DEBUG - ++ args_array=([a]=app= [k]=key=)
5162020-01-01 12:44:50,151: DEBUG - ++ declare -Ar args_array
5172020-01-01 12:44:50,152: DEBUG - ++ local app
5182020-01-01 12:44:50,152: DEBUG - ++ local key
5192020-01-01 12:44:50,152: DEBUG - ++ ynh_handle_getopts_args --app=mastodon --key=**********
5202020-01-01 12:44:50,152: DEBUG - ++ set +x
5212020-01-01 12:44:50,152: DEBUG - ++ ynh_app_setting get mastodon **********
5222020-01-01 12:44:50,153: DEBUG - ++ ACTION=get
5232020-01-01 12:44:50,153: DEBUG - ++ APP=mastodon
5242020-01-01 12:44:50,153: DEBUG - ++ KEY=**********
5252020-01-01 12:44:50,153: DEBUG - ++ VALUE=
5262020-01-01 12:44:50,154: DEBUG - ++ python -
5272020-01-01 12:44:50,354: DEBUG - + **********=8
5282020-01-01 12:44:50,355: DEBUG - + nodejs_use_version='echo "Deprecated command, should be removed"'
5292020-01-01 12:44:50,355: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/8/bin
5302020-01-01 12:44:50,355: DEBUG - + [[ :/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: == *\:\/\o\p\t\/\n\o\d\e\_\n\/\n\/\v\e\r\s\i\o\n\s\/\n\o\d\e\/\8\/\b\i\n* ]]
5312020-01-01 12:44:50,356: DEBUG - + PATH=/opt/node_n/n/versions/node/8/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
5322020-01-01 12:44:50,356: DEBUG - + ynh_install_app_dependencies imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev file git-core g++ libprotobuf-dev protobuf-compiler pkg-config gcc autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev redis-server redis-tools postgresql postgresql-contrib libidn11-dev libicu-dev libjemalloc-dev curl apt-transport-https
5332020-01-01 12:44:50,356: DEBUG - + local 'dependencies=imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev file git-core g++ libprotobuf-dev protobuf-compiler pkg-config gcc autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev redis-server redis-tools postgresql postgresql-contrib libidn11-dev libicu-dev libjemalloc-dev curl apt-transport-https'
5342020-01-01 12:44:50,357: DEBUG - + local 'dependencies=imagemagick, ffmpeg, libpq-dev, libxml2-dev, libxslt1-dev, file, git-core, g++, libprotobuf-dev, protobuf-compiler, pkg-config, gcc, autoconf, bison, build-essential, libssl-dev, libyaml-dev, libreadline6-dev, zlib1g-dev, libncurses5-dev, libffi-dev, libgdbm3, libgdbm-dev, redis-server, redis-tools, postgresql, postgresql-contrib, libidn11-dev, libicu-dev, libjemalloc-dev, curl, apt-transport-https'
5352020-01-01 12:44:50,357: DEBUG - + local 'dependencies=imagemagick, ffmpeg, libpq-dev, libxml2-dev, libxslt1-dev, file, git-core, g++, libprotobuf-dev, protobuf-compiler, pkg-config, gcc, autoconf, bison, build-essential, libssl-dev, libyaml-dev, libreadline6-dev, zlib1g-dev, libncurses5-dev, libffi-dev, libgdbm3, libgdbm-dev, redis-server, redis-tools, postgresql, postgresql-contrib, libidn11-dev, libicu-dev, libjemalloc-dev, curl, apt-transport-https'
5362020-01-01 12:44:50,357: DEBUG - + local manifest_path=../manifest.json
5372020-01-01 12:44:50,357: DEBUG - + '[' '!' -e ../manifest.json ']'
5382020-01-01 12:44:50,358: DEBUG - ++ grep '\"version\": ' ../manifest.json
5392020-01-01 12:44:50,358: DEBUG - ++ cut -d '"' -f 4
5402020-01-01 12:44:50,358: DEBUG - + local version=3.0.1~ynh1
5412020-01-01 12:44:50,358: DEBUG - + '[' 10 -eq 0 ']'
5422020-01-01 12:44:50,358: DEBUG - + local dep_app=mastodon
5432020-01-01 12:44:50,359: DEBUG - + echo imagemagick, ffmpeg, libpq-dev, libxml2-dev, libxslt1-dev, file, git-core, g++, libprotobuf-dev, protobuf-compiler, pkg-config, gcc, autoconf, bison, build-essential, libssl-dev, libyaml-dev, libreadline6-dev, zlib1g-dev, libncurses5-dev, libffi-dev, libgdbm3, libgdbm-dev, redis-server, redis-tools, postgresql, postgresql-contrib, libidn11-dev, libicu-dev, libjemalloc-dev, curl, apt-transport-https
5442020-01-01 12:44:50,359: DEBUG - + grep -q php
5452020-01-01 12:44:50,359: DEBUG - + cat
5462020-01-01 12:44:50,360: DEBUG - + ynh_package_install_from_equivs /tmp/mastodon-ynh-deps.control
5472020-01-01 12:44:50,360: DEBUG - + local controlfile=/tmp/mastodon-ynh-deps.control
5482020-01-01 12:44:50,360: DEBUG - ++ grep '^Package: ' /tmp/mastodon-ynh-deps.control
5492020-01-01 12:44:50,360: DEBUG - ++ cut '-d ' -f 2
5502020-01-01 12:44:50,361: DEBUG - + local pkgname=mastodon-ynh-deps
5512020-01-01 12:44:50,361: DEBUG - ++ grep '^Version: ' /tmp/mastodon-ynh-deps.control
5522020-01-01 12:44:50,361: DEBUG - ++ cut '-d ' -f 2
5532020-01-01 12:44:50,361: DEBUG - + local pkgversion=3.0.1~ynh1
5542020-01-01 12:44:50,362: DEBUG - + [[ -z mastodon-ynh-deps ]]
5552020-01-01 12:44:50,362: DEBUG - + [[ -z 3.0.1~ynh1 ]]
5562020-01-01 12:44:50,362: DEBUG - + ynh_package_update
5572020-01-01 12:44:50,362: DEBUG - + ynh_apt update
5582020-01-01 12:44:50,362: DEBUG - + ynh_wait_dpkg_free
5592020-01-01 12:44:50,363: DEBUG - + local try
5602020-01-01 12:44:50,363: DEBUG - ++ seq 1 17
5612020-01-01 12:44:50,363: DEBUG - + for try in `seq 1 17`
5622020-01-01 12:44:50,363: DEBUG - + sudo lsof /var/lib/dpkg/lock
5632020-01-01 12:44:50,464: WARNING - lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
5642020-01-01 12:44:50,465: WARNING - Output information may be incomplete.
5652020-01-01 12:44:50,766: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
5662020-01-01 12:44:50,766: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
5672020-01-01 12:44:50,767: DEBUG - + read dpkg_file
5682020-01-01 12:44:50,767: DEBUG - + echo ''
5692020-01-01 12:44:50,767: DEBUG - + grep -Pq '^[[:digit:]]+$'
5702020-01-01 12:44:50,768: DEBUG - + read dpkg_file
5712020-01-01 12:44:50,768: DEBUG - + return 0
5722020-01-01 12:44:50,768: DEBUG - + DEBIAN_FRONTEND=noninteractive
5732020-01-01 12:44:50,768: DEBUG - + apt-get -y update
5742020-01-01 12:44:51,070: DEBUG - Ign:1 http://ftp.es.debian.org/debian stretch InRelease
5752020-01-01 12:44:51,070: DEBUG - Obj:2 http://ftp.es.debian.org/debian stretch-updates InRelease
5762020-01-01 12:44:51,071: DEBUG - Obj:3 http://ftp.es.debian.org/debian stretch Release
5772020-01-01 12:44:51,071: DEBUG - Obj:4 http://forge.yunohost.org/debian stretch InRelease
5782020-01-01 12:44:51,172: DEBUG - Obj:5 http://security.debian.org stretch/updates InRelease
5792020-01-01 12:44:53,177: DEBUG - Leyendo lista de paquetes...
5802020-01-01 12:44:53,278: DEBUG - ++ mktemp -d
5812020-01-01 12:44:53,278: WARNING - lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
5822020-01-01 12:44:53,279: DEBUG - + local TMPDIR=/tmp/tmp.xY8Uxt5VWi
5832020-01-01 12:44:53,279: WARNING - Output information may be incomplete.
5842020-01-01 12:44:53,280: DEBUG - + echo 10
5852020-01-01 12:44:53,280: DEBUG - + ynh_wait_dpkg_free
5862020-01-01 12:44:53,280: DEBUG - + local try
5872020-01-01 12:44:53,281: DEBUG - ++ seq 1 17
5882020-01-01 12:44:53,281: DEBUG - + for try in `seq 1 17`
5892020-01-01 12:44:53,281: DEBUG - + sudo lsof /var/lib/dpkg/lock
5902020-01-01 12:44:53,682: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
5912020-01-01 12:44:53,683: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
5922020-01-01 12:44:53,683: DEBUG - + read dpkg_file
5932020-01-01 12:44:53,683: DEBUG - + grep -Pq '^[[:digit:]]+$'
5942020-01-01 12:44:53,684: DEBUG - + echo ''
5952020-01-01 12:44:53,684: DEBUG - + read dpkg_file
5962020-01-01 12:44:53,684: DEBUG - + return 0
5972020-01-01 12:44:53,684: DEBUG - + cp /tmp/mastodon-ynh-deps.control /tmp/tmp.xY8Uxt5VWi/control
5982020-01-01 12:44:53,684: DEBUG - + cd /tmp/tmp.xY8Uxt5VWi
5992020-01-01 12:44:53,685: DEBUG - + equivs-build ./control
6002020-01-01 12:44:54,788: DEBUG - + dpkg --force-depends -i ./mastodon-ynh-deps_3.0.1~ynh1_all.deb
6012020-01-01 12:44:54,888: DEBUG - Seleccionando el paquete mastodon-ynh-deps previamente no seleccionado.
6022020-01-01 12:44:55,490: DEBUG - (Leyendo la base de datos ... 152963 ficheros o directorios instalados actualmente.)
6032020-01-01 12:44:55,491: DEBUG - Preparando para desempaquetar .../mastodon-ynh-deps_3.0.1~ynh1_all.deb ...
6042020-01-01 12:44:55,491: DEBUG - Desempaquetando mastodon-ynh-deps (3.0.1~ynh1) ...
6052020-01-01 12:44:55,592: DEBUG - dpkg: mastodon-ynh-deps: problemas de dependencias, pero se configurará de todas formas
6062020-01-01 12:44:55,592: DEBUG - tal y como se solicitó:
6072020-01-01 12:44:55,592: DEBUG - mastodon-ynh-deps depende de ffmpeg; sin embargo:
6082020-01-01 12:44:55,593: DEBUG - El paquete `ffmpeg' no está instalado.
6092020-01-01 12:44:55,593: DEBUG - mastodon-ynh-deps depende de libpq-dev; sin embargo:
6102020-01-01 12:44:55,593: DEBUG - El paquete `libpq-dev' no está instalado.
6112020-01-01 12:44:55,593: DEBUG - mastodon-ynh-deps depende de libxml2-dev; sin embargo:
6122020-01-01 12:44:55,594: DEBUG - El paquete `libxml2-dev' no está instalado.
6132020-01-01 12:44:55,594: DEBUG - mastodon-ynh-deps depende de libxslt1-dev; sin embargo:
6142020-01-01 12:44:55,594: DEBUG - El paquete `libxslt1-dev' no está instalado.
6152020-01-01 12:44:55,594: DEBUG - mastodon-ynh-deps depende de libprotobuf-dev; sin embargo:
6162020-01-01 12:44:55,594: DEBUG - El paquete `libprotobuf-dev' no está instalado.
6172020-01-01 12:44:55,595: DEBUG - mastodon-ynh-deps depende de protobuf-compiler; sin embargo:
6182020-01-01 12:44:55,595: DEBUG - El paquete `protobuf-compiler' no está instalado.
6192020-01-01 12:44:55,595: DEBUG - mastodon-ynh-deps depende de pkg-config; sin embargo:
6202020-01-01 12:44:55,595: DEBUG - El paquete `pkg-config' no está instalado.
6212020-01-01 12:44:55,596: DEBUG - mastodon-ynh-deps depende de bison; sin embargo:
6222020-01-01 12:44:55,596: DEBUG - El paquete `bison' no está instalado.
6232020-01-01 12:44:55,596: DEBUG - mastodon-ynh-deps depende de libssl-dev; sin embargo:
6242020-01-01 12:44:55,596: DEBUG - El paquete `libssl-dev' no está instalado.
6252020-01-01 12:44:55,596: DEBUG - mastodon-ynh-deps depende de libyaml-dev; sin embargo:
6262020-01-01 12:44:55,597: DEBUG - El paquete `libyaml-dev' no está instalado.
6272020-01-01 12:44:55,597: DEBUG - mastodon-ynh-deps depende de libreadline6-dev; sin embargo:
6282020-01-01 12:44:55,597: DEBUG - El paquete `libreadline6-dev' no está instalado.
6292020-01-01 12:44:55,597: DEBUG - mastodon-ynh-deps depende de zlib1g-dev; sin embargo:
6302020-01-01 12:44:55,598: DEBUG - El paquete `zlib1g-dev' no está instalado.
6312020-01-01 12:44:55,598: DEBUG - mastodon-ynh-deps depende de libncurses5-dev; sin embargo:
6322020-01-01 12:44:55,598: DEBUG - El paquete `libncurses5-dev' no está instalado.
6332020-01-01 12:44:55,598: DEBUG - mastodon-ynh-deps depende de libffi-dev; sin embargo:
6342020-01-01 12:44:55,598: DEBUG - El paquete `libffi-dev' no está instalado.
6352020-01-01 12:44:55,599: DEBUG - mastodon-ynh-deps depende de libgdbm-dev; sin embargo:
6362020-01-01 12:44:55,599: DEBUG - El paquete `libgdbm-dev' no está instalado.
6372020-01-01 12:44:55,599: DEBUG - mastodon-ynh-deps depende de postgresql; sin embargo:
6382020-01-01 12:44:55,599: DEBUG - El paquete `postgresql' no está instalado.
6392020-01-01 12:44:55,600: DEBUG - mastodon-ynh-deps depende de postgresql-contrib; sin embargo:
6402020-01-01 12:44:55,600: DEBUG - El paquete `postgresql-contrib' no está instalado.
6412020-01-01 12:44:55,600: DEBUG - mastodon-ynh-deps depende de libidn11-dev; sin embargo:
6422020-01-01 12:44:55,600: DEBUG - El paquete `libidn11-dev' no está instalado.
6432020-01-01 12:44:55,600: DEBUG - mastodon-ynh-deps depende de libicu-dev; sin embargo:
6442020-01-01 12:44:55,601: DEBUG - El paquete `libicu-dev' no está instalado.
6452020-01-01 12:44:55,601: DEBUG - mastodon-ynh-deps depende de libjemalloc-dev; sin embargo:
6462020-01-01 12:44:55,601: DEBUG - El paquete `libjemalloc-dev' no está instalado.
6472020-01-01 12:44:55,601: DEBUG -
6482020-01-01 12:44:55,602: DEBUG - Configurando mastodon-ynh-deps (3.0.1~ynh1) ...
6492020-01-01 12:44:55,602: DEBUG - + ynh_package_install -f
6502020-01-01 12:44:55,602: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
6512020-01-01 12:44:55,602: DEBUG - + ynh_wait_dpkg_free
6522020-01-01 12:44:55,602: DEBUG - + local try
6532020-01-01 12:44:55,603: DEBUG - ++ seq 1 17
6542020-01-01 12:44:55,603: DEBUG - + for try in `seq 1 17`
6552020-01-01 12:44:55,603: DEBUG - + sudo lsof /var/lib/dpkg/lock
6562020-01-01 12:44:55,704: WARNING - lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
6572020-01-01 12:44:55,704: WARNING - Output information may be incomplete.
6582020-01-01 12:44:56,006: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
6592020-01-01 12:44:56,006: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
6602020-01-01 12:44:56,006: DEBUG - + read dpkg_file
6612020-01-01 12:44:56,007: DEBUG - + grep -Pq '^[[:digit:]]+$'
6622020-01-01 12:44:56,007: DEBUG - + echo ''
6632020-01-01 12:44:56,007: DEBUG - + read dpkg_file
6642020-01-01 12:44:56,007: DEBUG - + return 0
6652020-01-01 12:44:56,007: DEBUG - + DEBIAN_FRONTEND=noninteractive
6662020-01-01 12:44:56,008: DEBUG - + apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
6672020-01-01 12:44:56,309: DEBUG - Leyendo lista de paquetes...
6682020-01-01 12:44:56,610: DEBUG - Creando árbol de dependencias...
6692020-01-01 12:44:56,610: DEBUG - Leyendo la información de estado...
6702020-01-01 12:44:57,012: DEBUG - Corrigiendo dependencias... Listo
6712020-01-01 12:44:57,413: DEBUG - Se instalarán los siguientes paquetes adicionales:
6722020-01-01 12:44:57,414: DEBUG - bison ffmpeg libavdevice57 libbison-dev libsdl2-2.0-0 postgresql
6732020-01-01 12:44:57,414: DEBUG - postgresql-9.6 postgresql-client-9.6 postgresql-client-common
6742020-01-01 12:44:57,414: DEBUG - postgresql-common postgresql-contrib-9.6 sysstat
6752020-01-01 12:44:57,414: DEBUG - Paquetes sugeridos:
6762020-01-01 12:44:57,414: DEBUG - bison-doc ffmpeg-doc postgresql-doc locales-all postgresql-doc-9.6
6772020-01-01 12:44:57,415: DEBUG - libdbd-pg-perl isag
6782020-01-01 12:44:57,415: DEBUG - Los siguientes paquetes se ELIMINARÁN:
6792020-01-01 12:44:57,415: DEBUG - mastodon-ynh-deps
6802020-01-01 12:44:57,415: DEBUG - Se instalarán los siguientes paquetes NUEVOS:
6812020-01-01 12:44:57,416: DEBUG - bison ffmpeg libavdevice57 libbison-dev libsdl2-2.0-0 postgresql
6822020-01-01 12:44:57,416: DEBUG - postgresql-9.6 postgresql-client-9.6 postgresql-client-common
6832020-01-01 12:44:57,416: DEBUG - postgresql-common postgresql-contrib-9.6 sysstat
6842020-01-01 12:44:57,517: DEBUG - 0 actualizados, 12 nuevos se instalarán, 1 para eliminar y 0 no actualizados.
6852020-01-01 12:44:57,518: WARNING - E: Se necesita eliminar paquetes, pero está desactivada la posibilidad de eliminar.
6862020-01-01 12:44:57,519: DEBUG - + ynh_die '--message=Unable to install dependencies'
6872020-01-01 12:44:57,520: WARNING - Unable to install dependencies
6882020-01-01 12:44:57,521: DEBUG - + local legacy_args=mc
6892020-01-01 12:44:57,521: DEBUG - + args_array=([m]=message= [c]=ret_code=)
6902020-01-01 12:44:57,522: DEBUG - + declare -Ar args_array
6912020-01-01 12:44:57,523: DEBUG - + local message
6922020-01-01 12:44:57,523: DEBUG - + local ret_code
6932020-01-01 12:44:57,524: DEBUG - + ynh_handle_getopts_args '--message=Unable to install dependencies'
6942020-01-01 12:44:57,524: DEBUG - + set +x
6952020-01-01 12:44:57,524: DEBUG - + echo 'Unable to install dependencies'
6962020-01-01 12:44:57,525: DEBUG - + exit 1
6972020-01-01 12:44:57,525: DEBUG - + ynh_exit_properly
6982020-01-01 12:44:57,526: DEBUG - + local exit_code=1
6992020-01-01 12:44:57,526: DEBUG - + '[' 1 -eq 0 ']'
7002020-01-01 12:44:57,526: DEBUG - + trap '' EXIT
7012020-01-01 12:44:57,527: DEBUG - + set +eu
7022020-01-01 12:44:57,527: DEBUG - + sleep 0.5
7032020-01-01 12:44:58,030: DEBUG - + ynh_print_err '--message=!!\n mastodon'\''s script has encountered an error. Its execution was cancelled.\n!!'
7042020-01-01 12:44:58,031: WARNING - [91m[1m[ERR][0m !!
7052020-01-01 12:44:58,032: DEBUG - + local legacy_args=m
7062020-01-01 12:44:58,032: WARNING - mastodon's script has encountered an error. Its execution was cancelled.
7072020-01-01 12:44:58,034: DEBUG - + args_array=([m]=message=)
7082020-01-01 12:44:58,034: WARNING - !!
7092020-01-01 12:44:58,035: DEBUG - + declare -Ar args_array
7102020-01-01 12:44:58,036: WARNING -
7112020-01-01 12:44:58,037: DEBUG - + local message
7122020-01-01 12:44:58,037: DEBUG - + ynh_handle_getopts_args '--message=!!\n mastodon'\''s script has encountered an error. Its execution was cancelled.\n!!'
7132020-01-01 12:44:58,038: DEBUG - + set +x
7142020-01-01 12:44:58,039: DEBUG - + ynh_print_log '\e[91m\e[1m[ERR]\e[0m !!\n mastodon'\''s script has encountered an error. Its execution was cancelled.\n!!'
7152020-01-01 12:44:58,039: DEBUG - + echo -e '\e[91m\e[1m[ERR]\e[0m !!\n mastodon'\''s script has encountered an error. Its execution was cancelled.\n!!'
7162020-01-01 12:44:58,040: DEBUG - + '[' api == cli ']'
7172020-01-01 12:44:58,040: DEBUG - + type -t ynh_clean_setup
7182020-01-01 12:44:58,041: DEBUG - + ynh_clean_setup
7192020-01-01 12:44:58,041: DEBUG - + ynh_clean_check_starting
7202020-01-01 12:44:58,042: DEBUG - + kill -s 15
7212020-01-01 12:44:58,043: DEBUG - kill: uso: kill [-s id_señal | -n num_señal | -id_señal] pid | idtrabajo ... ó kill -l [id_señal]
7222020-01-01 12:44:58,043: DEBUG - + ynh_secure_remove ''
7232020-01-01 12:44:58,043: DEBUG - + local legacy_args=f
7242020-01-01 12:44:58,044: DEBUG - + args_array=([f]=file=)
7252020-01-01 12:44:58,044: DEBUG - + declare -Ar args_array
7262020-01-01 12:44:58,044: DEBUG - + local file
7272020-01-01 12:44:58,044: DEBUG - + ynh_handle_getopts_args ''
7282020-01-01 12:44:58,045: DEBUG - + set +x
7292020-01-01 12:44:58,045: DEBUG - + echo '! Helper used in legacy mode !'
7302020-01-01 12:44:58,045: DEBUG - + set +x
7312020-01-01 12:44:58,045: DEBUG - + local 'forbidden_path= /var/www /home/yunohost.app'
7322020-01-01 12:44:58,046: DEBUG - + '[' 1 -ge 2 ']'
7332020-01-01 12:44:58,046: DEBUG - + [[ /var/www /home/yunohost.app =~ '' ]]
7342020-01-01 12:44:58,046: DEBUG - + ynh_print_warn '--message=Avoid deleting .'
7352020-01-01 12:44:58,046: DEBUG - + local legacy_args=m
7362020-01-01 12:44:58,046: DEBUG - + args_array=([m]=message=)
7372020-01-01 12:44:58,047: DEBUG - + declare -Ar args_array
7382020-01-01 12:44:58,047: DEBUG - + local message
7392020-01-01 12:44:58,047: DEBUG - + ynh_handle_getopts_args '--message=Avoid deleting .'
7402020-01-01 12:44:58,047: DEBUG - + set +x
7412020-01-01 12:44:58,048: DEBUG - + ynh_print_log '\e[93m\e[1m[WARN]\e[0m Avoid deleting .'
7422020-01-01 12:44:58,048: DEBUG - + echo -e '\e[93m\e[1m[WARN]\e[0m Avoid deleting .'
7432020-01-01 12:44:58,048: DEBUG - [93m[1m[WARN][0m Avoid deleting .
7442020-01-01 12:44:58,048: DEBUG - + ynh_die
7452020-01-01 12:44:58,048: DEBUG - + local legacy_args=mc
7462020-01-01 12:44:58,049: DEBUG - + args_array=([m]=message= [c]=ret_code=)
7472020-01-01 12:44:58,049: DEBUG - + declare -Ar args_array
7482020-01-01 12:44:58,049: DEBUG - + local message
7492020-01-01 12:44:58,049: DEBUG - + local ret_code
7502020-01-01 12:44:58,050: DEBUG - + ynh_handle_getopts_args
7512020-01-01 12:44:58,050: DEBUG - + set +x
7522020-01-01 12:44:58,050: DEBUG - + echo ''
7532020-01-01 12:44:58,050: DEBUG - + exit 1