Installation funkwhale impossible

Bonsoir @ tous,

Problème d’installation avec funkwhale.

Mon serveur YunoHost

Brique internet lime 1

**Version de YunoHost:

yunohost
3.6.5.3 (stable)
yunohost-admin
3.6.5 (stable)
moulinette
3.6.4.1 (stable)
ssowat
3.6.4 (stable)

J’ai accès à mon serveur : En SSH / Par la webadmin

Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non

Description du problème

Essai d’installation de funkwhale et retour rencontré lors de l’installation qui n’arrive pas à sa fin et se solde par un échec.

Voici des messages d’erreurs:

Install ‘funkwhale’ application

Path
/var/log/yunohost/categories/operation/20191117-175906-app_install-funkwhale.log
Start
November 17, 2019, 5:59 PM
End
November 17, 2019, 6:06 PM
Error
This log finished with the error: An unexpected error occured: shell command return code: 1

Context

YNH_APP_INSTANCE_NUMBER
1
YNH_CWD
/var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts
YNH_APP_INSTANCE_NAME
funkwhale
YNH_STDINFO
/tmp/tmpHg5j0Q/stdinfo
YNH_APP_ARG_IS_PUBLIC
1
YNH_APP_ARG_ADMIN
didier
YNH_INTERFACE
api
YNH_APP_ID
funkwhale
YNH_STDRETURN
/tmp/tmpHLQWH_/stdreturn
YNH_APP_ARG_DOMAIN
music.didiercl.me

Logs

2019-11-17 19:06:26,566: DEBUG - + set +eu
2019-11-17 19:06:26,570: DEBUG - + sleep 0.5
2019-11-17 19:06:26,572: DEBUG - + ynh_print_err ‘–message=!!\n funkwhale’’‘s script has encountered an error. Its execution was cancelled.\n!!’
2019-11-17 19:06:26,576: DEBUG - + local legacy_args=m
2019-11-17 19:06:26,581: WARNING -
2019-11-17 19:06:26,585: DEBUG - + args_array=([m]=message=)
2019-11-17 19:06:26,595: DEBUG - + declare -Ar args_array
2019-11-17 19:06:26,597: DEBUG - + local message
2019-11-17 19:06:26,598: DEBUG - + ynh_handle_getopts_args ‘–message=!!\n funkwhale’’‘s script has encountered an error. Its execution was cancelled.\n!!’
2019-11-17 19:06:26,601: DEBUG - + set +x
2019-11-17 19:06:26,603: DEBUG - + ynh_print_log ‘\e[91m\e[1m[ERR]\e[0m !!\n funkwhale’’‘s script has encountered an error. Its execution was cancelled.\n!!’
2019-11-17 19:06:26,608: DEBUG - + echo -e ‘\e[91m\e[1m[ERR]\e[0m !!\n funkwhale’’‘s script has encountered an error. Its execution was cancelled.\n!!’
2019-11-17 19:06:26,610: DEBUG - + ‘[’ api == cli ‘]’
2019-11-17 19:06:26,612: DEBUG - + type -t ynh_clean_setup
2019-11-17 19:06:26,613: DEBUG - + ynh_clean_setup
2019-11-17 19:06:26,617: DEBUG - + ynh_clean_check_starting
2019-11-17 19:06:26,619: DEBUG - + kill -s 15
2019-11-17 19:06:26,622: DEBUG - kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec]
2019-11-17 19:06:26,624: DEBUG - + ynh_secure_remove ‘’
2019-11-17 19:06:26,626: DEBUG - + local legacy_args=f
2019-11-17 19:06:26,628: DEBUG - + args_array=([f]=file=)
2019-11-17 19:06:26,630: DEBUG - + declare -Ar args_array
2019-11-17 19:06:26,632: DEBUG - + local file
2019-11-17 19:06:26,634: DEBUG - + ynh_handle_getopts_args ‘’
2019-11-17 19:06:26,636: DEBUG - + set +x
2019-11-17 19:06:26,638: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-11-17 19:06:26,640: DEBUG - + set +x
2019-11-17 19:06:26,642: DEBUG - + local ‘forbidden_path= /var/www /home/yunohost.app’
2019-11-17 19:06:26,643: DEBUG - + ‘[’ 1 -ge 2 ‘]’
2019-11-17 19:06:26,646: DEBUG - + [[ /var/www /home/yunohost.app =~ ‘’ ]]
2019-11-17 19:06:26,647: DEBUG - + ynh_print_warn ‘–message=Avoid deleting .’
2019-11-17 19:06:26,650: DEBUG - + local legacy_args=m
2019-11-17 19:06:26,652: DEBUG - + args_array=([m]=message=)
2019-11-17 19:06:26,654: DEBUG - + declare -Ar args_array
2019-11-17 19:06:26,656: DEBUG - + local message
2019-11-17 19:06:26,657: DEBUG - + ynh_handle_getopts_args ‘–message=Avoid deleting .’
2019-11-17 19:06:26,670: DEBUG - + set +x
2019-11-17 19:06:26,673: DEBUG - + ynh_print_log ‘\e[93m\e[1m[WARN]\e[0m Avoid deleting .’
2019-11-17 19:06:26,675: DEBUG - + echo -e ‘\e[93m\e[1m[WARN]\e[0m Avoid deleting .’
2019-11-17 19:06:26,677: DEBUG - e[93me[1m[WARN]e[0m Avoid deleting .
2019-11-17 19:06:26,678: DEBUG - + ynh_die
2019-11-17 19:06:26,680: DEBUG - + local legacy_args=mc
2019-11-17 19:06:26,682: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2019-11-17 19:06:26,684: DEBUG - + declare -Ar args_array
2019-11-17 19:06:26,685: DEBUG - + local message
2019-11-17 19:06:26,687: DEBUG - + local ret_code
2019-11-17 19:06:26,689: DEBUG - + ynh_handle_getopts_args
2019-11-17 19:06:26,691: DEBUG - + set +x
2019-11-17 19:06:26,692: DEBUG - + echo ‘’
2019-11-17 19:06:26,694: DEBUG - + exit 1

Voilà ou j’en suis et je ne vois pas très bien comment continuer quelqu’un à une suggestion?

Dans l’attente d’une réponse éventuelle bonne soirée @ tous.

didier58

Salut,

est-ce que tu as le log complet car là ça parle juste du moment après que l’erreur ait été déclenchée ? :s

Salut Aleks,

voici le log complet:

2019-11-17 19:03:05,771: DEBUG - + local legacy_args=upd
2019-11-17 19:03:05,773: DEBUG - + args_array=([u]=user= [p]=password= [d]=database=)
2019-11-17 19:03:05,781: DEBUG - + declare -Ar args_array
2019-11-17 19:03:05,786: DEBUG - + local user
2019-11-17 19:03:05,788: DEBUG - + local password
2019-11-17 19:03:05,791: DEBUG - + local database
2019-11-17 19:03:05,794: DEBUG - + ynh_handle_getopts_args --user=postgres --password=********** --database=
2019-11-17 19:03:05,797: DEBUG - + set +x
2019-11-17 19:03:05,900: DEBUG - + database=
2019-11-17 19:03:05,902: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql ''
2019-11-17 19:03:15,150: DEBUG - CREATE DATABASE
2019-11-17 19:03:15,157: DEBUG - GRANT
2019-11-17 19:03:15,160: DEBUG - + ynh_app_setting_set --app=funkwhale --key=psqlpwd --value=**********
2019-11-17 19:03:15,162: DEBUG - + local legacy_args=akv
2019-11-17 19:03:15,164: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-11-17 19:03:15,167: DEBUG - + declare -Ar args_array
2019-11-17 19:03:15,173: DEBUG - + local app
2019-11-17 19:03:15,176: DEBUG - + local key
2019-11-17 19:03:15,179: DEBUG - + local value
2019-11-17 19:03:15,181: DEBUG - + ynh_handle_getopts_args --app=funkwhale --key=psqlpwd --value=**********
2019-11-17 19:03:15,184: DEBUG - + set +x
2019-11-17 19:03:15,287: DEBUG - + ynh_app_setting set funkwhale psqlpwd **********
2019-11-17 19:03:15,289: DEBUG - + ACTION=set
2019-11-17 19:03:15,292: DEBUG - + APP=funkwhale
2019-11-17 19:03:15,294: DEBUG - + KEY=psqlpwd
2019-11-17 19:03:15,297: DEBUG - + VALUE=**********
2019-11-17 19:03:15,299: DEBUG - + python -
2019-11-17 19:03:16,105: DEBUG - + ynh_print_info '--message=Setting up source files...'
2019-11-17 19:03:16,108: DEBUG - + local legacy_args=m
2019-11-17 19:03:16,111: DEBUG - + args_array=([m]=message=)
2019-11-17 19:03:16,113: DEBUG - + declare -Ar args_array
2019-11-17 19:03:16,116: DEBUG - + local message
2019-11-17 19:03:16,118: DEBUG - + ynh_handle_getopts_args '--message=Setting up source files...'
2019-11-17 19:03:16,121: DEBUG - + set +x
2019-11-17 19:03:16,224: DEBUG - + echo 'Setting up source files...'
2019-11-17 19:03:16,226: INFO - Setting up source files...
2019-11-17 19:03:16,232: DEBUG - + ynh_app_setting_set --app=funkwhale --key=final_path --value=/var/www/funkwhale
2019-11-17 19:03:16,235: DEBUG - + local legacy_args=akv
2019-11-17 19:03:16,237: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-11-17 19:03:16,239: DEBUG - + declare -Ar args_array
2019-11-17 19:03:16,242: DEBUG - + local app
2019-11-17 19:03:16,244: DEBUG - + local key
2019-11-17 19:03:16,246: DEBUG - + local value
2019-11-17 19:03:16,248: DEBUG - + ynh_handle_getopts_args --app=funkwhale --key=final_path --value=/var/www/funkwhale
2019-11-17 19:03:16,251: DEBUG - + set +x
2019-11-17 19:03:16,253: DEBUG - + ynh_app_setting set funkwhale final_path /var/www/funkwhale
2019-11-17 19:03:16,255: DEBUG - + ACTION=set
2019-11-17 19:03:16,257: DEBUG - + APP=funkwhale
2019-11-17 19:03:16,259: DEBUG - + KEY=final_path
2019-11-17 19:03:16,261: DEBUG - + VALUE=/var/www/funkwhale
2019-11-17 19:03:16,263: DEBUG - + python -
2019-11-17 19:03:17,071: DEBUG - + ynh_setup_source --dest_dir=/var/www/funkwhale/code
2019-11-17 19:03:17,073: DEBUG - + local legacy_args=ds
2019-11-17 19:03:17,076: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
2019-11-17 19:03:17,078: DEBUG - + declare -Ar args_array
2019-11-17 19:03:17,081: DEBUG - + local dest_dir
2019-11-17 19:03:17,083: DEBUG - + local source_id
2019-11-17 19:03:17,085: DEBUG - + ynh_handle_getopts_args --dest_dir=/var/www/funkwhale/code
2019-11-17 19:03:17,087: DEBUG - + set +x
2019-11-17 19:03:17,090: DEBUG - + source_id=app
2019-11-17 19:03:17,093: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../conf/app.src
2019-11-17 19:03:17,096: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../conf/app.src ']'
2019-11-17 19:03:17,098: DEBUG - ++ cut -d= -f2-
2019-11-17 19:03:17,202: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../conf/app.src
2019-11-17 19:03:17,204: DEBUG - + local src_url=https://dev.funkwhale.audio/funkwhale/funkwhale/-/archive/0.20.1/funkwhale-0.20.1.tar.gz
2019-11-17 19:03:17,207: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../conf/app.src
2019-11-17 19:03:17,211: DEBUG - ++ cut -d= -f2-
2019-11-17 19:03:17,213: DEBUG - + local src_sum=4fe4c9069957060b3ab31cbc39f01d621aed01c39fc0177628fd96777fdffc7e
2019-11-17 19:03:17,217: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../conf/app.src
2019-11-17 19:03:17,220: DEBUG - ++ cut -d= -f2-
2019-11-17 19:03:17,222: DEBUG - + local src_sumprg=sha256sum
2019-11-17 19:03:17,226: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../conf/app.src
2019-11-17 19:03:17,229: DEBUG - ++ cut -d= -f2-
2019-11-17 19:03:17,233: DEBUG - + local src_format=tar.bz2
2019-11-17 19:03:17,236: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../conf/app.src
2019-11-17 19:03:17,238: DEBUG - ++ cut -d= -f2-
2019-11-17 19:03:17,242: DEBUG - + local src_extract=
2019-11-17 19:03:17,245: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../conf/app.src
2019-11-17 19:03:17,248: DEBUG - ++ cut -d= -f2-
2019-11-17 19:03:17,251: DEBUG - + local src_in_subdir=true
2019-11-17 19:03:17,253: DEBUG - ++ cut -d= -f2-
2019-11-17 19:03:17,256: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../conf/app.src
2019-11-17 19:03:17,259: DEBUG - + local src_filename=
2019-11-17 19:03:17,263: DEBUG - + src_sumprg=sha256sum
2019-11-17 19:03:17,265: DEBUG - + src_in_subdir=true
2019-11-17 19:03:17,269: DEBUG - + src_format=tar.bz2
2019-11-17 19:03:17,272: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2019-11-17 19:03:17,274: DEBUG - ++ echo tar.bz2
2019-11-17 19:03:17,276: DEBUG - + src_format=tar.bz2
2019-11-17 19:03:17,278: DEBUG - + src_extract=true
2019-11-17 19:03:17,280: DEBUG - + '[' '' = '' ']'
2019-11-17 19:03:17,282: DEBUG - + src_filename=app.tar.bz2
2019-11-17 19:03:17,284: DEBUG - + local local_src=/opt/yunohost-apps-src/funkwhale/app.tar.bz2
2019-11-17 19:03:17,286: DEBUG - + test -e /opt/yunohost-apps-src/funkwhale/app.tar.bz2
2019-11-17 19:03:17,287: DEBUG - ++ wget -nv -O app.tar.bz2 https://dev.funkwhale.audio/funkwhale/funkwhale/-/archive/0.20.1/funkwhale-0.20.1.tar.gz
2019-11-17 19:03:22,514: DEBUG - + local 'out=2019-11-17 19:03:22 URL:https://dev.funkwhale.audio/funkwhale/funkwhale/-/archive/0.20.1/funkwhale-0.20.1.tar.gz [4673716/4673716] -> "app.tar.bz2" [1]'
2019-11-17 19:03:22,516: DEBUG - + echo '4fe4c9069957060b3ab31cbc39f01d621aed01c39fc0177628fd96777fdffc7e app.tar.bz2'
2019-11-17 19:03:22,518: DEBUG - + sha256sum -c --status
2019-11-17 19:03:22,721: DEBUG - + mkdir -p /var/www/funkwhale/code
2019-11-17 19:03:22,723: DEBUG - + true
2019-11-17 19:03:22,726: DEBUG - + '[' tar.bz2 = zip ']'
2019-11-17 19:03:22,727: DEBUG - + local strip=
2019-11-17 19:03:22,729: DEBUG - + '[' true '!=' false ']'
2019-11-17 19:03:22,735: DEBUG - + '[' true == true ']'
2019-11-17 19:03:22,737: DEBUG - + local sub_dirs=1
2019-11-17 19:03:22,740: DEBUG - + strip='--strip-components 1'
2019-11-17 19:03:22,741: DEBUG - + [[ tar.bz2 =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2019-11-17 19:03:22,746: DEBUG - + tar -xf app.tar.bz2 -C /var/www/funkwhale/code --strip-components 1
2019-11-17 19:03:23,753: DEBUG - ++ find /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../sources/patches/ -type f -name 'app-*.patch'
2019-11-17 19:03:23,755: DEBUG - ++ wc -l
2019-11-17 19:03:24,259: DEBUG - + ((  0 > 0  ))
2019-11-17 19:03:24,261: DEBUG - + test -e /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../sources/extra_files/app
2019-11-17 19:03:24,363: DEBUG - + cp -a /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../sources/extra_files/app/. /var/www/funkwhale/code
2019-11-17 19:03:24,465: DEBUG - + ynh_setup_source --dest_dir=/var/www/funkwhale/code --source_id=app-frontend
2019-11-17 19:03:24,467: DEBUG - + local legacy_args=ds
2019-11-17 19:03:24,469: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
2019-11-17 19:03:24,471: DEBUG - + declare -Ar args_array
2019-11-17 19:03:24,473: DEBUG - + local dest_dir
2019-11-17 19:03:24,475: DEBUG - + local source_id
2019-11-17 19:03:24,476: DEBUG - + ynh_handle_getopts_args --dest_dir=/var/www/funkwhale/code --source_id=app-frontend
2019-11-17 19:03:24,478: DEBUG - + set +x
2019-11-17 19:03:24,481: DEBUG - + source_id=app-frontend
2019-11-17 19:03:24,486: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../conf/app-frontend.src
2019-11-17 19:03:24,490: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../conf/app-frontend.src ']'
2019-11-17 19:03:24,493: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../conf/app-frontend.src
2019-11-17 19:03:24,496: DEBUG - ++ cut -d= -f2-
2019-11-17 19:03:24,498: DEBUG - + local 'src_url=https://dev.funkwhale.audio/funkwhale/funkwhale/-/jobs/artifacts/0.20.1/download?job=build_front'
2019-11-17 19:03:24,500: DEBUG - ++ cut -d= -f2-
2019-11-17 19:03:24,602: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../conf/app-frontend.src
2019-11-17 19:03:24,605: DEBUG - + local src_sum=22d774590b943fa6d64f634a7175b1d100089fe33734ce9889d050063ff50ce7
2019-11-17 19:03:24,608: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../conf/app-frontend.src
2019-11-17 19:03:24,612: DEBUG - ++ cut -d= -f2-
2019-11-17 19:03:24,616: DEBUG - + local src_sumprg=sha256sum
2019-11-17 19:03:24,618: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../conf/app-frontend.src
2019-11-17 19:03:24,621: DEBUG - ++ cut -d= -f2-
2019-11-17 19:03:24,623: DEBUG - + local src_format=zip
2019-11-17 19:03:24,625: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../conf/app-frontend.src
2019-11-17 19:03:24,627: DEBUG - ++ cut -d= -f2-
2019-11-17 19:03:24,628: DEBUG - + local src_extract=
2019-11-17 19:03:24,630: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../conf/app-frontend.src
2019-11-17 19:03:24,632: DEBUG - ++ cut -d= -f2-
2019-11-17 19:03:24,633: DEBUG - + local src_in_subdir=false
2019-11-17 19:03:24,636: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../conf/app-frontend.src
2019-11-17 19:03:24,638: DEBUG - ++ cut -d= -f2-
2019-11-17 19:03:24,642: DEBUG - + local src_filename=
2019-11-17 19:03:24,646: DEBUG - + src_sumprg=sha256sum
2019-11-17 19:03:24,649: DEBUG - + src_in_subdir=false
2019-11-17 19:03:24,652: DEBUG - + src_format=zip
2019-11-17 19:03:24,653: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2019-11-17 19:03:24,656: DEBUG - ++ echo zip
2019-11-17 19:03:24,658: DEBUG - + src_format=zip
2019-11-17 19:03:24,661: DEBUG - + src_extract=true
2019-11-17 19:03:24,663: DEBUG - + '[' '' = '' ']'
2019-11-17 19:03:24,666: DEBUG - + src_filename=app-frontend.zip
2019-11-17 19:03:24,667: DEBUG - + local local_src=/opt/yunohost-apps-src/funkwhale/app-frontend.zip
2019-11-17 19:03:24,669: DEBUG - + test -e /opt/yunohost-apps-src/funkwhale/app-frontend.zip
2019-11-17 19:03:24,670: DEBUG - ++ wget -nv -O app-frontend.zip 'https://dev.funkwhale.audio/funkwhale/funkwhale/-/jobs/artifacts/0.20.1/download?job=build_front'
2019-11-17 19:03:28,291: DEBUG - + local 'out=2019-11-17 19:03:28 URL:https://dev.funkwhale.audio/funkwhale/funkwhale/-/jobs/33709/artifacts/download [2570363/2570363] -> "app-frontend.zip" [1]'
2019-11-17 19:03:28,294: DEBUG - + sha256sum -c --status
2019-11-17 19:03:28,296: DEBUG - + echo '22d774590b943fa6d64f634a7175b1d100089fe33734ce9889d050063ff50ce7 app-frontend.zip'
2019-11-17 19:03:28,399: DEBUG - + mkdir -p /var/www/funkwhale/code
2019-11-17 19:03:28,402: DEBUG - + true
2019-11-17 19:03:28,405: DEBUG - + '[' zip = zip ']'
2019-11-17 19:03:28,407: DEBUG - + false
2019-11-17 19:03:28,409: DEBUG - + unzip -quo app-frontend.zip -d /var/www/funkwhale/code
2019-11-17 19:03:28,913: DEBUG - ++ wc -l
2019-11-17 19:03:28,916: DEBUG - ++ find /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../sources/patches/ -type f -name 'app-frontend-*.patch'
2019-11-17 19:03:29,021: DEBUG - + ((  0 > 0  ))
2019-11-17 19:03:29,023: DEBUG - + test -e /var/cache/yunohost/from_file/funkwhale_ynh-9d3f1f7c739cf4499fcd77c0c16aea4bab61d0d8/scripts/../sources/extra_files/app-frontend
2019-11-17 19:03:29,025: DEBUG - + cd /var/www/funkwhale
2019-11-17 19:03:29,027: DEBUG - + mkdir -p code/config code/api code/data/static media import code/front
2019-11-17 19:03:33,045: DEBUG - + ynh_print_info '--message=Configuring nginx web server...'
2019-11-17 19:03:33,048: DEBUG - + local legacy_args=m
2019-11-17 19:03:33,050: DEBUG - + args_array=([m]=message=)
2019-11-17 19:03:33,056: DEBUG - + declare -Ar args_array
2019-11-17 19:03:33,058: DEBUG - + local message
2019-11-17 19:03:33,063: DEBUG - + ynh_handle_getopts_args '--message=Configuring nginx web server...'
2019-11-17 19:03:33,070: DEBUG - + set +x
2019-11-17 19:03:33,174: DEBUG - + echo 'Configuring nginx web server...'
2019-11-17 19:03:33,181: INFO - Configuring nginx web server...
2019-11-17 19:03:33,187: DEBUG - + ynh_add_nginx_config
2019-11-17 19:03:33,196: DEBUG - + finalnginxconf=/etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:33,199: DEBUG - + local others_var=
2019-11-17 19:03:33,201: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:33,203: DEBUG - + local legacy_args=f
2019-11-17 19:03:33,205: DEBUG - + args_array=([f]=file=)
2019-11-17 19:03:33,207: DEBUG - + declare -Ar args_array
2019-11-17 19:03:33,209: DEBUG - + local file
2019-11-17 19:03:33,210: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:33,212: DEBUG - + set +x
2019-11-17 19:03:33,213: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_music.didiercl.me.d_funkwhale.conf
2019-11-17 19:03:33,215: DEBUG - ++ ynh_app_setting_get --app=funkwhale --key=**********
2019-11-17 19:03:33,217: DEBUG - ++ local legacy_args=ak
2019-11-17 19:03:33,218: DEBUG - ++ args_array=([a]=app= [k]=key=)
2019-11-17 19:03:33,220: DEBUG - ++ declare -Ar args_array
2019-11-17 19:03:33,222: DEBUG - ++ local app
2019-11-17 19:03:33,223: DEBUG - ++ local key
2019-11-17 19:03:33,225: DEBUG - ++ ynh_handle_getopts_args --app=funkwhale --key=**********
2019-11-17 19:03:33,227: DEBUG - ++ set +x
2019-11-17 19:03:33,228: DEBUG - ++ ynh_app_setting get funkwhale **********
2019-11-17 19:03:33,230: DEBUG - ++ ACTION=get
2019-11-17 19:03:33,232: DEBUG - ++ APP=funkwhale
2019-11-17 19:03:33,234: DEBUG - ++ KEY=**********
2019-11-17 19:03:33,236: DEBUG - ++ VALUE=
2019-11-17 19:03:33,238: DEBUG - ++ python -
2019-11-17 19:03:34,948: DEBUG - + local checksum_value=
2019-11-17 19:03:34,950: DEBUG - + backup_file_checksum=
2019-11-17 19:03:34,952: DEBUG - + '[' -n '' ']'
2019-11-17 19:03:34,953: DEBUG - + sudo cp ../conf/nginx.conf /etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:37,367: DEBUG - + test -n /
2019-11-17 19:03:37,370: DEBUG - + local path_url_slash_less=
2019-11-17 19:03:37,372: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:37,375: DEBUG - + local legacy_args=mrf
2019-11-17 19:03:37,377: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-17 19:03:37,383: DEBUG - + declare -Ar args_array
2019-11-17 19:03:37,385: DEBUG - + local match_string
2019-11-17 19:03:37,388: DEBUG - + local replace_string
2019-11-17 19:03:37,390: DEBUG - + local target_file
2019-11-17 19:03:37,392: DEBUG - + ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:37,395: DEBUG - + set +x
2019-11-17 19:03:37,498: DEBUG - + local delimit=@
2019-11-17 19:03:37,500: DEBUG - + match_string=__PATH__/
2019-11-17 19:03:37,502: DEBUG - + replace_string=/
2019-11-17 19:03:37,505: DEBUG - + sudo sed --in-place s@__PATH__/@/@g /etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:37,609: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:37,611: DEBUG - + local legacy_args=mrf
2019-11-17 19:03:37,615: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-17 19:03:37,617: DEBUG - + declare -Ar args_array
2019-11-17 19:03:37,620: DEBUG - + local match_string
2019-11-17 19:03:37,628: DEBUG - + local replace_string
2019-11-17 19:03:37,631: DEBUG - + local target_file
2019-11-17 19:03:37,645: DEBUG - + ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:37,648: DEBUG - + set +x
2019-11-17 19:03:37,756: DEBUG - + local delimit=@
2019-11-17 19:03:37,758: DEBUG - + match_string=__PATH__
2019-11-17 19:03:37,761: DEBUG - + replace_string=/
2019-11-17 19:03:37,763: DEBUG - + sudo sed --in-place s@__PATH__@/@g /etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:37,867: DEBUG - + test -n music.didiercl.me
2019-11-17 19:03:37,869: DEBUG - + ynh_replace_string --match_string=__DOMAIN__ --replace_string=music.didiercl.me --target_file=/etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:37,872: DEBUG - + local legacy_args=mrf
2019-11-17 19:03:37,874: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-17 19:03:37,883: DEBUG - + declare -Ar args_array
2019-11-17 19:03:37,889: DEBUG - + local match_string
2019-11-17 19:03:37,892: DEBUG - + local replace_string
2019-11-17 19:03:37,894: DEBUG - + local target_file
2019-11-17 19:03:37,897: DEBUG - + ynh_handle_getopts_args --match_string=__DOMAIN__ --replace_string=music.didiercl.me --target_file=/etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:37,903: DEBUG - + set +x
2019-11-17 19:03:38,006: DEBUG - + local delimit=@
2019-11-17 19:03:38,007: DEBUG - + match_string=__DOMAIN__
2019-11-17 19:03:38,009: DEBUG - + replace_string=music.didiercl.me
2019-11-17 19:03:38,011: DEBUG - + sudo sed --in-place s@__DOMAIN__@music.didiercl.me@g /etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:38,215: DEBUG - + test -n 5000
2019-11-17 19:03:38,217: DEBUG - + ynh_replace_string --match_string=__PORT__ --replace_string=5000 --target_file=/etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:38,219: DEBUG - + local legacy_args=mrf
2019-11-17 19:03:38,221: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-17 19:03:38,224: DEBUG - + declare -Ar args_array
2019-11-17 19:03:38,226: DEBUG - + local match_string
2019-11-17 19:03:38,229: DEBUG - + local replace_string
2019-11-17 19:03:38,231: DEBUG - + local target_file
2019-11-17 19:03:38,233: DEBUG - + ynh_handle_getopts_args --match_string=__PORT__ --replace_string=5000 --target_file=/etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:38,235: DEBUG - + set +x
2019-11-17 19:03:38,237: DEBUG - + local delimit=@
2019-11-17 19:03:38,239: DEBUG - + match_string=__PORT__
2019-11-17 19:03:38,241: DEBUG - + replace_string=5000
2019-11-17 19:03:38,243: DEBUG - + sudo sed --in-place s@__PORT__@5000@g /etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:38,447: DEBUG - + test -n funkwhale
2019-11-17 19:03:38,449: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=funkwhale --target_file=/etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:38,452: DEBUG - + local legacy_args=mrf
2019-11-17 19:03:38,454: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-17 19:03:38,456: DEBUG - + declare -Ar args_array
2019-11-17 19:03:38,460: DEBUG - + local match_string
2019-11-17 19:03:38,462: DEBUG - + local replace_string
2019-11-17 19:03:38,465: DEBUG - + local target_file
2019-11-17 19:03:38,468: DEBUG - + ynh_handle_getopts_args --match_string=__NAME__ --replace_string=funkwhale --target_file=/etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:38,470: DEBUG - + set +x
2019-11-17 19:03:38,473: DEBUG - + local delimit=@
2019-11-17 19:03:38,475: DEBUG - + match_string=__NAME__
2019-11-17 19:03:38,477: DEBUG - + replace_string=funkwhale
2019-11-17 19:03:38,479: DEBUG - + sudo sed --in-place s@__NAME__@funkwhale@g /etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:38,684: DEBUG - + test -n /var/www/funkwhale
2019-11-17 19:03:38,686: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/funkwhale --target_file=/etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:38,689: DEBUG - + local legacy_args=mrf
2019-11-17 19:03:38,691: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-17 19:03:38,694: DEBUG - + declare -Ar args_array
2019-11-17 19:03:38,697: DEBUG - + local match_string
2019-11-17 19:03:38,700: DEBUG - + local replace_string
2019-11-17 19:03:38,702: DEBUG - + local target_file
2019-11-17 19:03:38,705: DEBUG - + ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/funkwhale --target_file=/etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:38,707: DEBUG - + set +x
2019-11-17 19:03:38,710: DEBUG - + local delimit=@
2019-11-17 19:03:38,712: DEBUG - + match_string=__FINALPATH__
2019-11-17 19:03:38,714: DEBUG - + replace_string=/var/www/funkwhale
2019-11-17 19:03:38,716: DEBUG - + sudo sed --in-place s@__FINALPATH__@/var/www/funkwhale@g /etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:38,919: DEBUG - + '[' / '!=' / ']'
2019-11-17 19:03:38,921: DEBUG - + ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:38,923: DEBUG - + local legacy_args=mrf
2019-11-17 19:03:38,925: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-17 19:03:38,930: DEBUG - + declare -Ar args_array
2019-11-17 19:03:38,932: DEBUG - + local match_string
2019-11-17 19:03:38,935: DEBUG - + local replace_string
2019-11-17 19:03:38,938: DEBUG - + local target_file
2019-11-17 19:03:38,941: DEBUG - + ynh_handle_getopts_args '--match_string=^#root_path_only' --replace_string= --target_file=/etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:38,943: DEBUG - + set +x
2019-11-17 19:03:38,946: DEBUG - + local delimit=@
2019-11-17 19:03:38,948: DEBUG - + match_string='^#root_path_only'
2019-11-17 19:03:38,950: DEBUG - + replace_string=
2019-11-17 19:03:38,953: DEBUG - + sudo sed --in-place 's@^#root_path_only@@g' /etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:39,156: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:39,158: DEBUG - + local legacy_args=f
2019-11-17 19:03:39,161: DEBUG - + args_array=([f]=file=)
2019-11-17 19:03:39,163: DEBUG - + declare -Ar args_array
2019-11-17 19:03:39,166: DEBUG - + local file
2019-11-17 19:03:39,168: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:39,170: DEBUG - + set +x
2019-11-17 19:03:39,173: DEBUG - + local checksum_setting_name=**********
2019-11-17 19:03:39,175: DEBUG - ++ sudo md5sum /etc/nginx/conf.d/music.didiercl.me.d/funkwhale.conf
2019-11-17 19:03:39,177: DEBUG - ++ cut '-d ' -f1
2019-11-17 19:03:39,380: DEBUG - + ynh_app_setting_set --app=funkwhale --key=********** --value=391fcd536846211f5285a02414b349dc
2019-11-17 19:03:39,382: DEBUG - + local legacy_args=akv
2019-11-17 19:03:39,385: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-11-17 19:03:39,387: DEBUG - + declare -Ar args_array
2019-11-17 19:03:39,389: DEBUG - + local app
2019-11-17 19:03:39,392: DEBUG - + local key
2019-11-17 19:03:39,394: DEBUG - + local value
2019-11-17 19:03:39,397: DEBUG - + ynh_handle_getopts_args --app=funkwhale --key=********** --value=391fcd536846211f5285a02414b349dc
2019-11-17 19:03:39,399: DEBUG - + set +x
2019-11-17 19:03:39,401: DEBUG - + ynh_app_setting set funkwhale ********** 391fcd536846211f5285a02414b349dc
2019-11-17 19:03:39,404: DEBUG - + ACTION=set
2019-11-17 19:03:39,406: DEBUG - + APP=funkwhale
2019-11-17 19:03:39,408: DEBUG - + KEY=**********
2019-11-17 19:03:39,411: DEBUG - + VALUE=391fcd536846211f5285a02414b349dc
2019-11-17 19:03:39,413: DEBUG - + python -
2019-11-17 19:03:40,320: DEBUG - + '[' -n '' ']'
2019-11-17 19:03:40,322: DEBUG - + unset backup_file_checksum
2019-11-17 19:03:40,323: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2019-11-17 19:03:40,325: DEBUG - + local legacy_args=nalpte
2019-11-17 19:03:40,327: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
2019-11-17 19:03:40,328: DEBUG - + declare -Ar args_array
2019-11-17 19:03:40,330: DEBUG - + local service_name
2019-11-17 19:03:40,331: DEBUG - + local action
2019-11-17 19:03:40,333: DEBUG - + local line_match
2019-11-17 19:03:40,335: DEBUG - + local length
2019-11-17 19:03:40,337: DEBUG - + local log_path
2019-11-17 19:03:40,340: DEBUG - + local timeout
2019-11-17 19:03:40,343: DEBUG - + ynh_handle_getopts_args --service_name=nginx --action=reload
2019-11-17 19:03:40,344: DEBUG - + set +x
2019-11-17 19:03:40,346: DEBUG - + local service_name=nginx
2019-11-17 19:03:40,349: DEBUG - + local action=reload
2019-11-17 19:03:40,351: DEBUG - + local log_path=/var/log/nginx/nginx.log
2019-11-17 19:03:40,354: DEBUG - + local length=20
2019-11-17 19:03:40,356: DEBUG - + local timeout=300
2019-11-17 19:03:40,359: DEBUG - + [[ -n '' ]]
2019-11-17 19:03:40,361: DEBUG - + '[' reload == reload ']'
2019-11-17 19:03:40,363: DEBUG - + action=reload-or-restart
2019-11-17 19:03:40,367: DEBUG - + systemctl reload-or-restart nginx
2019-11-17 19:03:41,576: DEBUG - + [[ -n '' ]]
2019-11-17 19:03:41,579: DEBUG - + ynh_print_info '--message=Configuring system user...'
2019-11-17 19:03:41,581: DEBUG - + local legacy_args=m
2019-11-17 19:03:41,589: DEBUG - + args_array=([m]=message=)
2019-11-17 19:03:41,591: DEBUG - + declare -Ar args_array
2019-11-17 19:03:41,600: DEBUG - + local message
2019-11-17 19:03:41,603: DEBUG - + ynh_handle_getopts_args '--message=Configuring system user...'
2019-11-17 19:03:41,605: DEBUG - + set +x
2019-11-17 19:03:41,614: DEBUG - + echo 'Configuring system user...'
2019-11-17 19:03:41,616: DEBUG - + ynh_system_user_create --username=funkwhale --home_dir=/var/www/funkwhale
2019-11-17 19:03:41,619: DEBUG - + local legacy_args=uhs
2019-11-17 19:03:41,621: DEBUG - + args_array=([u]=username= [h]=home_dir= [s]=use_shell)
2019-11-17 19:03:41,624: DEBUG - + declare -Ar args_array
2019-11-17 19:03:41,627: DEBUG - + local username
2019-11-17 19:03:41,629: DEBUG - + local home_dir
2019-11-17 19:03:41,632: DEBUG - + local use_shell
2019-11-17 19:03:41,634: DEBUG - + ynh_handle_getopts_args --username=funkwhale --home_dir=/var/www/funkwhale
2019-11-17 19:03:41,636: DEBUG - + set +x
2019-11-17 19:03:41,739: DEBUG - + use_shell=0
2019-11-17 19:03:41,742: INFO - Configuring system user...
2019-11-17 19:03:41,747: DEBUG - + home_dir=/var/www/funkwhale
2019-11-17 19:03:41,749: DEBUG - + ynh_system_user_exists funkwhale
2019-11-17 19:03:41,752: DEBUG - + local legacy_args=u
2019-11-17 19:03:41,754: DEBUG - + args_array=([u]=username=)
2019-11-17 19:03:41,756: DEBUG - + declare -Ar args_array
2019-11-17 19:03:41,759: DEBUG - + local username
2019-11-17 19:03:41,761: DEBUG - + ynh_handle_getopts_args funkwhale
2019-11-17 19:03:41,764: DEBUG - + set +x
2019-11-17 19:03:41,766: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-17 19:03:41,768: DEBUG - + set +x
2019-11-17 19:03:41,771: DEBUG - + getent passwd funkwhale
2019-11-17 19:03:41,873: DEBUG - + '[' -n /var/www/funkwhale ']'
2019-11-17 19:03:41,876: DEBUG - + local 'user_home_dir=-d /var/www/funkwhale'
2019-11-17 19:03:41,878: DEBUG - + '[' 0 -eq 1 ']'
2019-11-17 19:03:41,880: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2019-11-17 19:03:41,882: DEBUG - + useradd -d /var/www/funkwhale --system --user-group funkwhale --shell /usr/sbin/nologin
2019-11-17 19:03:55,054: DEBUG - + virtualenv -p python3 /var/www/funkwhale/code/virtualenv
2019-11-17 19:04:02,795: DEBUG - Already using interpreter /usr/bin/python3
2019-11-17 19:04:02,798: DEBUG - Using base prefix '/usr'
2019-11-17 19:04:02,801: DEBUG - New python executable in /var/www/funkwhale/code/virtualenv/bin/python3
2019-11-17 19:04:02,803: DEBUG - Also creating executable in /var/www/funkwhale/code/virtualenv/bin/python
2019-11-17 19:04:53,855: DEBUG - Installing setuptools, pkg_resources, pip, wheel...done.
2019-11-17 19:04:54,961: DEBUG - + set +o nounset
2019-11-17 19:04:54,964: DEBUG - + source /var/www/funkwhale/code/virtualenv/bin/activate
2019-11-17 19:04:54,967: DEBUG - ++ deactivate nondestructive
2019-11-17 19:04:54,969: DEBUG - ++ unset -f pydoc
2019-11-17 19:04:54,972: DEBUG - ++ '[' -z '' ']'
2019-11-17 19:04:54,975: DEBUG - ++ '[' -z '' ']'
2019-11-17 19:04:54,978: DEBUG - ++ '[' -n /bin/bash ']'
2019-11-17 19:04:54,983: DEBUG - ++ hash -r
2019-11-17 19:04:54,985: DEBUG - ++ '[' -z '' ']'
2019-11-17 19:04:54,989: DEBUG - ++ unset VIRTUAL_ENV
2019-11-17 19:04:54,993: DEBUG - ++ '[' '!' nondestructive = nondestructive ']'
2019-11-17 19:04:54,997: DEBUG - ++ VIRTUAL_ENV=/var/www/funkwhale/code/virtualenv
2019-11-17 19:04:55,000: DEBUG - ++ export VIRTUAL_ENV
2019-11-17 19:04:55,003: DEBUG - ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2019-11-17 19:04:55,005: DEBUG - ++ PATH=/var/www/funkwhale/code/virtualenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2019-11-17 19:04:55,008: DEBUG - ++ export PATH
2019-11-17 19:04:55,011: DEBUG - ++ '[' -z '' ']'
2019-11-17 19:04:55,014: DEBUG - ++ '[' -z '' ']'
2019-11-17 19:04:55,017: DEBUG - ++ _OLD_VIRTUAL_PS1=
2019-11-17 19:04:55,020: DEBUG - ++ '[' x '!=' x ']'
2019-11-17 19:04:55,022: DEBUG - +++ basename /var/www/funkwhale/code/virtualenv
2019-11-17 19:04:55,126: DEBUG - ++ PS1='(virtualenv) '
2019-11-17 19:04:55,128: DEBUG - ++ export PS1
2019-11-17 19:04:55,130: DEBUG - ++ alias pydoc
2019-11-17 19:04:55,131: DEBUG - ++ '[' -n /bin/bash ']'
2019-11-17 19:04:55,133: DEBUG - ++ hash -r
2019-11-17 19:04:55,135: DEBUG - + set -o nounset
2019-11-17 19:04:55,136: DEBUG - + pip install --upgrade pip
2019-11-17 19:05:02,070: DEBUG - Requirement already up-to-date: pip in /var/www/funkwhale/code/virtualenv/lib/python3.5/site-packages (19.3.1)
2019-11-17 19:05:06,698: DEBUG - + pip install --upgrade setuptools
2019-11-17 19:05:17,954: DEBUG - Requirement already up-to-date: setuptools in /var/www/funkwhale/code/virtualenv/lib/python3.5/site-packages (41.6.0)
2019-11-17 19:05:18,661: DEBUG - + pip install wheel
2019-11-17 19:05:23,184: DEBUG - Requirement already satisfied: wheel in /var/www/funkwhale/code/virtualenv/lib/python3.5/site-packages (0.33.6)
2019-11-17 19:05:23,991: DEBUG - + pip install -r /var/www/funkwhale/code/api/requirements.txt
2019-11-17 19:05:30,022: DEBUG - Collecting git+https://github.com/EliotBerriot/requests-http-signature.git@signature-header-support (from -r /var/www/funkwhale/code/api/requirements/base.txt (line 62))
2019-11-17 19:05:30,024: WARNING -   Running command git clone -q https://github.com/EliotBerriot/requests-http-signature.git /tmp/pip-req-build-s5y1f1oz
2019-11-17 19:05:30,045: DEBUG -   Cloning https://github.com/EliotBerriot/requests-http-signature.git (to revision signature-header-support) to /tmp/pip-req-build-s5y1f1oz
2019-11-17 19:05:32,860: WARNING -   Running command git checkout -b signature-header-support --track origin/signature-header-support
2019-11-17 19:05:32,965: WARNING -   Switched to a new branch 'signature-header-support'
2019-11-17 19:05:32,971: WARNING -   Branch signature-header-support set up to track remote branch signature-header-support from origin.
2019-11-17 19:05:39,305: DEBUG - Collecting django<2.3,>=2.2.4
2019-11-17 19:05:39,810: DEBUG -   Using cached https://files.pythonhosted.org/packages/a0/36/463632a2e9161a7e713488d719a280e8cb0c7e3a66ed32a32e801891caae/Django-2.2.7-py3-none-any.whl
2019-11-17 19:06:10,040: DEBUG - Collecting django-environ<0.5,>=0.4
2019-11-17 19:06:10,194: DEBUG -   Using cached https://files.pythonhosted.org/packages/9f/32/76295a1a5d00bf556c495216581c6997e7fa5f533b2229e0a9d6cbaa95ae/django_environ-0.4.5-py2.py3-none-any.whl
2019-11-17 19:06:19,450: DEBUG - Collecting Pillow<7,>=6.2
2019-11-17 19:06:25,648: DEBUG - + ynh_exit_properly
2019-11-17 19:06:26,458: WARNING - ./install: line 135: 29594 Killed                  pip install -r "${final_path}/code/api/requirements.txt"
2019-11-17 19:06:26,531: DEBUG - + local exit_code=137
2019-11-17 19:06:26,533: WARNING - e[91me[1m[ERR]e[0m !!
2019-11-17 19:06:26,543: DEBUG - + '[' 137 -eq 0 ']'
2019-11-17 19:06:26,546: WARNING -   funkwhale's script has encountered an error. Its execution was cancelled.
2019-11-17 19:06:26,551: DEBUG - + trap '' EXIT
2019-11-17 19:06:26,562: WARNING - !!
2019-11-17 19:06:26,566: DEBUG - + set +eu
2019-11-17 19:06:26,570: DEBUG - + sleep 0.5
2019-11-17 19:06:26,572: DEBUG - + ynh_print_err '--message=!!\n  funkwhale'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-11-17 19:06:26,576: DEBUG - + local legacy_args=m
2019-11-17 19:06:26,581: WARNING - 
2019-11-17 19:06:26,585: DEBUG - + args_array=([m]=message=)
2019-11-17 19:06:26,595: DEBUG - + declare -Ar args_array
2019-11-17 19:06:26,597: DEBUG - + local message
2019-11-17 19:06:26,598: DEBUG - + ynh_handle_getopts_args '--message=!!\n  funkwhale'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-11-17 19:06:26,601: DEBUG - + set +x
2019-11-17 19:06:26,603: DEBUG - + ynh_print_log '\e[91m\e[1m[ERR]\e[0m !!\n  funkwhale'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-11-17 19:06:26,608: DEBUG - + echo -e '\e[91m\e[1m[ERR]\e[0m !!\n  funkwhale'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-11-17 19:06:26,610: DEBUG - + '[' api == cli ']'
2019-11-17 19:06:26,612: DEBUG - + type -t ynh_clean_setup
2019-11-17 19:06:26,613: DEBUG - + ynh_clean_setup
2019-11-17 19:06:26,617: DEBUG - + ynh_clean_check_starting
2019-11-17 19:06:26,619: DEBUG - + kill -s 15
2019-11-17 19:06:26,622: DEBUG - kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
2019-11-17 19:06:26,624: DEBUG - + ynh_secure_remove ''
2019-11-17 19:06:26,626: DEBUG - + local legacy_args=f
2019-11-17 19:06:26,628: DEBUG - + args_array=([f]=file=)
2019-11-17 19:06:26,630: DEBUG - + declare -Ar args_array
2019-11-17 19:06:26,632: DEBUG - + local file
2019-11-17 19:06:26,634: DEBUG - + ynh_handle_getopts_args ''
2019-11-17 19:06:26,636: DEBUG - + set +x
2019-11-17 19:06:26,638: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-17 19:06:26,640: DEBUG - + set +x
2019-11-17 19:06:26,642: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
2019-11-17 19:06:26,643: DEBUG - + '[' 1 -ge 2 ']'
2019-11-17 19:06:26,646: DEBUG - + [[      /var/www     /home/yunohost.app =~ '' ]]
2019-11-17 19:06:26,647: DEBUG - + ynh_print_warn '--message=Avoid deleting .'
2019-11-17 19:06:26,650: DEBUG - + local legacy_args=m
2019-11-17 19:06:26,652: DEBUG - + args_array=([m]=message=)
2019-11-17 19:06:26,654: DEBUG - + declare -Ar args_array
2019-11-17 19:06:26,656: DEBUG - + local message
2019-11-17 19:06:26,657: DEBUG - + ynh_handle_getopts_args '--message=Avoid deleting .'
2019-11-17 19:06:26,670: DEBUG - + set +x
2019-11-17 19:06:26,673: DEBUG - + ynh_print_log '\e[93m\e[1m[WARN]\e[0m Avoid deleting .'
2019-11-17 19:06:26,675: DEBUG - + echo -e '\e[93m\e[1m[WARN]\e[0m Avoid deleting .'
2019-11-17 19:06:26,677: DEBUG - e[93me[1m[WARN]e[0m Avoid deleting .
2019-11-17 19:06:26,678: DEBUG - + ynh_die
2019-11-17 19:06:26,680: DEBUG - + local legacy_args=mc
2019-11-17 19:06:26,682: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2019-11-17 19:06:26,684: DEBUG - + declare -Ar args_array
2019-11-17 19:06:26,685: DEBUG - + local message
2019-11-17 19:06:26,687: DEBUG - + local ret_code
2019-11-17 19:06:26,689: DEBUG - + ynh_handle_getopts_args
2019-11-17 19:06:26,691: DEBUG - + set +x
2019-11-17 19:06:26,692: DEBUG - + echo ''
2019-11-17 19:06:26,694: DEBUG - + exit 1

en éspérant que cela aidera;

didier58

Du coup le vrai moment du probleme semble etre :

Ca ressemble au processus qui se fait tuer à caus d’un manque de memoire (peut-etre du au fait que Pillow est une librairie gourmande, meme si la c’est juste l’install alors bon ?)

Du coup je ne sais pas trop quoi te suggerer comme suggestion, si ce n’est peut-etre de rajouter du swap si il n’y en a pas deja, ou alors de trouver un moyen de libérer de la RAM …

Ok je vais voir du coté de la mémoire.

Merci pour tes conseils.

Bonne nuit.

didier58

Funkwhale n’est plus compatible avec arm. Les dépendances python ne sont plus compatibles. Même si ton soucis de mémoire est résolu, l’installation n’aboutira pas.
Je ne crois pas avoir lemoyen de dire à yunohost que c’est incompatible arm. Ni dedire que je ne maintient que la partie x86. Navré.

@jibecfed : tu peux utiliser un mecanisme comme celui ci pour le moment https://github.com/YunoHost-Apps/wekan_ynh/blob/master/scripts/install#L38_L43

Salut Aleks,

Je ne vois pas très bien quoi faire avec le mécanisme et comment l’appliquer.

didier58

C’était une note pour Jibec à utiliser dans le package de l’app pour automatiquement détecter que c’est une architecture non supportée :wink:

Ok merci pour la réponse.

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