Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- admin@portail:~ $ sudo yunohost app install --debug https://github.com/YunoHost-Apps/ghost_ynh
- 509 DEBUG loading actions map namespace 'yunohost'
- 605 DEBUG extra parameter classes loaded: ['comment', 'ask', 'password', 'required', 'pattern']
- 606 DEBUG initializing base actions map parser for cli
- 611 DEBUG registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
- 971 DEBUG initialize authenticator 'ldap-anonymous' with: uri='ldap://localhost:389', base_dn='dc=yunohost,dc=org', user_rdn='None'
- 982 DEBUG lock has been acquired
- 1093 DEBUG loading python module yunohost.app took 0.110s
- 1093 INFO processing action [22014.1]: yunohost.app.install with args={'force': False, 'app': 'https://github.com/YunoHost-Apps/ghost_ynh', 'args': None, 'auth': <moulinette.authenticators.ldap.Authenticator object at 0x76449cb0>, 'label': None, 'no_remove_on_failure': False}
- WARNING! Installing 3rd party applications may compromise the integrity and security of your system. You should probably NOT install it unless you know what you are doing. Are you willing to take that risk? [Y/N] : y
- 8899 DEBUG Downloading…
- 10413 DEBUG Extracting…
- 10473 DEBUG Done
- 11600 DEBUG Checking required packages for ghost…
- 12641 DEBUG Checking that required services are up and running...
- Choose a domain for Ghost: notkaa.xyz
- Choose a path for Ghost (default: /blog):
- Is it a public application? [yes | no] (default: yes):
- 24099 INFO Installing application ghost…
- 24540 DEBUG Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/ghost_ynh-master/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpUOEtnc/stdinfo YNH_APP_INSTANCE_NAME=ghost YNH_STDRETURN=/tmp/tmpO2Tsmp/stdreturn YNH_APP_ID=ghost YNH_APP_ARG_PATH=/blog YNH_APP_ARG_DOMAIN=notkaa.xyz BASH_XTRACEFD=7 /bin/bash -x "./install" notkaa.xyz /blog 1 ghost 7>&1'…
- 24543 DEBUG About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/ghost_ynh-master/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpUOEtnc/stdinfo YNH_APP_INSTANCE_NAME=ghost YNH_STDRETURN=/tmp/tmpO2Tsmp/stdreturn YNH_APP_ID=ghost YNH_APP_ARG_PATH=/blog YNH_APP_ARG_DOMAIN=notkaa.xyz BASH_XTRACEFD=7 /bin/bash -x "./install" notkaa.xyz /blog 1 ghost 7>&1']'
- 24577 DEBUG + source _common.sh
- 24579 DEBUG + source /usr/share/yunohost/helpers
- 24580 DEBUG +++ run-parts --list /usr/share/yunohost/helpers.d
- 24582 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 24583 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
- 24585 DEBUG ++ . /usr/share/yunohost/helpers.d/backend
- 24687 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 24688 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/debug ']'
- 24689 DEBUG ++ . /usr/share/yunohost/helpers.d/debug
- 24690 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 24692 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
- 24694 DEBUG ++ . /usr/share/yunohost/helpers.d/filesystem
- 24695 DEBUG +++ source /usr/share/yunohost/helpers.d/getopts
- 24697 DEBUG +++ CAN_BIND=1
- 24698 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 24700 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
- 24701 DEBUG ++ . /usr/share/yunohost/helpers.d/getopts
- 24703 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 24704 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
- 24705 DEBUG ++ . /usr/share/yunohost/helpers.d/ip
- 24707 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 24708 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
- 24710 DEBUG ++ . /usr/share/yunohost/helpers.d/mysql
- 24711 DEBUG +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
- 24713 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 24714 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
- 24716 DEBUG ++ . /usr/share/yunohost/helpers.d/network
- 24717 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 24718 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
- 24720 DEBUG ++ . /usr/share/yunohost/helpers.d/nodejs
- 24721 DEBUG +++ n_install_dir=/opt/node_n
- 24723 DEBUG +++ node_version_path=/opt/node_n/n/versions/node
- 24724 DEBUG +++ export N_PREFIX=/opt/node_n
- 24726 DEBUG +++ N_PREFIX=/opt/node_n
- 24727 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 24729 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
- 24730 DEBUG ++ . /usr/share/yunohost/helpers.d/package
- 24731 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 24733 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
- 24734 DEBUG ++ . /usr/share/yunohost/helpers.d/print
- 24735 DEBUG +++ increment_progression=0
- 24736 DEBUG +++ previous_weight=0
- 24737 DEBUG ++++ date +%s
- 24739 DEBUG +++ base_time=1555230782
- 24740 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 24741 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
- 24743 DEBUG ++ . /usr/share/yunohost/helpers.d/psql
- 24744 DEBUG +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
- 24746 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 24747 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
- 24748 DEBUG ++ . /usr/share/yunohost/helpers.d/setting
- 24749 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 24750 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
- 24751 DEBUG ++ . /usr/share/yunohost/helpers.d/string
- 24753 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 24754 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
- 24755 DEBUG ++ . /usr/share/yunohost/helpers.d/system
- 24756 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 24758 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
- 24759 DEBUG ++ . /usr/share/yunohost/helpers.d/user
- 24760 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 24761 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
- 24762 DEBUG ++ . /usr/share/yunohost/helpers.d/utils
- 24763 DEBUG + ynh_abort_if_errors
- 24765 DEBUG + set -eu
- 24767 DEBUG + trap ynh_exit_properly EXIT
- 24768 DEBUG + domain=notkaa.xyz
- 24769 DEBUG + path_url=/blog
- 24771 DEBUG + is_public=1
- 24772 DEBUG + app=ghost
- 24774 DEBUG + final_path=/var/www/ghost
- 24775 DEBUG + test '!' -e /var/www/ghost
- 24776 DEBUG ++ ynh_normalize_url_path /blog
- 24777 DEBUG ++ local legacy_args=p
- 24778 DEBUG ++ args_array=([p]=path_url=)
- 24780 DEBUG ++ declare -Ar args_array
- 24782 DEBUG ++ local path_url
- 24784 DEBUG ++ ynh_handle_getopts_args /blog
- 24786 DEBUG ++ set +x
- 24787 DEBUG ++ echo '! Helper used in legacy mode !'
- 24789 DEBUG ++ set +x
- 24791 DEBUG ++ test -n /blog
- 24792 DEBUG ++ '[' / '!=' / ']'
- 24793 DEBUG ++ '[' g == / ']'
- 24795 DEBUG ++ echo /blog
- 24796 DEBUG + path_url=/blog
- 24798 DEBUG + ynh_webpath_available notkaa.xyz /blog
- 24799 DEBUG + local legacy_args=dp
- 24801 DEBUG + args_array=([d]=domain= [p]=path_url=)
- 24803 DEBUG + declare -Ar args_array
- 24805 DEBUG + local domain
- 24806 DEBUG + local path_url
- 24808 DEBUG + ynh_handle_getopts_args notkaa.xyz /blog
- 24810 DEBUG + set +x
- 24812 DEBUG + echo '! Helper used in legacy mode !'
- 24813 DEBUG + set +x
- 24815 DEBUG + sudo yunohost domain url-available notkaa.xyz /blog
- 26220 DEBUG True
- 26321 DEBUG + ynh_webpath_register ghost notkaa.xyz /blog
- 26323 DEBUG + local legacy_args=adp
- 26325 DEBUG + args_array=([a]=app= [d]=domain= [p]=path_url=)
- 26326 DEBUG + declare -Ar args_array
- 26327 DEBUG + local app
- 26329 DEBUG + local domain
- 26330 DEBUG + local path_url
- 26331 DEBUG + ynh_handle_getopts_args ghost notkaa.xyz /blog
- 26332 DEBUG + set +x
- 26334 DEBUG + echo '! Helper used in legacy mode !'
- 26335 DEBUG + set +x
- 26336 DEBUG + sudo yunohost app register-url ghost notkaa.xyz /blog
- 28042 DEBUG + ynh_app_setting_set ghost domain notkaa.xyz
- 28044 DEBUG + local legacy_args=akv
- 28045 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
- 28046 DEBUG + declare -Ar args_array
- 28047 DEBUG + local app
- 28048 DEBUG + local key
- 28049 DEBUG + local value
- 28050 DEBUG + ynh_handle_getopts_args ghost domain notkaa.xyz
- 28051 DEBUG + set +x
- 28052 DEBUG + echo '! Helper used in legacy mode !'
- 28053 DEBUG + set +x
- 28054 DEBUG + ynh_app_setting set ghost domain notkaa.xyz
- 28056 DEBUG + ACTION=set
- 28057 DEBUG + APP=ghost
- 28058 DEBUG + KEY=domain
- 28059 DEBUG + VALUE=notkaa.xyz
- 28060 DEBUG + python -
- 28462 DEBUG + ynh_app_setting_set ghost path /blog
- 28463 DEBUG + local legacy_args=akv
- 28464 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
- 28465 DEBUG + declare -Ar args_array
- 28466 DEBUG + local app
- 28468 DEBUG + local key
- 28469 DEBUG + local value
- 28470 DEBUG + ynh_handle_getopts_args ghost path /blog
- 28471 DEBUG + set +x
- 28472 DEBUG + echo '! Helper used in legacy mode !'
- 28473 DEBUG + set +x
- 28474 DEBUG + ynh_app_setting set ghost path /blog
- 28475 DEBUG + ACTION=set
- 28476 DEBUG + APP=ghost
- 28477 DEBUG + KEY=path
- 28478 DEBUG + VALUE=/blog
- 28479 DEBUG + python -
- 28881 DEBUG + ynh_app_setting_set ghost is_public 1
- 28882 DEBUG + local legacy_args=akv
- 28883 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
- 28885 DEBUG + declare -Ar args_array
- 28886 DEBUG + local app
- 28887 DEBUG + local key
- 28888 DEBUG + local value
- 28889 DEBUG + ynh_handle_getopts_args ghost is_public 1
- 28890 DEBUG + set +x
- 28992 DEBUG + echo '! Helper used in legacy mode !'
- 28993 DEBUG + set +x
- 28994 DEBUG + ynh_app_setting set ghost is_public 1
- 28995 DEBUG + ACTION=set
- 28996 DEBUG + APP=ghost
- 28996 DEBUG + KEY=is_public
- 28997 DEBUG + VALUE=1
- 28998 DEBUG + python -
- 29401 DEBUG ++ ynh_find_port 4010
- 29402 DEBUG ++ local legacy_args=p
- 29403 DEBUG ++ args_array=([p]=port=)
- 29404 DEBUG ++ declare -Ar args_array
- 29405 DEBUG ++ local port
- 29406 DEBUG ++ ynh_handle_getopts_args 4010
- 29407 DEBUG ++ set +x
- 29408 DEBUG ++ echo '! Helper used in legacy mode !'
- 29409 DEBUG ++ set +x
- 29410 DEBUG ++ test -n 4010
- 29411 DEBUG ++ netcat -z 127.0.0.1 4010
- 29412 DEBUG ++ echo 4010
- 29413 DEBUG + port=4010
- 29414 DEBUG + ynh_app_setting_set ghost port 4010
- 29415 DEBUG + local legacy_args=akv
- 29416 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
- 29417 DEBUG + declare -Ar args_array
- 29418 DEBUG + local app
- 29419 DEBUG + local key
- 29420 DEBUG + local value
- 29421 DEBUG + ynh_handle_getopts_args ghost port 4010
- 29422 DEBUG + set +x
- 29423 DEBUG + echo '! Helper used in legacy mode !'
- 29424 DEBUG + set +x
- 29425 DEBUG + ynh_app_setting set ghost port 4010
- 29426 DEBUG + ACTION=set
- 29427 DEBUG + APP=ghost
- 29428 DEBUG + KEY=port
- 29429 DEBUG + VALUE=4010
- 29430 DEBUG + python -
- 29833 DEBUG + ynh_install_nodejs 8
- 29834 DEBUG + local legacy_args=n
- 29835 DEBUG + args_array=([n]=nodejs_version=)
- 29836 DEBUG + declare -Ar args_array
- 29837 DEBUG + local nodejs_version
- 29838 DEBUG + ynh_handle_getopts_args 8
- 29839 DEBUG + set +x
- 29841 DEBUG + echo '! Helper used in legacy mode !'
- 29842 DEBUG + set +x
- 29843 DEBUG + mkdir -p /opt/node_n
- 29844 DEBUG + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- 29845 DEBUG ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- 29846 DEBUG ++ sed s@/usr/local/bin:@@
- 29847 DEBUG + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
- 29848 DEBUG + test -x /usr/bin/node
- 29849 DEBUG + test -x /usr/bin/npm
- 29849 DEBUG ++ n --version
- 29951 DEBUG + test
- 29952 WARNING Installation of N - Node.js version management
- 29953 DEBUG + ynh_install_n
- 29954 DEBUG + echo 'Installation of N - Node.js version management'
- 29955 DEBUG + mkdir -p ../conf
- 29956 DEBUG + echo 'SOURCE_URL=https://github.com/tj/n/archive/v2.1.7.tar.gz
- 29957 DEBUG SOURCE_SUM=2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f'
- 29958 DEBUG + ynh_setup_source --dest_dir=/opt/node_n/git --source_id=n
- 29959 DEBUG + local legacy_args=ds
- 29960 DEBUG + args_array=([d]=dest_dir= [s]=source_id=)
- 29961 DEBUG + declare -Ar args_array
- 29962 DEBUG + local dest_dir
- 29963 DEBUG + local source_id
- 29964 DEBUG + ynh_handle_getopts_args --dest_dir=/opt/node_n/git --source_id=n
- 29965 DEBUG + set +x
- 29966 DEBUG + source_id=n
- 29967 DEBUG ++ grep SOURCE_URL= /var/cache/yunohost/from_file/ghost_ynh-master/scripts/../conf/n.src
- 29969 DEBUG ++ cut -d= -f2-
- 29970 DEBUG + local src_url=https://github.com/tj/n/archive/v2.1.7.tar.gz
- 29971 DEBUG ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/ghost_ynh-master/scripts/../conf/n.src
- 29972 DEBUG ++ cut -d= -f2-
- 29973 DEBUG + local src_sum=2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f
- 29974 DEBUG ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/ghost_ynh-master/scripts/../conf/n.src
- 29975 DEBUG ++ cut -d= -f2-
- 29976 DEBUG + local src_sumprg=
- 29976 DEBUG ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/ghost_ynh-master/scripts/../conf/n.src
- 29977 DEBUG ++ cut -d= -f2-
- 29978 DEBUG + local src_format=
- 29979 DEBUG ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/ghost_ynh-master/scripts/../conf/n.src
- 29980 DEBUG ++ cut -d= -f2-
- 29981 DEBUG + local src_extract=
- 29982 DEBUG ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/ghost_ynh-master/scripts/../conf/n.src
- 29983 DEBUG ++ cut -d= -f2-
- 29984 DEBUG + local src_in_subdir=
- 29985 DEBUG ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/ghost_ynh-master/scripts/../conf/n.src
- 29986 DEBUG ++ cut -d= -f2-
- 29987 DEBUG + local src_filename=
- 29988 DEBUG + src_sumprg=sha256sum
- 29989 DEBUG + src_in_subdir=true
- 29990 DEBUG + src_format=tar.gz
- 29991 DEBUG ++ echo tar.gz
- 29992 DEBUG ++ tr '[:upper:]' '[:lower:]'
- 29993 DEBUG + src_format=tar.gz
- 29994 DEBUG + src_extract=true
- 29995 DEBUG + '[' '' = '' ']'
- 29996 DEBUG + src_filename=n.tar.gz
- 29997 DEBUG + local local_src=/opt/yunohost-apps-src/ghost/n.tar.gz
- 29998 DEBUG + test -e /opt/yunohost-apps-src/ghost/n.tar.gz
- 29998 DEBUG ++ wget -nv -O n.tar.gz https://github.com/tj/n/archive/v2.1.7.tar.gz
- 31304 DEBUG + local 'out=2019-04-14 09:33:08 URL:https://codeload.github.com/tj/n/tar.gz/v2.1.7 [9592] -> "n.tar.gz" [1]'
- 31305 DEBUG + echo '2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f n.tar.gz'
- 31307 DEBUG + sha256sum -c --status
- 31309 DEBUG + mkdir -p /opt/node_n/git
- 31311 DEBUG + true
- 31313 DEBUG + '[' tar.gz = zip ']'
- 31315 DEBUG + local strip=
- 31317 DEBUG + '[' true '!=' false ']'
- 31319 DEBUG + '[' true == true ']'
- 31321 DEBUG + local sub_dirs=1
- 31323 DEBUG + strip='--strip-components 1'
- 31324 DEBUG + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
- 31326 DEBUG + tar -xf n.tar.gz -C /opt/node_n/git --strip-components 1
- 31328 DEBUG ++ find /var/cache/yunohost/from_file/ghost_ynh-master/scripts/../sources/patches/ -type f -name 'n-*.patch'
- 31330 DEBUG ++ wc -l
- 31332 DEBUG + (( 0 > 0 ))
- 31334 DEBUG + test -e /var/cache/yunohost/from_file/ghost_ynh-master/scripts/../sources/extra_files/n
- 31336 DEBUG + cd /opt/node_n/git
- 31338 DEBUG + PREFIX=/opt/node_n
- 31339 DEBUG + make install
- 31342 DEBUG mkdir -p /opt/node_n/bin/
- 31344 DEBUG cp bin/n /opt/node_n/bin/n
- 31345 DEBUG + ynh_replace_string '--match_string=^N_PREFIX=${N_PREFIX-.*}$' '--replace_string=N_PREFIX=${N_PREFIX-/opt/node_n}' --target_file=/opt/node_n/bin/n
- 31347 DEBUG + local legacy_args=mrf
- 31349 DEBUG + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
- 31351 DEBUG + declare -Ar args_array
- 31353 DEBUG + local match_string
- 31355 DEBUG + local replace_string
- 31357 DEBUG + local target_file
- 31358 DEBUG + ynh_handle_getopts_args '--match_string=^N_PREFIX=${N_PREFIX-.*}$' '--replace_string=N_PREFIX=${N_PREFIX-/opt/node_n}' --target_file=/opt/node_n/bin/n
- 31359 DEBUG + set +x
- 31461 DEBUG + local delimit=@
- 31462 DEBUG + match_string='^N_PREFIX=${N_PREFIX-.*}$'
- 31464 DEBUG + replace_string='N_PREFIX=${N_PREFIX-/opt/node_n}'
- 31465 DEBUG + sudo sed --in-place 's@^N_PREFIX=${N_PREFIX-.*}$@N_PREFIX=${N_PREFIX-/opt/node_n}@g' /opt/node_n/bin/n
- 31466 DEBUG + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- 31467 DEBUG + test -x /usr/bin/node_n
- 31468 DEBUG + test -x /usr/bin/npm_n
- 31469 DEBUG ++ uname -m
- 31471 DEBUG + uname=armv7l
- 31472 DEBUG + [[ armv7l =~ aarch64 ]]
- 31473 DEBUG + [[ armv7l =~ arm64 ]]
- 31474 DEBUG + n 8
- 32478 DEBUG ++ sort --version-sort
- 32479 DEBUG ++ find /opt/node_n/n/versions/node/8 /opt/node_n/n/versions/node/8.15.1 -maxdepth 0
- 32480 DEBUG ++ tail --lines=1
- 32481 DEBUG + real_nodejs_version=/opt/node_n/n/versions/node/8.15.1
- 32483 DEBUG ++ basename /opt/node_n/n/versions/node/8.15.1
- 32484 DEBUG + real_nodejs_version=8.15.1
- 32485 DEBUG + '[' '!' -e /opt/node_n/n/versions/node/8 ']'
- 32486 DEBUG + echo ghost:8
- 32487 DEBUG + tee --append /opt/node_n/ynh_app_version
- 32488 DEBUG ghost:8
- 32489 DEBUG + ynh_app_setting_set --app=ghost --key=nodejs_version --value=8
- 32490 DEBUG + local legacy_args=akv
- 32491 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
- 32492 DEBUG + declare -Ar args_array
- 32493 DEBUG + local app
- 32494 DEBUG + local key
- 32495 DEBUG + local value
- 32496 DEBUG + ynh_handle_getopts_args --app=ghost --key=nodejs_version --value=8
- 32497 DEBUG + set +x
- 32498 DEBUG + ynh_app_setting set ghost nodejs_version 8
- 32499 DEBUG + ACTION=set
- 32500 DEBUG + APP=ghost
- 32501 DEBUG + KEY=nodejs_version
- 32502 DEBUG + VALUE=8
- 32503 DEBUG + python -
- 32905 DEBUG + ynh_cron_upgrade_node
- 32907 DEBUG + cat
- 33008 DEBUG + chmod +x /opt/node_n/node_update.sh
- 33009 DEBUG + cat
- 33010 DEBUG + chmod +x /etc/cron.daily/node_update
- 33011 DEBUG + ynh_use_nodejs
- 33013 DEBUG ++ ynh_app_setting_get --app=ghost --key=nodejs_version
- 33013 DEBUG ++ local legacy_args=ak
- 33014 DEBUG ++ args_array=([a]=app= [k]=key=)
- 33015 DEBUG ++ declare -Ar args_array
- 33016 DEBUG ++ local app
- 33017 DEBUG ++ local key
- 33017 DEBUG ++ ynh_handle_getopts_args --app=ghost --key=nodejs_version
- 33018 DEBUG ++ set +x
- 33019 DEBUG ++ ynh_app_setting get ghost nodejs_version
- 33020 DEBUG ++ ACTION=get
- 33020 DEBUG ++ APP=ghost
- 33021 DEBUG ++ KEY=nodejs_version
- 33022 DEBUG ++ VALUE=
- 33023 DEBUG ++ python -
- 33425 DEBUG + nodejs_version=8
- 33426 DEBUG + nodejs_use_version='echo "Deprecated command, should be removed"'
- 33427 DEBUG + nodejs_path=/opt/node_n/n/versions/node/8/bin
- 33429 DEBUG + [[ :/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: == *\:\/\o\p\t\/\n\o\d\e\_\n\/\n\/\v\e\r\s\i\o\n\s\/\n\o\d\e\/\8\/\b\i\n* ]]
- 33430 DEBUG + PATH=/opt/node_n/n/versions/node/8/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- 33431 DEBUG + apt-key add -
- 33432 DEBUG + curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg
- 33734 WARNING Warning: apt-key output should not be parsed (stdout is not a terminal)
- 34136 DEBUG OK
- 34238 DEBUG + tee /etc/apt/sources.list.d/yarn.list
- 34239 DEBUG + echo 'deb https://dl.yarnpkg.com/debian/ stable main'
- 34240 DEBUG deb https://dl.yarnpkg.com/debian/ stable main
- 34240 DEBUG + ynh_package_update
- 34241 DEBUG + ynh_apt update
- 34242 DEBUG + ynh_wait_dpkg_free
- 34243 DEBUG + local try
- 34244 DEBUG ++ seq 1 17
- 34244 DEBUG + for try in `seq 1 17`
- 34245 DEBUG + sudo lsof /var/lib/dpkg/lock
- 34748 DEBUG + local dpkg_dir=/var/lib/dpkg/updates/
- 34749 DEBUG ++ ls -1 /var/lib/dpkg/updates/
- 34750 DEBUG + read dpkg_file
- 34751 DEBUG + echo ''
- 34752 DEBUG + grep -Pq '^[[:digit:]]+$'
- 34753 DEBUG + read dpkg_file
- 34754 DEBUG + return 0
- 34755 DEBUG + DEBIAN_FRONTEND=noninteractive
- 34756 DEBUG + apt-get -y update
- 35058 DEBUG Hit:1 http://forge.yunohost.org/debian stretch InRelease
- 35059 DEBUG Hit:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
- 35060 DEBUG Hit:3 http://archive.raspberrypi.org/debian stretch InRelease
- 35462 DEBUG Hit:4 https://dl.yarnpkg.com/debian stable InRelease
- 41080 DEBUG Reading package lists...
- 41183 DEBUG + ynh_install_app_dependencies mailutils yarn
- 41184 DEBUG + local 'dependencies=mailutils yarn'
- 41185 DEBUG + local 'dependencies=mailutils, yarn'
- 41187 DEBUG + local 'dependencies=mailutils, yarn'
- 41187 DEBUG + local manifest_path=../manifest.json
- 41188 DEBUG + '[' '!' -e ../manifest.json ']'
- 41190 DEBUG ++ grep '\"version\": ' ../manifest.json
- 41191 DEBUG ++ cut -d '"' -f 4
- 41292 DEBUG + local version=2.1.1
- 41294 DEBUG + '[' 5 -eq 0 ']'
- 41295 DEBUG + local dep_app=ghost
- 41296 DEBUG + cat
- 41297 DEBUG + ynh_package_install_from_equivs /tmp/ghost-ynh-deps.control
- 41298 DEBUG + local controlfile=/tmp/ghost-ynh-deps.control
- 41299 DEBUG ++ grep '^Package: ' /tmp/ghost-ynh-deps.control
- 41300 DEBUG ++ cut '-d ' -f 2
- 41301 DEBUG + local pkgname=ghost-ynh-deps
- 41302 DEBUG ++ grep '^Version: ' /tmp/ghost-ynh-deps.control
- 41303 DEBUG ++ cut '-d ' -f 2
- 41304 DEBUG + local pkgversion=2.1.1
- 41305 DEBUG + [[ -z ghost-ynh-deps ]]
- 41306 DEBUG + [[ -z 2.1.1 ]]
- 41307 DEBUG + ynh_package_update
- 41308 DEBUG + ynh_apt update
- 41309 DEBUG + ynh_wait_dpkg_free
- 41310 DEBUG + local try
- 41311 DEBUG ++ seq 1 17
- 41312 DEBUG + for try in `seq 1 17`
- 41313 DEBUG + sudo lsof /var/lib/dpkg/lock
- 41715 DEBUG + local dpkg_dir=/var/lib/dpkg/updates/
- 41717 DEBUG ++ ls -1 /var/lib/dpkg/updates/
- 41718 DEBUG + read dpkg_file
- 41719 DEBUG + echo ''
- 41720 DEBUG + grep -Pq '^[[:digit:]]+$'
- 41721 DEBUG + read dpkg_file
- 41722 DEBUG + return 0
- 41724 DEBUG + DEBIAN_FRONTEND=noninteractive
- 41725 DEBUG + apt-get -y update
- 42028 DEBUG Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
- 42029 DEBUG Hit:2 http://archive.raspberrypi.org/debian stretch InRelease
- 42031 DEBUG Hit:3 http://forge.yunohost.org/debian stretch InRelease
- 42434 DEBUG Hit:4 https://dl.yarnpkg.com/debian stable InRelease
- 48051 DEBUG Reading package lists...
- 48153 DEBUG ++ mktemp -d
- 48154 DEBUG + local TMPDIR=/tmp/tmp.XIYWq2bEqP
- 48155 DEBUG + echo 10
- 48156 DEBUG + ynh_wait_dpkg_free
- 48158 DEBUG + local try
- 48159 DEBUG ++ seq 1 17
- 48162 DEBUG + for try in `seq 1 17`
- 48163 DEBUG + sudo lsof /var/lib/dpkg/lock
- 48565 DEBUG + local dpkg_dir=/var/lib/dpkg/updates/
- 48566 DEBUG ++ ls -1 /var/lib/dpkg/updates/
- 48568 DEBUG + read dpkg_file
- 48569 DEBUG + grep -Pq '^[[:digit:]]+$'
- 48570 DEBUG + echo ''
- 48571 DEBUG + read dpkg_file
- 48572 DEBUG + return 0
- 48573 DEBUG + cp /tmp/ghost-ynh-deps.control /tmp/tmp.XIYWq2bEqP/control
- 48574 DEBUG + cd /tmp/tmp.XIYWq2bEqP
- 48576 DEBUG + equivs-build ./control
- 51485 DEBUG + dpkg --force-depends -i ./ghost-ynh-deps_2.1.1_all.deb
- 51586 DEBUG Selecting previously unselected package ghost-ynh-deps.
- 51688 DEBUG (Reading database ... 52860 files and directories currently installed.)
- 51690 DEBUG Preparing to unpack ./ghost-ynh-deps_2.1.1_all.deb ...
- 51693 DEBUG Unpacking ghost-ynh-deps (2.1.1) ...
- 51794 DEBUG dpkg: ghost-ynh-deps: dependency problems, but configuring anyway as you requested:
- 51796 DEBUG ghost-ynh-deps depends on yarn; however:
- 51797 DEBUG Package yarn is not installed.
- 51798 DEBUG
- 51800 DEBUG Setting up ghost-ynh-deps (2.1.1) ...
- 51902 DEBUG + ynh_package_install -f
- 51904 DEBUG + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
- 51907 DEBUG + ynh_wait_dpkg_free
- 51910 DEBUG + local try
- 51912 DEBUG ++ seq 1 17
- 51915 DEBUG + for try in `seq 1 17`
- 51917 DEBUG + sudo lsof /var/lib/dpkg/lock
- 52421 DEBUG + local dpkg_dir=/var/lib/dpkg/updates/
- 52422 DEBUG ++ ls -1 /var/lib/dpkg/updates/
- 52423 DEBUG + read dpkg_file
- 52425 DEBUG + echo ''
- 52426 DEBUG + grep -Pq '^[[:digit:]]+$'
- 52427 DEBUG + read dpkg_file
- 52429 DEBUG + return 0
- 52430 DEBUG + DEBIAN_FRONTEND=noninteractive
- 52432 DEBUG + apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
- 53638 DEBUG Reading package lists...
- 54341 DEBUG Building dependency tree...
- 54342 DEBUG Reading state information...
- 55146 DEBUG Correcting dependencies... Done
- 56050 DEBUG The following additional packages will be installed:
- 56052 DEBUG libc-ares2 libhttp-parser2.8 libuv1 nodejs nodejs-doc yarn
- 56154 DEBUG The following NEW packages will be installed:
- 56155 DEBUG libc-ares2 libhttp-parser2.8 libuv1 nodejs nodejs-doc yarn
- 61182 DEBUG 0 upgraded, 6 newly installed, 0 to remove and 1 not upgraded.
- 61184 DEBUG Need to get 0 B/5,923 kB of archives.
- 61185 DEBUG After this operation, 27.2 MB of additional disk space will be used.
- 61386 DEBUG Selecting previously unselected package libc-ares2:armhf.
- (Reading database ... 52864 files and directories currently installed.) 61387 DEBUG (Reading database ...
- 61388 DEBUG Preparing to unpack .../0-libc-ares2_1.14.0-1~bpo9+1_armhf.deb ...
- 61490 DEBUG Unpacking libc-ares2:armhf (1.14.0-1~bpo9+1) ...
- 61591 DEBUG Selecting previously unselected package libhttp-parser2.8:armhf.
- 61592 DEBUG Preparing to unpack .../1-libhttp-parser2.8_2.8.1-1~bpo9+1_armhf.deb ...
- 61593 DEBUG Unpacking libhttp-parser2.8:armhf (2.8.1-1~bpo9+1) ...
- 61795 DEBUG Selecting previously unselected package libuv1:armhf.
- 61796 DEBUG Preparing to unpack .../2-libuv1_1.18.0-3~bpo9+1_armhf.deb ...
- 61797 DEBUG Unpacking libuv1:armhf (1.18.0-3~bpo9+1) ...
- 61998 DEBUG Selecting previously unselected package nodejs.
- 62000 DEBUG Preparing to unpack .../3-nodejs_8.11.1~dfsg-2~bpo9+1_armhf.deb ...
- 62000 DEBUG Unpacking nodejs (8.11.1~dfsg-2~bpo9+1) ...
- 63806 DEBUG Selecting previously unselected package nodejs-doc.
- 63908 DEBUG Preparing to unpack .../4-nodejs-doc_8.11.1~dfsg-2~bpo9+1_all.deb ...
- 63910 DEBUG Unpacking nodejs-doc (8.11.1~dfsg-2~bpo9+1) ...
- 64413 DEBUG Selecting previously unselected package yarn.
- 64414 DEBUG Preparing to unpack .../5-yarn_1.15.2-1_all.deb ...
- 64415 DEBUG Unpacking yarn (1.15.2-1) ...
- 65118 DEBUG Setting up nodejs-doc (8.11.1~dfsg-2~bpo9+1) ...
- 65118 DEBUG Setting up libuv1:armhf (1.18.0-3~bpo9+1) ...
- 65220 DEBUG Setting up yarn (1.15.2-1) ...
- 65221 DEBUG Processing triggers for libc-bin (2.24-11+deb9u4) ...
- 65322 DEBUG Processing triggers for man-db (2.7.6.1-2) ...
- 65824 DEBUG Setting up libc-ares2:armhf (1.14.0-1~bpo9+1) ...
- 65926 DEBUG Setting up libhttp-parser2.8:armhf (2.8.1-1~bpo9+1) ...
- 65927 DEBUG Setting up nodejs (8.11.1~dfsg-2~bpo9+1) ...
- 66028 DEBUG update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
- 66029 DEBUG Processing triggers for libc-bin (2.24-11+deb9u4) ...
- 67735 DEBUG + [[ -n /tmp/tmp.XIYWq2bEqP ]]
- 67738 DEBUG + rm -rf /tmp/tmp.XIYWq2bEqP
- 67740 DEBUG + ynh_package_is_installed ghost-ynh-deps
- 67743 DEBUG + local legacy_args=p
- 67746 DEBUG + args_array=([p]=package=)
- 67748 DEBUG + declare -Ar args_array
- 67751 DEBUG + local package
- 67753 DEBUG + ynh_handle_getopts_args ghost-ynh-deps
- 67756 DEBUG + set +x
- 67759 DEBUG + echo '! Helper used in legacy mode !'
- 67761 DEBUG + set +x
- 67763 DEBUG + ynh_wait_dpkg_free
- 67765 DEBUG + local try
- 67766 DEBUG ++ seq 1 17
- 67767 DEBUG + for try in `seq 1 17`
- 67769 DEBUG + sudo lsof /var/lib/dpkg/lock
- 68272 DEBUG + local dpkg_dir=/var/lib/dpkg/updates/
- 68273 DEBUG ++ ls -1 /var/lib/dpkg/updates/
- 68274 DEBUG + read dpkg_file
- 68275 DEBUG + echo ''
- 68276 DEBUG + grep -Pq '^[[:digit:]]+$'
- 68277 DEBUG + read dpkg_file
- 68278 DEBUG + return 0
- 68279 DEBUG + dpkg-query -W -f '${Status}' ghost-ynh-deps
- 68280 DEBUG + grep -c 'ok installed'
- 68382 DEBUG + rm /tmp/ghost-ynh-deps.control
- 68383 DEBUG + ynh_app_setting_set --app=ghost --key=apt_dependencies '--value=mailutils, yarn'
- 68384 DEBUG + local legacy_args=akv
- 68386 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
- 68387 DEBUG + declare -Ar args_array
- 68388 DEBUG + local app
- 68389 DEBUG + local key
- 68391 DEBUG + local value
- 68392 DEBUG + ynh_handle_getopts_args --app=ghost --key=apt_dependencies '--value=mailutils, yarn'
- 68393 DEBUG + set +x
- 68394 DEBUG + ynh_app_setting set ghost apt_dependencies 'mailutils, yarn'
- 68396 DEBUG + ACTION=set
- 68397 DEBUG + APP=ghost
- 68398 DEBUG + KEY=apt_dependencies
- 68399 DEBUG + VALUE='mailutils, yarn'
- 68401 DEBUG + python -
- 68903 DEBUG ++ ynh_sanitize_dbid ghost
- 68905 DEBUG ++ local legacy_args=n
- 68906 DEBUG ++ args_array=([n]=db_name=)
- 68907 DEBUG ++ declare -Ar args_array
- 68908 DEBUG ++ local db_name
- 68909 DEBUG ++ ynh_handle_getopts_args ghost
- 68910 DEBUG ++ set +x
- 68911 DEBUG ++ echo '! Helper used in legacy mode !'
- 68912 DEBUG ++ set +x
- 68913 DEBUG ++ echo ghost
- 68914 DEBUG + db_name=ghost
- 68915 DEBUG + ynh_app_setting_set ghost db_name ghost
- 68916 DEBUG + local legacy_args=akv
- 68917 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
- 68918 DEBUG + declare -Ar args_array
- 68919 DEBUG + local app
- 68920 DEBUG + local key
- 68921 DEBUG + local value
- 68922 DEBUG + ynh_handle_getopts_args ghost db_name ghost
- 68923 DEBUG + set +x
- 68924 DEBUG + echo '! Helper used in legacy mode !'
- 68925 DEBUG + set +x
- 68926 DEBUG + ynh_app_setting set ghost db_name ghost
- 68927 DEBUG + ACTION=set
- 68928 DEBUG + APP=ghost
- 68929 DEBUG + KEY=db_name
- 68930 DEBUG + VALUE=ghost
- 68931 DEBUG + python -
- 69334 DEBUG + ynh_mysql_setup_db ghost ghost
- 69336 DEBUG + local legacy_args=unp
- 69338 DEBUG + args_array=([u]=db_user= [n]=db_name= [p]=db_pwd=)
- 69339 DEBUG + declare -Ar args_array
- 69341 DEBUG + local db_user
- 69343 DEBUG + local db_name
- 69345 DEBUG + db_pwd=
- 69346 DEBUG + ynh_handle_getopts_args ghost ghost
- 69348 DEBUG + set +x
- 69351 DEBUG + echo '! Helper used in legacy mode !'
- 69354 DEBUG + set +x
- 69356 DEBUG ++ ynh_string_random
- 69357 DEBUG ++ local legacy_args=l
- 69359 DEBUG ++ args_array=([l]=length=)
- 69360 DEBUG ++ declare -Ar args_array
- 69361 DEBUG ++ local length
- 69363 DEBUG ++ ynh_handle_getopts_args
- 69364 DEBUG ++ set +x
- 69368 DEBUG ++ length=24
- 69369 DEBUG ++ dd if=/dev/urandom bs=1 count=1000
- 69371 DEBUG ++ sed -n 's/\(.\{24\}\).*/\1/p'
- 69373 DEBUG ++ tr -c -d A-Za-z0-9
- 69374 DEBUG + local new_db_pwd=DcqG7yJkBHiDtTNbouDj6xFI
- 69376 DEBUG + db_pwd=DcqG7yJkBHiDtTNbouDj6xFI
- 69378 DEBUG + ynh_mysql_create_db ghost ghost DcqG7yJkBHiDtTNbouDj6xFI
- 69379 DEBUG + local db=ghost
- 69380 DEBUG + local 'sql=CREATE DATABASE ghost;'
- 69382 DEBUG + [[ 3 -gt 1 ]]
- 69384 DEBUG + sql+=' GRANT ALL PRIVILEGES ON ghost.* TO '\''ghost'\''@'\''localhost'\'''
- 69386 DEBUG + [[ -n DcqG7yJkBHiDtTNbouDj6xFI ]]
- 69387 DEBUG + sql+=' IDENTIFIED BY '\''DcqG7yJkBHiDtTNbouDj6xFI'\'''
- 69389 DEBUG + sql+=' WITH GRANT OPTION;'
- 69391 DEBUG + ynh_mysql_execute_as_root '--sql=CREATE DATABASE ghost; GRANT ALL PRIVILEGES ON ghost.* TO '\''ghost'\''@'\''localhost'\'' IDENTIFIED BY '\''DcqG7yJkBHiDtTNbouDj6xFI'\'' WITH GRANT OPTION;'
- 69393 DEBUG + local legacy_args=sd
- 69394 DEBUG + args_array=([s]=sql= [d]=database=)
- 69396 DEBUG + declare -Ar args_array
- 69397 DEBUG + local sql
- 69399 DEBUG + local database
- 69400 DEBUG + ynh_handle_getopts_args '--sql=CREATE DATABASE ghost; GRANT ALL PRIVILEGES ON ghost.* TO '\''ghost'\''@'\''localhost'\'' IDENTIFIED BY '\''DcqG7yJkBHiDtTNbouDj6xFI'\'' WITH GRANT OPTION;'
- 69401 DEBUG + set +x
- 69403 DEBUG + database=
- 69404 DEBUG ++ sudo cat /etc/yunohost/mysql
- 69506 DEBUG + ynh_mysql_connect_as --user=root --password=JjyM6RSmqw --database=
- 69507 DEBUG + local legacy_args=upd
- 69508 DEBUG + args_array=([u]=user= [p]=password= [d]=database=)
- 69509 DEBUG + declare -Ar args_array
- 69510 DEBUG + local user
- 69511 DEBUG + local password
- 69513 DEBUG + local database
- 69514 DEBUG + ynh_handle_getopts_args --user=root --password=JjyM6RSmqw --database=
- 69515 DEBUG + set +x
- 69616 DEBUG + database=
- 69618 DEBUG + mysql -u root --password=JjyM6RSmqw -B ''
- 69619 DEBUG + ynh_app_setting_set --app=ghost --key=mysqlpwd --value=DcqG7yJkBHiDtTNbouDj6xFI
- 69621 DEBUG + local legacy_args=akv
- 69623 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
- 69624 DEBUG + declare -Ar args_array
- 69626 DEBUG + local app
- 69627 DEBUG + local key
- 69629 DEBUG + local value
- 69630 DEBUG + ynh_handle_getopts_args --app=ghost --key=mysqlpwd --value=DcqG7yJkBHiDtTNbouDj6xFI
- 69632 DEBUG + set +x
- 69634 DEBUG + ynh_app_setting set ghost mysqlpwd DcqG7yJkBHiDtTNbouDj6xFI
- 69635 DEBUG + ACTION=set
- 69637 DEBUG + APP=ghost
- 69639 DEBUG + KEY=mysqlpwd
- 69640 DEBUG + VALUE=DcqG7yJkBHiDtTNbouDj6xFI
- 69641 DEBUG + python -
- 70044 DEBUG + ynh_app_setting_set ghost final_path /var/www/ghost
- 70046 DEBUG + local legacy_args=akv
- 70047 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
- 70048 DEBUG + declare -Ar args_array
- 70050 DEBUG + local app
- 70052 DEBUG + local key
- 70053 DEBUG + local value
- 70055 DEBUG + ynh_handle_getopts_args ghost final_path /var/www/ghost
- 70056 DEBUG + set +x
- 70058 DEBUG + echo '! Helper used in legacy mode !'
- 70059 DEBUG + set +x
- 70061 DEBUG + ynh_app_setting set ghost final_path /var/www/ghost
- 70062 DEBUG + ACTION=set
- 70064 DEBUG + APP=ghost
- 70065 DEBUG + KEY=final_path
- 70067 DEBUG + VALUE=/var/www/ghost
- 70068 DEBUG + python -
- 70571 DEBUG ++ mktemp -d
- 70572 WARNING --2019-04-14 09:33:48-- https://ghost.org/zip/ghost-latest.zip
- 70574 DEBUG + tmpdir=/tmp/tmp.OzhiCwa5WL
- 70575 DEBUG + sudo wget -O /tmp/tmp.OzhiCwa5WL/ghost.zip https://ghost.org/zip/ghost-latest.zip
- 70677 WARNING Resolving ghost.org (ghost.org)... 104.18.171.77, 104.18.170.77
- 70678 WARNING Connecting to ghost.org (ghost.org)|104.18.171.77|:443... connected.
- 70880 WARNING HTTP request sent, awaiting response... 404 Not Found
- 70881 WARNING 2019-04-14 09:33:48 ERROR 404: Not Found.
- 70883 WARNING
- 70986 DEBUG + ynh_exit_properly
- 70987 WARNING !!
- 70988 DEBUG + local exit_code=8
- 70989 WARNING ghost's script has encountered an error. Its execution was cancelled.
- 70990 DEBUG + '[' 8 -eq 0 ']'
- 70992 WARNING !!
- 70993 DEBUG + trap '' EXIT
- 70994 WARNING
- 70995 DEBUG + set +eu
- 70996 DEBUG + echo -e '!!\n ghost'\''s script has encountered an error. Its execution was cancelled.\n!!'
- 70997 DEBUG + type -t ynh_clean_setup
- 70998 DEBUG + ynh_die
- 70999 DEBUG + local legacy_args=mc
- 71001 DEBUG + args_array=([m]=message= [c]=ret_code=)
- 71002 DEBUG + declare -Ar args_array
- 71003 DEBUG + local message
- 71004 DEBUG + local ret_code
- 71005 DEBUG + ynh_handle_getopts_args
- 71006 DEBUG + set +x
- 71007 DEBUG + echo ''
- 71008 DEBUG + exit 1
- 71170 INFO The operation 'Install 'ghost' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190414-083301-app_install-ghost --share'
- 71202 DEBUG Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/ghost_ynh-master/scripts YNH_STDINFO=/tmp/tmp9i4oIf/stdinfo YNH_APP_INSTANCE_NAME=ghost YNH_STDRETURN=/tmp/tmpfyEIl5/stdreturn YNH_APP_ID=ghost BASH_XTRACEFD=7 /bin/bash -x "./remove" ghost 7>&1'…
- 71203 DEBUG About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/ghost_ynh-master/scripts YNH_STDINFO=/tmp/tmp9i4oIf/stdinfo YNH_APP_INSTANCE_NAME=ghost YNH_STDRETURN=/tmp/tmpfyEIl5/stdreturn YNH_APP_ID=ghost BASH_XTRACEFD=7 /bin/bash -x "./remove" ghost 7>&1']'
- 71234 DEBUG + source _common.sh
- 71237 DEBUG + source /usr/share/yunohost/helpers
- 71238 DEBUG +++ run-parts --list /usr/share/yunohost/helpers.d
- 71239 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 71241 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
- 71242 DEBUG ++ . /usr/share/yunohost/helpers.d/backend
- 71344 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 71345 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/debug ']'
- 71347 DEBUG ++ . /usr/share/yunohost/helpers.d/debug
- 71348 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 71349 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
- 71351 DEBUG ++ . /usr/share/yunohost/helpers.d/filesystem
- 71353 DEBUG +++ source /usr/share/yunohost/helpers.d/getopts
- 71355 DEBUG +++ CAN_BIND=1
- 71356 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 71358 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
- 71359 DEBUG ++ . /usr/share/yunohost/helpers.d/getopts
- 71361 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 71363 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
- 71364 DEBUG ++ . /usr/share/yunohost/helpers.d/ip
- 71366 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 71367 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
- 71369 DEBUG ++ . /usr/share/yunohost/helpers.d/mysql
- 71370 DEBUG +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
- 71372 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 71373 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
- 71375 DEBUG ++ . /usr/share/yunohost/helpers.d/network
- 71376 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 71378 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
- 71379 DEBUG ++ . /usr/share/yunohost/helpers.d/nodejs
- 71381 DEBUG +++ n_install_dir=/opt/node_n
- 71382 DEBUG +++ node_version_path=/opt/node_n/n/versions/node
- 71384 DEBUG +++ export N_PREFIX=/opt/node_n
- 71385 DEBUG +++ N_PREFIX=/opt/node_n
- 71387 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 71388 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
- 71390 DEBUG ++ . /usr/share/yunohost/helpers.d/package
- 71391 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 71393 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
- 71394 DEBUG ++ . /usr/share/yunohost/helpers.d/print
- 71396 DEBUG +++ increment_progression=0
- 71397 DEBUG +++ previous_weight=0
- 71399 DEBUG ++++ date +%s
- 71400 DEBUG +++ base_time=1555230828
- 71402 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 71403 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
- 71405 DEBUG ++ . /usr/share/yunohost/helpers.d/psql
- 71408 DEBUG +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
- 71410 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 71413 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
- 71415 DEBUG ++ . /usr/share/yunohost/helpers.d/setting
- 71418 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 71420 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
- 71422 DEBUG ++ . /usr/share/yunohost/helpers.d/string
- 71425 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 71427 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
- 71430 DEBUG ++ . /usr/share/yunohost/helpers.d/system
- 71432 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 71435 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
- 71438 DEBUG ++ . /usr/share/yunohost/helpers.d/user
- 71440 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 71443 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
- 71445 DEBUG ++ . /usr/share/yunohost/helpers.d/utils
- 71447 DEBUG + app=ghost
- 71449 DEBUG ++ ynh_app_setting_get ghost domain
- 71451 DEBUG ++ local legacy_args=ak
- 71453 DEBUG ++ args_array=([a]=app= [k]=key=)
- 71456 DEBUG ++ declare -Ar args_array
- 71458 DEBUG ++ local app
- 71460 DEBUG ++ local key
- 71462 DEBUG ++ ynh_handle_getopts_args ghost domain
- 71464 DEBUG ++ set +x
- 71466 DEBUG ++ echo '! Helper used in legacy mode !'
- 71468 DEBUG ++ set +x
- 71470 DEBUG ++ ynh_app_setting get ghost domain
- 71472 DEBUG ++ ACTION=get
- 71474 DEBUG ++ APP=ghost
- 71476 DEBUG ++ KEY=domain
- 71478 DEBUG ++ VALUE=
- 71480 DEBUG ++ python -
- 71884 DEBUG + domain=notkaa.xyz
- 71885 DEBUG ++ ynh_app_setting_get ghost port
- 71887 DEBUG ++ local legacy_args=ak
- 71888 DEBUG ++ args_array=([a]=app= [k]=key=)
- 71890 DEBUG ++ declare -Ar args_array
- 71891 DEBUG ++ local app
- 71893 DEBUG ++ local key
- 71894 DEBUG ++ ynh_handle_getopts_args ghost port
- 71896 DEBUG ++ set +x
- 71897 DEBUG ++ echo '! Helper used in legacy mode !'
- 71898 DEBUG ++ set +x
- 71900 DEBUG ++ ynh_app_setting get ghost port
- 71901 DEBUG ++ ACTION=get
- 71903 DEBUG ++ APP=ghost
- 71904 DEBUG ++ KEY=port
- 71906 DEBUG ++ VALUE=
- 71907 DEBUG ++ python -
- 72410 DEBUG + port=4010
- 72412 DEBUG ++ ynh_app_setting_get ghost db_name
- 72413 DEBUG ++ local legacy_args=ak
- 72414 DEBUG ++ args_array=([a]=app= [k]=key=)
- 72415 DEBUG ++ declare -Ar args_array
- 72416 DEBUG ++ local app
- 72417 DEBUG ++ local key
- 72418 DEBUG ++ ynh_handle_getopts_args ghost db_name
- 72420 DEBUG ++ set +x
- 72421 DEBUG ++ echo '! Helper used in legacy mode !'
- 72422 DEBUG ++ set +x
- 72423 DEBUG ++ ynh_app_setting get ghost db_name
- 72424 DEBUG ++ ACTION=get
- 72426 DEBUG ++ APP=ghost
- 72427 DEBUG ++ KEY=db_name
- 72428 DEBUG ++ VALUE=
- 72429 DEBUG ++ python -
- 72832 DEBUG + db_name=ghost
- 72834 DEBUG + db_user=ghost
- 72835 DEBUG ++ ynh_app_setting_get ghost final_path
- 72836 DEBUG ++ local legacy_args=ak
- 72838 DEBUG ++ args_array=([a]=app= [k]=key=)
- 72839 DEBUG ++ declare -Ar args_array
- 72841 DEBUG ++ local app
- 72842 DEBUG ++ local key
- 72844 DEBUG ++ ynh_handle_getopts_args ghost final_path
- 72845 DEBUG ++ set +x
- 72846 DEBUG ++ echo '! Helper used in legacy mode !'
- 72848 DEBUG ++ set +x
- 72850 DEBUG ++ ynh_app_setting get ghost final_path
- 72852 DEBUG ++ ACTION=get
- 72853 DEBUG ++ APP=ghost
- 72855 DEBUG ++ KEY=final_path
- 72856 DEBUG ++ VALUE=
- 72858 DEBUG ++ python -
- 73260 DEBUG + final_path=/var/www/ghost
- 73261 DEBUG + ynh_remove_systemd_config
- 73263 DEBUG + local legacy_args=s
- 73264 DEBUG + args_array=([s]=service=)
- 73266 DEBUG + declare -Ar args_array
- 73267 DEBUG + local service
- 73269 DEBUG + ynh_handle_getopts_args
- 73270 DEBUG + set +x
- 73272 DEBUG + local service=ghost
- 73273 DEBUG + local finalsystemdconf=/etc/systemd/system/ghost.service
- 73275 DEBUG + '[' -e /etc/systemd/system/ghost.service ']'
- 73276 DEBUG + yunohost service status
- 73277 DEBUG + grep -q ghost
- 75284 DEBUG + ynh_remove_app_dependencies
- 75286 DEBUG + local dep_app=ghost
- 75287 DEBUG + ynh_package_autopurge ghost-ynh-deps
- 75288 DEBUG + ynh_apt autoremove --purge ghost-ynh-deps
- 75290 DEBUG + ynh_wait_dpkg_free
- 75291 DEBUG + local try
- 75293 DEBUG ++ seq 1 17
- 75294 DEBUG + for try in `seq 1 17`
- 75296 DEBUG + sudo lsof /var/lib/dpkg/lock
- 75798 DEBUG + local dpkg_dir=/var/lib/dpkg/updates/
- 75799 DEBUG ++ ls -1 /var/lib/dpkg/updates/
- 75800 DEBUG + read dpkg_file
- 75802 DEBUG + echo ''
- 75803 DEBUG + grep -Pq '^[[:digit:]]+$'
- 75805 DEBUG + read dpkg_file
- 75806 DEBUG + return 0
- 75807 DEBUG + DEBIAN_FRONTEND=noninteractive
- 75808 DEBUG + apt-get -y autoremove --purge ghost-ynh-deps
- 75910 DEBUG Reading package lists...
- 76613 DEBUG Building dependency tree...
- 76620 DEBUG Reading state information...
- 77825 DEBUG The following packages will be REMOVED:
- 77826 DEBUG ghost-ynh-deps* libc-ares2* libhttp-parser2.8* libuv1* nodejs* nodejs-doc*
- 77827 DEBUG yarn*
- 81345 DEBUG 0 upgraded, 0 newly installed, 7 to remove and 1 not upgraded.
- 81346 DEBUG After this operation, 27.2 MB disk space will be freed.
- 81448 DEBUG (Readi(Reading database ... 53029 files and directories currently installed.)
- 81549 DEBUG Removing ghost-ynh-deps (2.1.1) ...
- 81651 DEBUG Removing yarn (1.15.2-1) ...
- 81853 DEBUG Removing nodejs (8.11.1~dfsg-2~bpo9+1) ...
- 82056 DEBUG Removing libc-ares2:armhf (1.14.0-1~bpo9+1) ...
- 82259 DEBUG Removing libhttp-parser2.8:armhf (2.8.1-1~bpo9+1) ...
- 82462 DEBUG Removing libuv1:armhf (1.18.0-3~bpo9+1) ...
- 82665 DEBUG Removing nodejs-doc (8.11.1~dfsg-2~bpo9+1) ...
- 82967 DEBUG Processing triggers for libc-bin (2.24-11+deb9u4) ...
- 83068 DEBUG Processing triggers for man-db (2.7.6.1-2) ...
- 85979 DEBUG + ynh_mysql_remove_db ghost ghost
- 85982 DEBUG + local legacy_args=un
- 85984 DEBUG + args_array=([u]=db_user= [n]=db_name=)
- 85987 DEBUG + declare -Ar args_array
- 85989 DEBUG + local db_user
- 85991 DEBUG + local db_name
- 85993 DEBUG + ynh_handle_getopts_args ghost ghost
- 85995 DEBUG + set +x
- 85998 DEBUG + echo '! Helper used in legacy mode !'
- 86001 DEBUG + set +x
- 86004 DEBUG ++ sudo cat /etc/yunohost/mysql
- 86107 DEBUG + local mysql_root_password=JjyM6RSmqw
- 86110 DEBUG + mysqlshow -u root -pJjyM6RSmqw
- 86115 WARNING Removing database ghost
- 86118 DEBUG + grep -q '^| ghost'
- 86120 DEBUG + echo 'Removing database ghost'
- 86123 DEBUG + ynh_mysql_drop_db ghost
- 86125 DEBUG + ynh_mysql_execute_as_root '--sql=DROP DATABASE ghost;'
- 86127 DEBUG + local legacy_args=sd
- 86130 DEBUG + args_array=([s]=sql= [d]=database=)
- 86132 DEBUG + declare -Ar args_array
- 86134 DEBUG + local sql
- 86137 DEBUG + local database
- 86139 DEBUG + ynh_handle_getopts_args '--sql=DROP DATABASE ghost;'
- 86141 DEBUG + set +x
- 86244 DEBUG + database=
- 86246 DEBUG ++ sudo cat /etc/yunohost/mysql
- 86349 DEBUG + ynh_mysql_connect_as --user=root --password=JjyM6RSmqw --database=
- 86351 DEBUG + local legacy_args=upd
- 86353 DEBUG + args_array=([u]=user= [p]=password= [d]=database=)
- 86356 DEBUG + declare -Ar args_array
- 86358 DEBUG + local user
- 86360 DEBUG + local password
- 86362 DEBUG + local database
- 86364 DEBUG + ynh_handle_getopts_args --user=root --password=JjyM6RSmqw --database=
- 86366 DEBUG + set +x
- 86368 DEBUG + database=
- 86370 DEBUG + mysql -u root --password=JjyM6RSmqw -B ''
- 86472 DEBUG ++ ynh_mysql_user_exists --user=ghost
- 86474 DEBUG ++ local legacy_args=u
- 86476 DEBUG ++ args_array=([u]=user=)
- 86478 DEBUG ++ declare -Ar args_array
- 86480 DEBUG ++ local user
- 86482 DEBUG ++ ynh_handle_getopts_args --user=ghost
- 86484 DEBUG ++ set +x
- 86486 DEBUG +++ ynh_mysql_execute_as_root '--sql=SELECT User from mysql.user WHERE User = '\''ghost'\'';'
- 86488 DEBUG +++ local legacy_args=sd
- 86490 DEBUG +++ args_array=([s]=sql= [d]=database=)
- 86492 DEBUG +++ declare -Ar args_array
- 86494 DEBUG +++ local sql
- 86496 DEBUG +++ local database
- 86498 DEBUG +++ ynh_handle_getopts_args '--sql=SELECT User from mysql.user WHERE User = '\''ghost'\'';'
- 86500 DEBUG +++ set +x
- 86503 DEBUG +++ database=
- 86505 DEBUG ++++ sudo cat /etc/yunohost/mysql
- 86609 DEBUG +++ ynh_mysql_connect_as --user=root --password=JjyM6RSmqw --database=
- 86612 DEBUG +++ local legacy_args=upd
- 86618 DEBUG +++ args_array=([u]=user= [p]=password= [d]=database=)
- 86620 DEBUG +++ declare -Ar args_array
- 86623 DEBUG +++ local user
- 86625 DEBUG +++ local password
- 86627 DEBUG +++ local database
- 86628 DEBUG +++ ynh_handle_getopts_args --user=root --password=JjyM6RSmqw --database=
- 86630 DEBUG +++ set +x
- 86732 DEBUG +++ database=
- 86735 DEBUG +++ mysql -u root --password=JjyM6RSmqw -B ''
- 86736 DEBUG ++ [[ -z User
- 86738 DEBUG ghost ]]
- 86740 DEBUG ++ return 0
- 86743 DEBUG + ynh_mysql_drop_user ghost
- 86745 DEBUG + ynh_mysql_execute_as_root '--sql=DROP USER '\''ghost'\''@'\''localhost'\'';'
- 86746 DEBUG + local legacy_args=sd
- 86748 DEBUG + args_array=([s]=sql= [d]=database=)
- 86750 DEBUG + declare -Ar args_array
- 86752 DEBUG + local sql
- 86754 DEBUG + local database
- 86756 DEBUG + ynh_handle_getopts_args '--sql=DROP USER '\''ghost'\''@'\''localhost'\'';'
- 86758 DEBUG + set +x
- 86860 DEBUG + database=
- 86862 DEBUG ++ sudo cat /etc/yunohost/mysql
- 86965 DEBUG + ynh_mysql_connect_as --user=root --password=JjyM6RSmqw --database=
- 86967 DEBUG + local legacy_args=upd
- 86968 DEBUG + args_array=([u]=user= [p]=password= [d]=database=)
- 86970 DEBUG + declare -Ar args_array
- 86971 DEBUG + local user
- 86973 DEBUG + local password
- 86975 DEBUG + local database
- 86977 DEBUG + ynh_handle_getopts_args --user=root --password=JjyM6RSmqw --database=
- 86978 DEBUG + set +x
- 86980 DEBUG + database=
- 86982 DEBUG + mysql -u root --password=JjyM6RSmqw -B ''
- 87084 DEBUG + ynh_secure_remove /var/www/ghost
- 87086 WARNING /var/www/ghost wasn't deleted because it doesn't exist.
- 87088 DEBUG + local legacy_args=f
- 87090 WARNING /etc/nginx/conf.d/notkaa.xyz.d/ghost.conf wasn't deleted because it doesn't exist.
- 87092 DEBUG + args_array=([f]=file=)
- 87094 DEBUG + declare -Ar args_array
- 87096 DEBUG + local file
- 87098 DEBUG + ynh_handle_getopts_args /var/www/ghost
- 87100 DEBUG + set +x
- 87102 DEBUG + echo '! Helper used in legacy mode !'
- 87104 DEBUG + set +x
- 87106 DEBUG + local 'forbidden_path= /var/www /home/yunohost.app'
- 87108 DEBUG + '[' 1 -ge 2 ']'
- 87109 DEBUG + [[ /var/www /home/yunohost.app =~ /var/www/ghost ]]
- 87111 DEBUG + [[ /var/www/ghost =~ ^/[[:alnum:]]+$ ]]
- 87113 DEBUG + [[ t = \/ ]]
- 87115 DEBUG + '[' -e /var/www/ghost ']'
- 87117 DEBUG + echo '/var/www/ghost wasn'\''t deleted because it doesn'\''t exist.'
- 87119 DEBUG + ynh_remove_nginx_config
- 87121 DEBUG + ynh_secure_remove --file=/etc/nginx/conf.d/notkaa.xyz.d/ghost.conf
- 87123 DEBUG + local legacy_args=f
- 87125 DEBUG + args_array=([f]=file=)
- 87127 DEBUG + declare -Ar args_array
- 87129 DEBUG + local file
- 87131 DEBUG + ynh_handle_getopts_args --file=/etc/nginx/conf.d/notkaa.xyz.d/ghost.conf
- 87133 DEBUG + set +x
- 87134 DEBUG + local 'forbidden_path= /var/www /home/yunohost.app'
- 87136 DEBUG + '[' 1 -ge 2 ']'
- 87138 DEBUG + [[ /var/www /home/yunohost.app =~ /etc/nginx/conf\.d/notkaa\.xyz\.d/ghost\.conf ]]
- 87140 DEBUG + [[ /etc/nginx/conf.d/notkaa.xyz.d/ghost.conf =~ ^/[[:alnum:]]+$ ]]
- 87142 DEBUG + [[ f = \/ ]]
- 87144 DEBUG + '[' -e /etc/nginx/conf.d/notkaa.xyz.d/ghost.conf ']'
- 87146 DEBUG + echo '/etc/nginx/conf.d/notkaa.xyz.d/ghost.conf wasn'\''t deleted because it doesn'\''t exist.'
- 87148 DEBUG + ynh_systemd_action --service_name=nginx --action=reload
- 87150 DEBUG + local legacy_args=nalpte
- 87151 DEBUG + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
- 87153 DEBUG + declare -Ar args_array
- 87155 DEBUG + local service_name
- 87157 DEBUG + local action
- 87159 DEBUG + local line_match
- 87161 DEBUG + local length
- 87163 DEBUG + local log_path
- 87165 DEBUG + local timeout
- 87167 DEBUG + ynh_handle_getopts_args --service_name=nginx --action=reload
- 87169 DEBUG + set +x
- 87171 DEBUG + local service_name=nginx
- 87173 DEBUG + local action=reload
- 87175 DEBUG + local log_path=/var/log/nginx/nginx.log
- 87176 DEBUG + local length=20
- 87178 DEBUG + local timeout=300
- 87179 DEBUG + [[ -n '' ]]
- 87181 DEBUG + ynh_print_info '--message=Reload the service nginx'
- 87184 DEBUG + local legacy_args=m
- 87185 DEBUG + args_array=([m]=message=)
- 87187 DEBUG + declare -Ar args_array
- 87189 DEBUG + local message
- 87191 DEBUG + ynh_handle_getopts_args '--message=Reload the service nginx'
- 87193 DEBUG + set +x
- 87194 DEBUG + echo 'Reload the service nginx'
- 87196 DEBUG + '[' reload == reload ']'
- 87197 DEBUG + action=reload-or-restart
- 87199 DEBUG + systemctl reload-or-restart nginx
- 87902 DEBUG + [[ -n '' ]]
- 87904 INFO Reload the service nginx
- 87905 DEBUG + yunohost firewall list
- 87906 DEBUG + grep -q '\- 4010$'
- 89111 DEBUG + ynh_system_user_delete ghost
- 89112 WARNING The user ghost was not found
- 89113 DEBUG + local legacy_args=u
- 89114 DEBUG + args_array=([u]=username=)
- 89115 DEBUG + declare -Ar args_array
- 89116 DEBUG + local username
- 89116 DEBUG + ynh_handle_getopts_args ghost
- 89117 DEBUG + set +x
- 89118 DEBUG + echo '! Helper used in legacy mode !'
- 89119 DEBUG + set +x
- 89120 DEBUG + ynh_system_user_exists ghost
- 89121 DEBUG + local legacy_args=u
- 89122 DEBUG + args_array=([u]=username=)
- 89123 DEBUG + declare -Ar args_array
- 89123 DEBUG + local username
- 89124 DEBUG + ynh_handle_getopts_args ghost
- 89125 DEBUG + set +x
- 89126 DEBUG + echo '! Helper used in legacy mode !'
- 89127 DEBUG + set +x
- 89128 DEBUG + getent passwd ghost
- 89129 DEBUG + echo 'The user ghost was not found'
- 89129 DEBUG + ynh_system_group_exists ghost
- 89130 DEBUG + local legacy_args=g
- 89131 DEBUG + args_array=([g]=group=)
- 89132 DEBUG + declare -Ar args_array
- 89133 DEBUG + local group
- 89134 DEBUG + ynh_handle_getopts_args ghost
- 89135 DEBUG + set +x
- 89135 DEBUG + echo '! Helper used in legacy mode !'
- 89136 DEBUG + set +x
- 89137 DEBUG + getent group ghost
- 89279 DEBUG To view the log of the operation 'Remove 'ghost' after a failed installation', use the command 'yunohost log display 20190414-083348-remove_on_failed_install-ghost'
- 90360 SUCCESS The SSOwat configuration has been generated
- 90362 DEBUG action [22014.1] executed in 89.267s
- 90363 DEBUG lock has been released
- 90363 ERROR The operation 'Install 'ghost' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190414-083301-app_install-ghost --share'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement