Coder Social home page Coder Social logo

yunohost-apps / mediawiki_ynh Goto Github PK

View Code? Open in Web Editor NEW
8.0 6.0 16.0 632 KB

MediaWiki package for YunoHost

Home Page: https://www.mediawiki.org/

License: GNU General Public License v3.0

Shell 69.32% PHP 30.68%
yunohost yunohost-apps wiki-engine mediawiki

mediawiki_ynh's Introduction

MediaWiki for YunoHost

Integration level Working status Maintenance status

Install MediaWiki with YunoHost

Read this README in other languages.

This package allows you to install MediaWiki quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

MediaWiki is a free and open-source wiki software package written in PHP. It serves as the platform for Wikipedia and the other Wikimedia projects, used by hundreds of millions of people each month. MediaWiki is localised in over 350 languages and its reliability and robust feature set have earned it a large and vibrant community of third-party users and developers.

Shipped version: 1.41.1~ynh1

Demo: https://www.wikipedia.org

Screenshots

Screenshot of MediaWiki

Documentation and resources

Developer info

Please send your pull request to the testing branch.

To try the testing branch, please proceed like that:

sudo yunohost app install https://github.com/YunoHost-Apps/mediawiki_ynh/tree/testing --debug
or
sudo yunohost app upgrade mediawiki -u https://github.com/YunoHost-Apps/mediawiki_ynh/tree/testing --debug

More info regarding app packaging: https://yunohost.org/packaging_apps

mediawiki_ynh's People

Contributors

alexaubin avatar anto1ne avatar arxwel avatar beudbeud avatar decentral1se avatar eliesauveterre avatar ericgaspar avatar frju365 avatar kloadut avatar nahoj avatar salamandar avatar tagadda avatar the7thnightmare avatar yalh76 avatar yunohost-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mediawiki_ynh's Issues

installation failed

2021-05-08 03:37:52,127: DEBUG - + test -e /opt/yunohost-apps-src/mediawiki/ldap_provider.tar.gz
2021-05-08 03:37:52,127: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=ldap_provider.tar.gz https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_35-ca854c1.tar.gz
2021-05-08 03:37:52,629: DEBUG - + out='https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_35-ca854c1.tar.gz:
2021-05-08 03:37:52,630: WARNING - https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_35-ca854c1.tar.gz:
2021-05-08 03:37:52,630: DEBUG - 2021-05-08 03:37:52 erreur 404 : Not Found.'
2021-05-08 03:37:52,631: WARNING - 2021-05-08 03:37:52 erreur 404 : Not Found.
2021-05-08 03:37:52,631: DEBUG - + ynh_die '--message=https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_35-ca854c1.tar.gz:
2021-05-08 03:37:52,632: DEBUG - 2021-05-08 03:37:52 erreur 404 : Not Found.'
2021-05-08 03:37:52,633: DEBUG - 2021-05-08 03:37:52 erreur 404 : Not Found.'
2021-05-08 03:37:52,634: DEBUG - + ret_code=1
2021-05-08 03:37:52,634: DEBUG - + echo 'https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_35-ca854c1.tar.gz:
2021-05-08 03:37:52,634: DEBUG - 2021-05-08 03:37:52 erreur 404 : Not Found.'
2021-05-08 03:37:52,634: DEBUG - + exit 1
2021-05-08 03:37:52,635: DEBUG - + ynh_exit_properly
2021-05-08 03:37:52,635: DEBUG - + local exit_code=1
2021-05-08 03:37:52,635: DEBUG - + '[' 1 -eq 0 ']'
2021-05-08 03:37:52,635: DEBUG - + trap '' EXIT
2021-05-08 03:37:52,636: DEBUG - + set +o errexit
2021-05-08 03:37:52,636: DEBUG - + set +o nounset
2021-05-08 03:37:52,636: DEBUG - + sleep 0.5
2021-05-08 03:37:53,138: DEBUG - + type -t ynh_clean_setup
2021-05-08 03:37:53,139: DEBUG - + ynh_clean_setup
2021-05-08 03:37:53,140: DEBUG - + true
2021-05-08 03:37:53,140: DEBUG - + exit 1
2021-05-08 03:37:53,177: ERROR - Unable to install mediawiki: An error occurred inside the app installation script

Install fails with 404 Error on PluggableAuth-REL1_38-126bad8.tar.gz

Describe the bug

Error 404 while downloading this file: https://extdist.wmflabs.org/dist/extensions/PluggableAuth-REL1_38-126bad8.tar.gz

Context

  • Hardware: Dedicated hosting with Debian 11
  • YunoHost version: 11.0.9.15
  • I have access to my server: Through SSH | through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no

Steps to reproduce

yunohost app install mediawiki

Options:

Choose the domain where this app should be installed []: 
Choose the URL path (after the domain) where this app should be installed: /
Should this app be exposed to anonymous visitors? [yes | no]: no
Choose the application language [fr | en]: fr
Choose an administrator user for this app []: 
Choose an administration password for this app: 
Choose the application name: YunoWiki

I get this error message. Some necessary file is not available

Warning: https://extdist.wmflabs.org/dist/extensions/PluggableAuth-REL1_38-126bad8.tar.gz:
Warning: 2022-11-14 05:27:12 ERROR 404: Not Found.

Expected behavior

I expect the install script to complete successfully

Logs

https://paste.yunohost.org/raw/pumofuvahu

fails on installation with a corrupt source

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'

LDAPProvider url is 404'ing on install.

Attempting to install Mediawiki on a fresh install of Yunohost results in a 404 on the following URL; https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_31-7f81741.tar.gz

It appears that the file was removed, and an updated file placed at the same location; https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_31-8e93a3e.tar.gz

Updating the URL in the install script should resolve the current inability to do clean installs. I'm not sure of a clean method of determining the current 'live' URL.

Installation error

Hi, I've encountered and error when trying to install the mediawiki app on yunohost.

The YunoPast of the Installation log is below.
The error is returned because one ou the sources isn't available (ldap, see paste below).
Maybe the pull request proposed 4 days ago resolves this issue.

See ya !


Install logs :

args:
app: mediawiki
args: domain=maindomain.tld&path=%2Fwiki&admin=rf0&is_public=1&language=fr&password=8)kol%23%3Ee&wiki_name=YunoWiki
force: false
label: MediaWiki
no_remove_on_failure: false
ended_at: 2020-09-17 16:39:42.317269
env:
YNH_APP_ARG_ADMIN: rf0
YNH_APP_ARG_DOMAIN: maindomain.tld
YNH_APP_ARG_IS_PUBLIC: 1
YNH_APP_ARG_LANGUAGE: fr
YNH_APP_ARG_PASSWORD: '**********'
YNH_APP_ARG_PATH: /wiki
YNH_APP_ARG_WIKI_NAME: YunoWiki
YNH_APP_ID: mediawiki
YNH_APP_INSTANCE_NAME: mediawiki
YNH_APP_INSTANCE_NUMBER: '1'
YNH_CWD: /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts
YNH_INTERFACE: api
YNH_STDINFO: /tmp/tmp_EpVBs/stdinfo
YNH_STDRETURN: /tmp/tmpjTY2aM/stdreturn
error: An error occurred inside the app installation script
operation: app_install
related_to:

    • app
    • mediawiki
      started_at: 2020-09-17 16:38:23.451627
      success: false
      yunohost_version: 4.0.4

============

2020-09-17 17:38:23,487: INFO - Installing mediawiki...
2020-09-17 17:38:23,632: DEBUG - The permission database has been resynchronized
2020-09-17 17:38:23,727: DEBUG - SSOwat configuration generated
2020-09-17 17:38:23,776: DEBUG - No default hook for action 'post_app_addaccess' in /usr/share/yunohost/hooks/
2020-09-17 17:38:23,777: DEBUG - No custom hook for action 'post_app_addaccess' in /etc/yunohost/hooks.d/
2020-09-17 17:38:23,778: DEBUG - Permission 'mediawiki.main' created
2020-09-17 17:38:23,779: DEBUG - Full log of this operation: 'Create permission 'mediawiki''
2020-09-17 17:38:23,815: DEBUG - Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ARG_LANGUAGE=fr YNH_APP_ARG_WIKI_NAME=YunoWiki YNH_APP_INSTANCE_NAME=mediawiki YNH_STDINFO=/tmp/tmp_EpVBs/stdinfo YNH_APP_ARG_PASSWORD='' YNH_CWD=/var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_APP_ARG_ADMIN=rf0 YNH_INTERFACE=api YNH_APP_ID=mediawiki YNH_APP_ARG_PATH=/wiki YNH_STDRETURN=/tmp/tmpjTY2aM/stdreturn YNH_APP_ARG_DOMAIN=maindomain.tld BASH_XTRACEFD=7 /bin/bash -x "./install" maindomain.tld /wiki rf0 1 fr '' YunoWiki mediawiki 7>&1'...
2020-09-17 17:38:23,816: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ARG_LANGUAGE=fr YNH_APP_ARG_WIKI_NAME=YunoWiki YNH_APP_INSTANCE_NAME=mediawiki YNH_STDINFO=/tmp/tmp_EpVBs/stdinfo YNH_APP_ARG_PASSWORD='' YNH_CWD=/var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_APP_ARG_ADMIN=rf0 YNH_INTERFACE=api YNH_APP_ID=mediawiki YNH_APP_ARG_PATH=/wiki YNH_STDRETURN=/tmp/tmpjTY2aM/stdreturn YNH_APP_ARG_DOMAIN=maindomain.tld BASH_XTRACEFD=7 /bin/bash -x "./install" maindomain.tld /wiki rf0 1 fr '' YunoWiki mediawiki 7>&1']'
2020-09-17 17:38:23,952: DEBUG - + source common.sh
2020-09-17 17:38:23,954: DEBUG - ++ pkg_dependencies=(diffutils imagemagick acl)
2020-09-17 17:38:23,955: DEBUG - + source /usr/share/yunohost/helpers
2020-09-17 17:38:23,955: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2020-09-17 17:38:23,956: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-17 17:38:23,957: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2020-09-17 17:38:23,957: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2020-09-17 17:38:23,958: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-17 17:38:23,958: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2020-09-17 17:38:23,959: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2020-09-17 17:38:23,960: DEBUG - +++ CAN_BIND=1
2020-09-17 17:38:23,960: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-17 17:38:23,961: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2020-09-17 17:38:23,961: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2020-09-17 17:38:23,962: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-17 17:38:23,963: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2020-09-17 17:38:23,963: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2020-09-17 17:38:23,964: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-17 17:38:23,964: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/hardware ']'
2020-09-17 17:38:23,965: DEBUG - ++ . /usr/share/yunohost/helpers.d/hardware
2020-09-17 17:38:23,966: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-17 17:38:23,966: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2020-09-17 17:38:23,967: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2020-09-17 17:38:23,967: DEBUG - +++ increment_progression=0
2020-09-17 17:38:23,968: DEBUG - +++ previous_weight=0
2020-09-17 17:38:23,968: DEBUG - +++ max_progression=-1
2020-09-17 17:38:23,969: DEBUG - +++ progress_scale=20
2020-09-17 17:38:23,970: DEBUG - +++ progress_string2='####################'
2020-09-17 17:38:23,971: DEBUG - +++ progress_string1=++++++++++++++++++++
2020-09-17 17:38:23,971: DEBUG - +++ progress_string0=....................
2020-09-17 17:38:23,972: DEBUG - ++++ date +%s
2020-09-17 17:38:23,972: DEBUG - +++ base_time=1600360703
2020-09-17 17:38:23,973: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-17 17:38:23,973: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2020-09-17 17:38:23,974: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2020-09-17 17:38:23,974: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-17 17:38:23,975: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2020-09-17 17:38:23,976: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2020-09-17 17:38:23,976: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2020-09-17 17:38:23,977: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-17 17:38:23,977: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2020-09-17 17:38:23,978: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2020-09-17 17:38:23,979: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-17 17:38:23,979: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2020-09-17 17:38:23,980: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2020-09-17 17:38:23,980: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-17 17:38:23,981: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2020-09-17 17:38:23,982: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2020-09-17 17:38:23,982: DEBUG - +++ n_version=6.5.1
2020-09-17 17:38:23,983: DEBUG - +++ n_install_dir=/opt/node_n
2020-09-17 17:38:23,983: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2020-09-17 17:38:23,984: DEBUG - +++ export N_PREFIX=/opt/node_n
2020-09-17 17:38:23,984: DEBUG - +++ N_PREFIX=/opt/node_n
2020-09-17 17:38:23,985: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-17 17:38:23,985: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2020-09-17 17:38:23,986: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2020-09-17 17:38:23,987: DEBUG - +++ readonly YNH_DEFAULT_PHP_VERSION=7.3
2020-09-17 17:38:23,987: DEBUG - +++ YNH_DEFAULT_PHP_VERSION=7.3
2020-09-17 17:38:23,988: DEBUG - +++ YNH_PHP_VERSION=7.3
2020-09-17 17:38:23,988: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-17 17:38:23,989: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2020-09-17 17:38:23,989: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2020-09-17 17:38:23,990: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2020-09-17 17:38:23,991: DEBUG - +++ PSQL_VERSION=11
2020-09-17 17:38:23,991: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-17 17:38:23,992: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2020-09-17 17:38:23,992: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2020-09-17 17:38:23,993: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-17 17:38:23,993: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2020-09-17 17:38:23,994: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2020-09-17 17:38:23,995: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-17 17:38:23,996: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2020-09-17 17:38:23,997: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2020-09-17 17:38:23,998: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-17 17:38:23,998: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2020-09-17 17:38:24,000: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2020-09-17 17:38:24,000: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-17 17:38:24,001: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2020-09-17 17:38:24,002: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2020-09-17 17:38:24,003: DEBUG - + ynh_abort_if_errors
2020-09-17 17:38:24,004: DEBUG - + set -o errexit
2020-09-17 17:38:24,004: DEBUG - + set -o nounset
2020-09-17 17:38:24,005: DEBUG - + trap ynh_exit_properly EXIT
2020-09-17 17:38:24,006: DEBUG - + domain=maindomain.tld
2020-09-17 17:38:24,007: DEBUG - ++ ynh_normalize_url_path /wiki
2020-09-17 17:38:24,115: DEBUG - ++ test -n /wiki
2020-09-17 17:38:24,116: DEBUG - ++ '[' / '!=' / ']'
2020-09-17 17:38:24,116: DEBUG - ++ '[' i == / ']'
2020-09-17 17:38:24,117: DEBUG - ++ echo /wiki
2020-09-17 17:38:24,117: DEBUG - + path_url=/wiki
2020-09-17 17:38:24,118: DEBUG - + admin=rf0
2020-09-17 17:38:24,118: DEBUG - + admin_password=''
2020-09-17 17:38:24,119: DEBUG - + is_public=1
2020-09-17 17:38:24,120: DEBUG - + language=fr
2020-09-17 17:38:24,121: DEBUG - + wiki_name=YunoWiki
2020-09-17 17:38:24,122: DEBUG - + app=mediawiki
2020-09-17 17:38:24,328: DEBUG - + echo '[....................] > Validating installation parameters...'
2020-09-17 17:38:24,330: DEBUG - + final_path=/var/www/mediawiki
2020-09-17 17:38:24,331: DEBUG - + test '!' -e /var/www/mediawiki
2020-09-17 17:38:24,332: DEBUG - + ynh_webpath_register --app=mediawiki --domain=maindomain.tld --path_url=/wiki
2020-09-17 17:38:24,641: DEBUG - + yunohost app register-url mediawiki maindomain.tld /wiki
2020-09-17 17:38:24,694: INFO - [....................] > Validating installation parameters...
2020-09-17 17:38:26,305: DEBUG - + echo '[....................] > Generating dedicated LDAP user credentials...'
2020-09-17 17:38:26,307: DEBUG - + ldap_user=mediawiki_ldap
2020-09-17 17:38:26,307: DEBUG - ++ ynh_string_random --length=8
2020-09-17 17:38:26,412: DEBUG - ++ length=8
2020-09-17 17:38:26,413: INFO - [....................] > Generating dedicated LDAP user credentials...
2020-09-17 17:38:26,415: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2020-09-17 17:38:26,416: DEBUG - ++ tr --complement --delete A-Za-z0-9
2020-09-17 17:38:26,417: DEBUG - ++ sed --quiet 's/(.{8}).
/\1/p'
2020-09-17 17:38:26,417: DEBUG - + ldap_password=
*
2020-09-17 17:38:26,624: DEBUG - + echo '[+...................] > Storing installation settings...'
2020-09-17 17:38:26,626: DEBUG - + ynh_app_setting_set --app=mediawiki --key=domain --value=maindomain.tld
2020-09-17 17:38:26,630: INFO - [+...................] > Storing installation settings...
2020-09-17 17:38:26,937: DEBUG - + ynh_app_setting set mediawiki domain maindomain.tld
2020-09-17 17:38:26,938: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-17 17:38:26,938: DEBUG - + ACTION=set
2020-09-17 17:38:26,939: DEBUG - + APP=mediawiki
2020-09-17 17:38:26,940: DEBUG - + KEY=domain
2020-09-17 17:38:26,940: DEBUG - + VALUE=maindomain.tld
2020-09-17 17:38:26,941: DEBUG - + python2.7 -
2020-09-17 17:38:27,242: DEBUG - + [[ domain =~ ^(unprotected|skipped)
]]
2020-09-17 17:38:27,243: DEBUG - + ynh_app_setting_set --app=mediawiki --key=path --value=/wiki
2020-09-17 17:38:27,453: DEBUG - + ynh_app_setting set mediawiki path /wiki
2020-09-17 17:38:27,453: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-17 17:38:27,454: DEBUG - + ACTION=set
2020-09-17 17:38:27,455: DEBUG - + APP=mediawiki
2020-09-17 17:38:27,455: DEBUG - + KEY=path
2020-09-17 17:38:27,456: DEBUG - + VALUE=/wiki
2020-09-17 17:38:27,456: DEBUG - + python2.7 -
2020-09-17 17:38:27,858: DEBUG - + [[ path =~ ^(unprotected|skipped)_ ]]
2020-09-17 17:38:27,859: DEBUG - + ynh_app_setting_set --app=mediawiki --key=admin --value=rf0
2020-09-17 17:38:28,067: DEBUG - + ynh_app_setting set mediawiki admin rf0
2020-09-17 17:38:28,068: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-17 17:38:28,068: DEBUG - + ACTION=set
2020-09-17 17:38:28,069: DEBUG - + APP=mediawiki
2020-09-17 17:38:28,070: DEBUG - + KEY=admin
2020-09-17 17:38:28,070: DEBUG - + VALUE=rf0
2020-09-17 17:38:28,071: DEBUG - + python2.7 -
2020-09-17 17:38:28,473: DEBUG - + [[ admin =~ ^(unprotected|skipped)_ ]]
2020-09-17 17:38:28,474: DEBUG - + ynh_app_setting_set --app=mediawiki --key=admin_password '--value='
2020-09-17 17:38:28,683: DEBUG - + ynh_app_setting set mediawiki admin_password '
'
2020-09-17 17:38:28,684: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-17 17:38:28,684: DEBUG - + ACTION=set
2020-09-17 17:38:28,685: DEBUG - + APP=mediawiki
2020-09-17 17:38:28,686: DEBUG - + KEY=admin_password
2020-09-17 17:38:28,686: DEBUG - + VALUE=''
2020-09-17 17:38:28,687: DEBUG - + python2.7 -
2020-09-17 17:38:29,089: DEBUG - + [[ admin_password =~ ^(unprotected|skipped)_ ]]
2020-09-17 17:38:29,090: DEBUG - + ynh_app_setting_set --app=mediawiki --key=is_public --value=1
2020-09-17 17:38:29,299: DEBUG - + ynh_app_setting set mediawiki is_public 1
2020-09-17 17:38:29,300: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-17 17:38:29,301: DEBUG - + ACTION=set
2020-09-17 17:38:29,302: DEBUG - + APP=mediawiki
2020-09-17 17:38:29,303: DEBUG - + KEY=is_public
2020-09-17 17:38:29,304: DEBUG - + VALUE=1
2020-09-17 17:38:29,305: DEBUG - + python2.7 -
2020-09-17 17:38:29,607: DEBUG - + [[ is_public =~ ^(unprotected|skipped)_ ]]
2020-09-17 17:38:29,608: DEBUG - + ynh_app_setting_set --app=mediawiki --key=language --value=fr
2020-09-17 17:38:29,813: DEBUG - + ynh_app_setting set mediawiki language fr
2020-09-17 17:38:29,814: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-17 17:38:29,815: DEBUG - + ACTION=set
2020-09-17 17:38:29,815: DEBUG - + APP=mediawiki
2020-09-17 17:38:29,816: DEBUG - + KEY=language
2020-09-17 17:38:29,817: DEBUG - + VALUE=fr
2020-09-17 17:38:29,817: DEBUG - + python2.7 -
2020-09-17 17:38:30,220: DEBUG - + [[ language =~ ^(unprotected|skipped)_ ]]
2020-09-17 17:38:30,221: DEBUG - + ynh_app_setting_set --app=mediawiki --key=wiki_name --value=YunoWiki
2020-09-17 17:38:30,429: DEBUG - + ynh_app_setting set mediawiki wiki_name YunoWiki
2020-09-17 17:38:30,430: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-17 17:38:30,431: DEBUG - + ACTION=set
2020-09-17 17:38:30,432: DEBUG - + APP=mediawiki
2020-09-17 17:38:30,433: DEBUG - + KEY=wiki_name
2020-09-17 17:38:30,434: DEBUG - + VALUE=YunoWiki
2020-09-17 17:38:30,434: DEBUG - + python2.7 -
2020-09-17 17:38:30,837: DEBUG - + [[ wiki_name =~ ^(unprotected|skipped)_ ]]
2020-09-17 17:38:30,838: DEBUG - + ynh_app_setting_set --app=mediawiki --key=ldap_user --value=mediawiki_ldap
2020-09-17 17:38:31,046: DEBUG - + ynh_app_setting set mediawiki ldap_user mediawiki_ldap
2020-09-17 17:38:31,047: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-17 17:38:31,047: DEBUG - + ACTION=set
2020-09-17 17:38:31,048: DEBUG - + APP=mediawiki
2020-09-17 17:38:31,049: DEBUG - + KEY=ldap_user
2020-09-17 17:38:31,050: DEBUG - + VALUE=mediawiki_ldap
2020-09-17 17:38:31,051: DEBUG - + python2.7 -
2020-09-17 17:38:31,452: DEBUG - + [[ ldap_user =~ ^(unprotected|skipped)_ ]]
2020-09-17 17:38:31,453: DEBUG - + ynh_app_setting_set --app=mediawiki --key=ldap_password --value=

2020-09-17 17:38:31,659: DEBUG - + ynh_app_setting set mediawiki ldap_password **********
2020-09-17 17:38:31,660: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-17 17:38:31,661: DEBUG - + ACTION=set
2020-09-17 17:38:31,661: DEBUG - + APP=mediawiki
2020-09-17 17:38:31,662: DEBUG - + KEY=ldap_password
2020-09-17 17:38:31,662: DEBUG - + VALUE=**********
2020-09-17 17:38:31,663: DEBUG - + python2.7 -
2020-09-17 17:38:32,065: DEBUG - + [[ ldap_password =~ ^(unprotected|skipped)_ ]]
2020-09-17 17:38:32,270: DEBUG - + echo '[#+++++++............] > Installing dependencies...'
2020-09-17 17:38:32,272: DEBUG - + ynh_install_app_dependencies diffutils imagemagick acl
2020-09-17 17:38:32,273: DEBUG - + local 'dependencies=diffutils imagemagick acl'
2020-09-17 17:38:32,274: DEBUG - ++ echo 'diffutils imagemagick acl'
2020-09-17 17:38:32,274: DEBUG - ++ sed 's/([^\<=\>])\ ([^(])/\1, \2/g'
2020-09-17 17:38:32,275: DEBUG - + dependencies='diffutils, imagemagick, acl'
2020-09-17 17:38:32,276: DEBUG - + local 'dependencies=diffutils, imagemagick, acl'
2020-09-17 17:38:32,276: DEBUG - + local manifest_path=../manifest.json
2020-09-17 17:38:32,277: DEBUG - + '[' '!' -e ../manifest.json ']'
2020-09-17 17:38:32,277: DEBUG - ++ grep '"version": ' ../manifest.json
2020-09-17 17:38:32,278: DEBUG - ++ cut '--delimiter="' --fields=4
2020-09-17 17:38:32,279: DEBUG - + local version=1.32.0ynh5
2020-09-17 17:38:32,279: DEBUG - + '[' 11 -eq 0 ']'
2020-09-17 17:38:32,280: DEBUG - + local dep_app=mediawiki
2020-09-17 17:38:32,281: DEBUG - + [[ diffutils, imagemagick, acl =
[<=>] ]]
2020-09-17 17:38:32,281: DEBUG - + echo diffutils, imagemagick, acl
2020-09-17 17:38:32,282: DEBUG - + grep --quiet php
2020-09-17 17:38:32,282: DEBUG - + cat
2020-09-17 17:38:32,283: DEBUG - + ynh_package_install_from_equivs /tmp/mediawiki-ynh-deps.control
2020-09-17 17:38:32,283: DEBUG - + local controlfile=/tmp/mediawiki-ynh-deps.control
2020-09-17 17:38:32,284: DEBUG - ++ grep '^Package: ' /tmp/mediawiki-ynh-deps.control
2020-09-17 17:38:32,285: DEBUG - ++ cut '--delimiter= ' --fields=2
2020-09-17 17:38:32,285: DEBUG - + local pkgname=mediawiki-ynh-deps
2020-09-17 17:38:32,286: DEBUG - ++ grep '^Version: ' /tmp/mediawiki-ynh-deps.control
2020-09-17 17:38:32,287: DEBUG - ++ cut '--delimiter= ' --fields=2
2020-09-17 17:38:32,287: DEBUG - + local pkgversion=1.32.0ynh5
2020-09-17 17:38:32,288: DEBUG - + [[ -z mediawiki-ynh-deps ]]
2020-09-17 17:38:32,288: DEBUG - + [[ -z 1.32.0
ynh5 ]]
2020-09-17 17:38:32,289: DEBUG - + ynh_package_update
2020-09-17 17:38:32,289: DEBUG - + ynh_apt update
2020-09-17 17:38:32,290: DEBUG - + ynh_wait_dpkg_free
2020-09-17 17:38:32,693: DEBUG - + return 0
2020-09-17 17:38:32,694: INFO - [#+++++++............] > Installing dependencies...
2020-09-17 17:38:32,695: DEBUG - + LC_ALL=C
2020-09-17 17:38:32,696: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-09-17 17:38:32,697: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2020-09-17 17:38:33,199: DEBUG - Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
2020-09-17 17:38:33,200: DEBUG - Hit:2 http://archive.raspberrypi.org/debian buster InRelease
2020-09-17 17:38:33,302: DEBUG - Hit:3 http://forge.yunohost.org/debian buster InRelease
2020-09-17 17:38:39,722: DEBUG - Reading package lists...
2020-09-17 17:38:39,924: DEBUG - ++ mktemp --directory
2020-09-17 17:38:39,925: DEBUG - + local TMPDIR=/tmp/tmp.29MnvMWtWG
2020-09-17 17:38:39,926: DEBUG - + echo 10
2020-09-17 17:38:39,926: DEBUG - + ynh_wait_dpkg_free
2020-09-17 17:38:40,329: DEBUG - + return 0
2020-09-17 17:38:40,330: DEBUG - + cp /tmp/mediawiki-ynh-deps.control /tmp/tmp.29MnvMWtWG/control
2020-09-17 17:38:40,331: DEBUG - + cd /tmp/tmp.29MnvMWtWG
2020-09-17 17:38:40,332: DEBUG - + LC_ALL=C
2020-09-17 17:38:40,333: DEBUG - + equivs-build ./control
2020-09-17 17:38:43,744: DEBUG - + dpkg --force-depends --install ./mediawiki-ynh-deps_1.32.0ynh5_all.deb
2020-09-17 17:38:43,946: DEBUG - Selecting previously unselected package mediawiki-ynh-deps.
2020-09-17 17:38:44,047: DEBUG - (Reading database ... 57805 files and directories currently installed.)
2020-09-17 17:38:44,048: DEBUG - Preparing to unpack .../mediawiki-ynh-deps_1.32.0
ynh5_all.deb ...
2020-09-17 17:38:44,149: DEBUG - Unpacking mediawiki-ynh-deps (1.32.0ynh5) ...
2020-09-17 17:38:44,251: DEBUG - Setting up mediawiki-ynh-deps (1.32.0
ynh5) ...
2020-09-17 17:38:52,299: DEBUG - + ynh_package_install --fix-broken
2020-09-17 17:38:52,301: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2020-09-17 17:38:52,302: DEBUG - + ynh_wait_dpkg_free
2020-09-17 17:38:52,710: DEBUG - + return 0
2020-09-17 17:38:52,812: DEBUG - + LC_ALL=C
2020-09-17 17:38:52,813: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-09-17 17:38:52,813: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2020-09-17 17:38:53,416: DEBUG - Reading package lists...
2020-09-17 17:38:54,420: DEBUG - Building dependency tree...
2020-09-17 17:38:54,421: DEBUG - Reading state information...
2020-09-17 17:38:56,028: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 50 not upgraded.
2020-09-17 17:38:56,029: DEBUG - + [[ -n /tmp/tmp.29MnvMWtWG ]]
2020-09-17 17:38:56,030: DEBUG - + rm --recursive --force /tmp/tmp.29MnvMWtWG
2020-09-17 17:38:56,031: DEBUG - + ynh_package_is_installed mediawiki-ynh-deps
2020-09-17 17:38:56,042: DEBUG - + ynh_wait_dpkg_free
2020-09-17 17:38:56,548: DEBUG - + return 0
2020-09-17 17:38:56,550: DEBUG - + dpkg-query --show '--showformat=${Status}' mediawiki-ynh-deps
2020-09-17 17:38:56,552: DEBUG - + grep --count 'ok installed'
2020-09-17 17:38:56,653: DEBUG - + rm /tmp/mediawiki-ynh-deps.control
2020-09-17 17:38:56,655: DEBUG - + ynh_app_setting_set --app=mediawiki --key=apt_dependencies '--value=diffutils, imagemagick, acl'
2020-09-17 17:38:56,973: DEBUG - + ynh_app_setting set mediawiki apt_dependencies 'diffutils, imagemagick, acl'
2020-09-17 17:38:56,975: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-17 17:38:56,976: DEBUG - + ACTION=set
2020-09-17 17:38:56,977: DEBUG - + APP=mediawiki
2020-09-17 17:38:56,978: DEBUG - + KEY=apt_dependencies
2020-09-17 17:38:56,982: DEBUG - + VALUE='diffutils, imagemagick, acl'
2020-09-17 17:38:56,983: DEBUG - + python2.7 -
2020-09-17 17:38:57,389: DEBUG - + [[ apt_dependencies =~ ^(unprotected|skipped)_ ]]
2020-09-17 17:38:57,797: DEBUG - + echo '[########............] > Creating a MySQL database...'
2020-09-17 17:38:57,799: INFO - [########............] > Creating a MySQL database...
2020-09-17 17:38:57,803: DEBUG - ++ ynh_sanitize_dbid --db_name=mediawiki
2020-09-17 17:38:57,811: DEBUG - ++ echo mediawiki
2020-09-17 17:38:57,812: DEBUG - + db_name=mediawiki
2020-09-17 17:38:57,813: DEBUG - + db_user=mediawiki
2020-09-17 17:38:57,814: DEBUG - + ynh_app_setting_set --app=mediawiki --key=db_name --value=mediawiki
2020-09-17 17:38:58,027: DEBUG - + ynh_app_setting set mediawiki db_name mediawiki
2020-09-17 17:38:58,028: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-17 17:38:58,030: DEBUG - + ACTION=set
2020-09-17 17:38:58,031: DEBUG - + APP=mediawiki
2020-09-17 17:38:58,032: DEBUG - + KEY=db_name
2020-09-17 17:38:58,033: DEBUG - + VALUE=mediawiki
2020-09-17 17:38:58,034: DEBUG - + python2.7 -
2020-09-17 17:38:58,440: DEBUG - + [[ db_name =~ ^(unprotected|skipped)_ ]]
2020-09-17 17:38:58,441: DEBUG - + ynh_app_setting_set --app=mediawiki --key=db_user --value=mediawiki
2020-09-17 17:38:58,753: DEBUG - + ynh_app_setting set mediawiki db_user mediawiki
2020-09-17 17:38:58,754: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-17 17:38:58,755: DEBUG - + ACTION=set
2020-09-17 17:38:58,755: DEBUG - + APP=mediawiki
2020-09-17 17:38:58,756: DEBUG - + KEY=db_user
2020-09-17 17:38:58,757: DEBUG - + VALUE=mediawiki
2020-09-17 17:38:58,757: DEBUG - + python2.7 -
2020-09-17 17:38:59,159: DEBUG - + [[ db_user =~ ^(unprotected|skipped)_ ]]
2020-09-17 17:38:59,161: DEBUG - + ynh_mysql_setup_db --db_user=mediawiki --db_name=mediawiki
2020-09-17 17:38:59,169: DEBUG - + db_pwd=
2020-09-17 17:38:59,272: DEBUG - ++ ynh_string_random
2020-09-17 17:38:59,277: DEBUG - ++ length=24
2020-09-17 17:38:59,278: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2020-09-17 17:38:59,279: DEBUG - ++ tr --complement --delete A-Za-z0-9
2020-09-17 17:38:59,280: DEBUG - ++ sed --quiet 's/(.{24})./\1/p'
2020-09-17 17:38:59,281: DEBUG - + local new_db_pwd=
*********
2020-09-17 17:38:59,282: DEBUG - + db_pwd=**********
2020-09-17 17:38:59,283: DEBUG - + ynh_mysql_create_db mediawiki mediawiki **********
2020-09-17 17:38:59,283: DEBUG - + local db=mediawiki
2020-09-17 17:38:59,284: DEBUG - + local 'sql=CREATE DATABASE mediawiki;'
2020-09-17 17:38:59,285: DEBUG - + [[ 3 -gt 1 ]]
2020-09-17 17:38:59,286: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON mediawiki.* TO '''mediawiki'''@'''localhost''''
2020-09-17 17:38:59,288: DEBUG - + [[ -n ********** ]]
2020-09-17 17:38:59,288: DEBUG - + sql+=' IDENTIFIED BY '''''''
2020-09-17 17:38:59,289: DEBUG - + sql+=' WITH GRANT OPTION;'
2020-09-17 17:38:59,290: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE mediawiki; GRANT ALL PRIVILEGES ON mediawiki.
TO '''mediawiki'''@'''localhost''' IDENTIFIED BY '''
''' WITH GRANT OPTION;'
2020-09-17 17:38:59,398: DEBUG - + database=
2020-09-17 17:38:59,399: DEBUG - + '[' -n '' ']'
2020-09-17 17:38:59,400: DEBUG - ++ cat /etc/yunohost/mysql
2020-09-17 17:38:59,401: DEBUG - + ynh_mysql_connect_as --user=root --password=
*********
2020-09-17 17:38:59,509: DEBUG - + database=
2020-09-17 17:38:59,510: DEBUG - + mysql --user=root --password=********** --batch ''
2020-09-17 17:38:59,511: DEBUG - + ynh_app_setting_set --app=mediawiki --key=mysqlpwd --value=**********
2020-09-17 17:38:59,821: DEBUG - + ynh_app_setting set mediawiki mysqlpwd **********
2020-09-17 17:38:59,822: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-17 17:38:59,823: DEBUG - + ACTION=set
2020-09-17 17:38:59,824: DEBUG - + APP=mediawiki
2020-09-17 17:38:59,825: DEBUG - + KEY=mysqlpwd
2020-09-17 17:38:59,826: DEBUG - + VALUE=**********
2020-09-17 17:38:59,827: DEBUG - + python2.7 -
2020-09-17 17:39:00,136: DEBUG - + [[ mysqlpwd =~ ^(unprotected|skipped)_ ]]
2020-09-17 17:39:00,137: DEBUG - + test -n **********
2020-09-17 17:39:00,446: DEBUG - + echo '[########++..........] > Setting up source files...'
2020-09-17 17:39:00,448: DEBUG - + ynh_app_setting_set --app=mediawiki --key=final_path --value=/var/www/mediawiki
2020-09-17 17:39:00,658: DEBUG - + ynh_app_setting set mediawiki final_path /var/www/mediawiki
2020-09-17 17:39:00,659: INFO - [########++..........] > Setting up source files...
2020-09-17 17:39:00,661: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-17 17:39:00,662: DEBUG - + ACTION=set
2020-09-17 17:39:00,663: DEBUG - + APP=mediawiki
2020-09-17 17:39:00,664: DEBUG - + KEY=final_path
2020-09-17 17:39:00,665: DEBUG - + VALUE=/var/www/mediawiki
2020-09-17 17:39:00,666: DEBUG - + python2.7 -
2020-09-17 17:39:01,069: DEBUG - + [[ final_path =~ ^(unprotected|skipped)_ ]]
2020-09-17 17:39:01,070: DEBUG - + ynh_setup_source --dest_dir=/var/www/mediawiki
2020-09-17 17:39:01,181: DEBUG - + source_id=app
2020-09-17 17:39:01,182: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/app.src
2020-09-17 17:39:01,184: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/app.src ']'
2020-09-17 17:39:01,185: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/app.src
2020-09-17 17:39:01,186: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:01,191: DEBUG - + local src_url=https://releases.wikimedia.org/mediawiki/1.32/mediawiki-1.32.0.tar.gz
2020-09-17 17:39:01,192: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/app.src
2020-09-17 17:39:01,194: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:01,196: DEBUG - + local src_sum=d29b635dd41aea62bd05229c7c7942d4b0aa38aee457f8dc7302b6e59acb721b
2020-09-17 17:39:01,197: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:01,198: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/app.src
2020-09-17 17:39:01,199: DEBUG - + local src_sumprg=sha256sum
2020-09-17 17:39:01,200: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:01,201: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/app.src
2020-09-17 17:39:01,203: DEBUG - + local src_format=tar.gz
2020-09-17 17:39:01,204: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/app.src
2020-09-17 17:39:01,205: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:01,206: DEBUG - + local src_extract=
2020-09-17 17:39:01,207: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/app.src
2020-09-17 17:39:01,208: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:01,209: DEBUG - + local src_in_subdir=true
2020-09-17 17:39:01,210: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/app.src
2020-09-17 17:39:01,211: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:01,212: DEBUG - + local src_filename=
2020-09-17 17:39:01,212: DEBUG - + src_sumprg=sha256sum
2020-09-17 17:39:01,213: DEBUG - + src_in_subdir=true
2020-09-17 17:39:01,214: DEBUG - + src_format=tar.gz
2020-09-17 17:39:01,215: DEBUG - ++ echo tar.gz
2020-09-17 17:39:01,216: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2020-09-17 17:39:01,217: DEBUG - + src_format=tar.gz
2020-09-17 17:39:01,219: DEBUG - + src_extract=true
2020-09-17 17:39:01,220: DEBUG - + '[' '' = '' ']'
2020-09-17 17:39:01,221: DEBUG - + src_filename=app.tar.gz
2020-09-17 17:39:01,222: DEBUG - + local local_src=/opt/yunohost-apps-src/mediawiki/app.tar.gz
2020-09-17 17:39:01,223: DEBUG - + test -e /opt/yunohost-apps-src/mediawiki/app.tar.gz
2020-09-17 17:39:01,225: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=app.tar.gz https://releases.wikimedia.org/mediawiki/1.32/mediawiki-1.32.0.tar.gz
2020-09-17 17:39:28,998: DEBUG - + out='2020-09-17 17:39:28 URL:https://releases.wikimedia.org/mediawiki/1.32/mediawiki-1.32.0.tar.gz [36168475/36168475] -> "app.tar.gz" [1]'
2020-09-17 17:39:28,999: DEBUG - + echo 'd29b635dd41aea62bd05229c7c7942d4b0aa38aee457f8dc7302b6e59acb721b app.tar.gz'
2020-09-17 17:39:29,000: DEBUG - + sha256sum --check --status
2020-09-17 17:39:29,602: DEBUG - + mkdir --parents /var/www/mediawiki
2020-09-17 17:39:29,603: DEBUG - + true
2020-09-17 17:39:29,604: DEBUG - + '[' tar.gz = zip ']'
2020-09-17 17:39:29,605: DEBUG - + local strip=
2020-09-17 17:39:29,605: DEBUG - + '[' true '!=' false ']'
2020-09-17 17:39:29,606: DEBUG - + '[' true == true ']'
2020-09-17 17:39:29,607: DEBUG - + local sub_dirs=1
2020-09-17 17:39:29,607: DEBUG - + strip='--strip-components 1'
2020-09-17 17:39:29,608: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2020-09-17 17:39:29,608: DEBUG - + tar --extract --file=app.tar.gz --directory=/var/www/mediawiki --strip-components 1
2020-09-17 17:39:38,538: DEBUG - ++ find /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../sources/patches/ -type f -name 'app-.patch'
2020-09-17 17:39:38,540: DEBUG - ++ wc --lines
2020-09-17 17:39:38,541: DEBUG - + (( 0 > 0 ))
2020-09-17 17:39:38,542: DEBUG - + test -e /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../sources/extra_files/app
2020-09-17 17:39:38,543: DEBUG - + ynh_setup_source --dest_dir=/var/www/mediawiki/extensions/ --source_id=ldap_authentication2
2020-09-17 17:39:38,650: DEBUG - + source_id=ldap_authentication2
2020-09-17 17:39:38,651: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/ldap_authentication2.src
2020-09-17 17:39:38,652: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/ldap_authentication2.src ']'
2020-09-17 17:39:38,653: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/ldap_authentication2.src
2020-09-17 17:39:38,653: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:38,654: DEBUG - + local src_url=https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_31-8bd6bc8.tar.gz
2020-09-17 17:39:38,655: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/ldap_authentication2.src
2020-09-17 17:39:38,656: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:38,656: DEBUG - + local src_sum=6acbf1d8e483f4b4229aaabcb9dba40df80dfd98a6cffb57a02ad6595104c49d
2020-09-17 17:39:38,657: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/ldap_authentication2.src
2020-09-17 17:39:38,658: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:38,658: DEBUG - + local src_sumprg=sha256sum
2020-09-17 17:39:38,659: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/ldap_authentication2.src
2020-09-17 17:39:38,660: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:38,661: DEBUG - + local src_format=tar.gz
2020-09-17 17:39:38,661: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/ldap_authentication2.src
2020-09-17 17:39:38,662: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:38,663: DEBUG - + local src_extract=
2020-09-17 17:39:38,663: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/ldap_authentication2.src
2020-09-17 17:39:38,671: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:38,672: DEBUG - + local src_in_subdir=false
2020-09-17 17:39:38,672: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/ldap_authentication2.src
2020-09-17 17:39:38,673: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:38,674: DEBUG - + local src_filename=
2020-09-17 17:39:38,674: DEBUG - + src_sumprg=sha256sum
2020-09-17 17:39:38,675: DEBUG - + src_in_subdir=false
2020-09-17 17:39:38,676: DEBUG - + src_format=tar.gz
2020-09-17 17:39:38,676: DEBUG - ++ echo tar.gz
2020-09-17 17:39:38,677: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2020-09-17 17:39:38,677: DEBUG - + src_format=tar.gz
2020-09-17 17:39:38,678: DEBUG - + src_extract=true
2020-09-17 17:39:38,679: DEBUG - + '[' '' = '' ']'
2020-09-17 17:39:38,680: DEBUG - + src_filename=ldap_authentication2.tar.gz
2020-09-17 17:39:38,680: DEBUG - + local local_src=/opt/yunohost-apps-src/mediawiki/ldap_authentication2.tar.gz
2020-09-17 17:39:38,681: DEBUG - + test -e /opt/yunohost-apps-src/mediawiki/ldap_authentication2.tar.gz
2020-09-17 17:39:38,682: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=ldap_authentication2.tar.gz https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_31-8bd6bc8.tar.gz
2020-09-17 17:39:40,188: DEBUG - + out='2020-09-17 17:39:40 URL:https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_31-8bd6bc8.tar.gz [30830/30830] -> "ldap_authentication2.tar.gz" [1]'
2020-09-17 17:39:40,189: DEBUG - + echo '6acbf1d8e483f4b4229aaabcb9dba40df80dfd98a6cffb57a02ad6595104c49d ldap_authentication2.tar.gz'
2020-09-17 17:39:40,191: DEBUG - + sha256sum --check --status
2020-09-17 17:39:40,192: DEBUG - + mkdir --parents /var/www/mediawiki/extensions/
2020-09-17 17:39:40,193: DEBUG - + true
2020-09-17 17:39:40,194: DEBUG - + '[' tar.gz = zip ']'
2020-09-17 17:39:40,195: DEBUG - + local strip=
2020-09-17 17:39:40,196: DEBUG - + '[' false '!=' false ']'
2020-09-17 17:39:40,197: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2020-09-17 17:39:40,198: DEBUG - + tar --extract --file=ldap_authentication2.tar.gz --directory=/var/www/mediawiki/extensions/
2020-09-17 17:39:40,300: DEBUG - ++ find /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../sources/patches/ -type f -name 'ldap_authentication2-
.patch'
2020-09-17 17:39:40,301: DEBUG - ++ wc --lines
2020-09-17 17:39:40,302: DEBUG - + (( 0 > 0 ))
2020-09-17 17:39:40,303: DEBUG - + test -e /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../sources/extra_files/ldap_authentication2
2020-09-17 17:39:40,304: DEBUG - + ynh_setup_source --dest_dir=/var/www/mediawiki/extensions/ --source_id=ldap_provider
2020-09-17 17:39:40,413: DEBUG - + source_id=ldap_provider
2020-09-17 17:39:40,414: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/ldap_provider.src
2020-09-17 17:39:40,415: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/ldap_provider.src ']'
2020-09-17 17:39:40,416: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/ldap_provider.src
2020-09-17 17:39:40,416: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:40,417: DEBUG - + local src_url=https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_31-8e93a3e.tar.gz
2020-09-17 17:39:40,418: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/ldap_provider.src
2020-09-17 17:39:40,419: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:40,420: DEBUG - + local src_sum=7cec08941a03177bddcb7236fa9f3e05a5d23501a2eb410f5018c442993967e0
2020-09-17 17:39:40,421: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/ldap_provider.src
2020-09-17 17:39:40,422: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:40,423: DEBUG - + local src_sumprg=sha256sum
2020-09-17 17:39:40,425: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/ldap_provider.src
2020-09-17 17:39:40,426: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:40,427: DEBUG - + local src_format=tar.gz
2020-09-17 17:39:40,428: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/ldap_provider.src
2020-09-17 17:39:40,430: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:40,431: DEBUG - + local src_extract=
2020-09-17 17:39:40,432: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/ldap_provider.src
2020-09-17 17:39:40,433: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:40,434: DEBUG - + local src_in_subdir=false
2020-09-17 17:39:40,535: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/mediawiki_ynh-b3bf8b24edf9fd9bc584a69b0bfcad7cc5ef9273/scripts/../conf/ldap_provider.src
2020-09-17 17:39:40,536: DEBUG - ++ cut --delimiter== --fields=2-
2020-09-17 17:39:40,537: DEBUG - + local src_filename=
2020-09-17 17:39:40,538: DEBUG - + src_sumprg=sha256sum
2020-09-17 17:39:40,538: DEBUG - + src_in_subdir=false
2020-09-17 17:39:40,539: DEBUG - + src_format=tar.gz
2020-09-17 17:39:40,540: DEBUG - ++ echo tar.gz
2020-09-17 17:39:40,540: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2020-09-17 17:39:40,541: DEBUG - + src_format=tar.gz
2020-09-17 17:39:40,542: DEBUG - + src_extract=true
2020-09-17 17:39:40,542: DEBUG - + '[' '' = '' ']'
2020-09-17 17:39:40,543: DEBUG - + src_filename=ldap_provider.tar.gz
2020-09-17 17:39:40,543: DEBUG - + local local_src=/opt/yunohost-apps-src/mediawiki/ldap_provider.tar.gz
2020-09-17 17:39:40,544: DEBUG - + test -e /opt/yunohost-apps-src/mediawiki/ldap_provider.tar.gz
2020-09-17 17:39:40,545: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=ldap_provider.tar.gz https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_31-8e93a3e.tar.gz
2020-09-17 17:39:41,550: DEBUG - + out='https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_31-8e93a3e.tar.gz:
2020-09-17 17:39:41,552: DEBUG - 2020-09-17 17:39:41 ERROR 404: Not Found.'
2020-09-17 17:39:41,553: DEBUG - + ynh_die '--message=https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_31-8e93a3e.tar.gz:
2020-09-17 17:39:41,555: DEBUG - 2020-09-17 17:39:41 ERROR 404: Not Found.'
2020-09-17 17:39:41,565: DEBUG - 2020-09-17 17:39:41 ERROR 404: Not Found.'
2020-09-17 17:39:41,668: DEBUG - + ret_code=1
2020-09-17 17:39:41,669: WARNING - https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_31-8e93a3e.tar.gz:
2020-09-17 17:39:41,672: DEBUG - + echo 'https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_31-8e93a3e.tar.gz:
2020-09-17 17:39:41,673: WARNING - 2020-09-17 17:39:41 ERROR 404: Not Found.
2020-09-17 17:39:41,675: DEBUG - 2020-09-17 17:39:41 ERROR 404: Not Found.'
2020-09-17 17:39:41,676: DEBUG - + exit 1
2020-09-17 17:39:41,677: DEBUG - + ynh_exit_properly
2020-09-17 17:39:41,678: DEBUG - + local exit_code=1
2020-09-17 17:39:41,679: DEBUG - + '[' 1 -eq 0 ']'
2020-09-17 17:39:41,680: DEBUG - + trap '' EXIT
2020-09-17 17:39:41,680: DEBUG - + set +o errexit
2020-09-17 17:39:41,681: DEBUG - + set +o nounset
2020-09-17 17:39:41,682: DEBUG - + sleep 0.5
2020-09-17 17:39:42,285: DEBUG - + type -t ynh_clean_setup
2020-09-17 17:39:42,287: DEBUG - + exit 1
2020-09-17 17:39:42,314: ERROR - Could not install mediawiki: An error occurred inside the app installation script

Unable to install mediawiki: An error occurred inside the app installation script

Clear setup ...

2021-09-09 08:17:24,084: DEBUG - ++ echo tar.gz
2021-09-09 08:17:24,085: DEBUG - + src_format=tar.gz
2021-09-09 08:17:24,085: DEBUG - + src_extract=true
2021-09-09 08:17:24,086: DEBUG - + '[' '' = '' ']'
2021-09-09 08:17:24,086: DEBUG - + src_filename=ldap_authentication2.tar.gz
2021-09-09 08:17:24,086: DEBUG - + local local_src=/opt/yunohost-apps-src/mediawiki/ldap_authentication2.tar.gz
2021-09-09 08:17:24,086: DEBUG - + mkdir -p /var/cache/yunohost/download/mediawiki/
2021-09-09 08:17:24,087: DEBUG - + src_filename=/var/cache/yunohost/download/mediawiki/ldap_authentication2.tar.gz
2021-09-09 08:17:24,088: DEBUG - + test -e /opt/yunohost-apps-src/mediawiki/ldap_authentication2.tar.gz
2021-09-09 08:17:24,088: DEBUG - + '[' -n https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_35-29a0357.tar.gz ']'
2021-09-09 08:17:24,088: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/mediawiki/ldap_authentication2.tar.gz https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_35-29a0357.tar.gz
2021-09-09 08:17:24,658: DEBUG - + out='https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_35-29a0357.tar.gz:
2021-09-09 08:17:24,658: DEBUG - 2021-09-09 08:17:24 ERROR 404: Not Found.'
2021-09-09 08:17:24,659: DEBUG - + ynh_die '--message=https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_35-29a0357.tar.gz:
2021-09-09 08:17:24,659: DEBUG - 2021-09-09 08:17:24 ERROR 404: Not Found.'
2021-09-09 08:17:24,661: DEBUG - 2021-09-09 08:17:24 ERROR 404: Not Found.'
2021-09-09 08:17:24,679: DEBUG - + ret_code=1
2021-09-09 08:17:24,679: DEBUG - + echo 'https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_35-29a0357.tar.gz:
2021-09-09 08:17:24,679: DEBUG - 2021-09-09 08:17:24 ERROR 404: Not Found.'
2021-09-09 08:17:24,680: DEBUG - + exit 1
2021-09-09 08:17:24,680: DEBUG - + ynh_exit_properly
2021-09-09 08:17:24,680: DEBUG - + local exit_code=1
2021-09-09 08:17:24,680: DEBUG - + rm -rf /var/cache/yunohost/download/
2021-09-09 08:17:24,680: WARNING - https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_35-29a0357.tar.gz:
2021-09-09 08:17:24,681: WARNING - 2021-09-09 08:17:24 ERROR 404: Not Found.
2021-09-09 08:17:24,682: DEBUG - + '[' 1 -eq 0 ']'
2021-09-09 08:17:24,682: DEBUG - + trap '' EXIT
2021-09-09 08:17:24,683: DEBUG - + set +o errexit
2021-09-09 08:17:24,683: DEBUG - + set +o nounset
2021-09-09 08:17:24,683: DEBUG - + sleep 0.5
2021-09-09 08:17:25,185: DEBUG - + type -t ynh_clean_setup
2021-09-09 08:17:25,185: DEBUG - + ynh_clean_setup
2021-09-09 08:17:25,185: DEBUG - + true
2021-09-09 08:17:25,185: DEBUG - + exit 1
2021-09-09 08:17:26,186: ERROR - Unable to install mediawiki: An error occurred inside the app installation script

Fails immediately

My YunoHost server
Hardware: : PEPPER JOBS GLK-UC2X

YunoHost version:

"packages": {
"yunohost": {
"repo": "stable",
"version": "3.6.5.3"
},
"yunohost-admin": {
"repo": "stable",
"version": "3.6.5.1"
I have access to my server : all of these: Through SSH | through the webadmin | direct access via keyboard / screen | …

Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? :

If yes, please explain:
no, except following the guide here on HTTPS on this website (I cant post links) http://wayneoutthere.com/how-to-yunohost-own-domain-cloudflare/

Description of my issue

Logs: https://paste.yunohost.org/raw/xomowufada

Installation fails at LDAPAuthentication2 extension due to file not found error.

Installation fails at LDAPAuthentication2 extension due to file not found error.

2023-02-17 12:55:26,698: WARNING - Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
2023-02-17 12:55:26,698: WARNING - ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
2023-02-17 12:55:26,699: WARNING - https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_39-b4c4283.tar.gz:
2023-02-17 12:55:26,700: WARNING - 2023-02-17 12:55:26 FEHLER 404: Not Found.

here is my full log: https://paste.yunohost.org/raw/oyuwifuzem

[Maintenance ping] Is this app still maintained ?

Hello !

This is a friendly automatic notice from the Yunohost Apps team : our tool noticed that this app is listed in the community/official app lists - but this app appears to be inactive.

Hence, this issue was created automatically to check if this app is still actively maintained.

You are the current maintainer ? 👷‍♂️ 👷‍♀️

You still actively maintain this app ? 🎉

Please close this issue to signify that you still actively maintain this app. Nothing else, and thank you for your work ❤️ !

You don't intend to maintain this app anymore ? 😢

Either don't do anything, or add a comment to explicitly state that you do not intend / have time / ... to maintain this app (but thanks for your work so far ! 😘). After 15 days, if this issue is still opened, the app will be considered unmaintained.

You wish to become the new maintainer of this app ? 😄

You are welcome and free to comment in this thread that you wish to become the new maintainer, and/or to create the corresponding pull request to fix this issue ! (If you do not already have commit rights on this repo, we can then arrange things with the rest of the app team. 😉) Once this issue is closed, the app will then be flagged again as maintained !

VisualEditor not working: found a solution

On a VPS where yunohost has been installed on top of vanilla debian, installed the yunohost mediawiki app and added
wfLoadExtension( 'VisualEditor' );
at the end of LocalSettings.php
When editing a page with the editor, there's a popup error 500 with a trace in error.log of nginx:

2021/03/02 12:35:59 [error] 895#895: *15627 could not find named location "@rewrite", client: fe80::a800:ff:feb2:9773, server: adaptationradicale.org, request: "GET /wiki/rest.php/adaptationradicale.org/v3/page/html/Accueil/20?redirect=false&stash=true HTTP/2.0", host: "adaptationradicale.org"

In the mediawiki.conf file (inside nginx's directory), there's this line which seems to cause problems because the destination @rewrite doesn't exist (inside the PHP location part):
try_files $uri @rewrite;
I justed commented out, restarted nginx, and things seem to work properly now (VisualEditor is working)

Installation issue

Describe the bug

Installation Fail

Context

  • Hardware: VPS bought online OVH
  • YunoHost version: 11.0.11 (stable)
  • I have access to my server: *Through SSH | through the webadmin *

Pb with link in installation package :

Logs are In french, sorry :

2023-01-20 09:45:42,613: DEBUG - + src_filename=ldap_authentication2.tar.gz
2023-01-20 09:45:42,613: DEBUG - + local local_src=/opt/yunohost-apps-src/mediawiki/ldap_authentication2.tar.gz
2023-01-20 09:45:42,613: DEBUG - + mkdir -p /var/cache/yunohost/download/mediawiki/
2023-01-20 09:45:42,615: DEBUG - + src_filename=/var/cache/yunohost/download/mediawiki/ldap_authentication2.tar.gz
2023-01-20 09:45:42,615: DEBUG - + test -e /opt/yunohost-apps-src/mediawiki/ldap_authentication2.tar.gz
2023-01-20 09:45:42,616: DEBUG - + '[' -n https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_39-ba99252.tar.gz ']'
2023-01-20 09:45:42,616: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/mediawiki/ldap_authentication2.tar.gz https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_39-ba99252.tar.gz
2023-01-20 09:45:43,313: DEBUG - + out='https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_39-ba99252.tar.gz:
2023-01-20 09:45:43,314: DEBUG - 2023-01-20 09:45:43 erreur 404 : Not Found.'
2023-01-20 09:45:43,314: DEBUG - + ynh_die '--message=https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_39-ba99252.tar.gz:
2023-01-20 09:45:43,314: DEBUG - 2023-01-20 09:45:43 erreur 404 : Not Found.'
2023-01-20 09:45:43,317: DEBUG - 2023-01-20 09:45:43 erreur 404 : Not Found.'
2023-01-20 09:45:43,367: DEBUG - 2023-01-20 09:45:43 erreur 404 : Not Found.'
2023-01-20 09:45:43,367: DEBUG - + ynh_exit_properly
2023-01-20 09:45:43,368: WARNING - https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_39-ba99252.tar.gz:
2023-01-20 09:45:43,373: WARNING - 2023-01-20 09:45:43 erreur 404 : Not Found.
2023-01-20 09:45:44,915: ERROR - Impossible d'installer mediawiki : Une erreur est survenue dans le script d'installation de l'application

Everything Ok before that

Thanks for help

Stéphane (french)

installation fails (PluggableAuth-REL1_38-bdf6fce.tar.gz Not found)

How to post a meaningful bug report

  1. Read this whole template first.
  2. Determine if you are on the right place:
    • If you were performing an action on the app from the webadmin or the CLI (install, update, backup, restore, change_url...), you are on the right place!
    • Otherwise, the issue may be due to the app itself. Refer to its documentation or repository for help.
    • When in doubt, post here and we will figure it out together.
  3. Delete the italic comments as you write over them below, and remove this guide.

Describe the bug

A clear and concise description of what the bug is.

Context

Logs

args:
app: mediawiki
force: false
label: MediaWiki
no_remove_on_failure: false
ended_at: 2022-10-27 11:37:41.224951
env:
YNH_APP_ARG_ADMIN: yom
YNH_APP_ARG_DOMAIN: maindomain.tld
YNH_APP_ARG_IS_PUBLIC: '1'
YNH_APP_ARG_LANGUAGE: fr
YNH_APP_ARG_PATH: /wiki
YNH_APP_ARG_WIKI_NAME: YunoWiki
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d
YNH_APP_ID: mediawiki
YNH_APP_INSTANCE_NAME: mediawiki
YNH_APP_INSTANCE_NUMBER: '1'
YNH_APP_MANIFEST_VERSION: 1.38.4~ynh1
YNH_ARCH: amd64
error: Une erreur est survenue dans le script d'installation de l'application
interface: api
operation: app_install
parent: null
related_to:

    • app
    • mediawiki
      started_at: 2022-10-27 11:37:14.937349
      success: false
      yunohost_version: 11.0.10.1

============

2022-10-27 11:37:14,943: INFO - Installation de mediawiki...
2022-10-27 11:37:15,077: DEBUG - Nothing to update in LDAP
2022-10-27 11:37:15,078: DEBUG - Permission 'mediawiki.main' mise à jour
2022-10-27 11:37:15,188: DEBUG - Journal complet de cette opération : ' Mise à jour de l'URL associée à l'autorisation 'mediawiki' '
2022-10-27 11:37:15,413: DEBUG - The permission database has been resynchronized
2022-10-27 11:37:15,563: DEBUG - La configuration de SSOwat a été regénérée
2022-10-27 11:37:15,676: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./50-freshrss" mediawiki yom main all_users 7>&1']'
2022-10-27 11:37:15,683: DEBUG - + set -a
2022-10-27 11:37:15,683: DEBUG - + source /usr/share/yunohost/helpers
2022-10-27 11:37:15,684: DEBUG - +++ grep xtrace
2022-10-27 11:37:15,685: DEBUG - +++ set +o
2022-10-27 11:37:15,686: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2022-10-27 11:37:15,686: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2022-10-27 11:37:15,704: DEBUG - + app=mediawiki
2022-10-27 11:37:15,704: DEBUG - + new_users=yom
2022-10-27 11:37:15,704: DEBUG - + [[ freshrss = \m\e\d\i\a\w\i\k\i ]]
2022-10-27 11:37:16,705: DEBUG - Permission 'mediawiki.main' créée
2022-10-27 11:37:16,705: DEBUG - Journal complet de cette opération : ' Créer permission 'mediawiki' '
2022-10-27 11:37:16,718: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
2022-10-27 11:37:16,722: DEBUG - + source common.sh
2022-10-27 11:37:16,723: DEBUG - ++ pkg_dependencies='diffutils imagemagick acl'
2022-10-27 11:37:16,723: DEBUG - + source /usr/share/yunohost/helpers
2022-10-27 11:37:16,723: DEBUG - +++ grep xtrace
2022-10-27 11:37:16,725: DEBUG - +++ set +o
2022-10-27 11:37:16,725: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2022-10-27 11:37:16,726: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2022-10-27 11:37:16,740: DEBUG - + ynh_abort_if_errors
2022-10-27 11:37:16,741: DEBUG - + trap ynh_exit_properly EXIT
2022-10-27 11:37:16,741: DEBUG - + domain=maindomain.tld
2022-10-27 11:37:16,741: DEBUG - + path_url=/wiki
2022-10-27 11:37:16,741: DEBUG - + is_public=1
2022-10-27 11:37:16,741: DEBUG - + language=fr
2022-10-27 11:37:16,742: DEBUG - + admin=yom
2022-10-27 11:37:16,742: DEBUG - + admin_password=''
2022-10-27 11:37:16,742: DEBUG - + wiki_name=YunoWiki
2022-10-27 11:37:16,742: DEBUG - + app=mediawiki
2022-10-27 11:37:16,743: DEBUG - ++ ynh_string_random --length=64
2022-10-27 11:37:16,758: DEBUG - ++ length=64
2022-10-27 11:37:16,758: DEBUG - ++ filter=A-Za-z0-9
2022-10-27 11:37:16,758: DEBUG - ++ sed --quiet 's/(.{64}).
/\1/p'
2022-10-27 11:37:16,760: DEBUG - ++ tr --complement --delete A-Za-z0-9
2022-10-27 11:37:16,761: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2022-10-27 11:37:16,767: DEBUG - + secret=
*
2022-10-27 11:37:16,837: DEBUG - + final_path=/var/www/mediawiki
2022-10-27 11:37:16,837: DEBUG - + test '!' -e /var/www/mediawiki
2022-10-27 11:37:16,837: DEBUG - + ynh_webpath_register --app=mediawiki --domain=maindomain.tld --path_url=/wiki
2022-10-27 11:37:16,838: INFO - [....................] > Validating installation parameters...
2022-10-27 11:37:16,889: DEBUG - + yunohost app register-url mediawiki maindomain.tld /wiki
2022-10-27 11:37:18,530: DEBUG - + ynh_app_setting_set --app=mediawiki --key=domain --value=maindomain.tld
2022-10-27 11:37:18,530: DEBUG - + local globalapp=mediawiki
2022-10-27 11:37:18,531: INFO - [....................] > Storing installation settings...
2022-10-27 11:37:18,583: DEBUG - + app=mediawiki
2022-10-27 11:37:18,583: DEBUG - + [[ domain =~ (unprotected|protected|skipped)
]]
2022-10-27 11:37:18,583: DEBUG - + ynh_app_setting set mediawiki domain maindomain.tld
2022-10-27 11:37:18,634: DEBUG - + ynh_app_setting_set --app=mediawiki --key=path --value=/wiki
2022-10-27 11:37:18,634: DEBUG - + local globalapp=mediawiki
2022-10-27 11:37:18,687: DEBUG - + app=mediawiki
2022-10-27 11:37:18,687: DEBUG - + [[ path =~ (unprotected|protected|skipped)
]]
2022-10-27 11:37:18,687: DEBUG - + ynh_app_setting set mediawiki path /wiki
2022-10-27 11:37:18,737: DEBUG - + ynh_app_setting_set --app=mediawiki --key=language --value=fr
2022-10-27 11:37:18,737: DEBUG - + local globalapp=mediawiki
2022-10-27 11:37:18,790: DEBUG - + app=mediawiki
2022-10-27 11:37:18,790: DEBUG - + [[ language =~ (unprotected|protected|skipped)
]]
2022-10-27 11:37:18,790: DEBUG - + ynh_app_setting set mediawiki language fr
2022-10-27 11:37:18,840: DEBUG - + ynh_app_setting_set --app=mediawiki --key=admin --value=yom
2022-10-27 11:37:18,841: DEBUG - + local globalapp=mediawiki
2022-10-27 11:37:18,895: DEBUG - + app=mediawiki
2022-10-27 11:37:18,895: DEBUG - + [[ admin =~ (unprotected|protected|skipped)
]]
2022-10-27 11:37:18,895: DEBUG - + ynh_app_setting set mediawiki admin yom
2022-10-27 11:37:18,949: DEBUG - + ynh_app_setting_set --app=mediawiki --key=admin_password --value=**********
2022-10-27 11:37:18,949: DEBUG - + local globalapp=mediawiki
2022-10-27 11:37:19,006: DEBUG - + app=mediawiki
2022-10-27 11:37:19,007: DEBUG - + [[ admin_password =~ (unprotected|protected|skipped)
]]
2022-10-27 11:37:19,007: DEBUG - + ynh_app_setting set mediawiki admin_password ''
2022-10-27 11:37:19,059: DEBUG - + ynh_app_setting_set --app=mediawiki --key=wiki_name --value=YunoWiki
2022-10-27 11:37:19,059: DEBUG - + local globalapp=mediawiki
2022-10-27 11:37:19,115: DEBUG - + app=mediawiki
2022-10-27 11:37:19,115: DEBUG - + [[ wiki_name =~ (unprotected|protected|skipped)
]]
2022-10-27 11:37:19,115: DEBUG - + ynh_app_setting set mediawiki wiki_name YunoWiki
2022-10-27 11:37:19,166: DEBUG - + ynh_app_setting_set --app=mediawiki --key=secret --value=

2022-10-27 11:37:19,167: DEBUG - + local globalapp=mediawiki
2022-10-27 11:37:19,221: DEBUG - + app=mediawiki
2022-10-27 11:37:19,221: DEBUG - + [[ secret =~ (unprotected|protected|skipped)
]]
2022-10-27 11:37:19,221: DEBUG - + ynh_app_setting set mediawiki secret **********
2022-10-27 11:37:19,333: DEBUG - + ynh_install_app_dependencies diffutils imagemagick acl
2022-10-27 11:37:19,333: DEBUG - + local 'dependencies=diffutils imagemagick acl'
2022-10-27 11:37:19,333: INFO - [+++++++.............] > Installing dependencies...
2022-10-27 11:37:19,335: DEBUG - ++ sed 's/([^\<=\>])\ ([^(])/\1, \2/g'
2022-10-27 11:37:19,336: DEBUG - ++ echo 'diffutils imagemagick acl'
2022-10-27 11:37:19,337: DEBUG - + dependencies='diffutils, imagemagick, acl'
2022-10-27 11:37:19,337: DEBUG - + local 'dependencies=diffutils, imagemagick, acl'
2022-10-27 11:37:19,337: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/manifest.json
2022-10-27 11:37:19,338: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/manifest.json
2022-10-27 11:37:19,383: DEBUG - + local version=1.38.4ynh1
2022-10-27 11:37:19,383: DEBUG - + '[' -z 1.38.4
ynh1 ']'
2022-10-27 11:37:19,384: DEBUG - + '[' 1.38.4ynh1 == null ']'
2022-10-27 11:37:19,384: DEBUG - + local dep_app=mediawiki
2022-10-27 11:37:19,384: DEBUG - + [[ diffutils, imagemagick, acl =
[<=>] ]]
2022-10-27 11:37:19,385: DEBUG - ++ sort -u
2022-10-27 11:37:19,385: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|>)'
2022-10-27 11:37:19,388: DEBUG - ++ echo diffutils, imagemagick, acl
2022-10-27 11:37:19,389: DEBUG - + local specific_php_version=
2022-10-27 11:37:19,389: DEBUG - + grep --quiet php
2022-10-27 11:37:19,391: DEBUG - ++ ynh_package_is_installed postgresql-13
2022-10-27 11:37:19,401: DEBUG - ++ ynh_wait_dpkg_free
2022-10-27 11:37:19,489: DEBUG - ++ return 0
2022-10-27 11:37:19,489: DEBUG - ++ grep --count 'ok installed'
2022-10-27 11:37:19,490: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2022-10-27 11:37:19,505: DEBUG - ++ echo no
2022-10-27 11:37:19,505: DEBUG - + local psql_installed=no
2022-10-27 11:37:19,505: DEBUG - + [[ true == \t\r\u\e ]]
2022-10-27 11:37:19,505: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2022-10-27 11:37:19,505: DEBUG - + cat
2022-10-27 11:37:19,507: DEBUG - + ynh_package_install_from_equivs /tmp/mediawiki-ynh-deps.control
2022-10-27 11:37:19,507: DEBUG - + local controlfile=/tmp/mediawiki-ynh-deps.control
2022-10-27 11:37:19,508: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-10-27 11:37:19,508: DEBUG - ++ grep '^Package: ' /tmp/mediawiki-ynh-deps.control
2022-10-27 11:37:19,511: DEBUG - + local pkgname=mediawiki-ynh-deps
2022-10-27 11:37:19,512: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-10-27 11:37:19,513: DEBUG - ++ grep '^Version: ' /tmp/mediawiki-ynh-deps.control
2022-10-27 11:37:19,515: DEBUG - + local pkgversion=1.38.4ynh1
2022-10-27 11:37:19,515: DEBUG - + [[ -z mediawiki-ynh-deps ]]
2022-10-27 11:37:19,515: DEBUG - + [[ -z 1.38.4
ynh1 ]]
2022-10-27 11:37:19,515: DEBUG - + ynh_package_update
2022-10-27 11:37:19,515: DEBUG - + ynh_apt update
2022-10-27 11:37:19,515: DEBUG - + ynh_wait_dpkg_free
2022-10-27 11:37:19,600: DEBUG - + return 0
2022-10-27 11:37:19,600: DEBUG - + LC_ALL=C
2022-10-27 11:37:19,600: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-10-27 11:37:19,601: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2022-10-27 11:37:19,678: DEBUG - Hit:1 http://deb.debian.org/debian bullseye InRelease
2022-10-27 11:37:19,678: DEBUG - Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
2022-10-27 11:37:19,679: DEBUG - Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
2022-10-27 11:37:19,712: DEBUG - Hit:4 https://packages.sury.org/php bullseye InRelease
2022-10-27 11:37:19,724: DEBUG - Get:5 http://forge.yunohost.org/debian bullseye InRelease [18.4 kB]
2022-10-27 11:37:20,153: DEBUG - Fetched 18.4 kB in 1s (35.9 kB/s)
2022-10-27 11:37:20,849: DEBUG - Reading package lists...
2022-10-27 11:37:20,862: DEBUG - ++ mktemp --directory
2022-10-27 11:37:20,863: DEBUG - + local TMPDIR=/tmp/tmp.8wrtWagoC0
2022-10-27 11:37:20,864: DEBUG - + rm -f /usr/share/equivs/template/debian/compat
2022-10-27 11:37:20,865: DEBUG - + ynh_wait_dpkg_free
2022-10-27 11:37:20,949: DEBUG - + return 0
2022-10-27 11:37:20,949: DEBUG - + cp /tmp/mediawiki-ynh-deps.control /tmp/tmp.8wrtWagoC0/control
2022-10-27 11:37:20,951: DEBUG - + cd /tmp/tmp.8wrtWagoC0
2022-10-27 11:37:20,951: DEBUG - + LC_ALL=C
2022-10-27 11:37:20,951: DEBUG - + equivs-build ./control
2022-10-27 11:37:21,142: DEBUG - dpkg-buildpackage: info: source package mediawiki-ynh-deps
2022-10-27 11:37:21,143: DEBUG - dpkg-buildpackage: info: source version 1.38.4ynh1
2022-10-27 11:37:21,143: DEBUG - dpkg-buildpackage: info: source distribution unstable
2022-10-27 11:37:21,143: DEBUG - dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator [email protected]
2022-10-27 11:37:21,188: DEBUG - dpkg-source --before-build .
2022-10-27 11:37:21,188: DEBUG - dpkg-buildpackage: info: host architecture amd64
2022-10-27 11:37:21,315: DEBUG - debian/rules clean
2022-10-27 11:37:21,318: DEBUG - dh clean
2022-10-27 11:37:21,421: DEBUG - dh_clean
2022-10-27 11:37:21,458: DEBUG - debian/rules binary
2022-10-27 11:37:21,460: DEBUG - dh binary
2022-10-27 11:37:21,542: DEBUG - dh_update_autotools_config
2022-10-27 11:37:21,575: DEBUG - dh_autoreconf
2022-10-27 11:37:21,627: DEBUG - create-stamp debian/debhelper-build-stamp
2022-10-27 11:37:21,627: DEBUG - dh_prep
2022-10-27 11:37:21,662: DEBUG - dh_install
2022-10-27 11:37:21,717: DEBUG - dh_installdocs
2022-10-27 11:37:21,767: DEBUG - dh_installchangelogs
2022-10-27 11:37:21,872: DEBUG - dh_perl
2022-10-27 11:37:21,917: DEBUG - dh_link
2022-10-27 11:37:21,959: DEBUG - dh_strip_nondeterminism
2022-10-27 11:37:22,041: DEBUG - dh_compress
2022-10-27 11:37:22,087: DEBUG - dh_fixperms
2022-10-27 11:37:22,133: DEBUG - dh_missing
2022-10-27 11:37:22,165: DEBUG - dh_installdeb
2022-10-27 11:37:22,204: DEBUG - dh_gencontrol
2022-10-27 11:37:22,345: DEBUG - dh_md5sums
2022-10-27 11:37:22,385: DEBUG - dh_builddeb
2022-10-27 11:37:22,416: DEBUG - dpkg-deb: building package 'mediawiki-ynh-deps' in '../mediawiki-ynh-deps_1.38.4
ynh1_all.deb'.
2022-10-27 11:37:22,437: DEBUG - dpkg-genbuildinfo --build=binary
2022-10-27 11:37:22,836: DEBUG - dpkg-genchanges --build=binary >../mediawiki-ynh-deps_1.38.4ynh1_amd64.changes
2022-10-27 11:37:22,938: DEBUG - dpkg-genchanges: info: binary-only upload (no source code included)
2022-10-27 11:37:22,941: DEBUG - dpkg-source --after-build .
2022-10-27 11:37:23,077: DEBUG - dpkg-buildpackage: info: binary-only upload (no source included)
2022-10-27 11:37:23,077: DEBUG -
2022-10-27 11:37:23,077: DEBUG - The package has been created.
2022-10-27 11:37:23,077: DEBUG - Attention, the package has been created in the current directory,
2022-10-27 11:37:23,077: DEBUG - not in ".." as indicated by the message above!
2022-10-27 11:37:23,078: DEBUG - + tee ./dpkg_log
2022-10-27 11:37:23,078: DEBUG - + LC_ALL=C
2022-10-27 11:37:23,079: DEBUG - + dpkg --force-depends --install ./mediawiki-ynh-deps_1.38.4
ynh1_all.deb
2022-10-27 11:37:23,114: DEBUG - Selecting previously unselected package mediawiki-ynh-deps.
2022-10-27 11:37:23,144: DEBUG - (Reading database ... 60202 files and directories currently installed.)
2022-10-27 11:37:23,147: DEBUG - Preparing to unpack .../mediawiki-ynh-deps_1.38.4ynh1_all.deb ...
2022-10-27 11:37:23,149: DEBUG - Unpacking mediawiki-ynh-deps (1.38.4
ynh1) ...
2022-10-27 11:37:23,161: DEBUG - Setting up mediawiki-ynh-deps (1.38.4ynh1) ...
2022-10-27 11:37:23,175: DEBUG - + ynh_package_install --fix-broken
2022-10-27 11:37:23,175: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2022-10-27 11:37:23,175: DEBUG - + ynh_wait_dpkg_free
2022-10-27 11:37:23,265: DEBUG - + return 0
2022-10-27 11:37:23,265: DEBUG - + LC_ALL=C
2022-10-27 11:37:23,265: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-10-27 11:37:23,265: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2022-10-27 11:37:23,385: DEBUG - Reading package lists...
2022-10-27 11:37:23,551: DEBUG - Building dependency tree...
2022-10-27 11:37:23,552: DEBUG - Reading state information...
2022-10-27 11:37:23,710: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2022-10-27 11:37:23,711: DEBUG - + [[ -n /tmp/tmp.8wrtWagoC0 ]]
2022-10-27 11:37:23,711: DEBUG - + rm --recursive --force /tmp/tmp.8wrtWagoC0
2022-10-27 11:37:23,713: DEBUG - + ynh_package_is_installed mediawiki-ynh-deps
2022-10-27 11:37:23,721: DEBUG - + ynh_wait_dpkg_free
2022-10-27 11:37:23,820: DEBUG - + return 0
2022-10-27 11:37:23,820: DEBUG - + grep --count 'ok installed'
2022-10-27 11:37:23,822: DEBUG - + dpkg-query --show '--showformat=${Status}' mediawiki-ynh-deps
2022-10-27 11:37:23,836: DEBUG - + rm /tmp/mediawiki-ynh-deps.control
2022-10-27 11:37:23,838: DEBUG - ++ ynh_package_is_installed postgresql-13
2022-10-27 11:37:23,848: DEBUG - ++ ynh_wait_dpkg_free
2022-10-27 11:37:23,932: DEBUG - ++ return 0
2022-10-27 11:37:23,933: DEBUG - ++ grep --count 'ok installed'
2022-10-27 11:37:23,934: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2022-10-27 11:37:23,949: DEBUG - ++ echo no
2022-10-27 11:37:23,949: DEBUG - + local psql_installed2=no
2022-10-27 11:37:23,950: DEBUG - + [[ no != \n\o ]]
2022-10-27 11:37:24,011: DEBUG - + ynh_system_user_create --username=mediawiki --home_dir=/var/www/mediawiki
2022-10-27 11:37:24,012: INFO - [#######+............] > Configuring system user...
2022-10-27 11:37:24,062: DEBUG - + use_shell=0
2022-10-27 11:37:24,062: DEBUG - + home_dir=/var/www/mediawiki
2022-10-27 11:37:24,063: DEBUG - + groups=
2022-10-27 11:37:24,063: DEBUG - + ynh_system_user_exists mediawiki
2022-10-27 11:37:24,072: DEBUG - + getent passwd mediawiki
2022-10-27 11:37:24,076: DEBUG - + '[' -n /var/www/mediawiki ']'
2022-10-27 11:37:24,076: DEBUG - + local 'user_home_dir=--home-dir /var/www/mediawiki'
2022-10-27 11:37:24,077: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2022-10-27 11:37:24,077: DEBUG - + useradd --home-dir /var/www/mediawiki --system --user-group mediawiki --shell /usr/sbin/nologin
2022-10-27 11:37:24,171: INFO - [########+...........] > Creating a MySQL database...
2022-10-27 11:37:24,172: DEBUG - ++ ynh_sanitize_dbid --db_name=mediawiki
2022-10-27 11:37:24,182: DEBUG - ++ echo mediawiki
2022-10-27 11:37:24,183: DEBUG - + db_name=mediawiki
2022-10-27 11:37:24,183: DEBUG - + db_user=mediawiki
2022-10-27 11:37:24,183: DEBUG - + ynh_app_setting_set --app=mediawiki --key=db_name --value=mediawiki
2022-10-27 11:37:24,183: DEBUG - + local _globalapp=mediawiki
2022-10-27 11:37:24,238: DEBUG - + app=mediawiki
2022-10-27 11:37:24,238: DEBUG - + [[ db_name =
(unprotected|protected|skipped)
]]
2022-10-27 11:37:24,238: DEBUG - + ynh_app_setting set mediawiki db_name mediawiki
2022-10-27 11:37:24,295: DEBUG - + ynh_mysql_setup_db --db_user=mediawiki --db_name=mediawiki
2022-10-27 11:37:24,296: DEBUG - + db_pwd=
2022-10-27 11:37:24,336: DEBUG - ++ ynh_string_random
2022-10-27 11:37:24,338: DEBUG - ++ length=24
2022-10-27 11:37:24,339: DEBUG - ++ filter=A-Za-z0-9
2022-10-27 11:37:24,339: DEBUG - ++ sed --quiet 's/(.{24})./\1/p'
2022-10-27 11:37:24,341: DEBUG - ++ tr --complement --delete A-Za-z0-9
2022-10-27 11:37:24,342: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2022-10-27 11:37:24,347: DEBUG - + local new_db_pwd=
*********
2022-10-27 11:37:24,347: DEBUG - + db_pwd=**********
2022-10-27 11:37:24,347: DEBUG - + ynh_mysql_create_db mediawiki mediawiki **********
2022-10-27 11:37:24,347: DEBUG - + local db=mediawiki
2022-10-27 11:37:24,347: DEBUG - + local 'sql=CREATE DATABASE mediawiki;'
2022-10-27 11:37:24,347: DEBUG - + [[ 3 -gt 1 ]]
2022-10-27 11:37:24,348: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON mediawiki.* TO '''mediawiki'''@'''localhost''''
2022-10-27 11:37:24,348: DEBUG - + [[ -n ********** ]]
2022-10-27 11:37:24,348: DEBUG - + sql+=' IDENTIFIED BY '''''''
2022-10-27 11:37:24,348: DEBUG - + sql+=' WITH GRANT OPTION;'
2022-10-27 11:37:24,348: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE mediawiki; GRANT ALL PRIVILEGES ON mediawiki.
TO '''mediawiki'''@'''localhost''' IDENTIFIED BY '''
''' WITH GRANT OPTION;'
2022-10-27 11:37:24,363: DEBUG - + database=
2022-10-27 11:37:24,363: DEBUG - + '[' -n '' ']'
2022-10-27 11:37:24,363: DEBUG - + mysql -B ''
2022-10-27 11:37:24,384: DEBUG - + ynh_app_setting_set --app=mediawiki --key=mysqlpwd --value=
*********
2022-10-27 11:37:24,385: DEBUG - + local globalapp=mediawiki
2022-10-27 11:37:24,441: DEBUG - + app=mediawiki
2022-10-27 11:37:24,441: DEBUG - + [[ mysqlpwd =~ (unprotected|protected|skipped)
]]
2022-10-27 11:37:24,441: DEBUG - + ynh_app_setting set mediawiki mysqlpwd **********
2022-10-27 11:37:24,555: DEBUG - + ynh_app_setting_set --app=mediawiki --key=final_path --value=/var/www/mediawiki
2022-10-27 11:37:24,555: DEBUG - + local globalapp=mediawiki
2022-10-27 11:37:24,556: INFO - [#########+..........] > Setting up source files...
2022-10-27 11:37:24,610: DEBUG - + app=mediawiki
2022-10-27 11:37:24,610: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)
]]
2022-10-27 11:37:24,611: DEBUG - + ynh_app_setting set mediawiki final_path /var/www/mediawiki
2022-10-27 11:37:24,664: DEBUG - + ynh_setup_source --dest_dir=/var/www/mediawiki
2022-10-27 11:37:24,691: DEBUG - + source_id=app
2022-10-27 11:37:24,692: DEBUG - + keep=
2022-10-27 11:37:24,692: DEBUG - + full_replace=0
2022-10-27 11:37:24,692: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/app.src
2022-10-27 11:37:24,693: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:24,694: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/app.src
2022-10-27 11:37:24,696: DEBUG - + local src_url=https://releases.wikimedia.org/mediawiki/1.38/mediawiki-1.38.4.tar.gz
2022-10-27 11:37:24,697: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:24,698: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/app.src
2022-10-27 11:37:24,700: DEBUG - + local src_sum=d2b3a32d42a41eb65838fc30878307f7d63303c34a7e862411055a83b502b497
2022-10-27 11:37:24,700: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:24,702: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/app.src
2022-10-27 11:37:24,703: DEBUG - + local src_sumprg=sha256sum
2022-10-27 11:37:24,704: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:24,705: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/app.src
2022-10-27 11:37:24,707: DEBUG - + local src_format=tar.gz
2022-10-27 11:37:24,708: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:24,709: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/app.src
2022-10-27 11:37:24,711: DEBUG - + local src_extract=true
2022-10-27 11:37:24,712: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:24,713: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/app.src
2022-10-27 11:37:24,715: DEBUG - + local src_in_subdir=true
2022-10-27 11:37:24,715: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:24,716: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/app.src
2022-10-27 11:37:24,718: DEBUG - + local src_filename=
2022-10-27 11:37:24,718: DEBUG - + src_sumprg=sha256sum
2022-10-27 11:37:24,719: DEBUG - + src_in_subdir=true
2022-10-27 11:37:24,719: DEBUG - + src_format=tar.gz
2022-10-27 11:37:24,719: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2022-10-27 11:37:24,721: DEBUG - ++ echo tar.gz
2022-10-27 11:37:24,722: DEBUG - + src_format=tar.gz
2022-10-27 11:37:24,722: DEBUG - + src_extract=true
2022-10-27 11:37:24,722: DEBUG - + '[' '' = '' ']'
2022-10-27 11:37:24,722: DEBUG - + src_filename=app.tar.gz
2022-10-27 11:37:24,722: DEBUG - + local local_src=/opt/yunohost-apps-src/mediawiki/app.tar.gz
2022-10-27 11:37:24,722: DEBUG - + mkdir -p /var/cache/yunohost/download/mediawiki/
2022-10-27 11:37:24,725: DEBUG - + src_filename=/var/cache/yunohost/download/mediawiki/app.tar.gz
2022-10-27 11:37:24,725: DEBUG - + test -e /opt/yunohost-apps-src/mediawiki/app.tar.gz
2022-10-27 11:37:24,725: DEBUG - + '[' -n https://releases.wikimedia.org/mediawiki/1.38/mediawiki-1.38.4.tar.gz ']'
2022-10-27 11:37:24,726: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/mediawiki/app.tar.gz https://releases.wikimedia.org/mediawiki/1.38/mediawiki-1.38.4.tar.gz
2022-10-27 11:37:30,401: DEBUG - + out='2022-10-27 11:37:30 URL:https://releases.wikimedia.org/mediawiki/1.38/mediawiki-1.38.4.tar.gz [55393813/55393813] -> "/var/cache/yunohost/download/mediawiki/app.tar.gz" [1]'
2022-10-27 11:37:30,402: DEBUG - + sha256sum --check --status
2022-10-27 11:37:30,787: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2022-10-27 11:37:30,789: DEBUG - + '[' -n '' ']'
2022-10-27 11:37:30,789: DEBUG - + mkdir --parents /var/www/mediawiki
2022-10-27 11:37:30,790: DEBUG - + '[' -n /var/www/mediawiki ']'
2022-10-27 11:37:30,791: DEBUG - + '[' /var/www/mediawiki == /var/www/mediawiki ']'
2022-10-27 11:37:30,791: DEBUG - + _ynh_apply_default_permissions /var/www/mediawiki
2022-10-27 11:37:30,791: DEBUG - + local target=/var/www/mediawiki
2022-10-27 11:37:30,791: DEBUG - ++ tr -d '>= '
2022-10-27 11:37:30,793: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/manifest.json
2022-10-27 11:37:30,835: DEBUG - + local ynh_requirement=4.3.0
2022-10-27 11:37:30,835: DEBUG - + '[' -z 4.3.0 ']'
2022-10-27 11:37:30,835: DEBUG - + '[' 4.3.0 == null ']'
2022-10-27 11:37:30,835: DEBUG - + dpkg --compare-versions 4.3.0 ge 4.2
2022-10-27 11:37:30,837: DEBUG - + chmod o-rwx /var/www/mediawiki
2022-10-27 11:37:30,838: DEBUG - + chmod g-w /var/www/mediawiki
2022-10-27 11:37:30,839: DEBUG - + chown -R root:root /var/www/mediawiki
2022-10-27 11:37:30,844: DEBUG - + ynh_system_user_exists mediawiki
2022-10-27 11:37:30,852: DEBUG - + getent passwd mediawiki
2022-10-27 11:37:30,855: DEBUG - + chown mediawiki:mediawiki /var/www/mediawiki
2022-10-27 11:37:30,858: DEBUG - + grep -q '^/etc/cron'
2022-10-27 11:37:30,859: DEBUG - + echo /var/www/mediawiki
2022-10-27 11:37:30,860: DEBUG - + true
2022-10-27 11:37:30,860: DEBUG - + '[' tar.gz = zip ']'
2022-10-27 11:37:30,861: DEBUG - + local strip=
2022-10-27 11:37:30,861: DEBUG - + '[' true '!=' false ']'
2022-10-27 11:37:30,861: DEBUG - + '[' true == true ']'
2022-10-27 11:37:30,861: DEBUG - + local sub_dirs=1
2022-10-27 11:37:30,861: DEBUG - + strip='--strip-components 1'
2022-10-27 11:37:30,861: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2022-10-27 11:37:30,861: DEBUG - + tar --extract --file=/var/cache/yunohost/download/mediawiki/app.tar.gz --directory=/var/www/mediawiki --strip-components 1
2022-10-27 11:37:33,954: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/mediawiki/app.tar.gz
2022-10-27 11:37:33,980: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/sources/patches/ ']'
2022-10-27 11:37:33,981: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/sources/extra_files/app
2022-10-27 11:37:33,981: DEBUG - + '[' -n '' ']'
2022-10-27 11:37:33,981: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2022-10-27 11:37:33,983: DEBUG - + ynh_setup_source --dest_dir=/var/www/mediawiki/extensions/ --source_id=ldap_authentication2
2022-10-27 11:37:34,032: DEBUG - + source_id=ldap_authentication2
2022-10-27 11:37:34,032: DEBUG - + keep=
2022-10-27 11:37:34,032: DEBUG - + full_replace=0
2022-10-27 11:37:34,032: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/ldap_authentication2.src
2022-10-27 11:37:34,033: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:34,035: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/ldap_authentication2.src
2022-10-27 11:37:34,036: DEBUG - + local src_url=https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_38-502759b.tar.gz
2022-10-27 11:37:34,037: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:34,039: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/ldap_authentication2.src
2022-10-27 11:37:34,040: DEBUG - + local src_sum=2212a2baa6b070d08fe36b8f3cf236a76a7aa58cdc5953c65a9a66d16cee3dc6
2022-10-27 11:37:34,041: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:34,042: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/ldap_authentication2.src
2022-10-27 11:37:34,044: DEBUG - + local src_sumprg=sha256sum
2022-10-27 11:37:34,045: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:34,046: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/ldap_authentication2.src
2022-10-27 11:37:34,048: DEBUG - + local src_format=tar.gz
2022-10-27 11:37:34,049: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:34,050: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/ldap_authentication2.src
2022-10-27 11:37:34,052: DEBUG - + local src_extract=true
2022-10-27 11:37:34,053: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:34,054: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/ldap_authentication2.src
2022-10-27 11:37:34,056: DEBUG - + local src_in_subdir=false
2022-10-27 11:37:34,057: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:34,058: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/ldap_authentication2.src
2022-10-27 11:37:34,060: DEBUG - + local src_filename=
2022-10-27 11:37:34,061: DEBUG - + src_sumprg=sha256sum
2022-10-27 11:37:34,061: DEBUG - + src_in_subdir=false
2022-10-27 11:37:34,061: DEBUG - + src_format=tar.gz
2022-10-27 11:37:34,062: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2022-10-27 11:37:34,062: DEBUG - ++ echo tar.gz
2022-10-27 11:37:34,064: DEBUG - + src_format=tar.gz
2022-10-27 11:37:34,064: DEBUG - + src_extract=true
2022-10-27 11:37:34,064: DEBUG - + '[' '' = '' ']'
2022-10-27 11:37:34,064: DEBUG - + src_filename=ldap_authentication2.tar.gz
2022-10-27 11:37:34,064: DEBUG - + local local_src=/opt/yunohost-apps-src/mediawiki/ldap_authentication2.tar.gz
2022-10-27 11:37:34,064: DEBUG - + mkdir -p /var/cache/yunohost/download/mediawiki/
2022-10-27 11:37:34,066: DEBUG - + src_filename=/var/cache/yunohost/download/mediawiki/ldap_authentication2.tar.gz
2022-10-27 11:37:34,066: DEBUG - + test -e /opt/yunohost-apps-src/mediawiki/ldap_authentication2.tar.gz
2022-10-27 11:37:34,066: DEBUG - + '[' -n https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_38-502759b.tar.gz ']'
2022-10-27 11:37:34,067: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/mediawiki/ldap_authentication2.tar.gz https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_38-502759b.tar.gz
2022-10-27 11:37:34,850: DEBUG - + out='2022-10-27 11:37:34 URL:https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_38-502759b.tar.gz [63205/63205] -> "/var/cache/yunohost/download/mediawiki/ldap_authentication2.tar.gz" [1]'
2022-10-27 11:37:34,851: DEBUG - + sha256sum --check --status
2022-10-27 11:37:34,853: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2022-10-27 11:37:34,854: DEBUG - + '[' -n '' ']'
2022-10-27 11:37:34,855: DEBUG - + mkdir --parents /var/www/mediawiki/extensions/
2022-10-27 11:37:34,857: DEBUG - + '[' -n /var/www/mediawiki ']'
2022-10-27 11:37:34,857: DEBUG - + '[' /var/www/mediawiki/extensions/ == /var/www/mediawiki ']'
2022-10-27 11:37:34,857: DEBUG - + true
2022-10-27 11:37:34,857: DEBUG - + '[' tar.gz = zip ']'
2022-10-27 11:37:34,857: DEBUG - + local strip=
2022-10-27 11:37:34,857: DEBUG - + '[' false '!=' false ']'
2022-10-27 11:37:34,858: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2022-10-27 11:37:34,858: DEBUG - + tar --extract --file=/var/cache/yunohost/download/mediawiki/ldap_authentication2.tar.gz --directory=/var/www/mediawiki/extensions/
2022-10-27 11:37:34,873: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/mediawiki/ldap_authentication2.tar.gz
2022-10-27 11:37:34,891: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/sources/patches/ ']'
2022-10-27 11:37:34,892: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/sources/extra_files/ldap_authentication2
2022-10-27 11:37:34,892: DEBUG - + '[' -n '' ']'
2022-10-27 11:37:34,892: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2022-10-27 11:37:34,893: DEBUG - + ynh_setup_source --dest_dir=/var/www/mediawiki/extensions/ --source_id=ldap_provider
2022-10-27 11:37:34,944: DEBUG - + source_id=ldap_provider
2022-10-27 11:37:34,944: DEBUG - + keep=
2022-10-27 11:37:34,944: DEBUG - + full_replace=0
2022-10-27 11:37:34,944: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/ldap_provider.src
2022-10-27 11:37:34,945: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:34,946: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/ldap_provider.src
2022-10-27 11:37:34,948: DEBUG - + local src_url=https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_38-78f283a.tar.gz
2022-10-27 11:37:34,949: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:34,950: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/ldap_provider.src
2022-10-27 11:37:34,952: DEBUG - + local src_sum=a0d72d6da668c014b665f8f2263d0008a5abf636228888ddf6d6b4a5ad0f9031
2022-10-27 11:37:34,953: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:34,955: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/ldap_provider.src
2022-10-27 11:37:34,957: DEBUG - + local src_sumprg=sha256sum
2022-10-27 11:37:34,957: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:34,959: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/ldap_provider.src
2022-10-27 11:37:34,961: DEBUG - + local src_format=tar.gz
2022-10-27 11:37:34,961: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:34,963: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/ldap_provider.src
2022-10-27 11:37:34,964: DEBUG - + local src_extract=true
2022-10-27 11:37:34,965: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:34,967: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/ldap_provider.src
2022-10-27 11:37:34,968: DEBUG - + local src_in_subdir=false
2022-10-27 11:37:34,969: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:34,970: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/ldap_provider.src
2022-10-27 11:37:34,972: DEBUG - + local src_filename=
2022-10-27 11:37:34,973: DEBUG - + src_sumprg=sha256sum
2022-10-27 11:37:34,973: DEBUG - + src_in_subdir=false
2022-10-27 11:37:34,973: DEBUG - + src_format=tar.gz
2022-10-27 11:37:34,973: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2022-10-27 11:37:34,975: DEBUG - ++ echo tar.gz
2022-10-27 11:37:34,976: DEBUG - + src_format=tar.gz
2022-10-27 11:37:34,976: DEBUG - + src_extract=true
2022-10-27 11:37:34,976: DEBUG - + '[' '' = '' ']'
2022-10-27 11:37:34,976: DEBUG - + src_filename=ldap_provider.tar.gz
2022-10-27 11:37:34,976: DEBUG - + local local_src=/opt/yunohost-apps-src/mediawiki/ldap_provider.tar.gz
2022-10-27 11:37:34,976: DEBUG - + mkdir -p /var/cache/yunohost/download/mediawiki/
2022-10-27 11:37:34,977: DEBUG - + src_filename=/var/cache/yunohost/download/mediawiki/ldap_provider.tar.gz
2022-10-27 11:37:34,978: DEBUG - + test -e /opt/yunohost-apps-src/mediawiki/ldap_provider.tar.gz
2022-10-27 11:37:34,978: DEBUG - + '[' -n https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_38-78f283a.tar.gz ']'
2022-10-27 11:37:34,978: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/mediawiki/ldap_provider.tar.gz https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_38-78f283a.tar.gz
2022-10-27 11:37:36,600: DEBUG - + out='2022-10-27 11:37:36 URL:https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_38-78f283a.tar.gz [100573/100573] -> "/var/cache/yunohost/download/mediawiki/ldap_provider.tar.gz" [1]'
2022-10-27 11:37:36,601: DEBUG - + sha256sum --check --status
2022-10-27 11:37:36,603: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2022-10-27 11:37:36,604: DEBUG - + '[' -n '' ']'
2022-10-27 11:37:36,605: DEBUG - + mkdir --parents /var/www/mediawiki/extensions/
2022-10-27 11:37:36,606: DEBUG - + '[' -n /var/www/mediawiki ']'
2022-10-27 11:37:36,606: DEBUG - + '[' /var/www/mediawiki/extensions/ == /var/www/mediawiki ']'
2022-10-27 11:37:36,606: DEBUG - + true
2022-10-27 11:37:36,607: DEBUG - + '[' tar.gz = zip ']'
2022-10-27 11:37:36,607: DEBUG - + local strip=
2022-10-27 11:37:36,607: DEBUG - + '[' false '!=' false ']'
2022-10-27 11:37:36,607: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2022-10-27 11:37:36,607: DEBUG - + tar --extract --file=/var/cache/yunohost/download/mediawiki/ldap_provider.tar.gz --directory=/var/www/mediawiki/extensions/
2022-10-27 11:37:36,620: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/mediawiki/ldap_provider.tar.gz
2022-10-27 11:37:36,638: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/sources/patches/ ']'
2022-10-27 11:37:36,638: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/sources/extra_files/ldap_provider
2022-10-27 11:37:36,638: DEBUG - + '[' -n '' ']'
2022-10-27 11:37:36,638: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2022-10-27 11:37:36,640: DEBUG - + ynh_setup_source --dest_dir=/var/www/mediawiki/extensions/ --source_id=pluggable_auth
2022-10-27 11:37:36,688: DEBUG - + source_id=pluggable_auth
2022-10-27 11:37:36,688: DEBUG - + keep=
2022-10-27 11:37:36,688: DEBUG - + full_replace=0
2022-10-27 11:37:36,688: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/pluggable_auth.src
2022-10-27 11:37:36,689: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:36,691: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/pluggable_auth.src
2022-10-27 11:37:36,693: DEBUG - + local src_url=https://extdist.wmflabs.org/dist/extensions/PluggableAuth-REL1_38-bdf6fce.tar.gz
2022-10-27 11:37:36,693: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:36,695: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/pluggable_auth.src
2022-10-27 11:37:36,697: DEBUG - + local src_sum=e5b814a7981cd697ba33f643c850e1103195ba35ed359b9df7ff980cf174a402
2022-10-27 11:37:36,697: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:36,699: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/pluggable_auth.src
2022-10-27 11:37:36,701: DEBUG - + local src_sumprg=sha256sum
2022-10-27 11:37:36,701: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:36,703: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/pluggable_auth.src
2022-10-27 11:37:36,705: DEBUG - + local src_format=tar.gz
2022-10-27 11:37:36,705: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:36,707: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/pluggable_auth.src
2022-10-27 11:37:36,708: DEBUG - + local src_extract=true
2022-10-27 11:37:36,709: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:36,711: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/pluggable_auth.src
2022-10-27 11:37:36,712: DEBUG - + local src_in_subdir=false
2022-10-27 11:37:36,713: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-27 11:37:36,714: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_7r1ka52d/conf/pluggable_auth.src
2022-10-27 11:37:36,716: DEBUG - + local src_filename=
2022-10-27 11:37:36,716: DEBUG - + src_sumprg=sha256sum
2022-10-27 11:37:36,717: DEBUG - + src_in_subdir=false
2022-10-27 11:37:36,717: DEBUG - + src_format=tar.gz
2022-10-27 11:37:36,717: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2022-10-27 11:37:36,719: DEBUG - ++ echo tar.gz
2022-10-27 11:37:36,720: DEBUG - + src_format=tar.gz
2022-10-27 11:37:36,720: DEBUG - + src_extract=true
2022-10-27 11:37:36,720: DEBUG - + '[' '' = '' ']'
2022-10-27 11:37:36,720: DEBUG - + src_filename=pluggable_auth.tar.gz
2022-10-27 11:37:36,720: DEBUG - + local local_src=/opt/yunohost-apps-src/mediawiki/pluggable_auth.tar.gz
2022-10-27 11:37:36,720: DEBUG - + mkdir -p /var/cache/yunohost/download/mediawiki/
2022-10-27 11:37:36,722: DEBUG - + src_filename=/var/cache/yunohost/download/mediawiki/pluggable_auth.tar.gz
2022-10-27 11:37:36,722: DEBUG - + test -e /opt/yunohost-apps-src/mediawiki/pluggable_auth.tar.gz
2022-10-27 11:37:36,722: DEBUG - + '[' -n https://extdist.wmflabs.org/dist/extensions/PluggableAuth-REL1_38-bdf6fce.tar.gz ']'
2022-10-27 11:37:36,722: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/mediawiki/pluggable_auth.tar.gz https://extdist.wmflabs.org/dist/extensions/PluggableAuth-REL1_38-bdf6fce.tar.gz
2022-10-27 11:37:39,694: DEBUG - + out='https://extdist.wmflabs.org/dist/extensions/PluggableAuth-REL1_38-bdf6fce.tar.gz:
2022-10-27 11:37:39,695: DEBUG - 2022-10-27 11:37:39 ERROR 404: Not Found.'
2022-10-27 11:37:39,695: DEBUG - + ynh_die '--message=https://extdist.wmflabs.org/dist/extensions/PluggableAuth-REL1_38-bdf6fce.tar.gz:
2022-10-27 11:37:39,695: DEBUG - 2022-10-27 11:37:39 ERROR 404: Not Found.'
2022-10-27 11:37:39,696: DEBUG - 2022-10-27 11:37:39 ERROR 404: Not Found.'
2022-10-27 11:37:39,713: DEBUG - 2022-10-27 11:37:39 ERROR 404: Not Found.'
2022-10-27 11:37:39,713: DEBUG - + ynh_exit_properly
2022-10-27 11:37:39,713: WARNING - https://extdist.wmflabs.org/dist/extensions/PluggableAuth-REL1_38-bdf6fce.tar.gz:
2022-10-27 11:37:39,714: WARNING - 2022-10-27 11:37:39 ERROR 404: Not Found.
2022-10-27 11:37:41,223: ERROR - Impossible d'installer mediawiki : Une erreur est survenue dans le script d'installation de l'application

Maintainers needed?

Hey, I'd like to be able to maintain this app.

I'll be relying on it quite a bit.

Up for giving me access to this repository?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.