# WordPress install fails

**URL:** https://forum.yunohost.org/t/wordpress-install-fails/9305
**Category:** Support
**Tags:** french
**Created:** [October 22, 2019, 4:52pm UTC](https://forum.yunohost.org/t/wordpress-install-fails/9305 "2019-10-22T16:52:51Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![courtg9000](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/c/a183cd/32.png) [@courtg9000](https://forum.yunohost.org/u/courtg9000)
#### Post date: [October 22, 2019, 4:52pm UTC](https://forum.yunohost.org/t/wordpress-install-fails/9305/1 "2019-10-22T16:52:52Z")

</div>

MY WordPress install is failing the logs are below. Does anyone have any ideas please:

2019-10-22 17:35:45,562: DEBUG - + cd /tmp/tmp.841ZTz4PGz  
2019-10-22 17:35:45,563: DEBUG - + equivs-build ./control  
2019-10-22 17:35:51,981: DEBUG - + dpkg --force-depends -i ./wordpress-ynh-deps\_5.2~ynh1\_all.deb  
2019-10-22 17:35:52,483: DEBUG - Selecting previously unselected package wordpress-ynh-deps.  
2019-10-22 17:35:58,098: DEBUG - (Reading database … 63436 files and directories currently installed.)  
2019-10-22 17:35:58,099: DEBUG - Preparing to unpack …/wordpress-ynh-deps\_5.2~ynh1\_all.deb …  
2019-10-22 17:35:58,601: DEBUG - Unpacking wordpress-ynh-deps (5.2~ynh1) …  
2019-10-22 17:35:59,404: DEBUG - Setting up wordpress-ynh-deps (5.2~ynh1) …  
2019-10-22 17:36:00,408: DEBUG - + ynh\_package\_install -f  
2019-10-22 17:36:00,410: DEBUG - + ynh\_apt --no-remove -o Dpkg::Options::=–force-confdef -o Dpkg::Options::=–force-confold install -f  
2019-10-22 17:36:00,411: DEBUG - + ynh\_wait\_dpkg\_free  
2019-10-22 17:36:00,412: DEBUG - + local try  
2019-10-22 17:36:00,414: DEBUG - ++ seq 1 17  
2019-10-22 17:36:00,415: DEBUG - + for try in `seq 1 17`  
2019-10-22 17:36:00,417: DEBUG - + sudo lsof /var/lib/dpkg/lock  
2019-10-22 17:36:01,222: DEBUG - + local dpkg\_dir=/var/lib/dpkg/updates/  
2019-10-22 17:36:01,223: DEBUG - ++ ls -1 /var/lib/dpkg/updates/  
2019-10-22 17:36:01,224: DEBUG - + read dpkg\_file  
2019-10-22 17:36:01,225: DEBUG - + echo ‘’  
2019-10-22 17:36:01,226: DEBUG - + grep -Pq ‘^[[:digit:]]+$’  
2019-10-22 17:36:01,228: DEBUG - + read dpkg\_file  
2019-10-22 17:36:01,229: DEBUG - + return 0  
2019-10-22 17:36:01,230: DEBUG - + DEBIAN\_FRONTEND=noninteractive  
2019-10-22 17:36:01,231: DEBUG - + apt-get -y --no-remove -o Dpkg::Options::=–force-confdef -o Dpkg::Options::=–force-confold install -f  
2019-10-22 17:36:02,136: DEBUG - Reading package lists…  
2019-10-22 17:36:02,639: DEBUG - Building dependency tree…  
2019-10-22 17:36:02,640: DEBUG - Reading state information…  
2019-10-22 17:36:03,644: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 52 not upgraded.  
2019-10-22 17:36:03,646: DEBUG - + [[-n /tmp/tmp.841ZTz4PGz]]  
2019-10-22 17:36:03,647: DEBUG - + rm -rf /tmp/tmp.841ZTz4PGz  
2019-10-22 17:36:03,648: DEBUG - + ynh\_package\_is\_installed wordpress-ynh-deps  
2019-10-22 17:36:03,649: DEBUG - + local legacy\_args=p  
2019-10-22 17:36:03,650: DEBUG - + args\_array=([p]=package=)  
2019-10-22 17:36:03,651: DEBUG - + declare -Ar args\_array  
2019-10-22 17:36:03,651: DEBUG - + local package  
2019-10-22 17:36:03,652: DEBUG - + ynh\_handle\_getopts\_args wordpress-ynh-deps  
2019-10-22 17:36:03,653: DEBUG - + set +x  
2019-10-22 17:36:03,654: DEBUG - + echo ‘! Helper used in legacy mode !’  
2019-10-22 17:36:03,655: DEBUG - + set +x  
2019-10-22 17:36:03,656: DEBUG - + ynh\_wait\_dpkg\_free  
2019-10-22 17:36:03,656: DEBUG - + local try  
2019-10-22 17:36:03,657: DEBUG - ++ seq 1 17  
2019-10-22 17:36:03,658: DEBUG - + for try in `seq 1 17`  
2019-10-22 17:36:03,659: DEBUG - + sudo lsof /var/lib/dpkg/lock  
2019-10-22 17:36:04,462: DEBUG - + local dpkg\_dir=/var/lib/dpkg/updates/  
2019-10-22 17:36:04,463: DEBUG - ++ ls -1 /var/lib/dpkg/updates/  
2019-10-22 17:36:04,464: DEBUG - + read dpkg\_file  
2019-10-22 17:36:04,465: DEBUG - + echo ‘’  
2019-10-22 17:36:04,467: DEBUG - + grep -Pq ‘^[[:digit:]]+$’  
2019-10-22 17:36:04,468: DEBUG - + read dpkg\_file  
2019-10-22 17:36:04,469: DEBUG - + return 0  
2019-10-22 17:36:04,470: DEBUG - + dpkg-query -W -f ‘${Status}’ wordpress-ynh-deps  
2019-10-22 17:36:04,471: DEBUG - + grep -c ‘ok installed’  
2019-10-22 17:36:04,573: DEBUG - + rm /tmp/wordpress-ynh-deps.control  
2019-10-22 17:36:04,574: DEBUG - + ynh\_app\_setting\_set --app=wordpress --key=apt\_dependencies --value=php7.0-cli  
2019-10-22 17:36:04,576: DEBUG - + local legacy\_args=akv  
2019-10-22 17:36:04,577: DEBUG - + args\_array=([a]=app= [k]=key= [v]=value=)  
2019-10-22 17:36:04,578: DEBUG - + declare -Ar args\_array  
2019-10-22 17:36:04,579: DEBUG - + local app  
2019-10-22 17:36:04,581: DEBUG - + local key  
2019-10-22 17:36:04,582: DEBUG - + local value  
2019-10-22 17:36:04,583: DEBUG - + ynh\_handle\_getopts\_args --app=wordpress --key=apt\_dependencies --value=php7.0-cli  
2019-10-22 17:36:04,584: DEBUG - + set +x  
2019-10-22 17:36:04,586: DEBUG - + ynh\_app\_setting set wordpress apt\_dependencies php7.0-cli  
2019-10-22 17:36:04,587: DEBUG - + ACTION=set  
2019-10-22 17:36:04,588: DEBUG - + APP=wordpress  
2019-10-22 17:36:04,589: DEBUG - + KEY=apt\_dependencies  
2019-10-22 17:36:04,591: DEBUG - + VALUE=php7.0-cli  
2019-10-22 17:36:04,592: DEBUG - + python -  
2019-10-22 17:36:04,995: DEBUG - + ynh\_script\_progression ‘–message=Creating a MySQL database…’  
2019-10-22 17:36:04,996: DEBUG - + set +x  
2019-10-22 17:36:04,998: DEBUG - + set +x  
2019-10-22 17:36:04,999: DEBUG - + echo ‘! Helper used in legacy mode !’  
2019-10-22 17:36:05,000: DEBUG - + set +x  
2019-10-22 17:36:05,001: DEBUG - + echo ‘[###…] \> Creating a MySQL database…’  
2019-10-22 17:36:05,003: DEBUG - + set -x  
2019-10-22 17:36:05,004: DEBUG - ++ ynh\_sanitize\_dbid --db\_name=wordpress  
2019-10-22 17:36:05,006: DEBUG - ++ local legacy\_args=n  
2019-10-22 17:36:05,007: DEBUG - ++ args\_array=([n]=db\_name=)  
2019-10-22 17:36:05,008: INFO - [###…] \> Creating a MySQL database…  
2019-10-22 17:36:05,010: DEBUG - ++ declare -Ar args\_array  
2019-10-22 17:36:05,011: DEBUG - ++ local db\_name  
2019-10-22 17:36:05,012: DEBUG - ++ ynh\_handle\_getopts\_args --db\_name=wordpress  
2019-10-22 17:36:05,012: DEBUG - ++ set +x  
2019-10-22 17:36:05,013: DEBUG - ++ echo wordpress  
2019-10-22 17:36:05,015: DEBUG - + db\_name=wordpress  
2019-10-22 17:36:05,016: DEBUG - + ynh\_app\_setting\_set --app=wordpress --key=db\_name --value=wordpress  
2019-10-22 17:36:05,017: DEBUG - + local legacy\_args=akv  
2019-10-22 17:36:05,018: DEBUG - + args\_array=([a]=app= [k]=key= [v]=value=)  
2019-10-22 17:36:05,019: DEBUG - + declare -Ar args\_array  
2019-10-22 17:36:05,020: DEBUG - + local app  
2019-10-22 17:36:05,020: DEBUG - + local key  
2019-10-22 17:36:05,021: DEBUG - + local value  
2019-10-22 17:36:05,022: DEBUG - + ynh\_handle\_getopts\_args --app=wordpress --key=db\_name --value=wordpress  
2019-10-22 17:36:05,023: DEBUG - + set +x  
2019-10-22 17:36:05,024: DEBUG - + ynh\_app\_setting set wordpress db\_name wordpress  
2019-10-22 17:36:05,025: DEBUG - + ACTION=set  
2019-10-22 17:36:05,025: DEBUG - + APP=wordpress  
2019-10-22 17:36:05,026: DEBUG - + KEY=db\_name  
2019-10-22 17:36:05,027: DEBUG - + VALUE=wordpress  
2019-10-22 17:36:05,028: DEBUG - + python -  
2019-10-22 17:36:06,332: DEBUG - + ynh\_mysql\_setup\_db --db\_user=wordpress --db\_name=wordpress  
2019-10-22 17:36:06,334: DEBUG - + local legacy\_args=unp  
2019-10-22 17:36:06,335: DEBUG - + args\_array=([u]=db\_user= [n]=db\_name= [p]=db\_pwd=)  
2019-10-22 17:36:06,336: DEBUG - + declare -Ar args\_array  
2019-10-22 17:36:06,338: DEBUG - + local db\_user  
2019-10-22 17:36:06,339: DEBUG - + local db\_name  
2019-10-22 17:36:06,340: DEBUG - + db\_pwd=  
2019-10-22 17:36:06,341: DEBUG - + ynh\_handle\_getopts\_args --db\_user=wordpress --db\_name=wordpress  
2019-10-22 17:36:06,342: DEBUG - + set +x  
2019-10-22 17:36:06,343: DEBUG - ++ ynh\_string\_random  
2019-10-22 17:36:06,345: DEBUG - ++ local legacy\_args=l  
2019-10-22 17:36:06,346: DEBUG - ++ args\_array=([l]=length=)  
2019-10-22 17:36:06,347: DEBUG - ++ declare -Ar args\_array  
2019-10-22 17:36:06,348: DEBUG - ++ local length  
2019-10-22 17:36:06,349: DEBUG - ++ ynh\_handle\_getopts\_args  
2019-10-22 17:36:06,350: DEBUG - ++ set +x  
2019-10-22 17:36:06,351: DEBUG - ++ length=24  
2019-10-22 17:36:06,352: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000  
2019-10-22 17:36:06,353: DEBUG - ++ tr -c -d A-Za-z0-9  
2019-10-22 17:36:06,353: DEBUG - ++ sed -n ‘s/(.{24})._/\1/p’  
2019-10-22 17:36:06,354: DEBUG - + local new\_db\_pwd=_\*\*\*\*\*\*\*\*\*  
2019-10-22 17:36:06,355: DEBUG - + db\_pwd=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:36:06,356: DEBUG - + ynh\_mysql\_create\_db wordpress wordpress \*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:36:06,358: DEBUG - + local db=wordpress  
2019-10-22 17:36:06,359: DEBUG - + local ‘sql=CREATE DATABASE wordpress;’  
2019-10-22 17:36:06,360: DEBUG - + [[3 -gt 1]]  
2019-10-22 17:36:06,361: DEBUG - + sql+=’ GRANT ALL PRIVILEGES ON wordpress.\* TO ‘’‘wordpress’’’@’’‘localhost’’’’  
2019-10-22 17:36:06,362: DEBUG - + [[-n \*\*\*\*\*\*\*\*\*\*]]  
2019-10-22 17:36:06,363: DEBUG - + sql+=’ IDENTIFIED BY ‘’‘_**’’’’  
2019-10-22 17:36:06,364: DEBUG - + sql+=’ WITH GRANT OPTION;’  
2019-10-22 17:36:06,365: DEBUG - + ynh\_mysql\_execute\_as\_root '–sql=CREATE DATABASE wordpress; GRANT ALL PRIVILEGES ON wordpress. TO ‘’‘wordpress’’’@’’‘localhost’’’ IDENTIFIED BY ‘’'**__’’’ WITH GRANT OPTION;’  
2019-10-22 17:36:06,366: DEBUG - + local legacy\_args=sd  
2019-10-22 17:36:06,367: DEBUG - + args\_array=([s]=sql= [d]=database=)  
2019-10-22 17:36:06,368: DEBUG - + declare -Ar args\_array  
2019-10-22 17:36:06,370: DEBUG - + local sql  
2019-10-22 17:36:06,371: DEBUG - + local database  
2019-10-22 17:36:06,371: DEBUG - + ynh\_handle\_getopts\_args '–sql=CREATE DATABASE wordpress; GRANT ALL PRIVILEGES ON wordpress._ TO ‘’‘wordpress’’’@’’‘localhost’’’ IDENTIFIED BY ‘’‘**’’’ WITH GRANT OPTION;’  
2019-10-22 17:36:06,372: DEBUG - + set +x  
2019-10-22 17:36:06,373: DEBUG - + database=  
2019-10-22 17:36:06,375: DEBUG - ++ sudo cat /etc/yunohost/mysql  
2019-10-22 17:36:06,477: DEBUG - + ynh\_mysql\_connect\_as --user=root --password=** --database=  
2019-10-22 17:36:06,478: DEBUG - + local legacy\_args=upd  
2019-10-22 17:36:06,480: DEBUG - + args\_array=([u]=user= [p]=password= [d]=database=)  
2019-10-22 17:36:06,481: DEBUG - + declare -Ar args\_array  
2019-10-22 17:36:06,483: DEBUG - + local user  
2019-10-22 17:36:06,485: DEBUG - + local password  
2019-10-22 17:36:06,487: DEBUG - + local database  
2019-10-22 17:36:06,488: DEBUG - + ynh\_handle\_getopts\_args --user=root --password=\*\*\*\*\*\*\*\*\*\* --database=  
2019-10-22 17:36:06,489: DEBUG - + set +x  
2019-10-22 17:36:06,490: DEBUG - + database=  
2019-10-22 17:36:06,491: DEBUG - + mysql -u root --password=\*\*\*\*\*\*\*\*\*\* -B ‘’  
2019-10-22 17:36:06,993: DEBUG - + ynh\_app\_setting\_set --app=wordpress --key=mysqlpwd --value=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:36:06,995: DEBUG - + local legacy\_args=akv  
2019-10-22 17:36:06,996: DEBUG - + args\_array=([a]=app= [k]=key= [v]=value=)  
2019-10-22 17:36:06,997: DEBUG - + declare -Ar args\_array  
2019-10-22 17:36:06,998: DEBUG - + local app  
2019-10-22 17:36:07,000: DEBUG - + local key  
2019-10-22 17:36:07,001: DEBUG - + local value  
2019-10-22 17:36:07,003: DEBUG - + ynh\_handle\_getopts\_args --app=wordpress --key=mysqlpwd --value=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:36:07,004: DEBUG - + set +x  
2019-10-22 17:36:07,005: DEBUG - + ynh\_app\_setting set wordpress mysqlpwd \*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:36:07,006: DEBUG - + ACTION=set  
2019-10-22 17:36:07,008: DEBUG - + APP=wordpress  
2019-10-22 17:36:07,009: DEBUG - + KEY=mysqlpwd  
2019-10-22 17:36:07,010: DEBUG - + VALUE=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:36:07,012: DEBUG - + python -  
2019-10-22 17:36:07,414: DEBUG - + ynh\_script\_progression ‘–message=Setting up source files…’ --weight=4  
2019-10-22 17:36:07,416: DEBUG - + set +x  
2019-10-22 17:36:07,417: DEBUG - + set +x  
2019-10-22 17:36:07,518: DEBUG - + echo ‘! Helper used in legacy mode !’  
2019-10-22 17:36:07,520: INFO - [###+…] \> Setting up source files…  
2019-10-22 17:36:07,522: DEBUG - + set +x  
2019-10-22 17:36:07,523: DEBUG - + echo ‘[###+…] \> Setting up source files…’  
2019-10-22 17:36:07,524: DEBUG - + set -x  
2019-10-22 17:36:07,526: DEBUG - + ynh\_app\_setting\_set --app=wordpress --key=final\_path --value=/var/www/wordpress  
2019-10-22 17:36:07,527: DEBUG - + local legacy\_args=akv  
2019-10-22 17:36:07,528: DEBUG - + args\_array=([a]=app= [k]=key= [v]=value=)  
2019-10-22 17:36:07,529: DEBUG - + declare -Ar args\_array  
2019-10-22 17:36:07,530: DEBUG - + local app  
2019-10-22 17:36:07,531: DEBUG - + local key  
2019-10-22 17:36:07,532: DEBUG - + local value  
2019-10-22 17:36:07,533: DEBUG - + ynh\_handle\_getopts\_args --app=wordpress --key=final\_path --value=/var/www/wordpress  
2019-10-22 17:36:07,534: DEBUG - + set +x  
2019-10-22 17:36:07,534: DEBUG - + ynh\_app\_setting set wordpress final\_path /var/www/wordpress  
2019-10-22 17:36:07,535: DEBUG - + ACTION=set  
2019-10-22 17:36:07,536: DEBUG - + APP=wordpress  
2019-10-22 17:36:07,537: DEBUG - + KEY=final\_path  
2019-10-22 17:36:07,538: DEBUG - + VALUE=/var/www/wordpress  
2019-10-22 17:36:07,538: DEBUG - + python -  
2019-10-22 17:36:07,940: DEBUG - + ynh\_setup\_source --dest\_dir=/var/www/wordpress  
2019-10-22 17:36:07,942: DEBUG - + local legacy\_args=ds  
2019-10-22 17:36:07,943: DEBUG - + args\_array=([d]=dest\_dir= [s]=source\_id=)  
2019-10-22 17:36:07,944: DEBUG - + declare -Ar args\_array  
2019-10-22 17:36:07,945: DEBUG - + local dest\_dir  
2019-10-22 17:36:07,946: DEBUG - + local source\_id  
2019-10-22 17:36:07,947: DEBUG - + ynh\_handle\_getopts\_args --dest\_dir=/var/www/wordpress  
2019-10-22 17:36:07,949: DEBUG - + set +x  
2019-10-22 17:36:07,950: DEBUG - + source\_id=app  
2019-10-22 17:36:07,951: DEBUG - + local src\_file\_path=/var/cache/yunohost/from\_file/wordpress\_ynh-59f2aba3d8abf96061611cb7e6929299fc215d29/scripts/…/conf/app.src  
2019-10-22 17:36:07,952: DEBUG - + ‘[’ ‘!’ -e /var/cache/yunohost/from\_file/wordpress\_ynh-59f2aba3d8abf96061611cb7e6929299fc215d29/scripts/…/conf/app.src ‘]’  
2019-10-22 17:36:07,954: DEBUG - ++ grep SOURCE\_URL= /var/cache/yunohost/from\_file/wordpress\_ynh-59f2aba3d8abf96061611cb7e6929299fc215d29/scripts/…/conf/app.src  
2019-10-22 17:36:07,955: DEBUG - ++ cut -d= -f2-  
2019-10-22 17:36:07,956: DEBUG - + local src\_url=https://wordpress.org/wordpress-5.2.tar.gz  
2019-10-22 17:36:07,957: DEBUG - ++ grep SOURCE\_SUM= /var/cache/yunohost/from\_file/wordpress\_ynh-59f2aba3d8abf96061611cb7e6929299fc215d29/scripts/…/conf/app.src  
2019-10-22 17:36:07,958: DEBUG - ++ cut -d= -f2-  
2019-10-22 17:36:07,959: DEBUG - + local src\_sum=a45a23290f24ac7779e38a2bc8655344  
2019-10-22 17:36:07,960: DEBUG - ++ grep SOURCE\_SUM\_PRG= /var/cache/yunohost/from\_file/wordpress\_ynh-59f2aba3d8abf96061611cb7e6929299fc215d29/scripts/…/conf/app.src  
2019-10-22 17:36:07,960: DEBUG - ++ cut -d= -f2-  
2019-10-22 17:36:07,961: DEBUG - + local src\_sumprg=md5sum  
2019-10-22 17:36:07,962: DEBUG - ++ grep SOURCE\_FORMAT= /var/cache/yunohost/from\_file/wordpress\_ynh-59f2aba3d8abf96061611cb7e6929299fc215d29/scripts/…/conf/app.src  
2019-10-22 17:36:07,963: DEBUG - ++ cut -d= -f2-  
2019-10-22 17:36:07,964: DEBUG - + local src\_format=  
2019-10-22 17:36:07,964: DEBUG - ++ grep SOURCE\_EXTRACT= /var/cache/yunohost/from\_file/wordpress\_ynh-59f2aba3d8abf96061611cb7e6929299fc215d29/scripts/…/conf/app.src  
2019-10-22 17:36:07,965: DEBUG - ++ cut -d= -f2-  
2019-10-22 17:36:07,966: DEBUG - + local src\_extract=  
2019-10-22 17:36:07,967: DEBUG - ++ grep SOURCE\_IN\_SUBDIR= /var/cache/yunohost/from\_file/wordpress\_ynh-59f2aba3d8abf96061611cb7e6929299fc215d29/scripts/…/conf/app.src  
2019-10-22 17:36:07,968: DEBUG - ++ cut -d= -f2-  
2019-10-22 17:36:07,968: DEBUG - + local src\_in\_subdir=true  
2019-10-22 17:36:07,969: DEBUG - ++ grep SOURCE\_FILENAME= /var/cache/yunohost/from\_file/wordpress\_ynh-59f2aba3d8abf96061611cb7e6929299fc215d29/scripts/…/conf/app.src  
2019-10-22 17:36:07,970: DEBUG - ++ cut -d= -f2-  
2019-10-22 17:36:07,971: DEBUG - + local src\_filename=  
2019-10-22 17:36:07,972: DEBUG - + src\_sumprg=md5sum  
2019-10-22 17:36:07,973: DEBUG - + src\_in\_subdir=true  
2019-10-22 17:36:07,973: DEBUG - + src\_format=tar.gz  
2019-10-22 17:36:07,974: DEBUG - ++ echo tar.gz  
2019-10-22 17:36:07,975: DEBUG - ++ tr ‘[:upper:]’ ‘[:lower:]’  
2019-10-22 17:36:07,976: DEBUG - + src\_format=tar.gz  
2019-10-22 17:36:07,977: DEBUG - + src\_extract=true  
2019-10-22 17:36:07,977: DEBUG - + ‘[’ ‘’ = ‘’ ‘]’  
2019-10-22 17:36:07,978: DEBUG - + src\_filename=app.tar.gz  
2019-10-22 17:36:07,979: DEBUG - + local local\_src=/opt/yunohost-apps-src/wordpress/app.tar.gz  
2019-10-22 17:36:07,980: DEBUG - + test -e /opt/yunohost-apps-src/wordpress/app.tar.gz  
2019-10-22 17:36:07,980: DEBUG - ++ wget -nv -O app.tar.gz [https://wordpress.org/wordpress-5.2.tar.gz](https://wordpress.org/wordpress-5.2.tar.gz)  
2019-10-22 17:37:00,207: DEBUG - + local ‘out=2019-10-22 17:37:00 URL:[https://wordpress.org/wordpress-5.2.tar.gz](https://wordpress.org/wordpress-5.2.tar.gz) [11195223/11195223] -\> “app.tar.gz” [1]’  
2019-10-22 17:37:00,208: DEBUG - + echo ‘a45a23290f24ac7779e38a2bc8655344 app.tar.gz’  
2019-10-22 17:37:00,209: DEBUG - + md5sum -c --status  
2019-10-22 17:37:00,210: DEBUG - + mkdir -p /var/www/wordpress  
2019-10-22 17:37:00,211: DEBUG - + true  
2019-10-22 17:37:00,212: DEBUG - + ‘[’ tar.gz = zip ‘]’  
2019-10-22 17:37:00,212: DEBUG - + local strip=  
2019-10-22 17:37:00,214: DEBUG - + ‘[’ true ‘!=’ false ‘]’  
2019-10-22 17:37:00,215: DEBUG - + ‘[’ true == true ‘]’  
2019-10-22 17:37:00,216: DEBUG - + local sub\_dirs=1  
2019-10-22 17:37:00,218: DEBUG - + strip=’–strip-components 1’  
2019-10-22 17:37:00,219: DEBUG - + [[tar.gz =~ ^tar.gz|tar.bz2|tar.xz$]]  
2019-10-22 17:37:00,220: DEBUG - + tar -xf app.tar.gz -C /var/www/wordpress --strip-components 1  
2019-10-22 17:37:02,828: DEBUG - ++ find /var/cache/yunohost/from\_file/wordpress\_ynh-59f2aba3d8abf96061611cb7e6929299fc215d29/scripts/…/sources/patches/ -type f -name ‘app-_.patch’  
2019-10-22 17:37:02,829: DEBUG - ++ wc -l  
2019-10-22 17:37:02,931: DEBUG - + (( 0 \> 0 ))  
2019-10-22 17:37:02,932: DEBUG - + test -e /var/cache/yunohost/from\_file/wordpress\_ynh-59f2aba3d8abf96061611cb7e6929299fc215d29/scripts/…/sources/extra\_files/app  
2019-10-22 17:37:02,933: DEBUG - + ynh\_script\_progression ‘–message=Configuring nginx web server…’ --weight=3  
2019-10-22 17:37:02,934: DEBUG - + set +x  
2019-10-22 17:37:02,934: DEBUG - + set +x  
2019-10-22 17:37:02,935: DEBUG - + echo ‘! Helper used in legacy mode !’  
2019-10-22 17:37:02,936: DEBUG - + set +x  
2019-10-22 17:37:02,937: DEBUG - + echo ‘[####+…] \> Configuring nginx web server…’  
2019-10-22 17:37:02,938: DEBUG - + set -x  
2019-10-22 17:37:02,939: DEBUG - + ynh\_add\_nginx\_config  
2019-10-22 17:37:02,939: DEBUG - + finalnginxconf=/etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:02,940: DEBUG - + local others\_var=  
2019-10-22 17:37:02,941: DEBUG - + ynh\_backup\_if\_checksum\_is\_different --file=/etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:02,942: DEBUG - + local legacy\_args=f  
2019-10-22 17:37:02,943: DEBUG - + args\_array=([f]=file=)  
2019-10-22 17:37:02,943: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:02,944: DEBUG - + local file  
2019-10-22 17:37:02,945: DEBUG - + ynh\_handle\_getopts\_args --file=/etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:02,946: DEBUG - + set +x  
2019-10-22 17:37:02,947: DEBUG - + local checksum\_setting\_name=checksum\_\_etc\_nginx\_conf.d\_courtgui2.nohost.me.d\_wordpress.conf  
2019-10-22 17:37:02,948: DEBUG - ++ ynh\_app\_setting\_get --app=wordpress --key=_\*\*\*\*\*\*\*\*\*  
2019-10-22 17:37:02,948: DEBUG - ++ local legacy\_args=ak  
2019-10-22 17:37:02,949: DEBUG - ++ args\_array=([a]=app= [k]=key=)  
2019-10-22 17:37:02,950: DEBUG - ++ declare -Ar args\_array  
2019-10-22 17:37:02,951: DEBUG - ++ local app  
2019-10-22 17:37:02,952: DEBUG - ++ local key  
2019-10-22 17:37:02,953: DEBUG - ++ ynh\_handle\_getopts\_args --app=wordpress --key=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:37:02,954: DEBUG - ++ set +x  
2019-10-22 17:37:02,955: DEBUG - ++ ynh\_app\_setting get wordpress \*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:37:02,955: DEBUG - ++ ACTION=get  
2019-10-22 17:37:02,956: DEBUG - ++ APP=wordpress  
2019-10-22 17:37:02,957: DEBUG - ++ KEY=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:37:02,958: DEBUG - ++ VALUE=  
2019-10-22 17:37:02,959: DEBUG - ++ python -  
2019-10-22 17:37:03,361: DEBUG - + local checksum\_value=  
2019-10-22 17:37:03,362: INFO - [####+…] \> Configuring nginx web server…  
2019-10-22 17:37:03,364: DEBUG - + backup\_file\_checksum=  
2019-10-22 17:37:03,365: DEBUG - + ‘[’ -n ‘’ ‘]’  
2019-10-22 17:37:03,367: DEBUG - + sudo cp …/conf/nginx.conf /etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,367: DEBUG - + test -n /wordpress2  
2019-10-22 17:37:03,368: DEBUG - + local path\_url\_slash\_less=/wordpress2  
2019-10-22 17:37:03,369: DEBUG - + ynh\_replace\_string --match\_string= **PATH** / --replace\_string=/wordpress2/ --target\_file=/etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,370: DEBUG - + local legacy\_args=mrf  
2019-10-22 17:37:03,371: DEBUG - + args\_array=([m]=match\_string= [r]=replace\_string= [f]=target\_file=)  
2019-10-22 17:37:03,372: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:03,374: DEBUG - + local match\_string  
2019-10-22 17:37:03,375: DEBUG - + local replace\_string  
2019-10-22 17:37:03,376: DEBUG - + local target\_file  
2019-10-22 17:37:03,377: DEBUG - + ynh\_handle\_getopts\_args --match\_string= **PATH** / --replace\_string=/wordpress2/ --target\_file=/etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,378: DEBUG - + set +x  
2019-10-22 17:37:03,480: DEBUG - + local delimit=@  
2019-10-22 17:37:03,481: DEBUG - + match\_string= **PATH** /  
2019-10-22 17:37:03,483: DEBUG - + replace\_string=/wordpress2/  
2019-10-22 17:37:03,484: DEBUG - + sudo sed --in-place s@ **PATH** /@/wordpress2/@g /etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,485: DEBUG - + ynh\_replace\_string --match\_string= **PATH** --replace\_string=/wordpress2 --target\_file=/etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,487: DEBUG - + local legacy\_args=mrf  
2019-10-22 17:37:03,488: DEBUG - + args\_array=([m]=match\_string= [r]=replace\_string= [f]=target\_file=)  
2019-10-22 17:37:03,490: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:03,491: DEBUG - + local match\_string  
2019-10-22 17:37:03,493: DEBUG - + local replace\_string  
2019-10-22 17:37:03,494: DEBUG - + local target\_file  
2019-10-22 17:37:03,496: DEBUG - + ynh\_handle\_getopts\_args --match\_string= **PATH** --replace\_string=/wordpress2 --target\_file=/etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,498: DEBUG - + set +x  
2019-10-22 17:37:03,599: DEBUG - + local delimit=@  
2019-10-22 17:37:03,601: DEBUG - + match\_string= **PATH**  
2019-10-22 17:37:03,602: DEBUG - + replace\_string=/wordpress2  
2019-10-22 17:37:03,603: DEBUG - + sudo sed --in-place s@ **PATH** @/wordpress2@g /etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,604: DEBUG - + test -n [courtgui2.nohost.me](http://courtgui2.nohost.me)  
2019-10-22 17:37:03,606: DEBUG - + ynh\_replace\_string --match\_string= **DOMAIN** --replace\_string=[courtgui2.nohost.me](http://courtgui2.nohost.me) --target\_file=/etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,607: DEBUG - + local legacy\_args=mrf  
2019-10-22 17:37:03,608: DEBUG - + args\_array=([m]=match\_string= [r]=replace\_string= [f]=target\_file=)  
2019-10-22 17:37:03,610: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:03,610: DEBUG - + local match\_string  
2019-10-22 17:37:03,611: DEBUG - + local replace\_string  
2019-10-22 17:37:03,612: DEBUG - + local target\_file  
2019-10-22 17:37:03,613: DEBUG - + ynh\_handle\_getopts\_args --match\_string= **DOMAIN** --replace\_string=[courtgui2.nohost.me](http://courtgui2.nohost.me) --target\_file=/etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,614: DEBUG - + set +x  
2019-10-22 17:37:03,615: DEBUG - + local delimit=@  
2019-10-22 17:37:03,615: DEBUG - + match\_string= **DOMAIN**  
2019-10-22 17:37:03,616: DEBUG - + replace\_string=[courtgui2.nohost.me](http://courtgui2.nohost.me)  
2019-10-22 17:37:03,617: DEBUG - + sudo sed --in-place s@ **DOMAIN** @courtgui2.nohost.me@g /etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,718: DEBUG - + test -n ‘’  
2019-10-22 17:37:03,720: DEBUG - + test -n wordpress  
2019-10-22 17:37:03,721: DEBUG - + ynh\_replace\_string --match\_string= **NAME** --replace\_string=wordpress --target\_file=/etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,722: DEBUG - + local legacy\_args=mrf  
2019-10-22 17:37:03,724: DEBUG - + args\_array=([m]=match\_string= [r]=replace\_string= [f]=target\_file=)  
2019-10-22 17:37:03,725: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:03,726: DEBUG - + local match\_string  
2019-10-22 17:37:03,728: DEBUG - + local replace\_string  
2019-10-22 17:37:03,729: DEBUG - + local target\_file  
2019-10-22 17:37:03,730: DEBUG - + ynh\_handle\_getopts\_args --match\_string= **NAME** --replace\_string=wordpress --target\_file=/etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,731: DEBUG - + set +x  
2019-10-22 17:37:03,732: DEBUG - + local delimit=@  
2019-10-22 17:37:03,734: DEBUG - + match\_string= **NAME**  
2019-10-22 17:37:03,735: DEBUG - + replace\_string=wordpress  
2019-10-22 17:37:03,736: DEBUG - + sudo sed --in-place s@ **NAME** @wordpress@g /etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,837: DEBUG - + test -n /var/www/wordpress  
2019-10-22 17:37:03,838: DEBUG - + ynh\_replace\_string --match\_string= **FINALPATH** --replace\_string=/var/www/wordpress --target\_file=/etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,839: DEBUG - + local legacy\_args=mrf  
2019-10-22 17:37:03,840: DEBUG - + args\_array=([m]=match\_string= [r]=replace\_string= [f]=target\_file=)  
2019-10-22 17:37:03,841: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:03,842: DEBUG - + local match\_string  
2019-10-22 17:37:03,843: DEBUG - + local replace\_string  
2019-10-22 17:37:03,844: DEBUG - + local target\_file  
2019-10-22 17:37:03,844: DEBUG - + ynh\_handle\_getopts\_args --match\_string= **FINALPATH** --replace\_string=/var/www/wordpress --target\_file=/etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,845: DEBUG - + set +x  
2019-10-22 17:37:03,846: DEBUG - + local delimit=@  
2019-10-22 17:37:03,847: DEBUG - + match\_string= **FINALPATH**  
2019-10-22 17:37:03,848: DEBUG - + replace\_string=/var/www/wordpress  
2019-10-22 17:37:03,849: DEBUG - + sudo sed --in-place s@ **FINALPATH** @/var/www/wordpress@g /etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,950: DEBUG - + ‘[’ /wordpress2 ‘!=’ / ‘]’  
2019-10-22 17:37:03,951: DEBUG - + ynh\_replace\_string ‘–match\_string=^#sub\_path\_only’ --replace\_string= --target\_file=/etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,952: DEBUG - + local legacy\_args=mrf  
2019-10-22 17:37:03,953: DEBUG - + args\_array=([m]=match\_string= [r]=replace\_string= [f]=target\_file=)  
2019-10-22 17:37:03,954: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:03,955: DEBUG - + local match\_string  
2019-10-22 17:37:03,957: DEBUG - + local replace\_string  
2019-10-22 17:37:03,958: DEBUG - + local target\_file  
2019-10-22 17:37:03,959: DEBUG - + ynh\_handle\_getopts\_args ‘–match\_string=^#sub\_path\_only’ --replace\_string= --target\_file=/etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,963: DEBUG - + set +x  
2019-10-22 17:37:03,964: DEBUG - + local delimit=@  
2019-10-22 17:37:03,965: DEBUG - + match\_string=’^#sub\_path\_only’  
2019-10-22 17:37:03,966: DEBUG - + replace\_string=  
2019-10-22 17:37:03,968: DEBUG - + sudo sed --in-place ‘s@^#sub\_path\_only@@g’ /etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,969: DEBUG - + ynh\_store\_file\_checksum --file=/etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,970: DEBUG - + local legacy\_args=f  
2019-10-22 17:37:03,971: DEBUG - + args\_array=([f]=file=)  
2019-10-22 17:37:03,973: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:03,974: DEBUG - + local file  
2019-10-22 17:37:03,976: DEBUG - + ynh\_handle\_getopts\_args --file=/etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,977: DEBUG - + set +x  
2019-10-22 17:37:03,979: DEBUG - + local checksum\_setting\_name=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:37:03,980: DEBUG - ++ sudo md5sum /etc/nginx/conf.d/courtgui2.nohost.me.d/wordpress.conf  
2019-10-22 17:37:03,982: DEBUG - ++ cut ‘-d ’ -f1  
2019-10-22 17:37:04,084: DEBUG - + ynh\_app\_setting\_set --app=wordpress --key=\*\*\*\*\*\*\*\*\*\* --value=6acae835d84b007f174df3f1f164ed72  
2019-10-22 17:37:04,085: DEBUG - + local legacy\_args=akv  
2019-10-22 17:37:04,086: DEBUG - + args\_array=([a]=app= [k]=key= [v]=value=)  
2019-10-22 17:37:04,087: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:04,089: DEBUG - + local app  
2019-10-22 17:37:04,090: DEBUG - + local key  
2019-10-22 17:37:04,091: DEBUG - + local value  
2019-10-22 17:37:04,093: DEBUG - + ynh\_handle\_getopts\_args --app=wordpress --key=\*\*\*\*\*\*\*\*\*\* --value=6acae835d84b007f174df3f1f164ed72  
2019-10-22 17:37:04,094: DEBUG - + set +x  
2019-10-22 17:37:04,095: DEBUG - + ynh\_app\_setting set wordpress \*\*\*\*\*\*\*\*\*\* 6acae835d84b007f174df3f1f164ed72  
2019-10-22 17:37:04,097: DEBUG - + ACTION=set  
2019-10-22 17:37:04,098: DEBUG - + APP=wordpress  
2019-10-22 17:37:04,099: DEBUG - + KEY=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:37:04,099: DEBUG - + VALUE=6acae835d84b007f174df3f1f164ed72  
2019-10-22 17:37:04,100: DEBUG - + python -  
2019-10-22 17:37:04,502: DEBUG - + ‘[’ -n ‘’ ‘]’  
2019-10-22 17:37:04,503: DEBUG - + unset backup\_file\_checksum  
2019-10-22 17:37:04,504: DEBUG - + ynh\_systemd\_action --service\_name=nginx --action=reload  
2019-10-22 17:37:04,505: DEBUG - + local legacy\_args=nalpte  
2019-10-22 17:37:04,506: DEBUG - + args\_array=([n]=service\_name= [a]=action= [l]=line\_match= [p]=log\_path= [t]=timeout= [e]=length=)  
2019-10-22 17:37:04,507: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:04,508: DEBUG - + local service\_name  
2019-10-22 17:37:04,510: DEBUG - + local action  
2019-10-22 17:37:04,511: DEBUG - + local line\_match  
2019-10-22 17:37:04,513: DEBUG - + local length  
2019-10-22 17:37:04,514: DEBUG - + local log\_path  
2019-10-22 17:37:04,515: DEBUG - + local timeout  
2019-10-22 17:37:04,517: DEBUG - + ynh\_handle\_getopts\_args --service\_name=nginx --action=reload  
2019-10-22 17:37:04,518: DEBUG - + set +x  
2019-10-22 17:37:04,620: DEBUG - + local service\_name=nginx  
2019-10-22 17:37:04,621: DEBUG - + local action=reload  
2019-10-22 17:37:04,622: DEBUG - + local log\_path=/var/log/nginx/nginx.log  
2019-10-22 17:37:04,624: DEBUG - + local length=20  
2019-10-22 17:37:04,625: DEBUG - + local timeout=300  
2019-10-22 17:37:04,626: DEBUG - + [[-n ‘’]]  
2019-10-22 17:37:04,627: DEBUG - + ‘[’ reload == reload ‘]’  
2019-10-22 17:37:04,629: DEBUG - + action=reload-or-restart  
2019-10-22 17:37:04,630: DEBUG - + systemctl reload-or-restart nginx  
2019-10-22 17:37:04,932: DEBUG - + [[-n ‘’]]  
2019-10-22 17:37:04,934: DEBUG - + ynh\_script\_progression ‘–message=Configuring system user…’ --weight=3  
2019-10-22 17:37:04,935: DEBUG - + set +x  
2019-10-22 17:37:05,037: DEBUG - + set +x  
2019-10-22 17:37:05,038: INFO - [#####+…] \> Configuring system user…  
2019-10-22 17:37:05,039: DEBUG - + echo ‘! Helper used in legacy mode !’  
2019-10-22 17:37:05,040: DEBUG - + set +x  
2019-10-22 17:37:05,041: DEBUG - + echo ‘[#####+…] \> Configuring system user…’  
2019-10-22 17:37:05,042: DEBUG - + set -x  
2019-10-22 17:37:05,043: DEBUG - + ynh\_system\_user\_create --username=wordpress  
2019-10-22 17:37:05,044: DEBUG - + local legacy\_args=uhs  
2019-10-22 17:37:05,044: DEBUG - + args\_array=([u]=username= [h]=home\_dir= [s]=use\_shell)  
2019-10-22 17:37:05,045: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:05,046: DEBUG - + local username  
2019-10-22 17:37:05,047: DEBUG - + local home\_dir  
2019-10-22 17:37:05,048: DEBUG - + local use\_shell  
2019-10-22 17:37:05,048: DEBUG - + ynh\_handle\_getopts\_args --username=wordpress  
2019-10-22 17:37:05,049: DEBUG - + set +x  
2019-10-22 17:37:05,050: DEBUG - + use\_shell=0  
2019-10-22 17:37:05,051: DEBUG - + home\_dir=  
2019-10-22 17:37:05,052: DEBUG - + ynh\_system\_user\_exists wordpress  
2019-10-22 17:37:05,053: DEBUG - + local legacy\_args=u  
2019-10-22 17:37:05,053: DEBUG - + args\_array=([u]=username=)  
2019-10-22 17:37:05,054: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:05,055: DEBUG - + local username  
2019-10-22 17:37:05,056: DEBUG - + ynh\_handle\_getopts\_args wordpress  
2019-10-22 17:37:05,056: DEBUG - + set +x  
2019-10-22 17:37:05,057: DEBUG - + echo ‘! Helper used in legacy mode !’  
2019-10-22 17:37:05,058: DEBUG - + set +x  
2019-10-22 17:37:05,059: DEBUG - + getent passwd wordpress  
2019-10-22 17:37:05,060: DEBUG - + ‘[’ -n ‘’ ‘]’  
2019-10-22 17:37:05,060: DEBUG - + local user\_home\_dir=–no-create-home  
2019-10-22 17:37:05,061: DEBUG - + ‘[’ 0 -eq 1 ‘]’  
2019-10-22 17:37:05,062: DEBUG - + local ‘shell=–shell /usr/sbin/nologin’  
2019-10-22 17:37:05,063: DEBUG - + useradd --no-create-home --system --user-group wordpress --shell /usr/sbin/nologin  
2019-10-22 17:37:14,189: DEBUG - + ynh\_script\_progression ‘–message=Configuring php-fpm…’ --weight=2  
2019-10-22 17:37:14,190: DEBUG - + set +x  
2019-10-22 17:37:14,291: DEBUG - + set +x  
2019-10-22 17:37:14,293: INFO - [######…] \> Configuring php-fpm…  
2019-10-22 17:37:14,295: DEBUG - + echo ‘! Helper used in legacy mode !’  
2019-10-22 17:37:14,296: DEBUG - + set +x  
2019-10-22 17:37:14,298: DEBUG - + echo ‘[######…] \> Configuring php-fpm…’  
2019-10-22 17:37:14,299: DEBUG - + set -x  
2019-10-22 17:37:14,300: DEBUG - + ynh\_add\_fpm\_config  
2019-10-22 17:37:14,302: DEBUG - + local legacy\_args=v  
2019-10-22 17:37:14,303: DEBUG - + args\_array=([v]=phpversion=)  
2019-10-22 17:37:14,304: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:14,306: DEBUG - + local phpversion  
2019-10-22 17:37:14,307: DEBUG - + ynh\_handle\_getopts\_args  
2019-10-22 17:37:14,308: DEBUG - + set +x  
2019-10-22 17:37:14,310: DEBUG - + phpversion=7.0  
2019-10-22 17:37:14,312: DEBUG - + local fpm\_config\_dir=/etc/php/7.0/fpm  
2019-10-22 17:37:14,313: DEBUG - + local fpm\_service=php7.0-fpm  
2019-10-22 17:37:14,314: DEBUG - ++ ynh\_get\_debian\_release  
2019-10-22 17:37:14,316: DEBUG - +++ lsb\_release --codename --short  
2019-10-22 17:37:14,618: DEBUG - ++ echo stretch  
2019-10-22 17:37:14,620: DEBUG - + ‘[’ stretch == jessie ‘]’  
2019-10-22 17:37:14,621: DEBUG - + ynh\_app\_setting\_set --app=wordpress --key=fpm\_config\_dir --value=/etc/php/7.0/fpm  
2019-10-22 17:37:14,622: DEBUG - + local legacy\_args=akv  
2019-10-22 17:37:14,623: DEBUG - + args\_array=([a]=app= [k]=key= [v]=value=)  
2019-10-22 17:37:14,624: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:14,626: DEBUG - + local app  
2019-10-22 17:37:14,627: DEBUG - + local key  
2019-10-22 17:37:14,628: DEBUG - + local value  
2019-10-22 17:37:14,629: DEBUG - + ynh\_handle\_getopts\_args --app=wordpress --key=fpm\_config\_dir --value=/etc/php/7.0/fpm  
2019-10-22 17:37:14,631: DEBUG - + set +x  
2019-10-22 17:37:14,732: DEBUG - + ynh\_app\_setting set wordpress fpm\_config\_dir /etc/php/7.0/fpm  
2019-10-22 17:37:14,733: DEBUG - + ACTION=set  
2019-10-22 17:37:14,734: DEBUG - + APP=wordpress  
2019-10-22 17:37:14,735: DEBUG - + KEY=fpm\_config\_dir  
2019-10-22 17:37:14,736: DEBUG - + VALUE=/etc/php/7.0/fpm  
2019-10-22 17:37:14,736: DEBUG - + python -  
2019-10-22 17:37:15,038: DEBUG - + ynh\_app\_setting\_set --app=wordpress --key=fpm\_service --value=php7.0-fpm  
2019-10-22 17:37:15,040: DEBUG - + local legacy\_args=akv  
2019-10-22 17:37:15,041: DEBUG - + args\_array=([a]=app= [k]=key= [v]=value=)  
2019-10-22 17:37:15,042: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:15,043: DEBUG - + local app  
2019-10-22 17:37:15,044: DEBUG - + local key  
2019-10-22 17:37:15,046: DEBUG - + local value  
2019-10-22 17:37:15,047: DEBUG - + ynh\_handle\_getopts\_args --app=wordpress --key=fpm\_service --value=php7.0-fpm  
2019-10-22 17:37:15,048: DEBUG - + set +x  
2019-10-22 17:37:15,150: DEBUG - + ynh\_app\_setting set wordpress fpm\_service php7.0-fpm  
2019-10-22 17:37:15,152: DEBUG - + ACTION=set  
2019-10-22 17:37:15,153: DEBUG - + APP=wordpress  
2019-10-22 17:37:15,155: DEBUG - + KEY=fpm\_service  
2019-10-22 17:37:15,156: DEBUG - + VALUE=php7.0-fpm  
2019-10-22 17:37:15,158: DEBUG - + python -  
2019-10-22 17:37:15,460: DEBUG - + finalphpconf=/etc/php/7.0/fpm/pool.d/wordpress.conf  
2019-10-22 17:37:15,462: DEBUG - + ynh\_backup\_if\_checksum\_is\_different --file=/etc/php/7.0/fpm/pool.d/wordpress.conf  
2019-10-22 17:37:15,463: DEBUG - + local legacy\_args=f  
2019-10-22 17:37:15,465: DEBUG - + args\_array=([f]=file=)  
2019-10-22 17:37:15,467: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:15,468: DEBUG - + local file  
2019-10-22 17:37:15,469: DEBUG - + ynh\_handle\_getopts\_args --file=/etc/php/7.0/fpm/pool.d/wordpress.conf  
2019-10-22 17:37:15,471: DEBUG - + set +x  
2019-10-22 17:37:15,472: DEBUG - + local checksum\_setting\_name=checksum\_\_etc\_php\_7.0\_fpm\_pool.d\_wordpress.conf  
2019-10-22 17:37:15,474: DEBUG - ++ ynh\_app\_setting\_get --app=wordpress --key=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:37:15,475: DEBUG - ++ local legacy\_args=ak  
2019-10-22 17:37:15,477: DEBUG - ++ args\_array=([a]=app= [k]=key=)  
2019-10-22 17:37:15,479: DEBUG - ++ declare -Ar args\_array  
2019-10-22 17:37:15,480: DEBUG - ++ local app  
2019-10-22 17:37:15,482: DEBUG - ++ local key  
2019-10-22 17:37:15,483: DEBUG - ++ ynh\_handle\_getopts\_args --app=wordpress --key=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:37:15,484: DEBUG - ++ set +x  
2019-10-22 17:37:15,586: DEBUG - ++ ynh\_app\_setting get wordpress \*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:37:15,587: DEBUG - ++ ACTION=get  
2019-10-22 17:37:15,588: DEBUG - ++ APP=wordpress  
2019-10-22 17:37:15,589: DEBUG - ++ KEY=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:37:15,590: DEBUG - ++ VALUE=  
2019-10-22 17:37:15,591: DEBUG - ++ python -  
2019-10-22 17:37:15,993: DEBUG - + local checksum\_value=  
2019-10-22 17:37:15,994: DEBUG - + backup\_file\_checksum=  
2019-10-22 17:37:15,995: DEBUG - + ‘[’ -n ‘’ ‘]’  
2019-10-22 17:37:15,996: DEBUG - + sudo cp …/conf/php-fpm.conf /etc/php/7.0/fpm/pool.d/wordpress.conf  
2019-10-22 17:37:15,997: DEBUG - + ynh\_replace\_string --match\_string= **NAMETOCHANGE** --replace\_string=wordpress --target\_file=/etc/php/7.0/fpm/pool.d/wordpress.conf  
2019-10-22 17:37:15,998: DEBUG - + local legacy\_args=mrf  
2019-10-22 17:37:15,999: DEBUG - + args\_array=([m]=match\_string= [r]=replace\_string= [f]=target\_file=)  
2019-10-22 17:37:16,001: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:16,002: DEBUG - + local match\_string  
2019-10-22 17:37:16,003: DEBUG - + local replace\_string  
2019-10-22 17:37:16,003: DEBUG - + local target\_file  
2019-10-22 17:37:16,004: DEBUG - + ynh\_handle\_getopts\_args --match\_string= **NAMETOCHANGE** --replace\_string=wordpress --target\_file=/etc/php/7.0/fpm/pool.d/wordpress.conf  
2019-10-22 17:37:16,006: DEBUG - + set +x  
2019-10-22 17:37:16,107: DEBUG - + local delimit=@  
2019-10-22 17:37:16,108: DEBUG - + match\_string= **NAMETOCHANGE**  
2019-10-22 17:37:16,109: DEBUG - + replace\_string=wordpress  
2019-10-22 17:37:16,111: DEBUG - + sudo sed --in-place s@ **NAMETOCHANGE** @wordpress@g /etc/php/7.0/fpm/pool.d/wordpress.conf  
2019-10-22 17:37:16,112: DEBUG - + ynh\_replace\_string --match\_string= **FINALPATH** --replace\_string=/var/www/wordpress --target\_file=/etc/php/7.0/fpm/pool.d/wordpress.conf  
2019-10-22 17:37:16,114: DEBUG - + local legacy\_args=mrf  
2019-10-22 17:37:16,115: DEBUG - + args\_array=([m]=match\_string= [r]=replace\_string= [f]=target\_file=)  
2019-10-22 17:37:16,116: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:16,117: DEBUG - + local match\_string  
2019-10-22 17:37:16,118: DEBUG - + local replace\_string  
2019-10-22 17:37:16,119: DEBUG - + local target\_file  
2019-10-22 17:37:16,120: DEBUG - + ynh\_handle\_getopts\_args --match\_string= **FINALPATH** --replace\_string=/var/www/wordpress --target\_file=/etc/php/7.0/fpm/pool.d/wordpress.conf  
2019-10-22 17:37:16,121: DEBUG - + set +x  
2019-10-22 17:37:16,122: DEBUG - + local delimit=@  
2019-10-22 17:37:16,123: DEBUG - + match\_string= **FINALPATH**  
2019-10-22 17:37:16,123: DEBUG - + replace\_string=/var/www/wordpress  
2019-10-22 17:37:16,124: DEBUG - + sudo sed --in-place s@ **FINALPATH** @/var/www/wordpress@g /etc/php/7.0/fpm/pool.d/wordpress.conf  
2019-10-22 17:37:16,225: DEBUG - + ynh\_replace\_string --match\_string= **USER** --replace\_string=wordpress --target\_file=/etc/php/7.0/fpm/pool.d/wordpress.conf  
2019-10-22 17:37:16,226: DEBUG - + local legacy\_args=mrf  
2019-10-22 17:37:16,227: DEBUG - + args\_array=([m]=match\_string= [r]=replace\_string= [f]=target\_file=)  
2019-10-22 17:37:16,228: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:16,229: DEBUG - + local match\_string  
2019-10-22 17:37:16,230: DEBUG - + local replace\_string  
2019-10-22 17:37:16,230: DEBUG - + local target\_file  
2019-10-22 17:37:16,231: DEBUG - + ynh\_handle\_getopts\_args --match\_string= **USER** --replace\_string=wordpress --target\_file=/etc/php/7.0/fpm/pool.d/wordpress.conf  
2019-10-22 17:37:16,232: DEBUG - + set +x  
2019-10-22 17:37:16,233: DEBUG - + local delimit=@  
2019-10-22 17:37:16,234: DEBUG - + match\_string= **USER**  
2019-10-22 17:37:16,234: DEBUG - + replace\_string=wordpress  
2019-10-22 17:37:16,235: DEBUG - + sudo sed --in-place s@ **USER** @wordpress@g /etc/php/7.0/fpm/pool.d/wordpress.conf  
2019-10-22 17:37:16,336: DEBUG - + ynh\_replace\_string --match\_string= **PHPVERSION** --replace\_string=7.0 --target\_file=/etc/php/7.0/fpm/pool.d/wordpress.conf  
2019-10-22 17:37:16,337: DEBUG - + local legacy\_args=mrf  
2019-10-22 17:37:16,338: DEBUG - + args\_array=([m]=match\_string= [r]=replace\_string= [f]=target\_file=)  
2019-10-22 17:37:16,339: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:16,340: DEBUG - + local match\_string  
2019-10-22 17:37:16,341: DEBUG - + local replace\_string  
2019-10-22 17:37:16,342: DEBUG - + local target\_file  
2019-10-22 17:37:16,342: DEBUG - + ynh\_handle\_getopts\_args --match\_string= **PHPVERSION** --replace\_string=7.0 --target\_file=/etc/php/7.0/fpm/pool.d/wordpress.conf  
2019-10-22 17:37:16,343: DEBUG - + set +x  
2019-10-22 17:37:16,344: DEBUG - + local delimit=@  
2019-10-22 17:37:16,345: DEBUG - + match\_string= **PHPVERSION**  
2019-10-22 17:37:16,346: DEBUG - + replace\_string=7.0  
2019-10-22 17:37:16,346: DEBUG - + sudo sed --in-place s@ **PHPVERSION** @7.0@g /etc/php/7.0/fpm/pool.d/wordpress.conf  
2019-10-22 17:37:16,448: DEBUG - + sudo chown root: /etc/php/7.0/fpm/pool.d/wordpress.conf  
2019-10-22 17:37:16,549: DEBUG - + ynh\_store\_file\_checksum --file=/etc/php/7.0/fpm/pool.d/wordpress.conf  
2019-10-22 17:37:16,551: DEBUG - + local legacy\_args=f  
2019-10-22 17:37:16,552: DEBUG - + args\_array=([f]=file=)  
2019-10-22 17:37:16,554: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:16,555: DEBUG - + local file  
2019-10-22 17:37:16,557: DEBUG - + ynh\_handle\_getopts\_args --file=/etc/php/7.0/fpm/pool.d/wordpress.conf  
2019-10-22 17:37:16,558: DEBUG - + set +x  
2019-10-22 17:37:16,560: DEBUG - + local checksum\_setting\_name=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:37:16,565: DEBUG - ++ sudo md5sum /etc/php/7.0/fpm/pool.d/wordpress.conf  
2019-10-22 17:37:16,566: DEBUG - ++ cut ‘-d ’ -f1  
2019-10-22 17:37:16,668: DEBUG - + ynh\_app\_setting\_set --app=wordpress --key=\*\*\*\*\*\*\*\*\*\* --value=f323e8b1d0ae48c2db3c0179f9b40e22  
2019-10-22 17:37:16,670: DEBUG - + local legacy\_args=akv  
2019-10-22 17:37:16,671: DEBUG - + args\_array=([a]=app= [k]=key= [v]=value=)  
2019-10-22 17:37:16,672: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:16,673: DEBUG - + local app  
2019-10-22 17:37:16,675: DEBUG - + local key  
2019-10-22 17:37:16,676: DEBUG - + local value  
2019-10-22 17:37:16,677: DEBUG - + ynh\_handle\_getopts\_args --app=wordpress --key=\*\*\*\*\*\*\*\*\*\* --value=f323e8b1d0ae48c2db3c0179f9b40e22  
2019-10-22 17:37:16,679: DEBUG - + set +x  
2019-10-22 17:37:16,680: DEBUG - + ynh\_app\_setting set wordpress \*\*\*\*\*\*\*\*\*\* f323e8b1d0ae48c2db3c0179f9b40e22  
2019-10-22 17:37:16,681: DEBUG - + ACTION=set  
2019-10-22 17:37:16,683: DEBUG - + APP=wordpress  
2019-10-22 17:37:16,684: DEBUG - + KEY=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:37:16,685: DEBUG - + VALUE=f323e8b1d0ae48c2db3c0179f9b40e22  
2019-10-22 17:37:16,687: DEBUG - + python -  
2019-10-22 17:37:17,089: DEBUG - + ‘[’ -n ‘’ ‘]’  
2019-10-22 17:37:17,090: DEBUG - + unset backup\_file\_checksum  
2019-10-22 17:37:17,092: DEBUG - + ‘[’ -e …/conf/php-fpm.ini ‘]’  
2019-10-22 17:37:17,093: DEBUG - + ynh\_systemd\_action --service\_name=php7.0-fpm --action=reload  
2019-10-22 17:37:17,096: DEBUG - + local legacy\_args=nalpte  
2019-10-22 17:37:17,098: DEBUG - + args\_array=([n]=service\_name= [a]=action= [l]=line\_match= [p]=log\_path= [t]=timeout= [e]=length=)  
2019-10-22 17:37:17,099: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:17,101: DEBUG - + local service\_name  
2019-10-22 17:37:17,102: DEBUG - + local action  
2019-10-22 17:37:17,103: DEBUG - + local line\_match  
2019-10-22 17:37:17,105: DEBUG - + local length  
2019-10-22 17:37:17,106: DEBUG - + local log\_path  
2019-10-22 17:37:17,172: DEBUG - + local timeout  
2019-10-22 17:37:17,174: DEBUG - + ynh\_handle\_getopts\_args --service\_name=php7.0-fpm --action=reload  
2019-10-22 17:37:17,175: DEBUG - + set +x  
2019-10-22 17:37:17,177: DEBUG - + local service\_name=php7.0-fpm  
2019-10-22 17:37:17,179: DEBUG - + local action=reload  
2019-10-22 17:37:17,180: DEBUG - + local log\_path=/var/log/php7.0-fpm/php7.0-fpm.log  
2019-10-22 17:37:17,182: DEBUG - + local length=20  
2019-10-22 17:37:17,183: DEBUG - + local timeout=300  
2019-10-22 17:37:17,184: DEBUG - + [[-n ‘’]]  
2019-10-22 17:37:17,186: DEBUG - + ‘[’ reload == reload ‘]’  
2019-10-22 17:37:17,188: DEBUG - + action=reload-or-restart  
2019-10-22 17:37:17,189: DEBUG - + systemctl reload-or-restart php7.0-fpm  
2019-10-22 17:37:17,190: DEBUG - + [[-n ‘’]]  
2019-10-22 17:37:17,191: DEBUG - + ynh\_script\_progression ‘–message=Configuring wordpress…’  
2019-10-22 17:37:17,192: DEBUG - + set +x  
2019-10-22 17:37:17,294: DEBUG - + set +x  
2019-10-22 17:37:17,295: INFO - [######…] \> Configuring wordpress…  
2019-10-22 17:37:17,298: DEBUG - + echo ‘! Helper used in legacy mode !’  
2019-10-22 17:37:17,299: DEBUG - + set +x  
2019-10-22 17:37:17,300: DEBUG - + echo ‘[######…] \> Configuring wordpress…’  
2019-10-22 17:37:17,302: DEBUG - + set -x  
2019-10-22 17:37:17,303: DEBUG - + cp …/conf/wp-config.php /var/www/wordpress/wp-config.php  
2019-10-22 17:37:17,304: DEBUG - + ynh\_replace\_string --match\_string= **DB\_USER** --replace\_string=wordpress --target\_file=/var/www/wordpress/wp-config.php  
2019-10-22 17:37:17,306: DEBUG - + local legacy\_args=mrf  
2019-10-22 17:37:17,307: DEBUG - + args\_array=([m]=match\_string= [r]=replace\_string= [f]=target\_file=)  
2019-10-22 17:37:17,308: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:17,310: DEBUG - + local match\_string  
2019-10-22 17:37:17,311: DEBUG - + local replace\_string  
2019-10-22 17:37:17,312: DEBUG - + local target\_file  
2019-10-22 17:37:17,315: DEBUG - + ynh\_handle\_getopts\_args --match\_string= **DB\_USER** --replace\_string=wordpress --target\_file=/var/www/wordpress/wp-config.php  
2019-10-22 17:37:17,318: DEBUG - + set +x  
2019-10-22 17:37:17,320: DEBUG - + local delimit=@  
2019-10-22 17:37:17,321: DEBUG - + match\_string= **DB\_USER**  
2019-10-22 17:37:17,323: DEBUG - + replace\_string=wordpress  
2019-10-22 17:37:17,324: DEBUG - + sudo sed --in-place s@ **DB\_USER** @wordpress@g /var/www/wordpress/wp-config.php  
2019-10-22 17:37:17,427: DEBUG - + ynh\_replace\_string --match\_string= **DB\_PWD** --replace\_string=\*\*\*\*\*\*\*\*\*\* --target\_file=/var/www/wordpress/wp-config.php  
2019-10-22 17:37:17,428: DEBUG - + local legacy\_args=mrf  
2019-10-22 17:37:17,429: DEBUG - + args\_array=([m]=match\_string= [r]=replace\_string= [f]=target\_file=)  
2019-10-22 17:37:17,430: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:17,431: DEBUG - + local match\_string  
2019-10-22 17:37:17,432: DEBUG - + local replace\_string  
2019-10-22 17:37:17,434: DEBUG - + local target\_file  
2019-10-22 17:37:17,435: DEBUG - + ynh\_handle\_getopts\_args --match\_string= **DB\_PWD** --replace\_string=\*\*\*\*\*\*\*\*\*\* --target\_file=/var/www/wordpress/wp-config.php  
2019-10-22 17:37:17,436: DEBUG - + set +x  
2019-10-22 17:37:17,438: DEBUG - + local delimit=@  
2019-10-22 17:37:17,439: DEBUG - + match\_string= **DB\_PWD**  
2019-10-22 17:37:17,440: DEBUG - + replace\_string=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:37:17,441: DEBUG - + sudo sed --in-place s@ **DB\_PWD** @**_@g /var/www/wordpress/wp-config.php  
2019-10-22 17:37:17,543: DEBUG - + for i in 1 2 3 4 5 6 7 8  
2019-10-22 17:37:17,545: DEBUG - ++ ynh\_string\_random --length=40  
2019-10-22 17:37:17,546: DEBUG - ++ local legacy\_args=l  
2019-10-22 17:37:17,547: DEBUG - ++ args\_array=([l]=length=)  
2019-10-22 17:37:17,549: DEBUG - ++ declare -Ar args\_array  
2019-10-22 17:37:17,550: DEBUG - ++ local length  
2019-10-22 17:37:17,552: DEBUG - ++ ynh\_handle\_getopts\_args --length=40  
2019-10-22 17:37:17,553: DEBUG - ++ set +x  
2019-10-22 17:37:17,555: DEBUG - ++ length=40  
2019-10-22 17:37:17,556: DEBUG - ++ tr -c -d A-Za-z0-9  
2019-10-22 17:37:17,558: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000  
2019-10-22 17:37:17,559: DEBUG - ++ sed -n 's/(.{40})./\1/p’  
2019-10-22 17:37:17,560: DEBUG - + j=ibDmmi9nSwfzClWAdfSYe7cG0PucLE7a3cjNwGLd  
2019-10-22 17:37:17,562: DEBUG - + ynh\_replace\_string --match\_string=KEY1 --replace\_string=ibDmmi9nSwfzClWAdfSYe7cG0PucLE7a3cjNwGLd --target\_file=/var/www/wordpress/wp-config.php  
2019-10-22 17:37:17,563: DEBUG - + local legacy\_args=mrf  
2019-10-22 17:37:17,564: DEBUG - + args\_array=([m]=match\_string= [r]=replace\_string= [f]=target\_file=)  
2019-10-22 17:37:17,564: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:17,565: DEBUG - + local match\_string  
2019-10-22 17:37:17,566: DEBUG - + local replace\_string  
2019-10-22 17:37:17,567: DEBUG - + local target\_file  
2019-10-22 17:37:17,568: DEBUG - + ynh\_handle\_getopts\_args --match\_string=KEY1 --replace\_string=ibDmmi9nSwfzClWAdfSYe7cG0PucLE7a3cjNwGLd --target\_file=/var/www/wordpress/wp-config.php  
2019-10-22 17:37:17,570: DEBUG - + set +x  
2019-10-22 17:37:17,571: DEBUG - + local delimit=@  
2019-10-22 17:37:17,572: DEBUG - + match\_string=KEY1  
2019-10-22 17:37:17,573: DEBUG - + replace\_string=ibDmmi9nSwfzClWAdfSYe7cG0PucLE7a3cjNwGLd  
2019-10-22 17:37:17,575: DEBUG - + sudo sed --in-place s@KEY1@ibDmmi9nSwfzClWAdfSYe7cG0PucLE7a3cjNwGLd@g /var/www/wordpress/wp-config.php  
2019-10-22 17:37:17,676: DEBUG - + sleep 0.5  
2019-10-22 17:37:18,178: DEBUG - + for i in 1 2 3 4 5 6 7 8  
2019-10-22 17:37:18,179: DEBUG - ++ ynh\_string\_random --length=40  
2019-10-22 17:37:18,180: DEBUG - ++ local legacy\_args=l  
2019-10-22 17:37:18,181: DEBUG - ++ args\_array=([l]=length=)  
2019-10-22 17:37:18,182: DEBUG - ++ declare -Ar args\_array  
2019-10-22 17:37:18,183: DEBUG - ++ local length  
2019-10-22 17:37:18,185: DEBUG - ++ ynh\_handle\_getopts\_args --length=40  
2019-10-22 17:37:18,186: DEBUG - ++ set +x  
2019-10-22 17:37:18,187: DEBUG - ++ length=40  
2019-10-22 17:37:18,188: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000  
2019-10-22 17:37:18,188: DEBUG - ++ tr -c -d A-Za-z0-9  
2019-10-22 17:37:18,189: DEBUG - ++ sed -n 's/(.{40})./\1/p’  
2019-10-22 17:37:18,191: DEBUG - + j=0sOWBcEFGsig8aURZbtraGqESelhFGVleTCetE9E  
2019-10-22 17:37:18,192: DEBUG - + ynh\_replace\_string --match\_string=KEY2 --replace\_string=0sOWBcEFGsig8aURZbtraGqESelhFGVleTCetE9E --target\_file=/var/www/wordpress/wp-config.php  
2019-10-22 17:37:18,192: DEBUG - + local legacy\_args=mrf  
2019-10-22 17:37:18,193: DEBUG - + args\_array=([m]=match\_string= [r]=replace\_string= [f]=target\_file=)  
2019-10-22 17:37:18,194: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:18,195: DEBUG - + local match\_string  
2019-10-22 17:37:18,196: DEBUG - + local replace\_string  
2019-10-22 17:37:18,197: DEBUG - + local target\_file  
2019-10-22 17:37:18,198: DEBUG - + ynh\_handle\_getopts\_args --match\_string=KEY2 --replace\_string=0sOWBcEFGsig8aURZbtraGqESelhFGVleTCetE9E --target\_file=/var/www/wordpress/wp-config.php  
2019-10-22 17:37:18,199: DEBUG - + set +x  
2019-10-22 17:37:18,300: DEBUG - + local delimit=@  
2019-10-22 17:37:18,301: DEBUG - + match\_string=KEY2  
2019-10-22 17:37:18,302: DEBUG - + replace\_string=0sOWBcEFGsig8aURZbtraGqESelhFGVleTCetE9E  
2019-10-22 17:37:18,303: DEBUG - + sudo sed --in-place s@KEY2@0sOWBcEFGsig8aURZbtraGqESelhFGVleTCetE9E@g /var/www/wordpress/wp-config.php  
2019-10-22 17:37:18,304: DEBUG - + sleep 0.5  
2019-10-22 17:37:18,806: DEBUG - + for i in 1 2 3 4 5 6 7 8  
2019-10-22 17:37:18,807: DEBUG - ++ ynh\_string\_random --length=40  
2019-10-22 17:37:18,809: DEBUG - ++ local legacy\_args=l  
2019-10-22 17:37:18,810: DEBUG - ++ args\_array=([l]=length=)  
2019-10-22 17:37:18,811: DEBUG - ++ declare -Ar args\_array  
2019-10-22 17:37:18,813: DEBUG - ++ local length  
2019-10-22 17:37:18,815: DEBUG - ++ ynh\_handle\_getopts\_args --length=40  
2019-10-22 17:37:18,816: DEBUG - ++ set +x  
2019-10-22 17:37:18,818: DEBUG - ++ length=40  
2019-10-22 17:37:18,819: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000  
2019-10-22 17:37:18,821: DEBUG - ++ tr -c -d A-Za-z0-9  
2019-10-22 17:37:18,822: DEBUG - ++ sed -n 's/(.{40})./\1/p’  
2019-10-22 17:37:18,823: DEBUG - + j=4Tx5Hzv9blyVzN7eZm174hy1RTcSqoxxh2eGISSL  
2019-10-22 17:37:18,824: DEBUG - + ynh\_replace\_string --match\_string=KEY3 --replace\_string=4Tx5Hzv9blyVzN7eZm174hy1RTcSqoxxh2eGISSL --target\_file=/var/www/wordpress/wp-config.php  
2019-10-22 17:37:18,825: DEBUG - + local legacy\_args=mrf  
2019-10-22 17:37:18,827: DEBUG - + args\_array=([m]=match\_string= [r]=replace\_string= [f]=target\_file=)  
2019-10-22 17:37:18,828: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:18,829: DEBUG - + local match\_string  
2019-10-22 17:37:18,830: DEBUG - + local replace\_string  
2019-10-22 17:37:18,831: DEBUG - + local target\_file  
2019-10-22 17:37:18,832: DEBUG - + ynh\_handle\_getopts\_args --match\_string=KEY3 --replace\_string=4Tx5Hzv9blyVzN7eZm174hy1RTcSqoxxh2eGISSL --target\_file=/var/www/wordpress/wp-config.php  
2019-10-22 17:37:18,833: DEBUG - + set +x  
2019-10-22 17:37:18,935: DEBUG - + local delimit=@  
2019-10-22 17:37:18,939: DEBUG - + match\_string=KEY3  
2019-10-22 17:37:18,945: DEBUG - + replace\_string=4Tx5Hzv9blyVzN7eZm174hy1RTcSqoxxh2eGISSL  
2019-10-22 17:37:18,947: DEBUG - + sudo sed --in-place s@KEY3@4Tx5Hzv9blyVzN7eZm174hy1RTcSqoxxh2eGISSL@g /var/www/wordpress/wp-config.php  
2019-10-22 17:37:19,074: DEBUG - + sleep 0.5  
2019-10-22 17:37:19,580: DEBUG - + for i in 1 2 3 4 5 6 7 8  
2019-10-22 17:37:19,581: DEBUG - ++ ynh\_string\_random --length=40  
2019-10-22 17:37:19,582: DEBUG - ++ local legacy\_args=l  
2019-10-22 17:37:19,582: DEBUG - ++ args\_array=([l]=length=)  
2019-10-22 17:37:19,583: DEBUG - ++ declare -Ar args\_array  
2019-10-22 17:37:19,584: DEBUG - ++ local length  
2019-10-22 17:37:19,585: DEBUG - ++ ynh\_handle\_getopts\_args --length=40  
2019-10-22 17:37:19,586: DEBUG - ++ set +x  
2019-10-22 17:37:19,587: DEBUG - ++ length=40  
2019-10-22 17:37:19,588: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000  
2019-10-22 17:37:19,588: DEBUG - ++ tr -c -d A-Za-z0-9  
2019-10-22 17:37:19,589: DEBUG - ++ sed -n 's/(.{40})./\1/p’  
2019-10-22 17:37:19,590: DEBUG - + j=9BnViqIvAJmvGgs4SLGdd9qv15Jk2aMmDIXwbu8Z  
2019-10-22 17:37:19,591: DEBUG - + ynh\_replace\_string --match\_string=KEY4 --replace\_string=9BnViqIvAJmvGgs4SLGdd9qv15Jk2aMmDIXwbu8Z --target\_file=/var/www/wordpress/wp-config.php  
2019-10-22 17:37:19,592: DEBUG - + local legacy\_args=mrf  
2019-10-22 17:37:19,593: DEBUG - + args\_array=([m]=match\_string= [r]=replace\_string= [f]=target\_file=)  
2019-10-22 17:37:19,593: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:19,594: DEBUG - + local match\_string  
2019-10-22 17:37:19,595: DEBUG - + local replace\_string  
2019-10-22 17:37:19,596: DEBUG - + local target\_file  
2019-10-22 17:37:19,596: DEBUG - + ynh\_handle\_getopts\_args --match\_string=KEY4 --replace\_string=9BnViqIvAJmvGgs4SLGdd9qv15Jk2aMmDIXwbu8Z --target\_file=/var/www/wordpress/wp-config.php  
2019-10-22 17:37:19,597: DEBUG - + set +x  
2019-10-22 17:37:19,598: DEBUG - + local delimit=@  
2019-10-22 17:37:19,599: DEBUG - + match\_string=KEY4  
2019-10-22 17:37:19,600: DEBUG - + replace\_string=9BnViqIvAJmvGgs4SLGdd9qv15Jk2aMmDIXwbu8Z  
2019-10-22 17:37:19,600: DEBUG - + sudo sed --in-place s@KEY4@9BnViqIvAJmvGgs4SLGdd9qv15Jk2aMmDIXwbu8Z@g /var/www/wordpress/wp-config.php  
2019-10-22 17:37:19,702: DEBUG - + sleep 0.5  
2019-10-22 17:37:20,204: DEBUG - + for i in 1 2 3 4 5 6 7 8  
2019-10-22 17:37:20,205: DEBUG - ++ ynh\_string\_random --length=40  
2019-10-22 17:37:20,206: DEBUG - ++ local legacy\_args=l  
2019-10-22 17:37:20,207: DEBUG - ++ args\_array=([l]=length=)  
2019-10-22 17:37:20,208: DEBUG - ++ declare -Ar args\_array  
2019-10-22 17:37:20,209: DEBUG - ++ local length  
2019-10-22 17:37:20,210: DEBUG - ++ ynh\_handle\_getopts\_args --length=40  
2019-10-22 17:37:20,210: DEBUG - ++ set +x  
2019-10-22 17:37:20,211: DEBUG - ++ length=40  
2019-10-22 17:37:20,212: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000  
2019-10-22 17:37:20,213: DEBUG - ++ tr -c -d A-Za-z0-9  
2019-10-22 17:37:20,213: DEBUG - ++ sed -n 's/(.{40})./\1/p’  
2019-10-22 17:37:20,214: DEBUG - + j=wIcqUt2B1DlwQRsA7E9l4aHaCJPKVp21zgaPM91F  
2019-10-22 17:37:20,215: DEBUG - + ynh\_replace\_string --match\_string=KEY5 --replace\_string=wIcqUt2B1DlwQRsA7E9l4aHaCJPKVp21zgaPM91F --target\_file=/var/www/wordpress/wp-config.php  
2019-10-22 17:37:20,216: DEBUG - + local legacy\_args=mrf  
2019-10-22 17:37:20,217: DEBUG - + args\_array=([m]=match\_string= [r]=replace\_string= [f]=target\_file=)  
2019-10-22 17:37:20,218: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:20,219: DEBUG - + local match\_string  
2019-10-22 17:37:20,219: DEBUG - + local replace\_string  
2019-10-22 17:37:20,220: DEBUG - + local target\_file  
2019-10-22 17:37:20,221: DEBUG - + ynh\_handle\_getopts\_args --match\_string=KEY5 --replace\_string=wIcqUt2B1DlwQRsA7E9l4aHaCJPKVp21zgaPM91F --target\_file=/var/www/wordpress/wp-config.php  
2019-10-22 17:37:20,222: DEBUG - + set +x  
2019-10-22 17:37:20,223: DEBUG - + local delimit=@  
2019-10-22 17:37:20,224: DEBUG - + match\_string=KEY5  
2019-10-22 17:37:20,224: DEBUG - + replace\_string=wIcqUt2B1DlwQRsA7E9l4aHaCJPKVp21zgaPM91F  
2019-10-22 17:37:20,225: DEBUG - + sudo sed --in-place s@KEY5@wIcqUt2B1DlwQRsA7E9l4aHaCJPKVp21zgaPM91F@g /var/www/wordpress/wp-config.php  
2019-10-22 17:37:20,326: DEBUG - + sleep 0.5  
2019-10-22 17:37:20,828: DEBUG - + for i in 1 2 3 4 5 6 7 8  
2019-10-22 17:37:20,829: DEBUG - ++ ynh\_string\_random --length=40  
2019-10-22 17:37:20,830: DEBUG - ++ local legacy\_args=l  
2019-10-22 17:37:20,832: DEBUG - ++ args\_array=([l]=length=)  
2019-10-22 17:37:20,833: DEBUG - ++ declare -Ar args\_array  
2019-10-22 17:37:20,834: DEBUG - ++ local length  
2019-10-22 17:37:20,836: DEBUG - ++ ynh\_handle\_getopts\_args --length=40  
2019-10-22 17:37:20,837: DEBUG - ++ set +x  
2019-10-22 17:37:20,838: DEBUG - ++ length=40  
2019-10-22 17:37:20,840: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000  
2019-10-22 17:37:20,841: DEBUG - ++ tr -c -d A-Za-z0-9  
2019-10-22 17:37:20,842: DEBUG - ++ sed -n 's/(.{40})./\1/p’  
2019-10-22 17:37:20,844: DEBUG - + j=uNQCQAW2dCdyaNghfDoeYl87XnvQS8njwAE4kWZY  
2019-10-22 17:37:20,845: DEBUG - + ynh\_replace\_string --match\_string=KEY6 --replace\_string=uNQCQAW2dCdyaNghfDoeYl87XnvQS8njwAE4kWZY --target\_file=/var/www/wordpress/wp-config.php  
2019-10-22 17:37:20,846: DEBUG - + local legacy\_args=mrf  
2019-10-22 17:37:20,847: DEBUG - + args\_array=([m]=match\_string= [r]=replace\_string= [f]=target\_file=)  
2019-10-22 17:37:20,849: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:20,850: DEBUG - + local match\_string  
2019-10-22 17:37:20,851: DEBUG - + local replace\_string  
2019-10-22 17:37:20,852: DEBUG - + local target\_file  
2019-10-22 17:37:20,854: DEBUG - + ynh\_handle\_getopts\_args --match\_string=KEY6 --replace\_string=uNQCQAW2dCdyaNghfDoeYl87XnvQS8njwAE4kWZY --target\_file=/var/www/wordpress/wp-config.php  
2019-10-22 17:37:20,855: DEBUG - + set +x  
2019-10-22 17:37:20,856: DEBUG - + local delimit=@  
2019-10-22 17:37:20,857: DEBUG - + match\_string=KEY6  
2019-10-22 17:37:20,859: DEBUG - + replace\_string=uNQCQAW2dCdyaNghfDoeYl87XnvQS8njwAE4kWZY  
2019-10-22 17:37:20,860: DEBUG - + sudo sed --in-place s@KEY6@uNQCQAW2dCdyaNghfDoeYl87XnvQS8njwAE4kWZY@g /var/www/wordpress/wp-config.php  
2019-10-22 17:37:20,962: DEBUG - + sleep 0.5  
2019-10-22 17:37:21,464: DEBUG - + for i in 1 2 3 4 5 6 7 8  
2019-10-22 17:37:21,465: DEBUG - ++ ynh\_string\_random --length=40  
2019-10-22 17:37:21,467: DEBUG - ++ local legacy\_args=l  
2019-10-22 17:37:21,468: DEBUG - ++ args\_array=([l]=length=)  
2019-10-22 17:37:21,469: DEBUG - ++ declare -Ar args\_array  
2019-10-22 17:37:21,471: DEBUG - ++ local length  
2019-10-22 17:37:21,472: DEBUG - ++ ynh\_handle\_getopts\_args --length=40  
2019-10-22 17:37:21,474: DEBUG - ++ set +x  
2019-10-22 17:37:21,475: DEBUG - ++ length=40  
2019-10-22 17:37:21,476: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000  
2019-10-22 17:37:21,478: DEBUG - ++ tr -c -d A-Za-z0-9  
2019-10-22 17:37:21,479: DEBUG - ++ sed -n 's/(.{40})./\1/p’  
2019-10-22 17:37:21,481: DEBUG - + j=pcdkhgERFsGSXoERQsJAPVh4xVmspkwTFnkcFx9C  
2019-10-22 17:37:21,482: DEBUG - + ynh\_replace\_string --match\_string=KEY7 --replace\_string=pcdkhgERFsGSXoERQsJAPVh4xVmspkwTFnkcFx9C --target\_file=/var/www/wordpress/wp-config.php  
2019-10-22 17:37:21,483: DEBUG - + local legacy\_args=mrf  
2019-10-22 17:37:21,484: DEBUG - + args\_array=([m]=match\_string= [r]=replace\_string= [f]=target\_file=)  
2019-10-22 17:37:21,485: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:21,486: DEBUG - + local match\_string  
2019-10-22 17:37:21,487: DEBUG - + local replace\_string  
2019-10-22 17:37:21,487: DEBUG - + local target\_file  
2019-10-22 17:37:21,488: DEBUG - + ynh\_handle\_getopts\_args --match\_string=KEY7 --replace\_string=pcdkhgERFsGSXoERQsJAPVh4xVmspkwTFnkcFx9C --target\_file=/var/www/wordpress/wp-config.php  
2019-10-22 17:37:21,489: DEBUG - + set +x  
2019-10-22 17:37:21,590: DEBUG - + local delimit=@  
2019-10-22 17:37:21,591: DEBUG - + match\_string=KEY7  
2019-10-22 17:37:21,592: DEBUG - + replace\_string=pcdkhgERFsGSXoERQsJAPVh4xVmspkwTFnkcFx9C  
2019-10-22 17:37:21,593: DEBUG - + sudo sed --in-place s@KEY7@pcdkhgERFsGSXoERQsJAPVh4xVmspkwTFnkcFx9C@g /var/www/wordpress/wp-config.php  
2019-10-22 17:37:21,594: DEBUG - + sleep 0.5  
2019-10-22 17:37:22,096: DEBUG - + for i in 1 2 3 4 5 6 7 8  
2019-10-22 17:37:22,096: DEBUG - ++ ynh\_string\_random --length=40  
2019-10-22 17:37:22,097: DEBUG - ++ local legacy\_args=l  
2019-10-22 17:37:22,098: DEBUG - ++ args\_array=([l]=length=)  
2019-10-22 17:37:22,099: DEBUG - ++ declare -Ar args\_array  
2019-10-22 17:37:22,101: DEBUG - ++ local length  
2019-10-22 17:37:22,102: DEBUG - ++ ynh\_handle\_getopts\_args --length=40  
2019-10-22 17:37:22,102: DEBUG - ++ set +x  
2019-10-22 17:37:22,103: DEBUG - ++ length=40  
2019-10-22 17:37:22,104: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000  
2019-10-22 17:37:22,105: DEBUG - ++ tr -c -d A-Za-z0-9  
2019-10-22 17:37:22,106: DEBUG - ++ sed -n 's/(.{40})._/\1/p’  
2019-10-22 17:37:22,107: DEBUG - + j=HjhkfCQ07t88VgSUeS5bJqWzba4pF5lnSJVi2OQm  
2019-10-22 17:37:22,108: DEBUG - + ynh\_replace\_string --match\_string=KEY8 --replace\_string=HjhkfCQ07t88VgSUeS5bJqWzba4pF5lnSJVi2OQm --target\_file=/var/www/wordpress/wp-config.php  
2019-10-22 17:37:22,109: DEBUG - + local legacy\_args=mrf  
2019-10-22 17:37:22,110: DEBUG - + args\_array=([m]=match\_string= [r]=replace\_string= [f]=target\_file=)  
2019-10-22 17:37:22,111: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:22,113: DEBUG - + local match\_string  
2019-10-22 17:37:22,114: DEBUG - + local replace\_string  
2019-10-22 17:37:22,115: DEBUG - + local target\_file  
2019-10-22 17:37:22,115: DEBUG - + ynh\_handle\_getopts\_args --match\_string=KEY8 --replace\_string=HjhkfCQ07t88VgSUeS5bJqWzba4pF5lnSJVi2OQm --target\_file=/var/www/wordpress/wp-config.php  
2019-10-22 17:37:22,116: DEBUG - + set +x  
2019-10-22 17:37:22,217: DEBUG - + local delimit=@  
2019-10-22 17:37:22,218: DEBUG - + match\_string=KEY8  
2019-10-22 17:37:22,219: DEBUG - + replace\_string=HjhkfCQ07t88VgSUeS5bJqWzba4pF5lnSJVi2OQm  
2019-10-22 17:37:22,220: DEBUG - + sudo sed --in-place s@KEY8@HjhkfCQ07t88VgSUeS5bJqWzba4pF5lnSJVi2OQm@g /var/www/wordpress/wp-config.php  
2019-10-22 17:37:22,221: DEBUG - + sleep 0.5  
2019-10-22 17:37:22,723: DEBUG - + ynh\_script\_progression ‘–message=Installing wordpress with Curl…’ --weight=10  
2019-10-22 17:37:22,724: DEBUG - + set +x  
2019-10-22 17:37:22,825: DEBUG - + set +x  
2019-10-22 17:37:22,826: INFO - [######+++…] \> Installing wordpress with Curl…  
2019-10-22 17:37:22,827: DEBUG - + echo ‘! Helper used in legacy mode !’  
2019-10-22 17:37:22,828: DEBUG - + set +x  
2019-10-22 17:37:22,830: DEBUG - + echo ‘[######+++…] \> Installing wordpress with Curl…’  
2019-10-22 17:37:22,831: DEBUG - + set -x  
2019-10-22 17:37:22,833: DEBUG - + chown -R wordpress: /var/www/wordpress  
2019-10-22 17:37:22,834: DEBUG - + ynh\_app\_setting\_set --app=wordpress --key=unprotected\_uris --value=/  
2019-10-22 17:37:22,835: DEBUG - + local legacy\_args=akv  
2019-10-22 17:37:22,836: DEBUG - + args\_array=([a]=app= [k]=key= [v]=value=)  
2019-10-22 17:37:22,838: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:22,839: DEBUG - + local app  
2019-10-22 17:37:22,840: DEBUG - + local key  
2019-10-22 17:37:22,842: DEBUG - + local value  
2019-10-22 17:37:22,842: DEBUG - + ynh\_handle\_getopts\_args --app=wordpress --key=unprotected\_uris --value=/  
2019-10-22 17:37:22,843: DEBUG - + set +x  
2019-10-22 17:37:22,844: DEBUG - + ynh\_app\_setting set wordpress unprotected\_uris /  
2019-10-22 17:37:22,845: DEBUG - + ACTION=set  
2019-10-22 17:37:22,846: DEBUG - + APP=wordpress  
2019-10-22 17:37:22,846: DEBUG - + KEY=unprotected\_uris  
2019-10-22 17:37:22,847: DEBUG - + VALUE=/  
2019-10-22 17:37:22,848: DEBUG - + python -  
2019-10-22 17:37:23,250: DEBUG - + yunohost app ssowatconf  
2019-10-22 17:37:30,471: DEBUG - The SSOwat configuration has been generated  
2019-10-22 17:37:30,573: DEBUG - + ynh\_systemd\_action --service\_name=nginx --action=reload  
2019-10-22 17:37:30,574: DEBUG - + local legacy\_args=nalpte  
2019-10-22 17:37:30,575: DEBUG - + args\_array=([n]=service\_name= [a]=action= [l]=line\_match= [p]=log\_path= [t]=timeout= [e]=length=)  
2019-10-22 17:37:30,576: DEBUG - + declare -Ar args\_array  
2019-10-22 17:37:30,576: DEBUG - + local service\_name  
2019-10-22 17:37:30,577: DEBUG - + local action  
2019-10-22 17:37:30,578: DEBUG - + local line\_match  
2019-10-22 17:37:30,579: DEBUG - + local length  
2019-10-22 17:37:30,579: DEBUG - + local log\_path  
2019-10-22 17:37:30,580: DEBUG - + local timeout  
2019-10-22 17:37:30,581: DEBUG - + ynh\_handle\_getopts\_args --service\_name=nginx --action=reload  
2019-10-22 17:37:30,582: DEBUG - + set +x  
2019-10-22 17:37:30,583: DEBUG - + local service\_name=nginx  
2019-10-22 17:37:30,583: DEBUG - + local action=reload  
2019-10-22 17:37:30,584: DEBUG - + local log\_path=/var/log/nginx/nginx.log  
2019-10-22 17:37:30,585: DEBUG - + local length=20  
2019-10-22 17:37:30,586: DEBUG - + local timeout=300  
2019-10-22 17:37:30,587: DEBUG - + [[-n ‘’]]  
2019-10-22 17:37:30,588: DEBUG - + ‘[’ reload == reload ‘]’  
2019-10-22 17:37:30,589: DEBUG - + action=reload-or-restart  
2019-10-22 17:37:30,590: DEBUG - + systemctl reload-or-restart nginx  
2019-10-22 17:37:31,092: DEBUG - + [[-n ‘’]]  
2019-10-22 17:37:31,093: DEBUG - + ynh\_local\_curl ‘/wp-admin/install.php?step=2’ ‘&weblog\_title=YunoBlog’ user\_name=court admin\_password=**\*\*\*\*\*\*\*\* admin\_password2=\*\*\*\*\*\*\*\*\*\* [admin\_email=court@courtgui2.nohost.me](mailto:admin_email=court@courtgui2.nohost.me) Submit=Install+WordPress  
2019-10-22 17:37:31,095: DEBUG - ++ ynh\_normalize\_url\_path ‘/wp-admin/install.php?step=2’  
2019-10-22 17:37:31,096: DEBUG - ++ local legacy\_args=p  
2019-10-22 17:37:31,097: DEBUG - ++ args\_array=([p]=path\_url=)  
2019-10-22 17:37:31,099: DEBUG - ++ declare -Ar args\_array  
2019-10-22 17:37:31,100: DEBUG - ++ local path\_url  
2019-10-22 17:37:31,101: DEBUG - ++ ynh\_handle\_getopts\_args ‘/wp-admin/install.php?step=2’  
2019-10-22 17:37:31,103: DEBUG - ++ set +x  
2019-10-22 17:37:31,104: DEBUG - ++ echo ‘! Helper used in legacy mode !’  
2019-10-22 17:37:31,105: DEBUG - ++ set +x  
2019-10-22 17:37:31,106: DEBUG - ++ test -n ‘/wp-admin/install.php?step=2’  
2019-10-22 17:37:31,108: DEBUG - ++ ‘[’ / ‘!=’ / ‘]’  
2019-10-22 17:37:31,109: DEBUG - ++ ‘[’ 2 == / ‘]’  
2019-10-22 17:37:31,110: DEBUG - ++ echo ‘/wp-admin/install.php?step=2’  
2019-10-22 17:37:31,111: DEBUG - + local ‘local\_page=/wp-admin/install.php?step=2’  
2019-10-22 17:37:31,112: DEBUG - + local ‘full\_path=/wordpress2/wp-admin/install.php?step=2’  
2019-10-22 17:37:31,114: DEBUG - + ‘[’ /wordpress2 == / ‘]’  
2019-10-22 17:37:31,115: DEBUG - + local ‘full\_page\_url=https://localhost/wordpress2/wp-admin/install.php?step=2’  
2019-10-22 17:37:31,116: DEBUG - + local POST\_data=  
2019-10-22 17:37:31,118: DEBUG - + local arg=  
2019-10-22 17:37:31,119: DEBUG - + for arg in “${@:2}”  
2019-10-22 17:37:31,120: DEBUG - + POST\_data=’&weblog\_title=YunoBlog&’  
2019-10-22 17:37:31,122: DEBUG - + for arg in “${@:2}”  
2019-10-22 17:37:31,123: DEBUG - + POST\_data=’&weblog\_title=YunoBlog&user\_name=court&’  
2019-10-22 17:37:31,124: DEBUG - + for arg in “${@:2}”  
2019-10-22 17:37:31,126: DEBUG - + POST\_data=’&weblog\_title=YunoBlog&user\_name=court&admin\_password=**&’  
2019-10-22 17:37:31,127: DEBUG - + for arg in “${@:2}”  
2019-10-22 17:37:31,128: DEBUG - + POST\_data=’&weblog\_title=YunoBlog&user\_name=court&admin\_password= **&admin\_password2=** &’  
2019-10-22 17:37:31,130: DEBUG - + for arg in “${@:2}”  
2019-10-22 17:37:31,131: DEBUG - + POST\_data=’&weblog\_title=YunoBlog&user\_name=court&admin\_password= **&admin\_password2=** &admin\_email=court@courtgui2.nohost.me&’  
2019-10-22 17:37:31,132: DEBUG - + for arg in “${@:2}”  
2019-10-22 17:37:31,133: DEBUG - + POST\_data=’&weblog\_title=YunoBlog&user\_name=court&admin\_password= **&admin\_password2=** &admin\_email=court@courtgui2.nohost.me&Submit=Install+WordPress&’  
2019-10-22 17:37:31,134: DEBUG - + ‘[’ -n '&weblog\_title=YunoBlog&user\_name=court&admin\_password= **&admin\_password2=** &admin\_email=court@courtgui2.nohost.me&Submit=Install+WordPress&’ ‘]’  
2019-10-22 17:37:31,136: DEBUG - + POST\_data=’–data &weblog\_title=YunoBlog&user\_name=court&admin\_password= **&admin\_password2=** &admin\_email=court@courtgui2.nohost.me&Submit=Install+WordPress’  
2019-10-22 17:37:31,137: DEBUG - + sleep 2  
2019-10-22 17:37:33,143: DEBUG - + curl --silent --show-error -kL -H ‘Host: [courtgui2.nohost.me](http://courtgui2.nohost.me)’ --resolve courtgui2.nohost.me:443:127.0.0.1 --data '&weblog\_title=YunoBlog&user\_name=court&admin\_password= **&admin\_password2=_** &admin\_email=court@courtgui2.nohost.me&Submit=Install+WordPress’ ‘[https://localhost/wordpress2/wp-admin/install.php?step=2](https://localhost/wordpress2/wp-admin/install.php?step=2)’  
2019-10-22 17:38:29,643: DEBUG -   
2019-10-22 17:38:29,644: DEBUG -   
2019-10-22 17:38:29,645: DEBUG -   
2019-10-22 17:38:29,647: DEBUG -   
2019-10-22 17:38:29,648: DEBUG -   
2019-10-22 17:38:29,649: INFO - Please wait during Wordpress installation…  
2019-10-22 17:38:29,652: DEBUG -   
2019-10-22 17:38:29,653: DEBUG - WordPress › Installation  
2019-10-22 17:38:29,654: DEBUG -   
2019-10-22 17:38:29,656: DEBUG -   
2019-10-22 17:38:29,657: DEBUG -   
2019-10-22 17:38:29,658: DEBUG -   
2019-10-22 17:38:29,659: DEBUG -   
2019-10-22 17:38:29,660: DEBUG -**_

_**[WordPress](https://wordpress.org/)**_

   
_**2019-10-22 17:38:29,661: DEBUG -  
2019-10-22 17:38:29,662: DEBUG -  
2019-10-22 17:38:29,663: DEBUG - 
# Success!**_
   
_**2019-10-22 17:38:29,664: DEBUG -  
2019-10-22 17:38:29,665: DEBUG -**_ 

_ **WordPress has been installed. Thank you, and enjoy!** _

   
_**2019-10-22 17:38:29,666: DEBUG -  
2019-10-22 17:38:29,667: DEBUG -   
2019-10-22 17:38:29,669: DEBUG -   
2019-10-22 17:38:29,670: DEBUG -   
2019-10-22 17:38:29,671: DEBUG -   
2019-10-22 17:38:29,672: DEBUG -   
2019-10-22 17:38:29,674: DEBUG -   
2019-10-22 17:38:29,675: DEBUG -   
2019-10-22 17:38:29,676: DEBUG -   
2019-10-22 17:38:29,680: DEBUG -   
2019-10-22 17:38:29,681: DEBUG -**_ 

_**| Username | court |
| Password |   
2019-10-22 17:38:29,677: DEBUG -**_ 

_ **Your chosen password.** _

  
_ **2019-10-22 17:38:29,678: DEBUG - |** _

   
_**2019-10-22 17:38:29,682: DEBUG -  
2019-10-22 17:38:29,683: DEBUG -**_ 

_**[Log In](https://courtgui2.nohost.me/wordpress2/wp-login.php)**_

   
_**2019-10-22 17:38:29,685: DEBUG -  
2019-10-22 17:38:29,686: DEBUG -   
2019-10-22 17:38:29,688: DEBUG -   
2019-10-22 17:38:29,689: DEBUG -   
2019-10-22 17:38:29,690: DEBUG -   
2019-10-22 17:38:29,696: DEBUG -   
2019-10-22 17:38:29,698: DEBUG -   
2019-10-22 17:38:29,704: DEBUG -   
2019-10-22 17:38:29,705: DEBUG -   
2019-10-22 17:38:29,707: DEBUG -   
2019-10-22 17:38:29,713: DEBUG -   
2019-10-22 17:38:29,715: DEBUG -   
2019-10-22 17:38:29,721: DEBUG -   
2019-10-22 17:38:29,722: DEBUG -   
2019-10-22 17:38:29,728: DEBUG -   
2019-10-22 17:38:29,730: DEBUG -   
2019-10-22 17:38:29,731: DEBUG - + ynh\_print\_info ‘–message=Please wait during Wordpress installation…’  
2019-10-22 17:38:29,733: DEBUG - + local legacy\_args=m  
2019-10-22 17:38:29,734: DEBUG - + args\_array=([m]=message=)  
2019-10-22 17:38:29,735: DEBUG - + declare -Ar args\_array  
2019-10-22 17:38:29,736: DEBUG - + local message  
2019-10-22 17:38:29,737: DEBUG - + ynh\_handle\_getopts\_args ‘–message=Please wait during Wordpress installation…’  
2019-10-22 17:38:29,738: DEBUG - + set +x  
2019-10-22 17:38:29,739: DEBUG - + echo ‘Please wait during Wordpress installation…’  
2019-10-22 17:38:29,740: DEBUG - ++ seq 1 300  
2019-10-22 17:38:29,740: DEBUG - + for i in `seq 1 300`  
2019-10-22 17:38:29,741: DEBUG - + ynh\_mysql\_connect\_as --user=wordpress --password=**_ --database=wordpress  
2019-10-22 17:38:29,742: DEBUG - + grep --quiet wp\_options  
2019-10-22 17:38:29,743: DEBUG - + local legacy\_args=upd  
2019-10-22 17:38:29,744: DEBUG - + args\_array=([u]=user= [p]=password= [d]=database=)  
2019-10-22 17:38:29,745: DEBUG - + declare -Ar args\_array  
2019-10-22 17:38:29,745: DEBUG - + local user  
2019-10-22 17:38:29,746: DEBUG - + local password  
2019-10-22 17:38:29,747: DEBUG - + local database  
2019-10-22 17:38:29,748: DEBUG - + ynh\_handle\_getopts\_args --user=wordpress --password=\*\*\*\*\*\*\*\*\*\* --database=wordpress  
2019-10-22 17:38:29,749: DEBUG - + set +x  
2019-10-22 17:38:29,750: DEBUG - + database=wordpress  
2019-10-22 17:38:29,750: DEBUG - + mysql -u wordpress --password=\*\*\*\*\*\*\*\*\*\* -B wordpress  
2019-10-22 17:38:29,751: DEBUG - + break  
2019-10-22 17:38:29,752: DEBUG - + ynh\_script\_progression ‘–message=Installing wordpress plugins…’ --weight=20  
2019-10-22 17:38:29,753: DEBUG - + set +x  
2019-10-22 17:38:29,754: DEBUG - + set +x  
2019-10-22 17:38:29,754: DEBUG - + echo ‘! Helper used in legacy mode !’  
2019-10-22 17:38:29,755: DEBUG - + set +x  
2019-10-22 17:38:29,756: DEBUG - + echo ‘[#########+++++…] \> Installing wordpress plugins…’  
2019-10-22 17:38:29,757: DEBUG - + set -x  
2019-10-22 17:38:29,757: DEBUG - + wget --no-verbose [https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar](https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) --output-document=/var/www/wordpress/wp-cli.phar  
2019-10-22 17:38:31,864: DEBUG - + wpcli\_alias=‘php /var/www/wordpress/wp-cli.phar --allow-root --path=/var/www/wordpress’  
2019-10-22 17:38:31,865: WARNING - 2019-10-22 17:38:31 URL:[https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar](https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar) [5542314/5542314] -\> “/var/www/wordpress/wp-cli.phar” [1]  
2019-10-22 17:38:31,867: INFO - [#########+++++…] \> Installing wordpress plugins…  
2019-10-22 17:38:31,869: DEBUG - + php /var/www/wordpress/wp-cli.phar --allow-root --path=/var/www/wordpress plugin install simple-ldap-login  
2019-10-22 17:38:40,291: DEBUG - Installing Simple LDAP Login (1.6.0)  
2019-10-22 17:38:41,294: DEBUG - Downloading installation package from [https://downloads.wordpress.org/plugin/simple-ldap-login.1.6.0.zip](https://downloads.wordpress.org/plugin/simple-ldap-login.1.6.0.zip)…  
2019-10-22 17:38:41,396: DEBUG - Using cached file ‘/.wp-cli/cache/plugin/simple-ldap-login-1.6.0.zip’…  
2019-10-22 17:38:42,098: DEBUG - Unpacking the package…  
2019-10-22 17:38:42,099: DEBUG - Installing the plugin…  
2019-10-22 17:38:42,100: DEBUG - Plugin installed successfully.  
2019-10-22 17:38:44,106: DEBUG - Success: Installed 1 of 1 plugins.  
2019-10-22 17:38:44,107: DEBUG - + php /var/www/wordpress/wp-cli.phar --allow-root --path=/var/www/wordpress plugin install http-authentication  
2019-10-22 17:38:45,814: DEBUG - Installing HTTP Authentication (4.5)  
2019-10-22 17:38:46,617: DEBUG - Downloading installation package from [https://downloads.wordpress.org/plugin/http-authentication.4.5.zip](https://downloads.wordpress.org/plugin/http-authentication.4.5.zip)…  
2019-10-22 17:38:46,618: DEBUG - Using cached file ‘/.wp-cli/cache/plugin/http-authentication-4.5.zip’…  
2019-10-22 17:38:47,321: DEBUG - Unpacking the package…  
2019-10-22 17:38:47,321: DEBUG - Installing the plugin…  
2019-10-22 17:38:47,322: DEBUG - Plugin installed successfully.  
2019-10-22 17:38:49,529: DEBUG - Success: Installed 1 of 1 plugins.  
2019-10-22 17:38:49,530: DEBUG - + php /var/www/wordpress/wp-cli.phar --allow-root --path=/var/www/wordpress plugin install companion-auto-update  
2019-10-22 17:38:51,435: DEBUG - Installing Companion Auto Update (3.4.2)  
2019-10-22 17:38:53,241: DEBUG - Downloading installation package from [https://downloads.wordpress.org/plugin/companion-auto-update.3.4.2.zip](https://downloads.wordpress.org/plugin/companion-auto-update.3.4.2.zip)…  
2019-10-22 17:38:53,242: DEBUG - Using cached file ‘/.wp-cli/cache/plugin/companion-auto-update-3.4.2.zip’…  
2019-10-22 17:38:53,744: DEBUG - Unpacking the package…  
2019-10-22 17:38:53,845: DEBUG - Installing the plugin…  
2019-10-22 17:38:53,846: DEBUG - Plugin installed successfully.  
2019-10-22 17:38:55,852: DEBUG - Success: Installed 1 of 1 plugins.  
2019-10-22 17:38:55,953: DEBUG - + php /var/www/wordpress/wp-cli.phar --allow-root --path=/var/www/wordpress plugin install wp-fail2ban  
2019-10-22 17:38:57,560: DEBUG - Installing WP fail2ban (4.2.7.1)  
2019-10-22 17:38:58,964: DEBUG - Downloading installation package from [https://downloads.wordpress.org/plugin/wp-fail2ban.4.2.7.1.zip](https://downloads.wordpress.org/plugin/wp-fail2ban.4.2.7.1.zip)…  
2019-10-22 17:38:58,965: DEBUG - Using cached file ‘/.wp-cli/cache/plugin/wp-fail2ban-4.2.7.1.zip’…  
2019-10-22 17:38:59,567: DEBUG - Unpacking the package…  
2019-10-22 17:38:59,769: DEBUG - Installing the plugin…  
2019-10-22 17:39:00,473: DEBUG - Plugin installed successfully.  
2019-10-22 17:39:04,083: DEBUG - Success: Installed 1 of 1 plugins.  
2019-10-22 17:39:04,085: DEBUG - + ynh\_script\_progression ‘–message=Configuring language…’ --weight=3  
2019-10-22 17:39:04,086: DEBUG - + set +x  
2019-10-22 17:39:04,188: DEBUG - + set +x  
2019-10-22 17:39:04,189: INFO - [##############+…] \> Configuring language…  
2019-10-22 17:39:04,191: DEBUG - + echo ‘! Helper used in legacy mode !’  
2019-10-22 17:39:04,192: DEBUG - + set +x  
2019-10-22 17:39:04,194: DEBUG - + echo ‘[##############+…] \> Configuring language…’  
2019-10-22 17:39:04,195: DEBUG - + set -x  
2019-10-22 17:39:04,196: DEBUG - + php /var/www/wordpress/wp-cli.phar --allow-root --path=/var/www/wordpress core language install en\_US  
2019-10-22 17:39:05,302: DEBUG - Language ‘en\_US’ already installed.  
2019-10-22 17:39:05,303: DEBUG - Success: Installed 0 of 1 languages (1 skipped).  
2019-10-22 17:39:05,405: DEBUG - + php /var/www/wordpress/wp-cli.phar --allow-root --path=/var/www/wordpress site switch-language en\_US  
2019-10-22 17:39:06,811: DEBUG - Success: Language activated.  
2019-10-22 17:39:06,913: DEBUG - + ‘[’ 0 -eq 1 ‘]’  
2019-10-22 17:39:06,914: DEBUG - + ynh\_mysql\_connect\_as --user=wordpress --password=\*\*\*\*\*\*\*\*\*\* --database=wordpress  
2019-10-22 17:39:06,915: DEBUG - + local legacy\_args=upd  
2019-10-22 17:39:06,915: DEBUG - + args\_array=([u]=user= [p]=password= [d]=database=)  
2019-10-22 17:39:06,916: DEBUG - + declare -Ar args\_array  
2019-10-22 17:39:06,917: DEBUG - + local user  
2019-10-22 17:39:06,918: DEBUG - + local password  
2019-10-22 17:39:06,919: DEBUG - + local database  
2019-10-22 17:39:06,919: DEBUG - + ynh\_handle\_getopts\_args --user=wordpress --password=\*\*\*\*\*\*\*\*\*\* --database=wordpress  
2019-10-22 17:39:06,920: DEBUG - + set +x  
2019-10-22 17:39:06,921: DEBUG - + database=wordpress  
2019-10-22 17:39:06,922: DEBUG - + mysql -u wordpress --password=\*\*\*\*\*\*\*\*\*\* -B wordpress  
2019-10-22 17:39:07,223: DEBUG - + plugin\_network=  
2019-10-22 17:39:07,225: DEBUG - + ynh\_script\_progression ‘–message=Activating plugins…’ --weight=4  
2019-10-22 17:39:07,226: DEBUG - + set +x  
2019-10-22 17:39:07,227: DEBUG - + set +x  
2019-10-22 17:39:07,329: DEBUG - + echo ‘! Helper used in legacy mode !’  
2019-10-22 17:39:07,330: INFO - [###############+…] \> Activating plugins…  
2019-10-22 17:39:07,332: DEBUG - + set +x  
2019-10-22 17:39:07,334: DEBUG - + echo ‘[###############+…] \> Activating plugins…’  
2019-10-22 17:39:07,335: DEBUG - + set -x  
2019-10-22 17:39:07,336: DEBUG - + php /var/www/wordpress/wp-cli.phar --allow-root --path=/var/www/wordpress plugin activate simple-ldap-login  
2019-10-22 17:39:10,145: DEBUG - Plugin ‘simple-ldap-login’ activated.  
2019-10-22 17:39:10,146: DEBUG - Success: Activated 1 of 1 plugins.  
2019-10-22 17:39:10,147: DEBUG - + php /var/www/wordpress/wp-cli.phar --allow-root --path=/var/www/wordpress plugin activate companion-auto-update  
2019-10-22 17:39:16,464: DEBUG - Plugin ‘companion-auto-update’ activated.  
2019-10-22 17:39:16,465: DEBUG - Success: Activated 1 of 1 plugins.  
2019-10-22 17:39:16,567: DEBUG - + php /var/www/wordpress/wp-cli.phar --allow-root --path=/var/www/wordpress plugin activate wp-fail2ban  
2019-10-22 17:39:20,879: DEBUG - Plugin ‘wp-fail2ban’ activated.  
2019-10-22 17:39:20,880: DEBUG - Success: Activated 1 of 1 plugins.  
2019-10-22 17:39:20,881: DEBUG - + ynh\_store\_file\_checksum --file=/var/www/wordpress/wp-config.php  
2019-10-22 17:39:20,882: DEBUG - + local legacy\_args=f  
2019-10-22 17:39:20,883: DEBUG - + args\_array=([f]=file=)  
2019-10-22 17:39:20,884: DEBUG - + declare -Ar args\_array  
2019-10-22 17:39:20,884: DEBUG - + local file  
2019-10-22 17:39:20,885: DEBUG - + ynh\_handle\_getopts\_args --file=/var/www/wordpress/wp-config.php  
2019-10-22 17:39:20,886: DEBUG - + set +x  
2019-10-22 17:39:20,988: DEBUG - + local checksum\_setting\_name=checksum\_\_var\_www\_wordpress\_wp-config.php  
2019-10-22 17:39:20,989: DEBUG - ++ sudo md5sum /var/www/wordpress/wp-config.php  
2019-10-22 17:39:20,990: DEBUG - ++ cut '-d ’ -f1  
2019-10-22 17:39:20,991: DEBUG - + ynh\_app\_setting\_set --app=wordpress --key=checksum\_\_var\_www\_wordpress\_wp-config.php --value=2693b825c1f744b53fbc50a66b14e7cc  
2019-10-22 17:39:20,991: DEBUG - + local legacy\_args=akv  
2019-10-22 17:39:20,992: DEBUG - + args\_array=([a]=app= [k]=key= [v]=value=)  
2019-10-22 17:39:20,993: DEBUG - + declare -Ar args\_array  
2019-10-22 17:39:20,994: DEBUG - + local app  
2019-10-22 17:39:20,995: DEBUG - + local key  
2019-10-22 17:39:20,996: DEBUG - + local value  
2019-10-22 17:39:20,996: DEBUG - + ynh\_handle\_getopts\_args --app=wordpress --key=checksum\_\_var\_www\_wordpress\_wp-config.php --value=2693b825c1f744b53fbc50a66b14e7cc  
2019-10-22 17:39:20,997: DEBUG - + set +x  
2019-10-22 17:39:20,998: DEBUG - + ynh\_app\_setting set wordpress checksum\_\_var\_www\_wordpress\_wp-config.php 2693b825c1f744b53fbc50a66b14e7cc  
2019-10-22 17:39:20,999: DEBUG - + ACTION=set  
2019-10-22 17:39:21,000: DEBUG - + APP=wordpress  
2019-10-22 17:39:21,001: DEBUG - + KEY=checksum\_\_var\_www\_wordpress\_wp-config.php  
2019-10-22 17:39:21,002: DEBUG - + VALUE=2693b825c1f744b53fbc50a66b14e7cc  
2019-10-22 17:39:21,003: DEBUG - + python -  
2019-10-22 17:39:21,405: DEBUG - + ‘[’ -n ‘’ ‘]’  
2019-10-22 17:39:21,406: DEBUG - + unset backup\_file\_checksum  
2019-10-22 17:39:21,408: DEBUG - + echo ‘# Reach everyday wp-cron.php?doing\_wp\_cron to trig the internal wordpress cron.  
2019-10-22 17:39:21,409: DEBUG - 0 3 \* \* \* root wget -q -O - [https://courtgui2.nohost.me/wordpress2/wp-cron.php?doing\_wp\_cron](https://courtgui2.nohost.me/wordpress2/wp-cron.php?doing_wp_cron) \>/dev/null 2\>&1’  
2019-10-22 17:39:21,410: DEBUG - + chown -R wordpress: /var/www/wordpress  
2019-10-22 17:39:21,512: DEBUG - + chown root: /var/www/wordpress/wp-config.php  
2019-10-22 17:39:21,513: DEBUG - + ynh\_script\_progression ‘–message=Configuring fail2ban…’ --weight=7  
2019-10-22 17:39:21,515: DEBUG - + set +x  
2019-10-22 17:39:21,516: DEBUG - + set +x  
2019-10-22 17:39:21,516: DEBUG - + echo ‘! Helper used in legacy mode !’  
2019-10-22 17:39:21,518: INFO - [################++…] \> Configuring fail2ban…  
2019-10-22 17:39:21,519: DEBUG - + set +x  
2019-10-22 17:39:21,521: DEBUG - + echo ‘[################++…] \> Configuring fail2ban…’  
2019-10-22 17:39:21,522: DEBUG - + set -x  
2019-10-22 17:39:21,523: DEBUG - + ynh\_add\_fail2ban\_config --logpath=/var/log/auth.log '–failregex=Authentication (attempt for unknown user|failure for) .\* from ’ --max\_retry=5  
2019-10-22 17:39:21,524: DEBUG - + local legacy\_args=lrmptv  
2019-10-22 17:39:21,525: DEBUG - + args\_array=([l]=logpath= [r]=failregex= [m]=max\_retry= [p]=ports= [t]=use\_template [v]=others\_var=)  
2019-10-22 17:39:21,526: DEBUG - + declare -Ar args\_array  
2019-10-22 17:39:21,527: DEBUG - + local logpath  
2019-10-22 17:39:21,529: DEBUG - + local failregex  
2019-10-22 17:39:21,530: DEBUG - + local max\_retry  
2019-10-22 17:39:21,532: DEBUG - + local ports  
2019-10-22 17:39:21,533: DEBUG - + local others\_var  
2019-10-22 17:39:21,534: DEBUG - + local use\_template  
2019-10-22 17:39:21,535: DEBUG - + ynh\_handle\_getopts\_args --logpath=/var/log/auth.log '–failregex=Authentication (attempt for unknown user|failure for) .\* from ’ --max\_retry=5  
2019-10-22 17:39:21,537: DEBUG - + set +x  
2019-10-22 17:39:21,638: DEBUG - + use\_template=0  
2019-10-22 17:39:21,639: DEBUG - + max\_retry=5  
2019-10-22 17:39:21,639: DEBUG - + ports=http,https  
2019-10-22 17:39:21,640: DEBUG - + finalfail2banjailconf=/etc/fail2ban/jail.d/wordpress.conf  
2019-10-22 17:39:21,641: DEBUG - + finalfail2banfilterconf=/etc/fail2ban/filter.d/wordpress.conf  
2019-10-22 17:39:21,642: DEBUG - + ynh\_backup\_if\_checksum\_is\_different /etc/fail2ban/jail.d/wordpress.conf  
2019-10-22 17:39:21,643: DEBUG - + local legacy\_args=f  
2019-10-22 17:39:21,644: DEBUG - + args\_array=([f]=file=)  
2019-10-22 17:39:21,644: DEBUG - + declare -Ar args\_array  
2019-10-22 17:39:21,645: DEBUG - + local file  
2019-10-22 17:39:21,646: DEBUG - + ynh\_handle\_getopts\_args /etc/fail2ban/jail.d/wordpress.conf  
2019-10-22 17:39:21,647: DEBUG - + set +x  
2019-10-22 17:39:21,648: DEBUG - + echo ‘! Helper used in legacy mode !’  
2019-10-22 17:39:21,649: DEBUG - + set +x  
2019-10-22 17:39:21,649: DEBUG - + local checksum\_setting\_name=checksum\_\_etc\_fail2ban\_jail.d\_wordpress.conf  
2019-10-22 17:39:21,650: DEBUG - ++ ynh\_app\_setting\_get --app=wordpress --key=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:39:21,651: DEBUG - ++ local legacy\_args=ak  
2019-10-22 17:39:21,652: DEBUG - ++ args\_array=([a]=app= [k]=key=)  
2019-10-22 17:39:21,653: DEBUG - ++ declare -Ar args\_array  
2019-10-22 17:39:21,654: DEBUG - ++ local app  
2019-10-22 17:39:21,655: DEBUG - ++ local key  
2019-10-22 17:39:21,655: DEBUG - ++ ynh\_handle\_getopts\_args --app=wordpress --key=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:39:21,656: DEBUG - ++ set +x  
2019-10-22 17:39:21,657: DEBUG - ++ ynh\_app\_setting get wordpress \*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:39:21,658: DEBUG - ++ ACTION=get  
2019-10-22 17:39:21,659: DEBUG - ++ APP=wordpress  
2019-10-22 17:39:21,660: DEBUG - ++ KEY=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:39:21,660: DEBUG - ++ VALUE=  
2019-10-22 17:39:21,661: DEBUG - ++ python -  
2019-10-22 17:39:22,063: DEBUG - + local checksum\_value=  
2019-10-22 17:39:22,064: DEBUG - + backup\_file\_checksum=  
2019-10-22 17:39:22,065: DEBUG - + ‘[’ -n ‘’ ‘]’  
2019-10-22 17:39:22,066: DEBUG - + ynh\_backup\_if\_checksum\_is\_different /etc/fail2ban/filter.d/wordpress.conf  
2019-10-22 17:39:22,067: DEBUG - + local legacy\_args=f  
2019-10-22 17:39:22,067: DEBUG - + args\_array=([f]=file=)  
2019-10-22 17:39:22,068: DEBUG - + declare -Ar args\_array  
2019-10-22 17:39:22,069: DEBUG - + local file  
2019-10-22 17:39:22,070: DEBUG - + ynh\_handle\_getopts\_args /etc/fail2ban/filter.d/wordpress.conf  
2019-10-22 17:39:22,071: DEBUG - + set +x  
2019-10-22 17:39:22,072: DEBUG - + echo ‘! Helper used in legacy mode !’  
2019-10-22 17:39:22,072: DEBUG - + set +x  
2019-10-22 17:39:22,073: DEBUG - + local checksum\_setting\_name=checksum\_\_etc\_fail2ban\_filter.d\_wordpress.conf  
2019-10-22 17:39:22,074: DEBUG - ++ ynh\_app\_setting\_get --app=wordpress --key=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:39:22,075: DEBUG - ++ local legacy\_args=ak  
2019-10-22 17:39:22,076: DEBUG - ++ args\_array=([a]=app= [k]=key=)  
2019-10-22 17:39:22,077: DEBUG - ++ declare -Ar args\_array  
2019-10-22 17:39:22,078: DEBUG - ++ local app  
2019-10-22 17:39:22,078: DEBUG - ++ local key  
2019-10-22 17:39:22,079: DEBUG - ++ ynh\_handle\_getopts\_args --app=wordpress --key=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:39:22,080: DEBUG - ++ set +x  
2019-10-22 17:39:22,081: DEBUG - ++ ynh\_app\_setting get wordpress \*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:39:22,082: DEBUG - ++ ACTION=get  
2019-10-22 17:39:22,082: DEBUG - ++ APP=wordpress  
2019-10-22 17:39:22,083: DEBUG - ++ KEY=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:39:22,084: DEBUG - ++ VALUE=  
2019-10-22 17:39:22,085: DEBUG - ++ python -  
2019-10-22 17:39:22,487: DEBUG - + local checksum\_value=  
2019-10-22 17:39:22,488: DEBUG - + backup\_file\_checksum=  
2019-10-22 17:39:22,490: DEBUG - + ‘[’ -n ‘’ ‘]’  
2019-10-22 17:39:22,491: DEBUG - + ‘[’ 0 -eq 1 ‘]’  
2019-10-22 17:39:22,492: DEBUG - + test -n /var/log/auth.log  
2019-10-22 17:39:22,493: DEBUG - + test -n 'Authentication (attempt for unknown user|failure for) .\* from ’  
2019-10-22 17:39:22,495: DEBUG - + tee /etc/fail2ban/jail.d/wordpress.conf  
2019-10-22 17:39:22,596: DEBUG - [wordpress]  
2019-10-22 17:39:22,597: DEBUG - enabled = true  
2019-10-22 17:39:22,598: DEBUG - port = http,https  
2019-10-22 17:39:22,599: DEBUG - filter = wordpress  
2019-10-22 17:39:22,600: DEBUG - logpath = /var/log/auth.log  
2019-10-22 17:39:22,601: DEBUG - maxretry = 5  
2019-10-22 17:39:22,602: DEBUG - + tee /etc/fail2ban/filter.d/wordpress.conf  
2019-10-22 17:39:22,604: DEBUG - [INCLUDES]  
2019-10-22 17:39:22,605: DEBUG - before = common.conf  
2019-10-22 17:39:22,606: DEBUG - [Definition]  
2019-10-22 17:39:22,608: DEBUG - failregex = Authentication (attempt for unknown user|failure for) .\* from   
2019-10-22 17:39:22,609: DEBUG - ignoreregex =  
2019-10-22 17:39:22,610: DEBUG - + ynh\_store\_file\_checksum /etc/fail2ban/jail.d/wordpress.conf  
2019-10-22 17:39:22,611: DEBUG - + local legacy\_args=f  
2019-10-22 17:39:22,611: DEBUG - + args\_array=([f]=file=)  
2019-10-22 17:39:22,612: DEBUG - + declare -Ar args\_array  
2019-10-22 17:39:22,613: DEBUG - + local file  
2019-10-22 17:39:22,614: DEBUG - + ynh\_handle\_getopts\_args /etc/fail2ban/jail.d/wordpress.conf  
2019-10-22 17:39:22,615: DEBUG - + set +x  
2019-10-22 17:39:22,616: DEBUG - + echo ‘! Helper used in legacy mode !’  
2019-10-22 17:39:22,617: DEBUG - + set +x  
2019-10-22 17:39:22,617: DEBUG - + local checksum\_setting\_name=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:39:22,618: DEBUG - ++ sudo md5sum /etc/fail2ban/jail.d/wordpress.conf  
2019-10-22 17:39:22,619: DEBUG - ++ cut '-d ’ -f1  
2019-10-22 17:39:22,720: DEBUG - + ynh\_app\_setting\_set --app=wordpress --key=\*\*\*\*\*\*\*\*\*\* --value=fd860149809c226fe042388ed59c4e96  
2019-10-22 17:39:22,721: DEBUG - + local legacy\_args=akv  
2019-10-22 17:39:22,722: DEBUG - + args\_array=([a]=app= [k]=key= [v]=value=)  
2019-10-22 17:39:22,723: DEBUG - + declare -Ar args\_array  
2019-10-22 17:39:22,724: DEBUG - + local app  
2019-10-22 17:39:22,724: DEBUG - + local key  
2019-10-22 17:39:22,725: DEBUG - + local value  
2019-10-22 17:39:22,726: DEBUG - + ynh\_handle\_getopts\_args --app=wordpress --key=\*\*\*\*\*\*\*\*\*\* --value=fd860149809c226fe042388ed59c4e96  
2019-10-22 17:39:22,727: DEBUG - + set +x  
2019-10-22 17:39:22,728: DEBUG - + ynh\_app\_setting set wordpress \*\*\*\*\*\*\*\*\*\* fd860149809c226fe042388ed59c4e96  
2019-10-22 17:39:22,729: DEBUG - + ACTION=set  
2019-10-22 17:39:22,730: DEBUG - + APP=wordpress  
2019-10-22 17:39:22,730: DEBUG - + KEY=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:39:22,731: DEBUG - + VALUE=fd860149809c226fe042388ed59c4e96  
2019-10-22 17:39:22,732: DEBUG - + python -  
2019-10-22 17:39:23,134: DEBUG - + ‘[’ -n ‘’ ‘]’  
2019-10-22 17:39:23,135: DEBUG - + unset backup\_file\_checksum  
2019-10-22 17:39:23,136: DEBUG - + ynh\_store\_file\_checksum /etc/fail2ban/filter.d/wordpress.conf  
2019-10-22 17:39:23,137: DEBUG - + local legacy\_args=f  
2019-10-22 17:39:23,138: DEBUG - + args\_array=([f]=file=)  
2019-10-22 17:39:23,138: DEBUG - + declare -Ar args\_array  
2019-10-22 17:39:23,139: DEBUG - + local file  
2019-10-22 17:39:23,140: DEBUG - + ynh\_handle\_getopts\_args /etc/fail2ban/filter.d/wordpress.conf  
2019-10-22 17:39:23,141: DEBUG - + set +x  
2019-10-22 17:39:23,142: DEBUG - + echo ‘! Helper used in legacy mode !’  
2019-10-22 17:39:23,142: DEBUG - + set +x  
2019-10-22 17:39:23,143: DEBUG - + local checksum\_setting\_name=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:39:23,144: DEBUG - ++ sudo md5sum /etc/fail2ban/filter.d/wordpress.conf  
2019-10-22 17:39:23,145: DEBUG - ++ cut ‘-d ’ -f1  
2019-10-22 17:39:23,246: DEBUG - + ynh\_app\_setting\_set --app=wordpress --key=\*\*\*\*\*\*\*\*\*\* --value=ba4022def5688325f93e3a09d2dbe89d  
2019-10-22 17:39:23,247: DEBUG - + local legacy\_args=akv  
2019-10-22 17:39:23,249: DEBUG - + args\_array=([a]=app= [k]=key= [v]=value=)  
2019-10-22 17:39:23,250: DEBUG - + declare -Ar args\_array  
2019-10-22 17:39:23,251: DEBUG - + local app  
2019-10-22 17:39:23,253: DEBUG - + local key  
2019-10-22 17:39:23,254: DEBUG - + local value  
2019-10-22 17:39:23,255: DEBUG - + ynh\_handle\_getopts\_args --app=wordpress --key=\*\*\*\*\*\*\*\*\*\* --value=ba4022def5688325f93e3a09d2dbe89d  
2019-10-22 17:39:23,256: DEBUG - + set +x  
2019-10-22 17:39:23,258: DEBUG - + ynh\_app\_setting set wordpress \*\*\*\*\*\*\*\*\*\* ba4022def5688325f93e3a09d2dbe89d  
2019-10-22 17:39:23,259: DEBUG - + ACTION=set  
2019-10-22 17:39:23,261: DEBUG - + APP=wordpress  
2019-10-22 17:39:23,262: DEBUG - + KEY=\*\*\*\*\*\*\*\*\*\*  
2019-10-22 17:39:23,263: DEBUG - + VALUE=ba4022def5688325f93e3a09d2dbe89d  
2019-10-22 17:39:23,265: DEBUG - + python -  
2019-10-22 17:39:23,668: DEBUG - + ‘[’ -n ‘’ ‘]’  
2019-10-22 17:39:23,669: DEBUG - + unset backup\_file\_checksum  
2019-10-22 17:39:23,670: DEBUG - + ynh\_systemd\_action --service\_name=fail2ban --action=reload  
2019-10-22 17:39:23,671: DEBUG - + local legacy\_args=nalpte  
2019-10-22 17:39:23,673: DEBUG - + args\_array=([n]=service\_name= [a]=action= [l]=line\_match= [p]=log\_path= [t]=timeout= [e]=length=)  
2019-10-22 17:39:23,674: DEBUG - + declare -Ar args\_array  
2019-10-22 17:39:23,675: DEBUG - + local service\_name  
2019-10-22 17:39:23,676: DEBUG - + local action  
2019-10-22 17:39:23,677: DEBUG - + local line\_match  
2019-10-22 17:39:23,679: DEBUG - + local length  
2019-10-22 17:39:23,680: DEBUG - + local log\_path  
2019-10-22 17:39:23,682: DEBUG - + local timeout  
2019-10-22 17:39:23,683: DEBUG - + ynh\_handle\_getopts\_args --service\_name=fail2ban --action=reload  
2019-10-22 17:39:23,685: DEBUG - + set +x  
2019-10-22 17:39:23,686: DEBUG - + local service\_name=fail2ban  
2019-10-22 17:39:23,687: DEBUG - + local action=reload  
2019-10-22 17:39:23,687: DEBUG - + local log\_path=/var/log/fail2ban/fail2ban.log  
2019-10-22 17:39:23,688: DEBUG - + local length=20  
2019-10-22 17:39:23,689: DEBUG - + local timeout=300  
2019-10-22 17:39:23,690: DEBUG - + [[-n ‘’]]  
2019-10-22 17:39:23,691: DEBUG - + ‘[’ reload == reload ‘]’  
2019-10-22 17:39:23,692: DEBUG - + action=reload-or-restart  
2019-10-22 17:39:23,692: DEBUG - + systemctl reload-or-restart fail2ban  
2019-10-22 17:39:32,217: DEBUG - + journalctl --no-pager --lines=20 -u fail2ban  
2019-10-22 17:39:32,218: WARNING - Job for fail2ban.service failed because the control process exited with error code.  
2019-10-22 17:39:32,220: WARNING - See “systemctl status fail2ban.service” and “journalctl -xe” for details.  
2019-10-22 17:39:32,322: DEBUG - + test -e /var/log/fail2ban/fail2ban.log  
2019-10-22 17:39:32,323: WARNING - – Logs begin at Tue 2019-10-22 17:27:39 BST, end at Tue 2019-10-22 17:39:32 BST. –  
2019-10-22 17:39:32,324: DEBUG - + false  
2019-10-22 17:39:32,325: WARNING - Oct 22 17:27:51 [courtgui2.nohost.me](http://courtgui2.nohost.me) systemd[1]: Starting Fail2Ban Service…  
2019-10-22 17:39:32,327: DEBUG - + ynh\_exit\_properly  
2019-10-22 17:39:32,327: WARNING - Oct 22 17:28:51 [courtgui2.nohost.me](http://courtgui2.nohost.me) fail2ban-client[556]: 2019-10-22 17:28:51,103 fail2ban.server [1821]: INFO Starting Fail2ban v0.9.6  
2019-10-22 17:39:32,329: DEBUG - + local exit\_code=1  
2019-10-22 17:39:32,330: WARNING - Oct 22 17:28:51 [courtgui2.nohost.me](http://courtgui2.nohost.me) fail2ban-client[556]: 2019-10-22 17:28:51,104 fail2ban.server [1821]: INFO Starting in daemon mode  
2019-10-22 17:39:32,332: DEBUG - + ‘[’ 1 -eq 0 ‘]’  
2019-10-22 17:39:32,332: WARNING - Oct 22 17:28:57 [courtgui2.nohost.me](http://courtgui2.nohost.me) systemd[1]: fail2ban.service: Unit cannot be reloaded because it is inactive.  
2019-10-22 17:39:32,334: DEBUG - + trap ‘’ EXIT  
2019-10-22 17:39:32,335: WARNING - Oct 22 17:28:58 [courtgui2.nohost.me](http://courtgui2.nohost.me) fail2ban-client[556]: ERROR NOK: (21, ‘Is a directory’)  
2019-10-22 17:39:32,336: DEBUG - + set +eu  
2019-10-22 17:39:32,337: WARNING - Oct 22 17:39:23 [courtgui2.nohost.me](http://courtgui2.nohost.me) systemd[1]: Reloading Fail2Ban Service.  
2019-10-22 17:39:32,339: DEBUG - + sleep 0.5  
2019-10-22 17:39:32,340: WARNING - Oct 22 17:39:31 [courtgui2.nohost.me](http://courtgui2.nohost.me) fail2ban-client[6565]: ERROR NOK: (21, ‘Is a directory’)  
2019-10-22 17:39:32,342: WARNING - Oct 22 17:39:32 [courtgui2.nohost.me](http://courtgui2.nohost.me) systemd[1]: fail2ban.service: Control process exited, code=exited status=255  
2019-10-22 17:39:32,344: WARNING - Oct 22 17:39:32 [courtgui2.nohost.me](http://courtgui2.nohost.me) systemd[1]: Reload failed for Fail2Ban Service.  
2019-10-22 17:39:32,749: DEBUG - + ynh\_print\_err ‘–message=!!\n wordpress’’‘s script has encountered an error. Its execution was cancelled.\n!!’  
2019-10-22 17:39:32,750: WARNING - /usr/share/yunohost/helpers.d/logging: line 90: args\_array: readonly variable  
2019-10-22 17:39:32,751: DEBUG - + local legacy\_args=m  
2019-10-22 17:39:32,752: DEBUG - + args\_array=([m]=message=)  
Powered by YunoHost 3.6.4.3 (now).

---

<div class="post-metadata">

### Author: ![anonyme18](https://forum.yunohost.org/user_avatar/forum.yunohost.org/anonyme18/32/2460_2.png) [@anonyme18](https://forum.yunohost.org/u/anonyme18)
#### Post date: [October 22, 2019, 6:38pm UTC](https://forum.yunohost.org/t/wordpress-install-fails/9305/2 "2019-10-22T18:38:48Z")

</div>

Bonjour,  
Je me demande si ce n’est pas le même “souci” que dans ce [sujet](https://forum.yunohost.org/t/mise-a-jour-et-install-impossibles-fail2ban/8906) ?

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [November 6, 2019, 6:38pm UTC](https://forum.yunohost.org/t/wordpress-install-fails/9305/3 "2019-11-06T18:38:51Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
