2020-04-08 09:55:40,755: INFO - Installing the app 'mediawiki'…
2020-04-08 09:55:41,060: DEBUG - The permission database has been resynchronized
2020-04-08 09:55:41,242: DEBUG - status file not found for 'mediawiki'
Traceback (most recent call last):
File "/usr/lib/moulinette/yunohost/app.py", line 2234, in _get_app_status
with open(app_setting_path + '/status.json') as f:
IOError: [Errno 2] No such file or directory: u'/etc/yunohost/apps/mediawiki/status.json'
2020-04-08 09:55:41,246: DEBUG - cannot get app setting 'update_time' for 'mediawiki' ('update_time')
2020-04-08 09:55:41,658: DEBUG - SSOwat configuration generated
2020-04-08 09:55:41,681: DEBUG - No default hook for action 'post_app_addaccess' in /usr/share/yunohost/hooks/
2020-04-08 09:55:41,683: DEBUG - No custom hook for action 'post_app_addaccess' in /etc/yunohost/hooks.d/
2020-04-08 09:55:41,684: DEBUG - Permission 'mediawiki.main' created
2020-04-08 09:55:41,685: DEBUG - Full log of this operation: '<a href="#/tools/logs/20200408-135541-permission_create-mediawiki" style="text-decoration:underline">Create permission 'mediawiki'</a>'
2020-04-08 09:55:41,697: DEBUG - Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ARG_LANGUAGE=en YNH_APP_ARG_WIKI_NAME=BrimWiki YNH_APP_INSTANCE_NAME=mediawiki YNH_STDINFO=/tmp/tmpVqUxG6/stdinfo YNH_APP_ARG_PASSWORD=********** YNH_CWD=/var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_APP_ARG_ADMIN=briwats YNH_INTERFACE=api YNH_APP_ID=mediawiki YNH_APP_ARG_PATH=/wiki YNH_STDRETURN=/tmp/tmpqjhCAX/stdreturn YNH_APP_ARG_DOMAIN=wiki.brimstor.me BASH_XTRACEFD=7 /bin/bash -x "./install" wiki.brimstor.me /wiki briwats ********** en 1 BrimWiki mediawiki 7>&1'…
2020-04-08 09:55:41,697: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ARG_LANGUAGE=en YNH_APP_ARG_WIKI_NAME=BrimWiki YNH_APP_INSTANCE_NAME=mediawiki YNH_STDINFO=/tmp/tmpVqUxG6/stdinfo YNH_APP_ARG_PASSWORD=********** YNH_CWD=/var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_APP_ARG_ADMIN=briwats YNH_INTERFACE=api YNH_APP_ID=mediawiki YNH_APP_ARG_PATH=/wiki YNH_STDRETURN=/tmp/tmpqjhCAX/stdreturn YNH_APP_ARG_DOMAIN=wiki.brimstor.me BASH_XTRACEFD=7 /bin/bash -x "./install" wiki.brimstor.me /wiki briwats ********** en 1 BrimWiki mediawiki 7>&1']'
2020-04-08 09:55:41,722: DEBUG - + source _common.sh
2020-04-08 09:55:41,723: DEBUG - ++ pkg_dependencies='diffutils imagemagick acl'
2020-04-08 09:55:41,724: DEBUG - + source /usr/share/yunohost/helpers
2020-04-08 09:55:41,724: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2020-04-08 09:55:41,724: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-08 09:55:41,724: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2020-04-08 09:55:41,725: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2020-04-08 09:55:41,725: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-08 09:55:41,725: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2020-04-08 09:55:41,725: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2020-04-08 09:55:41,726: DEBUG - +++ CAN_BIND=1
2020-04-08 09:55:41,726: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-08 09:55:41,726: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2020-04-08 09:55:41,726: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2020-04-08 09:55:41,727: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-08 09:55:41,727: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2020-04-08 09:55:41,727: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2020-04-08 09:55:41,727: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-08 09:55:41,728: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2020-04-08 09:55:41,728: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2020-04-08 09:55:41,728: DEBUG - +++ increment_progression=0
2020-04-08 09:55:41,728: DEBUG - +++ previous_weight=0
2020-04-08 09:55:41,729: DEBUG - +++ max_progression=-1
2020-04-08 09:55:41,729: DEBUG - +++ progress_scale=20
2020-04-08 09:55:41,729: DEBUG - +++ progress_string2='####################'
2020-04-08 09:55:41,729: DEBUG - +++ progress_string1=++++++++++++++++++++
2020-04-08 09:55:41,730: DEBUG - +++ progress_string0=....................
2020-04-08 09:55:41,730: DEBUG - ++++ date +%s
2020-04-08 09:55:41,730: DEBUG - +++ base_time=1586354141
2020-04-08 09:55:41,730: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-08 09:55:41,730: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2020-04-08 09:55:41,731: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2020-04-08 09:55:41,731: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-08 09:55:41,731: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2020-04-08 09:55:41,731: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2020-04-08 09:55:41,732: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2020-04-08 09:55:41,832: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-08 09:55:41,833: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2020-04-08 09:55:41,834: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2020-04-08 09:55:41,834: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-08 09:55:41,835: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2020-04-08 09:55:41,835: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2020-04-08 09:55:41,836: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-08 09:55:41,837: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2020-04-08 09:55:41,837: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2020-04-08 09:55:41,838: DEBUG - +++ n_install_dir=/opt/node_n
2020-04-08 09:55:41,838: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2020-04-08 09:55:41,839: DEBUG - +++ export N_PREFIX=/opt/node_n
2020-04-08 09:55:41,839: DEBUG - +++ N_PREFIX=/opt/node_n
2020-04-08 09:55:41,840: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-08 09:55:41,840: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2020-04-08 09:55:41,841: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2020-04-08 09:55:41,841: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-08 09:55:41,842: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2020-04-08 09:55:41,842: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2020-04-08 09:55:41,843: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2020-04-08 09:55:41,843: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-08 09:55:41,844: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2020-04-08 09:55:41,845: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2020-04-08 09:55:41,845: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-08 09:55:41,846: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2020-04-08 09:55:41,846: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2020-04-08 09:55:41,847: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-08 09:55:41,847: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2020-04-08 09:55:41,848: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2020-04-08 09:55:41,848: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-08 09:55:41,849: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2020-04-08 09:55:41,849: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2020-04-08 09:55:41,849: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-08 09:55:41,849: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2020-04-08 09:55:41,850: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2020-04-08 09:55:41,850: DEBUG - + ynh_abort_if_errors
2020-04-08 09:55:41,850: DEBUG - + set -eu
2020-04-08 09:55:41,850: DEBUG - + trap ynh_exit_properly EXIT
2020-04-08 09:55:41,851: DEBUG - + app=mediawiki
2020-04-08 09:55:41,851: DEBUG - + domain=wiki.brimstor.me
2020-04-08 09:55:41,851: DEBUG - + path_url=/wiki
2020-04-08 09:55:41,851: DEBUG - + admin=briwats
2020-04-08 09:55:41,851: DEBUG - + admin_password=**********
2020-04-08 09:55:41,852: DEBUG - + is_public=1
2020-04-08 09:55:41,852: DEBUG - + language=en
2020-04-08 09:55:41,852: DEBUG - + password=**********
2020-04-08 09:55:41,852: DEBUG - + wiki_name=BrimWiki
2020-04-08 09:55:41,853: DEBUG - + ynh_script_progression '--message=Validating installation parameters...' --weight=1
2020-04-08 09:55:41,853: DEBUG - + set +x
2020-04-08 09:55:41,853: DEBUG - + set +x
2020-04-08 09:55:41,853: DEBUG - + echo '! Helper used in legacy mode !'
2020-04-08 09:55:41,854: DEBUG - + set +x
2020-04-08 09:55:41,854: DEBUG - + echo '[....................] > Validating installation parameters...'
2020-04-08 09:55:41,854: DEBUG - + set -x
2020-04-08 09:55:41,854: DEBUG - + final_path=/var/www/mediawiki
2020-04-08 09:55:41,854: DEBUG - + test '!' -e /var/www/mediawiki
2020-04-08 09:55:41,855: DEBUG - ++ ynh_normalize_url_path /wiki
2020-04-08 09:55:41,855: DEBUG - ++ local legacy_args=p
2020-04-08 09:55:41,855: DEBUG - ++ args_array=([p]=path_url=)
2020-04-08 09:55:41,855: DEBUG - ++ declare -Ar args_array
2020-04-08 09:55:41,856: DEBUG - ++ local path_url
2020-04-08 09:55:41,856: DEBUG - ++ ynh_handle_getopts_args /wiki
2020-04-08 09:55:41,856: DEBUG - ++ set +x
2020-04-08 09:55:41,856: DEBUG - ++ echo '! Helper used in legacy mode !'
2020-04-08 09:55:41,856: DEBUG - ++ set +x
2020-04-08 09:55:41,857: DEBUG - ++ test -n /wiki
2020-04-08 09:55:41,857: DEBUG - ++ '[' / '!=' / ']'
2020-04-08 09:55:41,857: DEBUG - ++ '[' i == / ']'
2020-04-08 09:55:41,857: DEBUG - ++ echo /wiki
2020-04-08 09:55:41,858: DEBUG - + path_url=/wiki
2020-04-08 09:55:41,858: DEBUG - + ynh_webpath_register --app=mediawiki --domain=wiki.brimstor.me --path_url=/wiki
2020-04-08 09:55:41,858: DEBUG - + local legacy_args=adp
2020-04-08 09:55:41,858: DEBUG - + args_array=([a]=app= [d]=domain= [p]=path_url=)
2020-04-08 09:55:41,858: DEBUG - + declare -Ar args_array
2020-04-08 09:55:41,859: DEBUG - + local app
2020-04-08 09:55:41,859: DEBUG - + local domain
2020-04-08 09:55:41,859: DEBUG - + local path_url
2020-04-08 09:55:41,859: DEBUG - + ynh_handle_getopts_args --app=mediawiki --domain=wiki.brimstor.me --path_url=/wiki
2020-04-08 09:55:41,860: DEBUG - + set +x
2020-04-08 09:55:41,860: DEBUG - + sudo yunohost app register-url mediawiki wiki.brimstor.me /wiki
2020-04-08 09:55:42,462: DEBUG - + ynh_script_progression '--message=Generating dedicated LDAP user credentials...' --weight=2
2020-04-08 09:55:42,463: INFO - [....................] > Validating installation parameters...
2020-04-08 09:55:42,466: DEBUG - + set +x
2020-04-08 09:55:42,466: DEBUG - + set +x
2020-04-08 09:55:42,567: DEBUG - + echo '! Helper used in legacy mode !'
2020-04-08 09:55:42,568: INFO - [+...................] > Generating dedicated LDAP user credentials...
2020-04-08 09:55:42,569: DEBUG - + set +x
2020-04-08 09:55:42,570: DEBUG - + echo '[+...................] > Generating dedicated LDAP user credentials...'
2020-04-08 09:55:42,571: DEBUG - + set -x
2020-04-08 09:55:42,571: DEBUG - + ldap_user=mediawiki_ldap
2020-04-08 09:55:42,572: DEBUG - ++ ynh_string_random --length=8
2020-04-08 09:55:42,572: DEBUG - ++ local legacy_args=l
2020-04-08 09:55:42,573: DEBUG - ++ args_array=([l]=length=)
2020-04-08 09:55:42,573: DEBUG - ++ declare -Ar args_array
2020-04-08 09:55:42,574: DEBUG - ++ local length
2020-04-08 09:55:42,574: DEBUG - ++ ynh_handle_getopts_args --length=8
2020-04-08 09:55:42,575: DEBUG - ++ set +x
2020-04-08 09:55:42,575: DEBUG - ++ length=8
2020-04-08 09:55:42,576: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2020-04-08 09:55:42,576: DEBUG - ++ tr -c -d A-Za-z0-9
2020-04-08 09:55:42,577: DEBUG - ++ sed -n 's/\(.\{8\}\).*/\1/p'
2020-04-08 09:55:42,577: DEBUG - + ldap_password=**********
2020-04-08 09:55:42,578: DEBUG - + ynh_script_progression '--message=Storing installation settings...' --weight=1
2020-04-08 09:55:42,579: DEBUG - + set +x
2020-04-08 09:55:42,579: DEBUG - + set +x
2020-04-08 09:55:42,580: DEBUG - + echo '! Helper used in legacy mode !'
2020-04-08 09:55:42,580: DEBUG - + set +x
2020-04-08 09:55:42,581: DEBUG - + echo '[#...................] > Storing installation settings...'
2020-04-08 09:55:42,581: DEBUG - + set -x
2020-04-08 09:55:42,581: DEBUG - + ynh_app_setting_set --app=mediawiki --key=domain --value=wiki.brimstor.me
2020-04-08 09:55:42,581: DEBUG - + local legacy_args=akv
2020-04-08 09:55:42,582: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-08 09:55:42,582: DEBUG - + declare -Ar args_array
2020-04-08 09:55:42,582: DEBUG - + local app
2020-04-08 09:55:42,582: DEBUG - + local key
2020-04-08 09:55:42,583: DEBUG - + local value
2020-04-08 09:55:42,583: DEBUG - + ynh_handle_getopts_args --app=mediawiki --key=domain --value=wiki.brimstor.me
2020-04-08 09:55:42,583: DEBUG - + set +x
2020-04-08 09:55:42,583: DEBUG - + ynh_app_setting set mediawiki domain wiki.brimstor.me
2020-04-08 09:55:42,583: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-04-08 09:55:42,584: DEBUG - + ACTION=set
2020-04-08 09:55:42,584: DEBUG - + APP=mediawiki
2020-04-08 09:55:42,584: DEBUG - + KEY=domain
2020-04-08 09:55:42,584: DEBUG - + VALUE=wiki.brimstor.me
2020-04-08 09:55:42,585: DEBUG - + python2.7 -
2020-04-08 09:55:42,786: DEBUG - + [[ domain =~ ^(unprotected|skipped)_ ]]
2020-04-08 09:55:42,786: INFO - [#...................] > Storing installation settings...
2020-04-08 09:55:42,788: DEBUG - + ynh_app_setting_set --app=mediawiki --key=path --value=/wiki
2020-04-08 09:55:42,788: DEBUG - + local legacy_args=akv
2020-04-08 09:55:42,789: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-08 09:55:42,789: DEBUG - + declare -Ar args_array
2020-04-08 09:55:42,790: DEBUG - + local app
2020-04-08 09:55:42,791: DEBUG - + local key
2020-04-08 09:55:42,791: DEBUG - + local value
2020-04-08 09:55:42,792: DEBUG - + ynh_handle_getopts_args --app=mediawiki --key=path --value=/wiki
2020-04-08 09:55:42,792: DEBUG - + set +x
2020-04-08 09:55:42,793: DEBUG - + ynh_app_setting set mediawiki path /wiki
2020-04-08 09:55:42,794: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-04-08 09:55:42,794: DEBUG - + ACTION=set
2020-04-08 09:55:42,795: DEBUG - + APP=mediawiki
2020-04-08 09:55:42,795: DEBUG - + KEY=path
2020-04-08 09:55:42,796: DEBUG - + VALUE=/wiki
2020-04-08 09:55:42,796: DEBUG - + python2.7 -
2020-04-08 09:55:42,998: DEBUG - + [[ path =~ ^(unprotected|skipped)_ ]]
2020-04-08 09:55:42,999: DEBUG - + ynh_app_setting_set --app=mediawiki --key=admin --value=briwats
2020-04-08 09:55:42,999: DEBUG - + local legacy_args=akv
2020-04-08 09:55:43,000: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-08 09:55:43,000: DEBUG - + declare -Ar args_array
2020-04-08 09:55:43,001: DEBUG - + local app
2020-04-08 09:55:43,002: DEBUG - + local key
2020-04-08 09:55:43,002: DEBUG - + local value
2020-04-08 09:55:43,003: DEBUG - + ynh_handle_getopts_args --app=mediawiki --key=admin --value=briwats
2020-04-08 09:55:43,003: DEBUG - + set +x
2020-04-08 09:55:43,004: DEBUG - + ynh_app_setting set mediawiki admin briwats
2020-04-08 09:55:43,004: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-04-08 09:55:43,005: DEBUG - + ACTION=set
2020-04-08 09:55:43,005: DEBUG - + APP=mediawiki
2020-04-08 09:55:43,006: DEBUG - + KEY=admin
2020-04-08 09:55:43,006: DEBUG - + VALUE=briwats
2020-04-08 09:55:43,007: DEBUG - + python2.7 -
2020-04-08 09:55:43,208: DEBUG - + [[ admin =~ ^(unprotected|skipped)_ ]]
2020-04-08 09:55:43,209: DEBUG - + ynh_app_setting_set --app=mediawiki --key=admin_password --value=**********
2020-04-08 09:55:43,209: DEBUG - + local legacy_args=akv
2020-04-08 09:55:43,210: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-08 09:55:43,211: DEBUG - + declare -Ar args_array
2020-04-08 09:55:43,211: DEBUG - + local app
2020-04-08 09:55:43,212: DEBUG - + local key
2020-04-08 09:55:43,212: DEBUG - + local value
2020-04-08 09:55:43,213: DEBUG - + ynh_handle_getopts_args --app=mediawiki --key=admin_password --value=**********
2020-04-08 09:55:43,214: DEBUG - + set +x
2020-04-08 09:55:43,214: DEBUG - + ynh_app_setting set mediawiki admin_password **********
2020-04-08 09:55:43,215: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-04-08 09:55:43,215: DEBUG - + ACTION=set
2020-04-08 09:55:43,216: DEBUG - + APP=mediawiki
2020-04-08 09:55:43,217: DEBUG - + KEY=admin_password
2020-04-08 09:55:43,217: DEBUG - + VALUE=**********
2020-04-08 09:55:43,218: DEBUG - + python2.7 -
2020-04-08 09:55:43,419: DEBUG - + [[ admin_password =~ ^(unprotected|skipped)_ ]]
2020-04-08 09:55:43,425: DEBUG - + ynh_app_setting_set --app=mediawiki --key=is_public --value=1
2020-04-08 09:55:43,426: DEBUG - + local legacy_args=akv
2020-04-08 09:55:43,426: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-08 09:55:43,427: DEBUG - + declare -Ar args_array
2020-04-08 09:55:43,428: DEBUG - + local app
2020-04-08 09:55:43,428: DEBUG - + local key
2020-04-08 09:55:43,429: DEBUG - + local value
2020-04-08 09:55:43,429: DEBUG - + ynh_handle_getopts_args --app=mediawiki --key=is_public --value=1
2020-04-08 09:55:43,430: DEBUG - + set +x
2020-04-08 09:55:43,430: DEBUG - + ynh_app_setting set mediawiki is_public 1
2020-04-08 09:55:43,431: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-04-08 09:55:43,432: DEBUG - + ACTION=set
2020-04-08 09:55:43,432: DEBUG - + APP=mediawiki
2020-04-08 09:55:43,433: DEBUG - + KEY=is_public
2020-04-08 09:55:43,433: DEBUG - + VALUE=1
2020-04-08 09:55:43,434: DEBUG - + python2.7 -
2020-04-08 09:55:43,635: DEBUG - + [[ is_public =~ ^(unprotected|skipped)_ ]]
2020-04-08 09:55:43,636: DEBUG - + ynh_app_setting_set --app=mediawiki --key=language --value=en
2020-04-08 09:55:43,636: DEBUG - + local legacy_args=akv
2020-04-08 09:55:43,637: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-08 09:55:43,637: DEBUG - + declare -Ar args_array
2020-04-08 09:55:43,638: DEBUG - + local app
2020-04-08 09:55:43,639: DEBUG - + local key
2020-04-08 09:55:43,639: DEBUG - + local value
2020-04-08 09:55:43,640: DEBUG - + ynh_handle_getopts_args --app=mediawiki --key=language --value=en
2020-04-08 09:55:43,640: DEBUG - + set +x
2020-04-08 09:55:43,641: DEBUG - + ynh_app_setting set mediawiki language en
2020-04-08 09:55:43,642: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-04-08 09:55:43,642: DEBUG - + ACTION=set
2020-04-08 09:55:43,643: DEBUG - + APP=mediawiki
2020-04-08 09:55:43,643: DEBUG - + KEY=language
2020-04-08 09:55:43,644: DEBUG - + VALUE=en
2020-04-08 09:55:43,645: DEBUG - + python2.7 -
2020-04-08 09:55:43,846: DEBUG - + [[ language =~ ^(unprotected|skipped)_ ]]
2020-04-08 09:55:43,846: DEBUG - + ynh_app_setting_set --app=mediawiki --key=wiki_name --value=BrimWiki
2020-04-08 09:55:43,847: DEBUG - + local legacy_args=akv
2020-04-08 09:55:43,848: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-08 09:55:43,848: DEBUG - + declare -Ar args_array
2020-04-08 09:55:43,849: DEBUG - + local app
2020-04-08 09:55:43,849: DEBUG - + local key
2020-04-08 09:55:43,850: DEBUG - + local value
2020-04-08 09:55:43,850: DEBUG - + ynh_handle_getopts_args --app=mediawiki --key=wiki_name --value=BrimWiki
2020-04-08 09:55:43,851: DEBUG - + set +x
2020-04-08 09:55:43,952: DEBUG - + ynh_app_setting set mediawiki wiki_name BrimWiki
2020-04-08 09:55:43,952: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-04-08 09:55:43,952: DEBUG - + ACTION=set
2020-04-08 09:55:43,953: DEBUG - + APP=mediawiki
2020-04-08 09:55:43,953: DEBUG - + KEY=wiki_name
2020-04-08 09:55:43,953: DEBUG - + VALUE=BrimWiki
2020-04-08 09:55:43,953: DEBUG - + python2.7 -
2020-04-08 09:55:44,054: DEBUG - + [[ wiki_name =~ ^(unprotected|skipped)_ ]]
2020-04-08 09:55:44,055: DEBUG - + ynh_app_setting_set --app=mediawiki --key=ldap_user --value=mediawiki_ldap
2020-04-08 09:55:44,055: DEBUG - + local legacy_args=akv
2020-04-08 09:55:44,056: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-08 09:55:44,056: DEBUG - + declare -Ar args_array
2020-04-08 09:55:44,057: DEBUG - + local app
2020-04-08 09:55:44,057: DEBUG - + local key
2020-04-08 09:55:44,058: DEBUG - + local value
2020-04-08 09:55:44,058: DEBUG - + ynh_handle_getopts_args --app=mediawiki --key=ldap_user --value=mediawiki_ldap
2020-04-08 09:55:44,059: DEBUG - + set +x
2020-04-08 09:55:44,160: DEBUG - + ynh_app_setting set mediawiki ldap_user mediawiki_ldap
2020-04-08 09:55:44,160: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-04-08 09:55:44,161: DEBUG - + ACTION=set
2020-04-08 09:55:44,161: DEBUG - + APP=mediawiki
2020-04-08 09:55:44,161: DEBUG - + KEY=ldap_user
2020-04-08 09:55:44,161: DEBUG - + VALUE=mediawiki_ldap
2020-04-08 09:55:44,161: DEBUG - + python2.7 -
2020-04-08 09:55:44,262: DEBUG - + [[ ldap_user =~ ^(unprotected|skipped)_ ]]
2020-04-08 09:55:44,263: DEBUG - + ynh_app_setting_set --app=mediawiki --key=ldap_password --value=**********
2020-04-08 09:55:44,263: DEBUG - + local legacy_args=akv
2020-04-08 09:55:44,264: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-08 09:55:44,264: DEBUG - + declare -Ar args_array
2020-04-08 09:55:44,265: DEBUG - + local app
2020-04-08 09:55:44,265: DEBUG - + local key
2020-04-08 09:55:44,266: DEBUG - + local value
2020-04-08 09:55:44,266: DEBUG - + ynh_handle_getopts_args --app=mediawiki --key=ldap_password --value=**********
2020-04-08 09:55:44,267: DEBUG - + set +x
2020-04-08 09:55:44,367: DEBUG - + ynh_app_setting set mediawiki ldap_password **********
2020-04-08 09:55:44,368: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-04-08 09:55:44,368: DEBUG - + ACTION=set
2020-04-08 09:55:44,368: DEBUG - + APP=mediawiki
2020-04-08 09:55:44,369: DEBUG - + KEY=ldap_password
2020-04-08 09:55:44,369: DEBUG - + VALUE=**********
2020-04-08 09:55:44,369: DEBUG - + python2.7 -
2020-04-08 09:55:44,570: DEBUG - + [[ ldap_password =~ ^(unprotected|skipped)_ ]]
2020-04-08 09:55:44,571: DEBUG - + ynh_script_progression '--message=Installing dependencies...' --weight=10
2020-04-08 09:55:44,571: DEBUG - + set +x
2020-04-08 09:55:44,572: DEBUG - + set +x
2020-04-08 09:55:44,572: DEBUG - + echo '! Helper used in legacy mode !'
2020-04-08 09:55:44,573: DEBUG - + set +x
2020-04-08 09:55:44,573: DEBUG - + echo '[#++++...............] > Installing dependencies...'
2020-04-08 09:55:44,573: DEBUG - + set -x
2020-04-08 09:55:44,573: DEBUG - + ynh_install_app_dependencies diffutils imagemagick acl
2020-04-08 09:55:44,574: DEBUG - + local 'dependencies=diffutils imagemagick acl'
2020-04-08 09:55:44,574: DEBUG - + local 'dependencies=diffutils, imagemagick, acl'
2020-04-08 09:55:44,574: DEBUG - + local 'dependencies=diffutils, imagemagick, acl'
2020-04-08 09:55:44,574: DEBUG - + local manifest_path=../manifest.json
2020-04-08 09:55:44,575: DEBUG - + '[' '!' -e ../manifest.json ']'
2020-04-08 09:55:44,575: DEBUG - ++ grep '\"version\": ' ../manifest.json
2020-04-08 09:55:44,575: DEBUG - ++ cut -d '"' -f 4
2020-04-08 09:55:44,575: DEBUG - + local version=1.32.0
2020-04-08 09:55:44,576: DEBUG - + '[' 6 -eq 0 ']'
2020-04-08 09:55:44,576: DEBUG - + local dep_app=mediawiki
2020-04-08 09:55:44,576: DEBUG - + echo diffutils, imagemagick, acl
2020-04-08 09:55:44,576: DEBUG - + grep -q php
2020-04-08 09:55:44,577: DEBUG - + cat
2020-04-08 09:55:44,577: DEBUG - + ynh_package_install_from_equivs /tmp/mediawiki-ynh-deps.control
2020-04-08 09:55:44,577: DEBUG - + local controlfile=/tmp/mediawiki-ynh-deps.control
2020-04-08 09:55:44,577: DEBUG - ++ grep '^Package: ' /tmp/mediawiki-ynh-deps.control
2020-04-08 09:55:44,577: DEBUG - ++ cut '-d ' -f 2
2020-04-08 09:55:44,578: DEBUG - + local pkgname=mediawiki-ynh-deps
2020-04-08 09:55:44,578: DEBUG - ++ grep '^Version: ' /tmp/mediawiki-ynh-deps.control
2020-04-08 09:55:44,578: DEBUG - ++ cut '-d ' -f 2
2020-04-08 09:55:44,578: DEBUG - + local pkgversion=1.32.0
2020-04-08 09:55:44,579: DEBUG - + [[ -z mediawiki-ynh-deps ]]
2020-04-08 09:55:44,579: DEBUG - + [[ -z 1.32.0 ]]
2020-04-08 09:55:44,579: DEBUG - + ynh_package_update
2020-04-08 09:55:44,580: DEBUG - + ynh_apt update
2020-04-08 09:55:44,580: DEBUG - + ynh_wait_dpkg_free
2020-04-08 09:55:44,580: DEBUG - + local try
2020-04-08 09:55:44,580: DEBUG - ++ seq 1 17
2020-04-08 09:55:44,580: DEBUG - + for try in `seq 1 17`
2020-04-08 09:55:44,581: DEBUG - + sudo lsof /var/lib/dpkg/lock
2020-04-08 09:55:44,882: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2020-04-08 09:55:44,882: INFO - [#++++...............] > Installing dependencies...
2020-04-08 09:55:44,883: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2020-04-08 09:55:44,883: DEBUG - + read dpkg_file
2020-04-08 09:55:44,883: DEBUG - + echo ''
2020-04-08 09:55:44,883: DEBUG - + grep -Pq '^[[:digit:]]+$'
2020-04-08 09:55:44,884: DEBUG - + read dpkg_file
2020-04-08 09:55:44,884: DEBUG - + return 0
2020-04-08 09:55:44,884: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-04-08 09:55:44,884: DEBUG - + apt-get -y update
2020-04-08 09:55:45,387: DEBUG - Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
2020-04-08 09:55:45,688: DEBUG - Hit:2 http://forge.yunohost.org/debian stretch InRelease
2020-04-08 09:55:45,789: DEBUG - Hit:3 https://packages.sury.org/php stretch InRelease
2020-04-08 09:55:46,091: DEBUG - Ign:4 http://ftp.us.debian.org/debian stretch InRelease
2020-04-08 09:55:46,192: DEBUG - Hit:5 http://ftp.us.debian.org/debian stretch-updates InRelease
2020-04-08 09:55:46,193: DEBUG - Hit:6 http://ftp.us.debian.org/debian stretch Release
2020-04-08 09:55:46,193: DEBUG - Hit:7 https://download.docker.com/linux/debian stretch InRelease
2020-04-08 09:55:48,198: DEBUG - Reading package lists...
2020-04-08 09:55:48,199: DEBUG - ++ mktemp -d
2020-04-08 09:55:48,200: DEBUG - + local TMPDIR=/tmp/tmp.u8FlJCxry3
2020-04-08 09:55:48,200: DEBUG - + echo 10
2020-04-08 09:55:48,201: DEBUG - + ynh_wait_dpkg_free
2020-04-08 09:55:48,201: DEBUG - + local try
2020-04-08 09:55:48,202: DEBUG - ++ seq 1 17
2020-04-08 09:55:48,202: DEBUG - + for try in `seq 1 17`
2020-04-08 09:55:48,203: DEBUG - + sudo lsof /var/lib/dpkg/lock
2020-04-08 09:55:48,604: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2020-04-08 09:55:48,605: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2020-04-08 09:55:48,605: DEBUG - + read dpkg_file
2020-04-08 09:55:48,605: DEBUG - + echo ''
2020-04-08 09:55:48,605: DEBUG - + grep -Pq '^[[:digit:]]+$'
2020-04-08 09:55:48,606: DEBUG - + read dpkg_file
2020-04-08 09:55:48,606: DEBUG - + return 0
2020-04-08 09:55:48,606: DEBUG - + cp /tmp/mediawiki-ynh-deps.control /tmp/tmp.u8FlJCxry3/control
2020-04-08 09:55:48,606: DEBUG - + cd /tmp/tmp.u8FlJCxry3
2020-04-08 09:55:48,607: DEBUG - + equivs-build ./control
2020-04-08 09:55:49,910: DEBUG - + dpkg --force-depends -i ./mediawiki-ynh-deps_1.32.0_all.deb
2020-04-08 09:55:50,011: DEBUG - Selecting previously unselected package mediawiki-ynh-deps.
2020-04-08 09:55:50,012: DEBUG - (Reading database ... 70526 files and directories currently installed.)
2020-04-08 09:55:50,112: DEBUG - Preparing to unpack .../mediawiki-ynh-deps_1.32.0_all.deb ...
2020-04-08 09:55:50,113: DEBUG - Unpacking mediawiki-ynh-deps (1.32.0) ...
2020-04-08 09:55:50,114: DEBUG - Setting up mediawiki-ynh-deps (1.32.0) ...
2020-04-08 09:55:50,215: DEBUG - + ynh_package_install -f
2020-04-08 09:55:50,216: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2020-04-08 09:55:50,216: DEBUG - + ynh_wait_dpkg_free
2020-04-08 09:55:50,217: DEBUG - + local try
2020-04-08 09:55:50,218: DEBUG - ++ seq 1 17
2020-04-08 09:55:50,218: DEBUG - + for try in `seq 1 17`
2020-04-08 09:55:50,219: DEBUG - + sudo lsof /var/lib/dpkg/lock
2020-04-08 09:55:50,520: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2020-04-08 09:55:50,521: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2020-04-08 09:55:50,522: DEBUG - + read dpkg_file
2020-04-08 09:55:50,522: DEBUG - + echo ''
2020-04-08 09:55:50,523: DEBUG - + grep -Pq '^[[:digit:]]+$'
2020-04-08 09:55:50,523: DEBUG - + read dpkg_file
2020-04-08 09:55:50,524: DEBUG - + return 0
2020-04-08 09:55:50,524: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-04-08 09:55:50,525: DEBUG - + apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2020-04-08 09:55:50,826: DEBUG - Reading package lists...
2020-04-08 09:55:51,127: DEBUG - Building dependency tree...
2020-04-08 09:55:51,128: DEBUG - Reading state information...
2020-04-08 09:55:51,529: DEBUG - The following packages were automatically installed and are no longer required:
2020-04-08 09:55:51,530: DEBUG - libtidy5 php-zip php7.4-zip sgml-base xml-core
2020-04-08 09:55:51,530: DEBUG - Use 'apt autoremove' to remove them.
2020-04-08 09:55:51,530: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2020-04-08 09:55:51,631: DEBUG - + [[ -n /tmp/tmp.u8FlJCxry3 ]]
2020-04-08 09:55:51,631: DEBUG - + rm -rf /tmp/tmp.u8FlJCxry3
2020-04-08 09:55:51,631: DEBUG - + ynh_package_is_installed mediawiki-ynh-deps
2020-04-08 09:55:51,632: DEBUG - + local legacy_args=p
2020-04-08 09:55:51,632: DEBUG - + args_array=([p]=package=)
2020-04-08 09:55:51,632: DEBUG - + declare -Ar args_array
2020-04-08 09:55:51,632: DEBUG - + local package
2020-04-08 09:55:51,632: DEBUG - + ynh_handle_getopts_args mediawiki-ynh-deps
2020-04-08 09:55:51,633: DEBUG - + set +x
2020-04-08 09:55:51,633: DEBUG - + echo '! Helper used in legacy mode !'
2020-04-08 09:55:51,633: DEBUG - + set +x
2020-04-08 09:55:51,633: DEBUG - + ynh_wait_dpkg_free
2020-04-08 09:55:51,634: DEBUG - + local try
2020-04-08 09:55:51,634: DEBUG - ++ seq 1 17
2020-04-08 09:55:51,634: DEBUG - + for try in `seq 1 17`
2020-04-08 09:55:51,634: DEBUG - + sudo lsof /var/lib/dpkg/lock
2020-04-08 09:55:51,835: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2020-04-08 09:55:51,836: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2020-04-08 09:55:51,937: DEBUG - + read dpkg_file
2020-04-08 09:55:51,937: DEBUG - + echo ''
2020-04-08 09:55:51,937: DEBUG - + grep -Pq '^[[:digit:]]+$'
2020-04-08 09:55:51,937: DEBUG - + read dpkg_file
2020-04-08 09:55:51,938: DEBUG - + return 0
2020-04-08 09:55:51,938: DEBUG - + dpkg-query -W -f '${Status}' mediawiki-ynh-deps
2020-04-08 09:55:51,938: DEBUG - + grep -c 'ok installed'
2020-04-08 09:55:51,938: DEBUG - + rm /tmp/mediawiki-ynh-deps.control
2020-04-08 09:55:51,939: DEBUG - + ynh_app_setting_set --app=mediawiki --key=apt_dependencies '--value=diffutils, imagemagick, acl'
2020-04-08 09:55:51,939: DEBUG - + local legacy_args=akv
2020-04-08 09:55:51,939: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-08 09:55:51,939: DEBUG - + declare -Ar args_array
2020-04-08 09:55:51,939: DEBUG - + local app
2020-04-08 09:55:51,940: DEBUG - + local key
2020-04-08 09:55:51,940: DEBUG - + local value
2020-04-08 09:55:51,940: DEBUG - + ynh_handle_getopts_args --app=mediawiki --key=apt_dependencies '--value=diffutils, imagemagick, acl'
2020-04-08 09:55:51,940: DEBUG - + set +x
2020-04-08 09:55:51,941: DEBUG - + ynh_app_setting set mediawiki apt_dependencies 'diffutils, imagemagick, acl'
2020-04-08 09:55:51,941: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-04-08 09:55:51,941: DEBUG - + ACTION=set
2020-04-08 09:55:51,941: DEBUG - + APP=mediawiki
2020-04-08 09:55:51,942: DEBUG - + KEY=apt_dependencies
2020-04-08 09:55:51,942: DEBUG - + VALUE='diffutils, imagemagick, acl'
2020-04-08 09:55:51,942: DEBUG - + python2.7 -
2020-04-08 09:55:52,143: DEBUG - + [[ apt_dependencies =~ ^(unprotected|skipped)_ ]]
2020-04-08 09:55:52,144: DEBUG - + ynh_script_progression '--message=Creating a MySQL database...' --weight=3
2020-04-08 09:55:52,144: DEBUG - + set +x
2020-04-08 09:55:52,145: DEBUG - + set +x
2020-04-08 09:55:52,146: DEBUG - + echo '! Helper used in legacy mode !'
2020-04-08 09:55:52,146: DEBUG - + set +x
2020-04-08 09:55:52,247: DEBUG - + echo '[#####++.............] > Creating a MySQL database...'
2020-04-08 09:55:52,248: INFO - [#####++.............] > Creating a MySQL database...
2020-04-08 09:55:52,248: DEBUG - + set -x
2020-04-08 09:55:52,248: DEBUG - ++ ynh_sanitize_dbid mediawiki
2020-04-08 09:55:52,249: DEBUG - ++ local legacy_args=n
2020-04-08 09:55:52,249: DEBUG - ++ args_array=([n]=db_name=)
2020-04-08 09:55:52,249: DEBUG - ++ declare -Ar args_array
2020-04-08 09:55:52,249: DEBUG - ++ local db_name
2020-04-08 09:55:52,250: DEBUG - ++ ynh_handle_getopts_args mediawiki
2020-04-08 09:55:52,250: DEBUG - ++ set +x
2020-04-08 09:55:52,250: DEBUG - ++ echo '! Helper used in legacy mode !'
2020-04-08 09:55:52,250: DEBUG - ++ set +x
2020-04-08 09:55:52,250: DEBUG - ++ echo mediawiki
2020-04-08 09:55:52,251: DEBUG - + db_name=mediawiki
2020-04-08 09:55:52,251: DEBUG - + db_user=mediawiki
2020-04-08 09:55:52,251: DEBUG - + ynh_app_setting_set --app=mediawiki --key=db_name --value=mediawiki
2020-04-08 09:55:52,251: DEBUG - + local legacy_args=akv
2020-04-08 09:55:52,252: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-08 09:55:52,252: DEBUG - + declare -Ar args_array
2020-04-08 09:55:52,252: DEBUG - + local app
2020-04-08 09:55:52,252: DEBUG - + local key
2020-04-08 09:55:52,253: DEBUG - + local value
2020-04-08 09:55:52,253: DEBUG - + ynh_handle_getopts_args --app=mediawiki --key=db_name --value=mediawiki
2020-04-08 09:55:52,253: DEBUG - + set +x
2020-04-08 09:55:52,253: DEBUG - + ynh_app_setting set mediawiki db_name mediawiki
2020-04-08 09:55:52,253: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-04-08 09:55:52,254: DEBUG - + ACTION=set
2020-04-08 09:55:52,254: DEBUG - + APP=mediawiki
2020-04-08 09:55:52,254: DEBUG - + KEY=db_name
2020-04-08 09:55:52,254: DEBUG - + VALUE=mediawiki
2020-04-08 09:55:52,255: DEBUG - + python2.7 -
2020-04-08 09:55:52,455: DEBUG - + [[ db_name =~ ^(unprotected|skipped)_ ]]
2020-04-08 09:55:52,456: DEBUG - + ynh_app_setting_set --app=mediawiki --key=db_user --value=mediawiki
2020-04-08 09:55:52,456: DEBUG - + local legacy_args=akv
2020-04-08 09:55:52,456: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-08 09:55:52,457: DEBUG - + declare -Ar args_array
2020-04-08 09:55:52,457: DEBUG - + local app
2020-04-08 09:55:52,457: DEBUG - + local key
2020-04-08 09:55:52,457: DEBUG - + local value
2020-04-08 09:55:52,457: DEBUG - + ynh_handle_getopts_args --app=mediawiki --key=db_user --value=mediawiki
2020-04-08 09:55:52,458: DEBUG - + set +x
2020-04-08 09:55:52,458: DEBUG - + ynh_app_setting set mediawiki db_user mediawiki
2020-04-08 09:55:52,458: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-04-08 09:55:52,458: DEBUG - + ACTION=set
2020-04-08 09:55:52,459: DEBUG - + APP=mediawiki
2020-04-08 09:55:52,459: DEBUG - + KEY=db_user
2020-04-08 09:55:52,459: DEBUG - + VALUE=mediawiki
2020-04-08 09:55:52,459: DEBUG - + python2.7 -
2020-04-08 09:55:52,660: DEBUG - + [[ db_user =~ ^(unprotected|skipped)_ ]]
2020-04-08 09:55:52,661: DEBUG - + ynh_mysql_setup_db --db_user=mediawiki --db_name=mediawiki
2020-04-08 09:55:52,661: DEBUG - + local legacy_args=unp
2020-04-08 09:55:52,661: DEBUG - + args_array=([u]=db_user= [n]=db_name= [p]=db_pwd=)
2020-04-08 09:55:52,661: DEBUG - + declare -Ar args_array
2020-04-08 09:55:52,662: DEBUG - + local db_user
2020-04-08 09:55:52,662: DEBUG - + local db_name
2020-04-08 09:55:52,662: DEBUG - + db_pwd=
2020-04-08 09:55:52,662: DEBUG - + ynh_handle_getopts_args --db_user=mediawiki --db_name=mediawiki
2020-04-08 09:55:52,663: DEBUG - + set +x
2020-04-08 09:55:52,663: DEBUG - ++ ynh_string_random
2020-04-08 09:55:52,663: DEBUG - ++ local legacy_args=l
2020-04-08 09:55:52,663: DEBUG - ++ args_array=([l]=length=)
2020-04-08 09:55:52,664: DEBUG - ++ declare -Ar args_array
2020-04-08 09:55:52,664: DEBUG - ++ local length
2020-04-08 09:55:52,664: DEBUG - ++ ynh_handle_getopts_args
2020-04-08 09:55:52,664: DEBUG - ++ set +x
2020-04-08 09:55:52,665: DEBUG - ++ length=24
2020-04-08 09:55:52,665: DEBUG - ++ tr -c -d A-Za-z0-9
2020-04-08 09:55:52,665: DEBUG - ++ sed -n 's/\(.\{24\}\).*/\1/p'
2020-04-08 09:55:52,665: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2020-04-08 09:55:52,666: DEBUG - + local new_db_pwd=**********
2020-04-08 09:55:52,666: DEBUG - + db_pwd=**********
2020-04-08 09:55:52,666: DEBUG - + ynh_mysql_create_db mediawiki mediawiki **********
2020-04-08 09:55:52,666: DEBUG - + local db=mediawiki
2020-04-08 09:55:52,666: DEBUG - + local 'sql=CREATE DATABASE mediawiki;'
2020-04-08 09:55:52,667: DEBUG - + [[ 3 -gt 1 ]]
2020-04-08 09:55:52,667: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON mediawiki.* TO '\''mediawiki'\''@'\''localhost'\'''
2020-04-08 09:55:52,667: DEBUG - + [[ -n ********** ]]
2020-04-08 09:55:52,667: DEBUG - + sql+=' IDENTIFIED BY '\''**********'\'''
2020-04-08 09:55:52,668: DEBUG - + sql+=' WITH GRANT OPTION;'
2020-04-08 09:55:52,668: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE mediawiki; GRANT ALL PRIVILEGES ON mediawiki.* TO '\''mediawiki'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2020-04-08 09:55:52,668: DEBUG - + local legacy_args=sd
2020-04-08 09:55:52,668: DEBUG - + args_array=([s]=sql= [d]=database=)
2020-04-08 09:55:52,669: DEBUG - + declare -Ar args_array
2020-04-08 09:55:52,669: DEBUG - + local sql
2020-04-08 09:55:52,669: DEBUG - + local database
2020-04-08 09:55:52,669: DEBUG - + ynh_handle_getopts_args '--sql=CREATE DATABASE mediawiki; GRANT ALL PRIVILEGES ON mediawiki.* TO '\''mediawiki'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2020-04-08 09:55:52,670: DEBUG - + set +x
2020-04-08 09:55:52,670: DEBUG - + database=
2020-04-08 09:55:52,670: DEBUG - ++ sudo cat /etc/yunohost/mysql
2020-04-08 09:55:52,771: DEBUG - + ynh_mysql_connect_as --user=root --password=********** --database=
2020-04-08 09:55:52,771: DEBUG - + local legacy_args=upd
2020-04-08 09:55:52,772: DEBUG - + args_array=([u]=user= [p]=password= [d]=database=)
2020-04-08 09:55:52,773: DEBUG - + declare -Ar args_array
2020-04-08 09:55:52,773: DEBUG - + local user
2020-04-08 09:55:52,774: DEBUG - + local password
2020-04-08 09:55:52,774: DEBUG - + local database
2020-04-08 09:55:52,775: DEBUG - + ynh_handle_getopts_args --user=root --password=********** --database=
2020-04-08 09:55:52,775: DEBUG - + set +x
2020-04-08 09:55:52,776: DEBUG - + database=
2020-04-08 09:55:52,776: DEBUG - + mysql -u root --password=********** -B ''
2020-04-08 09:55:52,777: DEBUG - + ynh_app_setting_set --app=mediawiki --key=mysqlpwd --value=**********
2020-04-08 09:55:52,777: DEBUG - + local legacy_args=akv
2020-04-08 09:55:52,778: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-08 09:55:52,778: DEBUG - + declare -Ar args_array
2020-04-08 09:55:52,779: DEBUG - + local app
2020-04-08 09:55:52,780: DEBUG - + local key
2020-04-08 09:55:52,780: DEBUG - + local value
2020-04-08 09:55:52,781: DEBUG - + ynh_handle_getopts_args --app=mediawiki --key=mysqlpwd --value=**********
2020-04-08 09:55:52,781: DEBUG - + set +x
2020-04-08 09:55:52,882: DEBUG - + ynh_app_setting set mediawiki mysqlpwd **********
2020-04-08 09:55:52,882: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-04-08 09:55:52,883: DEBUG - + ACTION=set
2020-04-08 09:55:52,883: DEBUG - + APP=mediawiki
2020-04-08 09:55:52,883: DEBUG - + KEY=mysqlpwd
2020-04-08 09:55:52,883: DEBUG - + VALUE=**********
2020-04-08 09:55:52,884: DEBUG - + python2.7 -
2020-04-08 09:55:53,084: DEBUG - + [[ mysqlpwd =~ ^(unprotected|skipped)_ ]]
2020-04-08 09:55:53,085: DEBUG - + ynh_script_progression '--message=Setting up source files...' --weight=4
2020-04-08 09:55:53,085: DEBUG - + set +x
2020-04-08 09:55:53,085: DEBUG - + set +x
2020-04-08 09:55:53,086: DEBUG - + echo '! Helper used in legacy mode !'
2020-04-08 09:55:53,086: DEBUG - + set +x
2020-04-08 09:55:53,086: DEBUG - + echo '[#######+............] > Setting up source files...'
2020-04-08 09:55:53,086: DEBUG - + set -x
2020-04-08 09:55:53,086: DEBUG - + ynh_app_setting_set --app=mediawiki --key=final_path --value=/var/www/mediawiki
2020-04-08 09:55:53,087: DEBUG - + local legacy_args=akv
2020-04-08 09:55:53,087: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-08 09:55:53,087: DEBUG - + declare -Ar args_array
2020-04-08 09:55:53,087: DEBUG - + local app
2020-04-08 09:55:53,088: DEBUG - + local key
2020-04-08 09:55:53,088: DEBUG - + local value
2020-04-08 09:55:53,088: DEBUG - + ynh_handle_getopts_args --app=mediawiki --key=final_path --value=/var/www/mediawiki
2020-04-08 09:55:53,088: DEBUG - + set +x
2020-04-08 09:55:53,089: DEBUG - + ynh_app_setting set mediawiki final_path /var/www/mediawiki
2020-04-08 09:55:53,089: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-04-08 09:55:53,089: DEBUG - + ACTION=set
2020-04-08 09:55:53,089: DEBUG - + APP=mediawiki
2020-04-08 09:55:53,089: DEBUG - + KEY=final_path
2020-04-08 09:55:53,090: DEBUG - + VALUE=/var/www/mediawiki
2020-04-08 09:55:53,090: DEBUG - + python2.7 -
2020-04-08 09:55:53,291: DEBUG - + [[ final_path =~ ^(unprotected|skipped)_ ]]
2020-04-08 09:55:53,291: INFO - [#######+............] > Setting up source files...
2020-04-08 09:55:53,293: DEBUG - + ynh_setup_source --dest_dir=/var/www/mediawiki
2020-04-08 09:55:53,293: DEBUG - + local legacy_args=ds
2020-04-08 09:55:53,294: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
2020-04-08 09:55:53,294: DEBUG - + declare -Ar args_array
2020-04-08 09:55:53,295: DEBUG - + local dest_dir
2020-04-08 09:55:53,295: DEBUG - + local source_id
2020-04-08 09:55:53,296: DEBUG - + ynh_handle_getopts_args --dest_dir=/var/www/mediawiki
2020-04-08 09:55:53,296: DEBUG - + set +x
2020-04-08 09:55:53,297: DEBUG - + source_id=app
2020-04-08 09:55:53,297: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts/../conf/app.src
2020-04-08 09:55:53,298: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts/../conf/app.src ']'
2020-04-08 09:55:53,299: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts/../conf/app.src
2020-04-08 09:55:53,299: DEBUG - ++ cut -d= -f2-
2020-04-08 09:55:53,300: DEBUG - + local src_url=https://releases.wikimedia.org/mediawiki/1.32/mediawiki-1.32.0.tar.gz
2020-04-08 09:55:53,300: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts/../conf/app.src
2020-04-08 09:55:53,301: DEBUG - ++ cut -d= -f2-
2020-04-08 09:55:53,301: DEBUG - + local src_sum=d29b635dd41aea62bd05229c7c7942d4b0aa38aee457f8dc7302b6e59acb721b
2020-04-08 09:55:53,302: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts/../conf/app.src
2020-04-08 09:55:53,302: DEBUG - ++ cut -d= -f2-
2020-04-08 09:55:53,303: DEBUG - + local src_sumprg=sha256sum
2020-04-08 09:55:53,303: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts/../conf/app.src
2020-04-08 09:55:53,304: DEBUG - ++ cut -d= -f2-
2020-04-08 09:55:53,305: DEBUG - + local src_format=tar.gz
2020-04-08 09:55:53,305: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts/../conf/app.src
2020-04-08 09:55:53,305: DEBUG - ++ cut -d= -f2-
2020-04-08 09:55:53,305: DEBUG - + local src_extract=
2020-04-08 09:55:53,306: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts/../conf/app.src
2020-04-08 09:55:53,306: DEBUG - ++ cut -d= -f2-
2020-04-08 09:55:53,306: DEBUG - + local src_in_subdir=true
2020-04-08 09:55:53,306: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts/../conf/app.src
2020-04-08 09:55:53,306: DEBUG - ++ cut -d= -f2-
2020-04-08 09:55:53,307: DEBUG - + local src_filename=
2020-04-08 09:55:53,307: DEBUG - + src_sumprg=sha256sum
2020-04-08 09:55:53,307: DEBUG - + src_in_subdir=true
2020-04-08 09:55:53,307: DEBUG - + src_format=tar.gz
2020-04-08 09:55:53,308: DEBUG - ++ echo tar.gz
2020-04-08 09:55:53,308: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2020-04-08 09:55:53,409: DEBUG - + src_format=tar.gz
2020-04-08 09:55:53,410: DEBUG - + src_extract=true
2020-04-08 09:55:53,410: DEBUG - + '[' '' = '' ']'
2020-04-08 09:55:53,411: DEBUG - + src_filename=app.tar.gz
2020-04-08 09:55:53,412: DEBUG - + local local_src=/opt/yunohost-apps-src/mediawiki/app.tar.gz
2020-04-08 09:55:53,413: DEBUG - + test -e /opt/yunohost-apps-src/mediawiki/app.tar.gz
2020-04-08 09:55:53,413: DEBUG - ++ wget -nv -O app.tar.gz https://releases.wikimedia.org/mediawiki/1.32/mediawiki-1.32.0.tar.gz
2020-04-08 09:55:56,628: DEBUG - + local 'out=2020-04-08 09:55:56 URL:https://releases.wikimedia.org/mediawiki/1.32/mediawiki-1.32.0.tar.gz [36168475/36168475] -> "app.tar.gz" [1]'
2020-04-08 09:55:56,628: DEBUG - + echo 'd29b635dd41aea62bd05229c7c7942d4b0aa38aee457f8dc7302b6e59acb721b app.tar.gz'
2020-04-08 09:55:56,629: DEBUG - + sha256sum -c --status
2020-04-08 09:55:56,930: DEBUG - + mkdir -p /var/www/mediawiki
2020-04-08 09:55:56,930: DEBUG - + true
2020-04-08 09:55:56,930: DEBUG - + '[' tar.gz = zip ']'
2020-04-08 09:55:56,931: DEBUG - + local strip=
2020-04-08 09:55:56,931: DEBUG - + '[' true '!=' false ']'
2020-04-08 09:55:56,931: DEBUG - + '[' true == true ']'
2020-04-08 09:55:56,931: DEBUG - + local sub_dirs=1
2020-04-08 09:55:56,931: DEBUG - + strip='--strip-components 1'
2020-04-08 09:55:56,932: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2020-04-08 09:55:56,932: DEBUG - + tar -xf app.tar.gz -C /var/www/mediawiki --strip-components 1
2020-04-08 09:55:58,837: DEBUG - ++ wc -l
2020-04-08 09:55:58,838: DEBUG - ++ find /var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts/../sources/patches/ -type f -name 'app-*.patch'
2020-04-08 09:55:58,838: DEBUG - + (( 0 > 0 ))
2020-04-08 09:55:58,839: DEBUG - + test -e /var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts/../sources/extra_files/app
2020-04-08 09:55:58,839: DEBUG - + ynh_setup_source --dest_dir=/var/www/mediawiki/extensions/ --source_id=ldap_provider
2020-04-08 09:55:58,840: DEBUG - + local legacy_args=ds
2020-04-08 09:55:58,841: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
2020-04-08 09:55:58,841: DEBUG - + declare -Ar args_array
2020-04-08 09:55:58,842: DEBUG - + local dest_dir
2020-04-08 09:55:58,842: DEBUG - + local source_id
2020-04-08 09:55:58,843: DEBUG - + ynh_handle_getopts_args --dest_dir=/var/www/mediawiki/extensions/ --source_id=ldap_provider
2020-04-08 09:55:58,843: DEBUG - + set +x
2020-04-08 09:55:58,844: DEBUG - + source_id=ldap_provider
2020-04-08 09:55:58,844: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts/../conf/ldap_provider.src
2020-04-08 09:55:58,845: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts/../conf/ldap_provider.src ']'
2020-04-08 09:55:58,845: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts/../conf/ldap_provider.src
2020-04-08 09:55:58,846: DEBUG - ++ cut -d= -f2-
2020-04-08 09:55:58,847: DEBUG - + local src_url=https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_33-344c6c8.tar.gz
2020-04-08 09:55:58,847: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts/../conf/ldap_provider.src
2020-04-08 09:55:58,848: DEBUG - ++ cut -d= -f2-
2020-04-08 09:55:58,848: DEBUG - + local src_sum=9f6a17721bb4a11d98c6f427684e6751f45ba12cdabd4dd6919476769b8f92fa
2020-04-08 09:55:58,849: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts/../conf/ldap_provider.src
2020-04-08 09:55:58,849: DEBUG - ++ cut -d= -f2-
2020-04-08 09:55:58,849: DEBUG - + local src_sumprg=sha256sum
2020-04-08 09:55:58,849: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts/../conf/ldap_provider.src
2020-04-08 09:55:58,850: DEBUG - ++ cut -d= -f2-
2020-04-08 09:55:58,850: DEBUG - + local src_format=tar.gz
2020-04-08 09:55:58,951: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts/../conf/ldap_provider.src
2020-04-08 09:55:58,952: DEBUG - ++ cut -d= -f2-
2020-04-08 09:55:58,952: DEBUG - + local src_extract=
2020-04-08 09:55:58,953: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts/../conf/ldap_provider.src
2020-04-08 09:55:58,954: DEBUG - ++ cut -d= -f2-
2020-04-08 09:55:58,954: DEBUG - + local src_in_subdir=false
2020-04-08 09:55:58,955: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/mediawiki_ynh-1fef3d9edaa2daf570e3e8b64cdd58f6fe4c6274/scripts/../conf/ldap_provider.src
2020-04-08 09:55:58,956: DEBUG - ++ cut -d= -f2-
2020-04-08 09:55:58,956: DEBUG - + local src_filename=
2020-04-08 09:55:58,957: DEBUG - + src_sumprg=sha256sum
2020-04-08 09:55:58,958: DEBUG - + src_in_subdir=false
2020-04-08 09:55:58,958: DEBUG - + src_format=tar.gz
2020-04-08 09:55:58,959: DEBUG - ++ echo tar.gz
2020-04-08 09:55:58,959: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2020-04-08 09:55:58,960: DEBUG - + src_format=tar.gz
2020-04-08 09:55:58,961: DEBUG - + src_extract=true
2020-04-08 09:55:58,961: DEBUG - + '[' '' = '' ']'
2020-04-08 09:55:58,961: DEBUG - + src_filename=ldap_provider.tar.gz
2020-04-08 09:55:58,961: DEBUG - + local local_src=/opt/yunohost-apps-src/mediawiki/ldap_provider.tar.gz
2020-04-08 09:55:58,961: DEBUG - + test -e /opt/yunohost-apps-src/mediawiki/ldap_provider.tar.gz
2020-04-08 09:55:58,962: DEBUG - ++ wget -nv -O ldap_provider.tar.gz https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_33-344c6c8.tar.gz
2020-04-08 09:55:59,566: DEBUG - + local 'out=2020-04-08 09:55:59 URL:https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_33-344c6c8.tar.gz [29061/29061] -> "ldap_provider.tar.gz" [1]'
2020-04-08 09:55:59,566: WARNING - Corrupt source
2020-04-08 09:55:59,568: DEBUG - + echo '9f6a17721bb4a11d98c6f427684e6751f45ba12cdabd4dd6919476769b8f92fa ldap_provider.tar.gz'
2020-04-08 09:55:59,569: DEBUG - + sha256sum -c --status
2020-04-08 09:55:59,569: DEBUG - + ynh_die '--message=Corrupt source'
2020-04-08 09:55:59,570: DEBUG - + local legacy_args=mc
2020-04-08 09:55:59,570: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2020-04-08 09:55:59,571: DEBUG - + declare -Ar args_array
2020-04-08 09:55:59,572: DEBUG - + local message
2020-04-08 09:55:59,572: DEBUG - + local ret_code
2020-04-08 09:55:59,573: DEBUG - + ynh_handle_getopts_args '--message=Corrupt source'
2020-04-08 09:55:59,574: DEBUG - + set +x
2020-04-08 09:55:59,574: DEBUG - + echo 'Corrupt source'
2020-04-08 09:55:59,575: DEBUG - + exit 1
2020-04-08 09:55:59,576: DEBUG - + ynh_exit_properly
2020-04-08 09:55:59,576: DEBUG - + local exit_code=1
2020-04-08 09:55:59,577: DEBUG - + '[' 1 -eq 0 ']'
2020-04-08 09:55:59,577: DEBUG - + trap '' EXIT
2020-04-08 09:55:59,577: DEBUG - + set +eu
2020-04-08 09:55:59,577: DEBUG - + sleep 0.5
2020-04-08 09:56:00,081: DEBUG - + type -t ynh_clean_setup
2020-04-08 09:56:00,081: WARNING - /usr/share/yunohost/helpers.d/logging: line 11: args_array: readonly variable
2020-04-08 09:56:00,082: DEBUG - + ynh_die
2020-04-08 09:56:00,082: DEBUG - + local legacy_args=mc
2020-04-08 09:56:00,082: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2020-04-08 09:56:00,208: ERROR - Could not install mediawiki: An error occurred inside the app installation script
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/api.py", line 301, in wrapper
curr_v = params[k]
KeyError: 'label'