Erreur installation "searx" et service "uswgi" qui ne démarre pas

Mon serveur YunoHost

**Matériel: Desktop Type Lenovo Thinkcentre. Intel Core I5 3600 MHZ. 16 Go RAM. HDD sata 500 GO
**Version de YunoHost: 3.8.4.9
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

Bonjour,

j’utilise Yunohost à mon domicile depuis maintenant quelques temps pour héberger mes services mails, cloud etc.

Il y a peu j’ai voulu installer l’applicationn “Searx” sur le server. J’ai eu un message d’erreur lors de l’installation avec comme incidence une application qui ne fonctionne pas. Egalement le service uswgi qui est incapable de démarrer.

Je vous met le message d’erreur suite à l’installation :

  app: searx
  args: domain=recherche.domain2.tld&path=%2Fsearx&is_public=0
  force: false
  label: Searx
  no_remove_on_failure: false
ended_at: 2020-07-13 14:22:33.733465
env:
  YNH_APP_ARG_DOMAIN: recherche.domain2.tld
  YNH_APP_ARG_IS_PUBLIC: 0
  YNH_APP_ARG_PATH: /searx
  YNH_APP_ID: searx
  YNH_APP_INSTANCE_NAME: searx
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_CWD: /var/cache/yunohost/from_file/searx_ynh-394bf14dcd346d4e781b5646e8d1dd297e68b4ba/scripts
  YNH_INTERFACE: api
  YNH_STDINFO: /tmp/tmp2uPWVX/stdinfo
  YNH_STDRETURN: /tmp/tmpprr5WR/stdreturn
error: "Une erreur est survenue dans le script d\u2019installation de l\u2019application"
operation: app_install
related_to:
- - app
  - searx
started_at: 2020-07-13 14:21:38.485287
success: false
yunohost_version: 3.8.4.9

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

2020-07-13 16:21:38,519: INFO - Installation de l’application searx …
2020-07-13 16:21:38,587: DEBUG - The permission database has been resynchronized
2020-07-13 16:21:39,160: DEBUG - La configuration de SSOwat générée
2020-07-13 16:21:39,167: DEBUG - No default hook for action 'post_app_addaccess' in /usr/share/yunohost/hooks/
2020-07-13 16:21:39,167: DEBUG - No custom hook for action 'post_app_addaccess' in /etc/yunohost/hooks.d/
2020-07-13 16:21:39,168: DEBUG - Permission 'searx.main' créée
2020-07-13 16:21:39,179: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20200713-142138-permission_create-searx" style="text-decoration:underline"> Créer permission 'searx' </a>'
2020-07-13 16:21:39,188: DEBUG - Exécution de la commande 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/searx_ynh-394bf14dcd346d4e781b5646e8d1dd297e68b4ba/scripts YNH_APP_ARG_IS_PUBLIC=0 YNH_STDINFO=/tmp/tmp2uPWVX/stdinfo YNH_APP_INSTANCE_NAME=searx YNH_INTERFACE=api YNH_APP_ID=searx YNH_APP_ARG_PATH=/searx YNH_STDRETURN=/tmp/tmpprr5WR/stdreturn YNH_APP_ARG_DOMAIN=recherche.domain2.tld BASH_XTRACEFD=7 /bin/bash -x "./install" recherche.domain2.tld /searx 0 searx 7>&1' …
2020-07-13 16:21:39,189: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/searx_ynh-394bf14dcd346d4e781b5646e8d1dd297e68b4ba/scripts YNH_APP_ARG_IS_PUBLIC=0 YNH_STDINFO=/tmp/tmp2uPWVX/stdinfo YNH_APP_INSTANCE_NAME=searx YNH_INTERFACE=api YNH_APP_ID=searx YNH_APP_ARG_PATH=/searx YNH_STDRETURN=/tmp/tmpprr5WR/stdreturn YNH_APP_ARG_DOMAIN=recherche.domain2.tld BASH_XTRACEFD=7 /bin/bash -x "./install" recherche.domain2.tld /searx 0 searx 7>&1']'
2020-07-13 16:21:39,206: DEBUG - + source _common.sh
2020-07-13 16:21:39,206: DEBUG - ++ pkg_dependencies='git build-essential libxslt-dev python-dev python-virtualenv python-cffi virtualenv python-babel zlib1g-dev libffi-dev libssl-dev python-lxml uwsgi uwsgi-plugin-python'
2020-07-13 16:21:39,206: DEBUG - + source /usr/share/yunohost/helpers
2020-07-13 16:21:39,307: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2020-07-13 16:21:39,307: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-07-13 16:21:39,307: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2020-07-13 16:21:39,308: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2020-07-13 16:21:39,308: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-07-13 16:21:39,308: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2020-07-13 16:21:39,308: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2020-07-13 16:21:39,308: DEBUG - +++ CAN_BIND=1
2020-07-13 16:21:39,309: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-07-13 16:21:39,309: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2020-07-13 16:21:39,309: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2020-07-13 16:21:39,309: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-07-13 16:21:39,309: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2020-07-13 16:21:39,310: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2020-07-13 16:21:39,310: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-07-13 16:21:39,310: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/hardware ']'
2020-07-13 16:21:39,310: DEBUG - ++ . /usr/share/yunohost/helpers.d/hardware
2020-07-13 16:21:39,310: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-07-13 16:21:39,310: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2020-07-13 16:21:39,311: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2020-07-13 16:21:39,311: DEBUG - +++ increment_progression=0
2020-07-13 16:21:39,311: DEBUG - +++ previous_weight=0
2020-07-13 16:21:39,311: DEBUG - +++ max_progression=-1
2020-07-13 16:21:39,311: DEBUG - +++ progress_scale=20
2020-07-13 16:21:39,312: DEBUG - +++ progress_string2='####################'
2020-07-13 16:21:39,312: DEBUG - +++ progress_string1=++++++++++++++++++++
2020-07-13 16:21:39,312: DEBUG - +++ progress_string0=....................
2020-07-13 16:21:39,312: DEBUG - ++++ date +%s
2020-07-13 16:21:39,312: DEBUG - +++ base_time=1594650099
2020-07-13 16:21:39,312: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-07-13 16:21:39,313: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2020-07-13 16:21:39,313: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2020-07-13 16:21:39,313: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-07-13 16:21:39,313: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2020-07-13 16:21:39,313: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2020-07-13 16:21:39,313: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2020-07-13 16:21:39,314: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-07-13 16:21:39,314: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2020-07-13 16:21:39,314: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2020-07-13 16:21:39,314: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-07-13 16:21:39,314: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2020-07-13 16:21:39,315: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2020-07-13 16:21:39,315: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-07-13 16:21:39,315: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2020-07-13 16:21:39,315: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2020-07-13 16:21:39,315: DEBUG - +++ n_version=6.5.1
2020-07-13 16:21:39,315: DEBUG - +++ n_install_dir=/opt/node_n
2020-07-13 16:21:39,316: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2020-07-13 16:21:39,316: DEBUG - +++ export N_PREFIX=/opt/node_n
2020-07-13 16:21:39,316: DEBUG - +++ N_PREFIX=/opt/node_n
2020-07-13 16:21:39,316: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-07-13 16:21:39,316: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2020-07-13 16:21:39,316: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2020-07-13 16:21:39,317: DEBUG - +++ readonly YNH_DEFAULT_PHP_VERSION=7.0
2020-07-13 16:21:39,317: DEBUG - +++ YNH_DEFAULT_PHP_VERSION=7.0
2020-07-13 16:21:39,317: DEBUG - +++ YNH_PHP_VERSION=7.0
2020-07-13 16:21:39,317: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-07-13 16:21:39,317: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2020-07-13 16:21:39,318: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2020-07-13 16:21:39,318: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2020-07-13 16:21:39,318: DEBUG - +++ PSQL_VERSION=9.6
2020-07-13 16:21:39,318: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-07-13 16:21:39,318: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2020-07-13 16:21:39,318: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2020-07-13 16:21:39,319: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-07-13 16:21:39,319: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2020-07-13 16:21:39,319: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2020-07-13 16:21:39,319: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-07-13 16:21:39,319: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2020-07-13 16:21:39,319: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2020-07-13 16:21:39,320: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-07-13 16:21:39,320: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2020-07-13 16:21:39,320: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2020-07-13 16:21:39,320: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-07-13 16:21:39,320: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2020-07-13 16:21:39,321: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2020-07-13 16:21:39,321: DEBUG - + ynh_abort_if_errors
2020-07-13 16:21:39,321: DEBUG - + set -o errexit
2020-07-13 16:21:39,321: DEBUG - + set -o nounset
2020-07-13 16:21:39,321: DEBUG - + trap ynh_exit_properly EXIT
2020-07-13 16:21:39,321: DEBUG - + domain=recherche.domain2.tld
2020-07-13 16:21:39,322: DEBUG - + path_url=/searx
2020-07-13 16:21:39,322: DEBUG - + is_public=0
2020-07-13 16:21:39,322: DEBUG - + app=searx
2020-07-13 16:21:39,323: DEBUG - + echo '[....................] > Validating installation parameters...'
2020-07-13 16:21:39,323: DEBUG - + final_path=/opt/yunohost/searx
2020-07-13 16:21:39,323: DEBUG - + test '!' -e /opt/yunohost/searx
2020-07-13 16:21:39,324: DEBUG - + ynh_webpath_register --app=searx --domain=recherche.domain2.tld --path_url=/searx
2020-07-13 16:21:39,325: DEBUG - + yunohost app register-url searx recherche.domain2.tld /searx
2020-07-13 16:21:39,726: INFO - [....................] > Validating installation parameters...
2020-07-13 16:21:39,728: DEBUG - + echo '[+...................] > Storing installation settings...'
2020-07-13 16:21:39,728: DEBUG - + ynh_app_setting_set --app=searx --key=domain --value=recherche.domain2.tld
2020-07-13 16:21:39,729: DEBUG - + ynh_app_setting set searx domain recherche.domain2.tld
2020-07-13 16:21:39,729: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-07-13 16:21:39,729: DEBUG - + ACTION=set
2020-07-13 16:21:39,729: DEBUG - + APP=searx
2020-07-13 16:21:39,729: DEBUG - + KEY=domain
2020-07-13 16:21:39,729: DEBUG - + VALUE=recherche.domain2.tld
2020-07-13 16:21:39,729: DEBUG - + python2.7 -
2020-07-13 16:21:39,830: DEBUG - + [[ domain =~ ^(unprotected|skipped)_ ]]
2020-07-13 16:21:39,830: INFO - [+...................] > Storing installation settings...
2020-07-13 16:21:39,830: DEBUG - + ynh_app_setting_set --app=searx --key=path --value=/searx
2020-07-13 16:21:39,831: DEBUG - + ynh_app_setting set searx path /searx
2020-07-13 16:21:39,831: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-07-13 16:21:39,831: DEBUG - + ACTION=set
2020-07-13 16:21:39,831: DEBUG - + APP=searx
2020-07-13 16:21:39,832: DEBUG - + KEY=path
2020-07-13 16:21:39,832: DEBUG - + VALUE=/searx
2020-07-13 16:21:39,832: DEBUG - + python2.7 -
2020-07-13 16:21:39,832: DEBUG - + [[ path =~ ^(unprotected|skipped)_ ]]
2020-07-13 16:21:39,832: DEBUG - + ynh_app_setting_set --app=searx --key=is_public --value=0
2020-07-13 16:21:39,833: DEBUG - + ynh_app_setting set searx is_public 0
2020-07-13 16:21:39,833: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-07-13 16:21:39,833: DEBUG - + ACTION=set
2020-07-13 16:21:39,833: DEBUG - + APP=searx
2020-07-13 16:21:39,833: DEBUG - + KEY=is_public
2020-07-13 16:21:39,833: DEBUG - + VALUE=0
2020-07-13 16:21:39,833: DEBUG - + python2.7 -
2020-07-13 16:21:39,934: DEBUG - + [[ is_public =~ ^(unprotected|skipped)_ ]]
2020-07-13 16:21:39,935: DEBUG - + echo '[#++++++++++++.......] > Installing dependencies...'
2020-07-13 16:21:39,935: DEBUG - + ynh_install_app_dependencies git build-essential libxslt-dev python-dev python-virtualenv python-cffi virtualenv python-babel zlib1g-dev libffi-dev libssl-dev python-lxml uwsgi uwsgi-plugin-python
2020-07-13 16:21:39,935: DEBUG - + local 'dependencies=git build-essential libxslt-dev python-dev python-virtualenv python-cffi virtualenv python-babel zlib1g-dev libffi-dev libssl-dev python-lxml uwsgi uwsgi-plugin-python'
2020-07-13 16:21:39,935: DEBUG - ++ echo 'git build-essential libxslt-dev python-dev python-virtualenv python-cffi virtualenv python-babel zlib1g-dev libffi-dev libssl-dev python-lxml uwsgi uwsgi-plugin-python'
2020-07-13 16:21:39,935: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2020-07-13 16:21:39,935: DEBUG - + dependencies='git, build-essential, libxslt-dev, python-dev, python-virtualenv, python-cffi, virtualenv, python-babel, zlib1g-dev, libffi-dev, libssl-dev, python-lxml, uwsgi, uwsgi-plugin-python'
2020-07-13 16:21:39,935: DEBUG - + local 'dependencies=git, build-essential, libxslt-dev, python-dev, python-virtualenv, python-cffi, virtualenv, python-babel, zlib1g-dev, libffi-dev, libssl-dev, python-lxml, uwsgi, uwsgi-plugin-python'
2020-07-13 16:21:39,935: DEBUG - + local manifest_path=../manifest.json
2020-07-13 16:21:39,936: DEBUG - + '[' '!' -e ../manifest.json ']'
2020-07-13 16:21:39,936: DEBUG - ++ grep '\"version\": ' ../manifest.json
2020-07-13 16:21:39,936: DEBUG - ++ cut '--delimiter="' --fields=4
2020-07-13 16:21:39,936: DEBUG - + local version=0.16.0~ynh1
2020-07-13 16:21:39,936: DEBUG - + '[' 11 -eq 0 ']'
2020-07-13 16:21:39,936: DEBUG - + local dep_app=searx
2020-07-13 16:21:39,936: DEBUG - + [[ git, build-essential, libxslt-dev, python-dev, python-virtualenv, python-cffi, virtualenv, python-babel, zlib1g-dev, libffi-dev, libssl-dev, python-lxml, uwsgi, uwsgi-plugin-python =~ [<=>] ]]
2020-07-13 16:21:39,936: DEBUG - + echo git, build-essential, libxslt-dev, python-dev, python-virtualenv, python-cffi, virtualenv, python-babel, zlib1g-dev, libffi-dev, libssl-dev, python-lxml, uwsgi, uwsgi-plugin-python
2020-07-13 16:21:39,936: DEBUG - + grep --quiet php
2020-07-13 16:21:39,937: DEBUG - + cat
2020-07-13 16:21:39,937: DEBUG - + ynh_package_install_from_equivs /tmp/searx-ynh-deps.control
2020-07-13 16:21:39,937: DEBUG - + local controlfile=/tmp/searx-ynh-deps.control
2020-07-13 16:21:39,937: DEBUG - ++ grep '^Package: ' /tmp/searx-ynh-deps.control
2020-07-13 16:21:39,937: DEBUG - ++ cut '--delimiter= ' --fields=2
2020-07-13 16:21:39,937: DEBUG - + local pkgname=searx-ynh-deps
2020-07-13 16:21:39,937: DEBUG - ++ grep '^Version: ' /tmp/searx-ynh-deps.control
2020-07-13 16:21:39,937: DEBUG - ++ cut '--delimiter= ' --fields=2
2020-07-13 16:21:39,938: DEBUG - + local pkgversion=0.16.0~ynh1
2020-07-13 16:21:39,938: DEBUG - + [[ -z searx-ynh-deps ]]
2020-07-13 16:21:39,938: DEBUG - + [[ -z 0.16.0~ynh1 ]]
2020-07-13 16:21:39,938: DEBUG - + ynh_package_update
2020-07-13 16:21:39,938: DEBUG - + ynh_apt update
2020-07-13 16:21:39,938: DEBUG - + ynh_wait_dpkg_free
2020-07-13 16:21:40,239: DEBUG - + return 0
2020-07-13 16:21:40,240: INFO - [#++++++++++++.......] > Installing dependencies...
2020-07-13 16:21:40,240: DEBUG - + LC_ALL=C
2020-07-13 16:21:40,240: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-07-13 16:21:40,241: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2020-07-13 16:21:41,042: DEBUG - Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
2020-07-13 16:21:41,143: DEBUG - Ign:2 http://ftp.debian.org/debian stretch InRelease
2020-07-13 16:21:41,143: DEBUG - Hit:3 http://forge.yunohost.org/debian stretch InRelease
2020-07-13 16:21:41,143: DEBUG - Hit:4 http://download.onlyoffice.com/repo/debian squeeze InRelease
2020-07-13 16:21:41,143: DEBUG - Hit:5 http://ftp.debian.org/debian stretch-updates InRelease
2020-07-13 16:21:41,143: DEBUG - Hit:6 https://packages.sury.org/php stretch InRelease
2020-07-13 16:21:41,244: DEBUG - Hit:7 http://ftp.debian.org/debian stretch Release
2020-07-13 16:21:41,244: DEBUG - Hit:8 https://download.docker.com/linux/debian stretch InRelease
2020-07-13 16:21:41,244: DEBUG - Hit:9 https://deb.nodesource.com/node_10.x stretch InRelease
2020-07-13 16:21:41,244: DEBUG - Hit:10 https://packages.cisofy.com/community/lynis/deb stable InRelease
2020-07-13 16:21:43,148: DEBUG - Reading package lists...
2020-07-13 16:21:43,148: DEBUG - ++ mktemp --directory
2020-07-13 16:21:43,149: DEBUG - + local TMPDIR=/tmp/tmp.OHGfPbTzmB
2020-07-13 16:21:43,149: DEBUG - + echo 10
2020-07-13 16:21:43,149: DEBUG - + ynh_wait_dpkg_free
2020-07-13 16:21:43,450: DEBUG - + return 0
2020-07-13 16:21:43,450: DEBUG - + cp /tmp/searx-ynh-deps.control /tmp/tmp.OHGfPbTzmB/control
2020-07-13 16:21:43,450: DEBUG - + cd /tmp/tmp.OHGfPbTzmB
2020-07-13 16:21:43,450: DEBUG - + LC_ALL=C
2020-07-13 16:21:43,451: DEBUG - + equivs-build ./control
2020-07-13 16:21:44,653: DEBUG - + dpkg --force-depends --install ./searx-ynh-deps_0.16.0~ynh1_all.deb
2020-07-13 16:21:44,854: DEBUG - Sélection du paquet searx-ynh-deps précédemment désélectionné.
2020-07-13 16:21:49,663: DEBUG - (Lecture de la base de données... 130691 fichiers et répertoires déjà installés.)
2020-07-13 16:21:49,663: DEBUG - Préparation du dépaquetage de .../searx-ynh-deps_0.16.0~ynh1_all.deb ...
2020-07-13 16:21:50,265: DEBUG - Dépaquetage de searx-ynh-deps (0.16.0~ynh1) ...
2020-07-13 16:21:50,566: DEBUG - dpkg: searx-ynh-deps : problèmes de dépendances, mais configuration comme demandé :
2020-07-13 16:21:50,566: DEBUG -  searx-ynh-deps dépend de python-cffi ; cependant :
2020-07-13 16:21:50,566: DEBUG -   Le paquet python-cffi n'est pas installé.
2020-07-13 16:21:50,566: DEBUG -  searx-ynh-deps dépend de python-babel ; cependant :
2020-07-13 16:21:50,567: DEBUG -   Le paquet python-babel n'est pas installé.
2020-07-13 16:21:50,567: DEBUG - 
2020-07-13 16:21:50,567: DEBUG - Paramétrage de searx-ynh-deps (0.16.0~ynh1) ...
2020-07-13 16:21:50,868: DEBUG - + ynh_package_install --fix-broken
2020-07-13 16:21:50,869: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2020-07-13 16:21:50,869: DEBUG - + ynh_wait_dpkg_free
2020-07-13 16:21:51,170: DEBUG - + return 0
2020-07-13 16:21:51,170: DEBUG - + LC_ALL=C
2020-07-13 16:21:51,170: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-07-13 16:21:51,170: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2020-07-13 16:21:51,271: DEBUG - Reading package lists...
2020-07-13 16:21:51,772: DEBUG - Building dependency tree...
2020-07-13 16:21:51,772: DEBUG - Reading state information...
2020-07-13 16:21:51,772: DEBUG - Correcting dependencies... Done
2020-07-13 16:21:51,873: DEBUG - The following additional packages will be installed:
2020-07-13 16:21:51,873: DEBUG -   python-babel python-babel-localedata python-cffi python-ply python-pycparser
2020-07-13 16:21:51,873: DEBUG - Suggested packages:
2020-07-13 16:21:51,873: DEBUG -   python-ply-doc
2020-07-13 16:21:51,973: DEBUG - The following NEW packages will be installed:
2020-07-13 16:21:51,974: DEBUG -   python-babel python-babel-localedata python-cffi python-ply python-pycparser
2020-07-13 16:21:52,875: DEBUG - 0 upgraded, 5 newly installed, 0 to remove and 12 not upgraded.
2020-07-13 16:21:52,876: DEBUG - Need to get 0 B/3685 kB of archives.
2020-07-13 16:21:52,876: DEBUG - After this operation, 18.9 MB of additional disk space will be used.
2020-07-13 16:21:53,076: DEBUG - Selecting previously unselected package python-babel-localedata.
2020-07-13 16:21:53,077: DEBUG - (Reading database ... 130695 files and directories currently installed.)
2020-07-13 16:21:53,077: DEBUG - Preparing to unpack .../python-babel-localedata_2.3.4+dfsg.1-2_all.deb ...
2020-07-13 16:21:53,177: DEBUG - Unpacking python-babel-localedata (2.3.4+dfsg.1-2) ...
2020-07-13 16:21:54,380: DEBUG - Selecting previously unselected package python-babel.
2020-07-13 16:21:54,380: DEBUG - Preparing to unpack .../python-babel_2.3.4+dfsg.1-2_all.deb ...
2020-07-13 16:21:54,481: DEBUG - Unpacking python-babel (2.3.4+dfsg.1-2) ...
2020-07-13 16:21:55,082: DEBUG - Selecting previously unselected package python-ply.
2020-07-13 16:21:55,082: DEBUG - Preparing to unpack .../python-ply_3.9-1_all.deb ...
2020-07-13 16:21:55,183: DEBUG - Unpacking python-ply (3.9-1) ...
2020-07-13 16:21:55,785: DEBUG - Selecting previously unselected package python-pycparser.
2020-07-13 16:21:55,785: DEBUG - Preparing to unpack .../python-pycparser_2.17-2_all.deb ...
2020-07-13 16:21:55,785: DEBUG - Unpacking python-pycparser (2.17-2) ...
2020-07-13 16:21:56,387: DEBUG - Selecting previously unselected package python-cffi.
2020-07-13 16:21:56,387: DEBUG - Preparing to unpack .../python-cffi_1.9.1-2_all.deb ...
2020-07-13 16:21:56,488: DEBUG - Unpacking python-cffi (1.9.1-2) ...
2020-07-13 16:21:57,089: DEBUG - Setting up python-ply (3.9-1) ...
2020-07-13 16:21:57,490: DEBUG - Setting up python-babel-localedata (2.3.4+dfsg.1-2) ...
2020-07-13 16:21:57,691: DEBUG - Processing triggers for man-db (2.7.6.1-2) ...
2020-07-13 16:21:59,094: DEBUG - Setting up python-pycparser (2.17-2) ...
2020-07-13 16:21:59,395: DEBUG - Setting up python-babel (2.3.4+dfsg.1-2) ...
2020-07-13 16:21:59,495: DEBUG - update-alternatives: using /usr/bin/pybabel-python2 to provide /usr/bin/pybabel (pybabel) in auto mode
2020-07-13 16:21:59,796: DEBUG - Setting up python-cffi (1.9.1-2) ...
2020-07-13 16:22:00,403: DEBUG - + [[ -n /tmp/tmp.OHGfPbTzmB ]]
2020-07-13 16:22:00,403: DEBUG - + rm --recursive --force /tmp/tmp.OHGfPbTzmB
2020-07-13 16:22:00,403: DEBUG - + ynh_package_is_installed searx-ynh-deps
2020-07-13 16:22:00,404: DEBUG - + ynh_wait_dpkg_free
2020-07-13 16:22:00,605: DEBUG - + return 0
2020-07-13 16:22:00,605: DEBUG - + dpkg-query --show '--showformat=${Status}' searx-ynh-deps
2020-07-13 16:22:00,605: DEBUG - + grep --count 'ok installed'
2020-07-13 16:22:00,606: DEBUG - + rm /tmp/searx-ynh-deps.control
2020-07-13 16:22:00,606: DEBUG - + ynh_app_setting_set --app=searx --key=apt_dependencies '--value=git, build-essential, libxslt-dev, python-dev, python-virtualenv, python-cffi, virtualenv, python-babel, zlib1g-dev, libffi-dev, libssl-dev, python-lxml, uwsgi, uwsgi-plugin-python'
2020-07-13 16:22:00,607: DEBUG - + ynh_app_setting set searx apt_dependencies 'git, build-essential, libxslt-dev, python-dev, python-virtualenv, python-cffi, virtualenv, python-babel, zlib1g-dev, libffi-dev, libssl-dev, python-lxml, uwsgi, uwsgi-plugin-python'
2020-07-13 16:22:00,607: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-07-13 16:22:00,607: DEBUG - + ACTION=set
2020-07-13 16:22:00,607: DEBUG - + APP=searx
2020-07-13 16:22:00,607: DEBUG - + KEY=apt_dependencies
2020-07-13 16:22:00,607: DEBUG - + VALUE='git, build-essential, libxslt-dev, python-dev, python-virtualenv, python-cffi, virtualenv, python-babel, zlib1g-dev, libffi-dev, libssl-dev, python-lxml, uwsgi, uwsgi-plugin-python'
2020-07-13 16:22:00,607: DEBUG - + python2.7 -
2020-07-13 16:22:00,708: DEBUG - + [[ apt_dependencies =~ ^(unprotected|skipped)_ ]]
2020-07-13 16:22:00,709: DEBUG - + echo '[#############+......] > Configuring nginx web server...'
2020-07-13 16:22:00,709: DEBUG - + path_no_root=/searx
2020-07-13 16:22:00,709: DEBUG - + ynh_add_nginx_config path_no_root
2020-07-13 16:22:00,709: DEBUG - + finalnginxconf=/etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,709: DEBUG - + local others_var=path_no_root
2020-07-13 16:22:00,710: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,711: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_recherche.domain2.tld.d_searx.conf
2020-07-13 16:22:00,711: DEBUG - ++ ynh_app_setting_get --app=searx --key=checksum__etc_nginx_conf.d_recherche.domain2.tld.d_searx.conf
2020-07-13 16:22:00,712: DEBUG - ++ ynh_app_setting get searx checksum__etc_nginx_conf.d_recherche.domain2.tld.d_searx.conf
2020-07-13 16:22:00,712: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
2020-07-13 16:22:00,712: DEBUG - ++ ACTION=get
2020-07-13 16:22:00,712: DEBUG - ++ APP=searx
2020-07-13 16:22:00,712: DEBUG - ++ KEY=checksum__etc_nginx_conf.d_recherche.domain2.tld.d_searx.conf
2020-07-13 16:22:00,713: DEBUG - ++ VALUE=
2020-07-13 16:22:00,713: DEBUG - ++ python2.7 -
2020-07-13 16:22:00,813: DEBUG - ++ [[ checksum__etc_nginx_conf.d_recherche.domain2.tld.d_searx.conf =~ ^(unprotected|skipped)_ ]]
2020-07-13 16:22:00,813: INFO - [#############+......] > Configuring nginx web server...
2020-07-13 16:22:00,814: DEBUG - + local checksum_value=
2020-07-13 16:22:00,814: DEBUG - + backup_file_checksum=
2020-07-13 16:22:00,814: DEBUG - + '[' -n '' ']'
2020-07-13 16:22:00,814: DEBUG - + cp ../conf/nginx.conf /etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,814: DEBUG - + test -n /searx
2020-07-13 16:22:00,815: DEBUG - + local path_url_slash_less=/searx
2020-07-13 16:22:00,815: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/searx/ --target_file=/etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,816: DEBUG - + local delimit=@
2020-07-13 16:22:00,816: DEBUG - + match_string=__PATH__/
2020-07-13 16:22:00,816: DEBUG - + replace_string=/searx/
2020-07-13 16:22:00,816: DEBUG - + sed --in-place s@__PATH__/@/searx/@g /etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,816: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/searx --target_file=/etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,818: DEBUG - + local delimit=@
2020-07-13 16:22:00,818: DEBUG - + match_string=__PATH__
2020-07-13 16:22:00,818: DEBUG - + replace_string=/searx
2020-07-13 16:22:00,818: DEBUG - + sed --in-place s@__PATH__@/searx@g /etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,818: DEBUG - + test -n recherche.domain2.tld
2020-07-13 16:22:00,819: DEBUG - + ynh_replace_string --match_string=__DOMAIN__ --replace_string=recherche.domain2.tld --target_file=/etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,920: DEBUG - + local delimit=@
2020-07-13 16:22:00,920: DEBUG - + match_string=__DOMAIN__
2020-07-13 16:22:00,920: DEBUG - + replace_string=recherche.domain2.tld
2020-07-13 16:22:00,921: DEBUG - + sed --in-place s@__DOMAIN__@recherche.domain2.tld@g /etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,921: DEBUG - + test -n ''
2020-07-13 16:22:00,921: DEBUG - + test -n searx
2020-07-13 16:22:00,921: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=searx --target_file=/etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,922: DEBUG - + local delimit=@
2020-07-13 16:22:00,922: DEBUG - + match_string=__NAME__
2020-07-13 16:22:00,922: DEBUG - + replace_string=searx
2020-07-13 16:22:00,922: DEBUG - + sed --in-place s@__NAME__@searx@g /etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,922: DEBUG - + test -n /opt/yunohost/searx
2020-07-13 16:22:00,922: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/opt/yunohost/searx --target_file=/etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,923: DEBUG - + local delimit=@
2020-07-13 16:22:00,923: DEBUG - + match_string=__FINALPATH__
2020-07-13 16:22:00,923: DEBUG - + replace_string=/opt/yunohost/searx
2020-07-13 16:22:00,923: DEBUG - + sed --in-place s@__FINALPATH__@/opt/yunohost/searx@g /etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,924: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.0 --target_file=/etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,925: DEBUG - + local delimit=@
2020-07-13 16:22:00,925: DEBUG - + match_string=__PHPVERSION__
2020-07-13 16:22:00,925: DEBUG - + replace_string=7.0
2020-07-13 16:22:00,925: DEBUG - + sed --in-place s@__PHPVERSION__@7.0@g /etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,925: DEBUG - + for var_to_replace in $others_var
2020-07-13 16:22:00,925: DEBUG - + ynh_replace_string --match_string=__PATH_NO_ROOT__ --replace_string=/searx --target_file=/etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,926: DEBUG - + local delimit=@
2020-07-13 16:22:00,926: DEBUG - + match_string=__PATH_NO_ROOT__
2020-07-13 16:22:00,926: DEBUG - + replace_string=/searx
2020-07-13 16:22:00,926: DEBUG - + sed --in-place s@__PATH_NO_ROOT__@/searx@g /etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,926: DEBUG - + '[' /searx '!=' / ']'
2020-07-13 16:22:00,926: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,927: DEBUG - + local delimit=@
2020-07-13 16:22:00,927: DEBUG - + match_string='^#sub_path_only'
2020-07-13 16:22:00,928: DEBUG - + replace_string=
2020-07-13 16:22:00,928: DEBUG - + sed --in-place 's@^#sub_path_only@@g' /etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,928: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,928: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_recherche.domain2.tld.d_searx.conf
2020-07-13 16:22:00,929: DEBUG - ++ cut '--delimiter= ' --fields=1
2020-07-13 16:22:00,929: DEBUG - ++ md5sum /etc/nginx/conf.d/recherche.domain2.tld.d/searx.conf
2020-07-13 16:22:00,929: DEBUG - + ynh_app_setting_set --app=searx --key=checksum__etc_nginx_conf.d_recherche.domain2.tld.d_searx.conf --value=a6589ea900f41c49e1132edbbde4c8f3
2020-07-13 16:22:00,930: DEBUG - + ynh_app_setting set searx checksum__etc_nginx_conf.d_recherche.domain2.tld.d_searx.conf a6589ea900f41c49e1132edbbde4c8f3
2020-07-13 16:22:00,930: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-07-13 16:22:00,930: DEBUG - + ACTION=set
2020-07-13 16:22:00,930: DEBUG - + APP=searx
2020-07-13 16:22:00,930: DEBUG - + KEY=checksum__etc_nginx_conf.d_recherche.domain2.tld.d_searx.conf
2020-07-13 16:22:00,930: DEBUG - + VALUE=a6589ea900f41c49e1132edbbde4c8f3
2020-07-13 16:22:00,930: DEBUG - + python2.7 -
2020-07-13 16:22:01,031: DEBUG - + [[ checksum__etc_nginx_conf.d_recherche.domain2.tld.d_searx.conf =~ ^(unprotected|skipped)_ ]]
2020-07-13 16:22:01,031: DEBUG - + '[' -n '' ']'
2020-07-13 16:22:01,031: DEBUG - + unset backup_file_checksum
2020-07-13 16:22:01,031: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2020-07-13 16:22:01,033: DEBUG - + service_name=nginx
2020-07-13 16:22:01,034: DEBUG - + action=reload
2020-07-13 16:22:01,034: DEBUG - + line_match=
2020-07-13 16:22:01,034: DEBUG - + length=20
2020-07-13 16:22:01,034: DEBUG - + log_path=/var/log/nginx/nginx.log
2020-07-13 16:22:01,034: DEBUG - + timeout=300
2020-07-13 16:22:01,034: DEBUG - + [[ -n '' ]]
2020-07-13 16:22:01,035: DEBUG - + '[' reload == reload ']'
2020-07-13 16:22:01,035: DEBUG - + action=reload-or-restart
2020-07-13 16:22:01,035: DEBUG - + systemctl reload-or-restart nginx
2020-07-13 16:22:01,135: DEBUG - + [[ -n '' ]]
2020-07-13 16:22:01,136: DEBUG - + echo '[##############+.....] > Configuring system user...'
2020-07-13 16:22:01,136: DEBUG - + ynh_system_user_create --username=searx
2020-07-13 16:22:01,138: DEBUG - + use_shell=0
2020-07-13 16:22:01,138: DEBUG - + home_dir=
2020-07-13 16:22:01,138: DEBUG - + ynh_system_user_exists searx
2020-07-13 16:22:01,139: DEBUG - + getent passwd searx
2020-07-13 16:22:01,139: DEBUG - + '[' -n '' ']'
2020-07-13 16:22:01,139: DEBUG - + local user_home_dir=--no-create-home
2020-07-13 16:22:01,139: DEBUG - + '[' 0 -eq 1 ']'
2020-07-13 16:22:01,139: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2020-07-13 16:22:01,139: DEBUG - + useradd --no-create-home --system --user-group searx --shell /usr/sbin/nologin
2020-07-13 16:22:03,343: INFO - [##############+.....] > Configuring system user...
2020-07-13 16:22:03,344: DEBUG - + echo '[###############+....] > Setting up source files...'
2020-07-13 16:22:03,345: DEBUG - + ynh_app_setting_set --app=searx --key=final_path --value=/opt/yunohost/searx
2020-07-13 16:22:03,346: DEBUG - + ynh_app_setting set searx final_path /opt/yunohost/searx
2020-07-13 16:22:03,346: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-07-13 16:22:03,346: DEBUG - + ACTION=set
2020-07-13 16:22:03,347: DEBUG - + APP=searx
2020-07-13 16:22:03,347: DEBUG - + KEY=final_path
2020-07-13 16:22:03,347: DEBUG - + VALUE=/opt/yunohost/searx
2020-07-13 16:22:03,347: DEBUG - + python2.7 -
2020-07-13 16:22:03,447: DEBUG - + [[ final_path =~ ^(unprotected|skipped)_ ]]
2020-07-13 16:22:03,448: INFO - [###############+....] > Setting up source files...
2020-07-13 16:22:03,448: DEBUG - + ynh_setup_source --dest_dir=/opt/yunohost/searx
2020-07-13 16:22:03,449: DEBUG - + source_id=app
2020-07-13 16:22:03,450: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/searx_ynh-394bf14dcd346d4e781b5646e8d1dd297e68b4ba/scripts/../conf/app.src
2020-07-13 16:22:03,450: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/searx_ynh-394bf14dcd346d4e781b5646e8d1dd297e68b4ba/scripts/../conf/app.src ']'
2020-07-13 16:22:03,450: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/searx_ynh-394bf14dcd346d4e781b5646e8d1dd297e68b4ba/scripts/../conf/app.src
2020-07-13 16:22:03,450: DEBUG - ++ cut --delimiter== --fields=2-
2020-07-13 16:22:03,450: DEBUG - + local src_url=https://github.com/asciimoo/searx/archive/v0.16.0.tar.gz
2020-07-13 16:22:03,451: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/searx_ynh-394bf14dcd346d4e781b5646e8d1dd297e68b4ba/scripts/../conf/app.src
2020-07-13 16:22:03,451: DEBUG - ++ cut --delimiter== --fields=2-
2020-07-13 16:22:03,451: DEBUG - + local src_sum=4ea6d5a3cce8fb2b49d873f1ac16401ae7fb83672e5fe1e1b443b7b8563befeaa61e79e7383b85ff4360cbcf0a4bdf90e16cc7a16394f8b40c364d814404b03b
2020-07-13 16:22:03,451: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/searx_ynh-394bf14dcd346d4e781b5646e8d1dd297e68b4ba/scripts/../conf/app.src
2020-07-13 16:22:03,451: DEBUG - ++ cut --delimiter== --fields=2-
2020-07-13 16:22:03,451: DEBUG - + local src_sumprg=sha512sum
2020-07-13 16:22:03,452: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/searx_ynh-394bf14dcd346d4e781b5646e8d1dd297e68b4ba/scripts/../conf/app.src
2020-07-13 16:22:03,452: DEBUG - ++ cut --delimiter== --fields=2-
2020-07-13 16:22:03,452: DEBUG - + local src_format=tar.gz
2020-07-13 16:22:03,452: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/searx_ynh-394bf14dcd346d4e781b5646e8d1dd297e68b4ba/scripts/../conf/app.src
2020-07-13 16:22:03,452: DEBUG - ++ cut --delimiter== --fields=2-
2020-07-13 16:22:03,452: DEBUG - + local src_extract=
2020-07-13 16:22:03,453: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/searx_ynh-394bf14dcd346d4e781b5646e8d1dd297e68b4ba/scripts/../conf/app.src
2020-07-13 16:22:03,453: DEBUG - ++ cut --delimiter== --fields=2-
2020-07-13 16:22:03,453: DEBUG - + local src_in_subdir=true
2020-07-13 16:22:03,453: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/searx_ynh-394bf14dcd346d4e781b5646e8d1dd297e68b4ba/scripts/../conf/app.src
2020-07-13 16:22:03,453: DEBUG - ++ cut --delimiter== --fields=2-
2020-07-13 16:22:03,453: DEBUG - + local src_filename=searx.tar.gz
2020-07-13 16:22:03,454: DEBUG - + src_sumprg=sha512sum
2020-07-13 16:22:03,454: DEBUG - + src_in_subdir=true
2020-07-13 16:22:03,454: DEBUG - + src_format=tar.gz
2020-07-13 16:22:03,454: DEBUG - ++ echo tar.gz
2020-07-13 16:22:03,454: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2020-07-13 16:22:03,454: DEBUG - + src_format=tar.gz
2020-07-13 16:22:03,455: DEBUG - + src_extract=true
2020-07-13 16:22:03,455: DEBUG - + '[' searx.tar.gz = '' ']'
2020-07-13 16:22:03,455: DEBUG - + local local_src=/opt/yunohost-apps-src/searx/searx.tar.gz
2020-07-13 16:22:03,455: DEBUG - + test -e /opt/yunohost-apps-src/searx/searx.tar.gz
2020-07-13 16:22:03,455: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=searx.tar.gz https://github.com/asciimoo/searx/archive/v0.16.0.tar.gz
2020-07-13 16:22:07,663: DEBUG - + out='2020-07-13 16:22:07 URL:https://codeload.github.com/asciimoo/searx/tar.gz/v0.16.0 [1976722] -> "searx.tar.gz" [1]'
2020-07-13 16:22:07,663: DEBUG - + echo '4ea6d5a3cce8fb2b49d873f1ac16401ae7fb83672e5fe1e1b443b7b8563befeaa61e79e7383b85ff4360cbcf0a4bdf90e16cc7a16394f8b40c364d814404b03b searx.tar.gz'
2020-07-13 16:22:07,664: DEBUG - + sha512sum --check --status
2020-07-13 16:22:07,664: DEBUG - + mkdir --parents /opt/yunohost/searx
2020-07-13 16:22:07,664: DEBUG - + true
2020-07-13 16:22:07,664: DEBUG - + '[' tar.gz = zip ']'
2020-07-13 16:22:07,665: DEBUG - + local strip=
2020-07-13 16:22:07,665: DEBUG - + '[' true '!=' false ']'
2020-07-13 16:22:07,665: DEBUG - + '[' true == true ']'
2020-07-13 16:22:07,665: DEBUG - + local sub_dirs=1
2020-07-13 16:22:07,665: DEBUG - + strip='--strip-components 1'
2020-07-13 16:22:07,665: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2020-07-13 16:22:07,666: DEBUG - + tar --extract --file=searx.tar.gz --directory=/opt/yunohost/searx --strip-components 1
2020-07-13 16:22:07,866: DEBUG - ++ find /var/cache/yunohost/from_file/searx_ynh-394bf14dcd346d4e781b5646e8d1dd297e68b4ba/scripts/../sources/patches/ -type f -name 'app-*.patch'
2020-07-13 16:22:07,866: DEBUG - ++ wc --lines
2020-07-13 16:22:07,867: DEBUG - + ((  0 > 0  ))
2020-07-13 16:22:07,867: DEBUG - + test -e /var/cache/yunohost/from_file/searx_ynh-394bf14dcd346d4e781b5646e8d1dd297e68b4ba/scripts/../sources/extra_files/app
2020-07-13 16:22:07,868: DEBUG - + cp --archive /var/cache/yunohost/from_file/searx_ynh-394bf14dcd346d4e781b5646e8d1dd297e68b4ba/scripts/../sources/extra_files/app/. /opt/yunohost/searx
2020-07-13 16:22:07,869: DEBUG - + ynh_replace_string --match_string=werkzeug.contrib.fixers --replace_string=werkzeug.middleware.proxy_fix --target_file=/opt/yunohost/searx/searx/webapp.py
2020-07-13 16:22:07,870: DEBUG - + local delimit=@
2020-07-13 16:22:07,870: DEBUG - + match_string=werkzeug.contrib.fixers
2020-07-13 16:22:07,870: DEBUG - + replace_string=werkzeug.middleware.proxy_fix
2020-07-13 16:22:07,871: DEBUG - + sed --in-place s@werkzeug.contrib.fixers@werkzeug.middleware.proxy_fix@g /opt/yunohost/searx/searx/webapp.py
2020-07-13 16:22:07,871: DEBUG - + echo '[################....] > Installing Searx...'
2020-07-13 16:22:07,872: DEBUG - + virtualenv --system-site-packages /opt/yunohost/searx
2020-07-13 16:22:09,775: DEBUG - Using base prefix '/usr'
2020-07-13 16:22:09,775: INFO - [################....] > Installing Searx...
2020-07-13 16:22:09,776: DEBUG - New python executable in /opt/yunohost/searx/bin/python3
2020-07-13 16:22:09,776: DEBUG - Also creating executable in /opt/yunohost/searx/bin/python
2020-07-13 16:22:09,776: DEBUG - Installing setuptools, pip, wheel...
2020-07-13 16:22:13,683: DEBUG - done.
2020-07-13 16:22:13,783: DEBUG - + set +u
2020-07-13 16:22:13,783: DEBUG - + source /opt/yunohost/searx/bin/activate
2020-07-13 16:22:13,783: DEBUG - ++ '[' /opt/yunohost/searx/bin/activate = ./install ']'
2020-07-13 16:22:13,784: DEBUG - ++ deactivate nondestructive
2020-07-13 16:22:13,784: DEBUG - ++ unset -f pydoc
2020-07-13 16:22:13,784: DEBUG - ++ '[' -z '' ']'
2020-07-13 16:22:13,784: DEBUG - ++ '[' -z '' ']'
2020-07-13 16:22:13,784: DEBUG - ++ '[' -n /bin/bash ']'
2020-07-13 16:22:13,784: DEBUG - ++ hash -r
2020-07-13 16:22:13,785: DEBUG - ++ '[' -z '' ']'
2020-07-13 16:22:13,785: DEBUG - ++ unset VIRTUAL_ENV
2020-07-13 16:22:13,785: DEBUG - ++ '[' '!' nondestructive = nondestructive ']'
2020-07-13 16:22:13,785: DEBUG - ++ VIRTUAL_ENV=/opt/yunohost/searx
2020-07-13 16:22:13,785: DEBUG - ++ export VIRTUAL_ENV
2020-07-13 16:22:13,785: DEBUG - ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2020-07-13 16:22:13,785: DEBUG - ++ PATH=/opt/yunohost/searx/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2020-07-13 16:22:13,786: DEBUG - ++ export PATH
2020-07-13 16:22:13,786: DEBUG - ++ '[' -z '' ']'
2020-07-13 16:22:13,786: DEBUG - ++ '[' -z '' ']'
2020-07-13 16:22:13,786: DEBUG - ++ _OLD_VIRTUAL_PS1=
2020-07-13 16:22:13,786: DEBUG - ++ '[' x '!=' x ']'
2020-07-13 16:22:13,786: DEBUG - +++ basename /opt/yunohost/searx
2020-07-13 16:22:13,787: DEBUG - ++ PS1='(searx) '
2020-07-13 16:22:13,787: DEBUG - ++ export PS1
2020-07-13 16:22:13,787: DEBUG - ++ alias pydoc
2020-07-13 16:22:13,787: DEBUG - ++ true
2020-07-13 16:22:13,787: DEBUG - ++ '[' -n /bin/bash ']'
2020-07-13 16:22:13,787: DEBUG - ++ hash -r
2020-07-13 16:22:13,787: DEBUG - + set -u
2020-07-13 16:22:13,788: DEBUG - + pip install -U setuptools
2020-07-13 16:22:15,791: DEBUG - Requirement already up-to-date: setuptools in /opt/yunohost/searx/lib/python3.5/site-packages (49.2.0)
2020-07-13 16:22:15,992: DEBUG - + pip install --requirement /opt/yunohost/searx/requirements-ynh.txt
2020-07-13 16:22:16,793: DEBUG - Collecting certifi==2019.3.9
2020-07-13 16:22:16,894: DEBUG -   Using cached certifi-2019.3.9-py2.py3-none-any.whl (158 kB)
2020-07-13 16:22:17,395: DEBUG - Collecting flask-babel==1.0.0
2020-07-13 16:22:17,395: DEBUG -   Using cached Flask_Babel-1.0.0-py3-none-any.whl (9.5 kB)
2020-07-13 16:22:17,596: DEBUG - Collecting flask==1.0.2
2020-07-13 16:22:17,596: DEBUG -   Using cached Flask-1.0.2-py2.py3-none-any.whl (91 kB)
2020-07-13 16:22:17,797: DEBUG - Collecting idna==2.8
2020-07-13 16:22:17,897: DEBUG -   Using cached idna-2.8-py2.py3-none-any.whl (58 kB)
2020-07-13 16:22:17,998: DEBUG - Collecting jinja2==2.10.1
2020-07-13 16:22:18,098: DEBUG -   Using cached Jinja2-2.10.1-py2.py3-none-any.whl (124 kB)
2020-07-13 16:22:18,299: DEBUG - Collecting pygments==2.1.3
2020-07-13 16:22:18,399: DEBUG -   Using cached Pygments-2.1.3-py2.py3-none-any.whl (755 kB)
2020-07-13 16:22:18,600: DEBUG - Collecting pyopenssl==19.0.0
2020-07-13 16:22:18,600: DEBUG -   Using cached pyOpenSSL-19.0.0-py2.py3-none-any.whl (53 kB)
2020-07-13 16:22:18,801: DEBUG - Collecting python-dateutil==2.8.0
2020-07-13 16:22:18,902: DEBUG -   Using cached python_dateutil-2.8.0-py2.py3-none-any.whl (226 kB)
2020-07-13 16:22:19,102: DEBUG - Processing /root/.cache/pip/wheels/b2/78/74/04cc17bc132e5f16411a457e6e61b54dc06916bdd604396c57/PyYAML-5.1-cp35-cp35m-linux_x86_64.whl
2020-07-13 16:22:19,403: DEBUG - Collecting requests[socks]==2.22.0
2020-07-13 16:22:19,403: DEBUG -   Using cached requests-2.22.0-py2.py3-none-any.whl (57 kB)
2020-07-13 16:22:19,604: DEBUG - Collecting markupsafe>=0.23
2020-07-13 16:22:19,704: DEBUG -   Using cached MarkupSafe-1.1.1-cp35-cp35m-manylinux1_x86_64.whl (27 kB)
2020-07-13 16:22:19,905: DEBUG - Collecting ndg-httpsclient>=0.4.2
2020-07-13 16:22:19,905: DEBUG -   Using cached ndg_httpsclient-0.5.1-py3-none-any.whl (34 kB)
2020-07-13 16:22:20,106: DEBUG - Collecting pyasn1>=0.2.3
2020-07-13 16:22:20,207: DEBUG -   Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
2020-07-13 16:22:20,407: DEBUG - Collecting pyasn1-modules>=0.0.9
2020-07-13 16:22:20,408: DEBUG -   Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
2020-07-13 16:22:20,508: DEBUG - Requirement already satisfied: pytz in /usr/lib/python3/dist-packages (from flask-babel==1.0.0->-r /opt/yunohost/searx/requirements-ynh.txt (line 4)) (2016.7)
2020-07-13 16:22:20,809: DEBUG - Collecting Babel>=2.3
2020-07-13 16:22:21,210: DEBUG -   Using cached Babel-2.8.0-py2.py3-none-any.whl (8.6 MB)
2020-07-13 16:22:21,811: DEBUG - Collecting itsdangerous>=0.24
2020-07-13 16:22:21,912: DEBUG -   Using cached itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
2020-07-13 16:22:23,214: DEBUG - Collecting click>=5.1
2020-07-13 16:22:23,215: DEBUG -   Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
2020-07-13 16:22:24,117: DEBUG - Collecting Werkzeug>=0.14
2020-07-13 16:22:24,117: DEBUG -   Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
2020-07-13 16:22:24,217: DEBUG - Requirement already satisfied: six>=1.5.2 in /usr/lib/python3/dist-packages (from pyopenssl==19.0.0->-r /opt/yunohost/searx/requirements-ynh.txt (line 10)) (1.10.0)
2020-07-13 16:22:24,919: DEBUG - Collecting cryptography>=2.3
2020-07-13 16:22:25,019: DEBUG -   Using cached cryptography-2.9.2-cp35-abi3-manylinux2010_x86_64.whl (2.7 MB)
2020-07-13 16:22:25,320: DEBUG - Collecting chardet<3.1.0,>=3.0.2
2020-07-13 16:22:25,321: DEBUG -   Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
2020-07-13 16:22:25,521: DEBUG - Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
2020-07-13 16:22:25,622: DEBUG -   Using cached urllib3-1.25.9-py2.py3-none-any.whl (126 kB)
2020-07-13 16:22:25,823: DEBUG - Collecting PySocks!=1.5.7,>=1.5.6; extra == "socks"
2020-07-13 16:22:25,823: DEBUG -   Using cached PySocks-1.7.1-py3-none-any.whl (16 kB)
2020-07-13 16:22:26,324: DEBUG - Collecting cffi!=1.11.3,>=1.8
2020-07-13 16:22:26,425: DEBUG -   Using cached cffi-1.14.0-cp35-cp35m-manylinux1_x86_64.whl (399 kB)
2020-07-13 16:22:26,625: DEBUG - Collecting pycparser
2020-07-13 16:22:26,626: DEBUG -   Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
2020-07-13 16:22:26,927: DEBUG - Installing collected packages: certifi, markupsafe, jinja2, Babel, itsdangerous, click, Werkzeug, flask, flask-babel, idna, pygments, pycparser, cffi, cryptography, pyopenssl, python-dateutil, pyyaml, chardet, urllib3, PySocks, requests, pyasn1, ndg-httpsclient, pyasn1-modules
2020-07-13 16:22:26,927: DEBUG -   Attempting uninstall: certifi
2020-07-13 16:22:26,927: DEBUG -     Found existing installation: certifi 2019.6.16
2020-07-13 16:22:26,927: DEBUG -     Not uninstalling certifi at /usr/local/lib/python3.5/dist-packages, outside environment /opt/yunohost/searx
2020-07-13 16:22:26,928: DEBUG -     Can't uninstall 'certifi'. No files were found to uninstall.
2020-07-13 16:22:28,731: DEBUG -   Attempting uninstall: idna
2020-07-13 16:22:28,731: DEBUG -     Found existing installation: idna 2.2
2020-07-13 16:22:28,732: DEBUG -     Not uninstalling idna at /usr/lib/python3/dist-packages, outside environment /opt/yunohost/searx
2020-07-13 16:22:28,732: DEBUG -     Can't uninstall 'idna'. No files were found to uninstall.
2020-07-13 16:22:29,934: DEBUG -   Attempting uninstall: cryptography
2020-07-13 16:22:29,935: DEBUG -     Found existing installation: cryptography 1.7.1
2020-07-13 16:22:29,935: DEBUG -     Not uninstalling cryptography at /usr/lib/python3/dist-packages, outside environment /opt/yunohost/searx
2020-07-13 16:22:29,935: DEBUG -     Can't uninstall 'cryptography'. No files were found to uninstall.
2020-07-13 16:22:30,436: DEBUG -   Attempting uninstall: python-dateutil
2020-07-13 16:22:30,436: DEBUG -     Found existing installation: python-dateutil 2.5.3
2020-07-13 16:22:30,436: DEBUG -     Not uninstalling python-dateutil at /usr/lib/python3/dist-packages, outside environment /opt/yunohost/searx
2020-07-13 16:22:30,437: DEBUG -     Can't uninstall 'python-dateutil'. No files were found to uninstall.
2020-07-13 16:22:30,737: DEBUG -   Attempting uninstall: chardet
2020-07-13 16:22:30,738: DEBUG -     Found existing installation: chardet 2.3.0
2020-07-13 16:22:30,738: DEBUG -     Not uninstalling chardet at /usr/lib/python3/dist-packages, outside environment /opt/yunohost/searx
2020-07-13 16:22:30,738: DEBUG -     Can't uninstall 'chardet'. No files were found to uninstall.
2020-07-13 16:22:30,939: DEBUG -   Attempting uninstall: urllib3
2020-07-13 16:22:30,939: DEBUG -     Found existing installation: urllib3 1.19.1
2020-07-13 16:22:30,939: DEBUG -     Not uninstalling urllib3 at /usr/lib/python3/dist-packages, outside environment /opt/yunohost/searx
2020-07-13 16:22:30,939: DEBUG -     Can't uninstall 'urllib3'. No files were found to uninstall.
2020-07-13 16:22:31,240: DEBUG -   Attempting uninstall: requests
2020-07-13 16:22:31,240: DEBUG -     Found existing installation: requests 2.12.4
2020-07-13 16:22:31,241: DEBUG -     Not uninstalling requests at /usr/lib/python3/dist-packages, outside environment /opt/yunohost/searx
2020-07-13 16:22:31,241: DEBUG -     Can't uninstall 'requests'. No files were found to uninstall.
2020-07-13 16:22:31,442: DEBUG -   Attempting uninstall: pyasn1
2020-07-13 16:22:31,442: DEBUG -     Found existing installation: pyasn1 0.1.9
2020-07-13 16:22:31,442: DEBUG -     Not uninstalling pyasn1 at /usr/lib/python3/dist-packages, outside environment /opt/yunohost/searx
2020-07-13 16:22:31,442: DEBUG -     Can't uninstall 'pyasn1'. No files were found to uninstall.
2020-07-13 16:22:32,044: DEBUG - Successfully installed Babel-2.8.0 PySocks-1.7.1 Werkzeug-1.0.1 certifi-2019.3.9 cffi-1.14.0 chardet-3.0.4 click-7.1.2 cryptography-2.9.2 flask-1.0.2 flask-babel-1.0.0 idna-2.8 itsdangerous-1.1.0 jinja2-2.10.1 markupsafe-1.1.1 ndg-httpsclient-0.5.1 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycparser-2.20 pygments-2.1.3 pyopenssl-19.0.0 python-dateutil-2.8.0 pyyaml-5.1 requests-2.22.0 urllib3-1.25.9
2020-07-13 16:22:32,245: INFO - [################+...] > Configuring Searx...
2020-07-13 16:22:32,246: DEBUG - + echo '[################+...] > Configuring Searx...'
2020-07-13 16:22:32,246: DEBUG - + ynh_replace_string '--match_string=instance_name : "searx"' '--replace_string=instance_name : "YunoSearx"' --target_file=/opt/yunohost/searx/searx/settings.yml
2020-07-13 16:22:32,247: DEBUG - + local delimit=@
2020-07-13 16:22:32,247: DEBUG - + match_string='instance_name : "searx"'
2020-07-13 16:22:32,247: DEBUG - + replace_string='instance_name : "YunoSearx"'
2020-07-13 16:22:32,247: DEBUG - + sed --in-place 's@instance_name : "searx"@instance_name : "YunoSearx"@g' /opt/yunohost/searx/searx/settings.yml
2020-07-13 16:22:32,248: DEBUG - ++ ynh_string_random
2020-07-13 16:22:32,249: DEBUG - ++ length=24
2020-07-13 16:22:32,249: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2020-07-13 16:22:32,249: DEBUG - ++ tr --complement --delete A-Za-z0-9
2020-07-13 16:22:32,249: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2020-07-13 16:22:32,349: DEBUG - + ynh_replace_string '--match_string=secret_key : "ultrasecretkey"' '--replace_string=secret_key : "IDZJHzdjGEbXTSvRN4ZUJkYG"' --target_file=/opt/yunohost/searx/searx/settings.yml
2020-07-13 16:22:32,351: DEBUG - + local delimit=@
2020-07-13 16:22:32,351: DEBUG - + match_string='secret_key : "ultrasecretkey"'
2020-07-13 16:22:32,351: DEBUG - + replace_string='secret_key : "IDZJHzdjGEbXTSvRN4ZUJkYG"'
2020-07-13 16:22:32,351: DEBUG - + sed --in-place 's@secret_key : "ultrasecretkey"@secret_key : "IDZJHzdjGEbXTSvRN4ZUJkYG"@g' /opt/yunohost/searx/searx/settings.yml
2020-07-13 16:22:32,351: DEBUG - + ynh_replace_string '--match_string=base_url : False' '--replace_string=base_url : https://recherche.domain2.tld/searx/' --target_file=/opt/yunohost/searx/searx/settings.yml
2020-07-13 16:22:32,352: DEBUG - + local delimit=@
2020-07-13 16:22:32,352: DEBUG - + match_string='base_url : False'
2020-07-13 16:22:32,352: DEBUG - + replace_string='base_url : https://recherche.domain2.tld/searx/'
2020-07-13 16:22:32,353: DEBUG - + sed --in-place 's@base_url : False@base_url : https://recherche.domain2.tld/searx/@g' /opt/yunohost/searx/searx/settings.yml
2020-07-13 16:22:32,353: DEBUG - + ynh_store_file_checksum --file=/opt/yunohost/searx/searx/settings.yml
2020-07-13 16:22:32,354: DEBUG - + local checksum_setting_name=checksum__opt_yunohost_searx_searx_settings.yml
2020-07-13 16:22:32,354: DEBUG - ++ md5sum /opt/yunohost/searx/searx/settings.yml
2020-07-13 16:22:32,354: DEBUG - ++ cut '--delimiter= ' --fields=1
2020-07-13 16:22:32,354: DEBUG - + ynh_app_setting_set --app=searx --key=checksum__opt_yunohost_searx_searx_settings.yml --value=9d4aa1938df06cbade4d2916edbb6d25
2020-07-13 16:22:32,355: DEBUG - + ynh_app_setting set searx checksum__opt_yunohost_searx_searx_settings.yml 9d4aa1938df06cbade4d2916edbb6d25
2020-07-13 16:22:32,355: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-07-13 16:22:32,355: DEBUG - + ACTION=set
2020-07-13 16:22:32,355: DEBUG - + APP=searx
2020-07-13 16:22:32,355: DEBUG - + KEY=checksum__opt_yunohost_searx_searx_settings.yml
2020-07-13 16:22:32,355: DEBUG - + VALUE=9d4aa1938df06cbade4d2916edbb6d25
2020-07-13 16:22:32,356: DEBUG - + python2.7 -
2020-07-13 16:22:32,456: DEBUG - + [[ checksum__opt_yunohost_searx_searx_settings.yml =~ ^(unprotected|skipped)_ ]]
2020-07-13 16:22:32,456: DEBUG - + '[' -n '' ']'
2020-07-13 16:22:32,456: DEBUG - + unset backup_file_checksum
2020-07-13 16:22:32,456: DEBUG - + chown searx: --recursive /opt/yunohost/searx
2020-07-13 16:22:32,457: DEBUG - + echo '[#################...] > Configuring uWSGI for Searx...'
2020-07-13 16:22:32,457: DEBUG - + cp ../conf/searx.ini /etc/uwsgi/apps-available/searx.ini
2020-07-13 16:22:32,457: DEBUG - + ynh_replace_string --match_string=__APP__ --replace_string=searx --target_file=/etc/uwsgi/apps-available/searx.ini
2020-07-13 16:22:32,458: DEBUG - + local delimit=@
2020-07-13 16:22:32,458: DEBUG - + match_string=__APP__
2020-07-13 16:22:32,458: DEBUG - + replace_string=searx
2020-07-13 16:22:32,458: DEBUG - + sed --in-place s@__APP__@searx@g /etc/uwsgi/apps-available/searx.ini
2020-07-13 16:22:32,458: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/opt/yunohost/searx --target_file=/etc/uwsgi/apps-available/searx.ini
2020-07-13 16:22:32,459: DEBUG - + local delimit=@
2020-07-13 16:22:32,459: DEBUG - + match_string=__FINALPATH__
2020-07-13 16:22:32,460: DEBUG - + replace_string=/opt/yunohost/searx
2020-07-13 16:22:32,460: DEBUG - + sed --in-place s@__FINALPATH__@/opt/yunohost/searx@g /etc/uwsgi/apps-available/searx.ini
2020-07-13 16:22:32,460: DEBUG - + ln -s /etc/uwsgi/apps-available/searx.ini /etc/uwsgi/apps-enabled/searx.ini
2020-07-13 16:22:32,460: DEBUG - + yunohost service add uwsgi --log /var/log/uwsgi/app/searx.log
2020-07-13 16:22:32,660: DEBUG - Le service 'uwsgi' a été ajouté
2020-07-13 16:22:32,661: INFO - [#################...] > Configuring uWSGI for Searx...
2020-07-13 16:22:32,661: DEBUG - + echo '[#################+..] > Starting Searx...'
2020-07-13 16:22:32,662: DEBUG - + ynh_systemd_action --service_name=uwsgi --action=restart '--line_match=spawned uWSGI master process' --log_path=/var/log/uwsgi/app/searx.log
2020-07-13 16:22:32,763: DEBUG - + service_name=uwsgi
2020-07-13 16:22:32,763: INFO - [#################+..] > Starting Searx...
2020-07-13 16:22:32,764: DEBUG - + action=restart
2020-07-13 16:22:32,764: DEBUG - + line_match='spawned uWSGI master process'
2020-07-13 16:22:32,764: DEBUG - + length=20
2020-07-13 16:22:32,764: DEBUG - + log_path=/var/log/uwsgi/app/searx.log
2020-07-13 16:22:32,764: DEBUG - + timeout=300
2020-07-13 16:22:32,764: DEBUG - + [[ -n spawned uWSGI master process ]]
2020-07-13 16:22:32,764: DEBUG - ++ mktemp
2020-07-13 16:22:32,765: DEBUG - + local templog=/tmp/tmp.95h2VUJ6Vc
2020-07-13 16:22:32,765: DEBUG - + '[' /var/log/uwsgi/app/searx.log == systemd ']'
2020-07-13 16:22:32,765: DEBUG - + local pid_tail=8491
2020-07-13 16:22:32,765: DEBUG - + '[' restart == reload ']'
2020-07-13 16:22:32,765: DEBUG - + systemctl restart uwsgi
2020-07-13 16:22:32,765: DEBUG - + tail --follow=name --retry --lines=0 /var/log/uwsgi/app/searx.log
2020-07-13 16:22:33,166: DEBUG - + ynh_exec_err journalctl --quiet --no-hostname --no-pager --lines=20 --unit=uwsgi
2020-07-13 16:22:33,167: WARNING - Job for uwsgi.service failed because the control process exited with error code.
2020-07-13 16:22:33,167: DEBUG - ++ eval journalctl --quiet --no-hostname --no-pager --lines=20 --unit=uwsgi
2020-07-13 16:22:33,167: WARNING - See "systemctl status uwsgi.service" and "journalctl -xe" for details.
2020-07-13 16:22:33,168: DEBUG - +++ journalctl --quiet --no-hostname --no-pager --lines=20 --unit=uwsgi
2020-07-13 16:22:33,168: WARNING - [Error] juil. 13 16:15:46 systemd[1]: Starting LSB: Start/stop uWSGI server instance(s)...
2020-07-13 16:22:33,168: DEBUG - + ynh_print_err 'juil. 13 16:15:46 systemd[1]: Starting LSB: Start/stop uWSGI server instance(s)...
2020-07-13 16:22:33,168: WARNING - juil. 13 16:15:53 uwsgi[744]: Starting app server(s): uwsgi (omitted; missing conffile(s) in /etc/uwsgi/apps-enabled).
2020-07-13 16:22:33,169: DEBUG - juil. 13 16:15:53 uwsgi[744]: Starting app server(s): uwsgi (omitted; missing conffile(s) in /etc/uwsgi/apps-enabled).
2020-07-13 16:22:33,169: WARNING - juil. 13 16:15:53 systemd[1]: Started LSB: Start/stop uWSGI server instance(s).
2020-07-13 16:22:33,169: DEBUG - juil. 13 16:15:53 systemd[1]: Started LSB: Start/stop uWSGI server instance(s).
2020-07-13 16:22:33,169: WARNING - juil. 13 16:22:32 systemd[1]: Stopping LSB: Start/stop uWSGI server instance(s)...
2020-07-13 16:22:33,170: DEBUG - juil. 13 16:22:32 systemd[1]: Stopping LSB: Start/stop uWSGI server instance(s)...
2020-07-13 16:22:33,170: WARNING - juil. 13 16:22:32 uwsgi[8493]: Stopping app server(s): uwsgi -> . done.
2020-07-13 16:22:33,170: DEBUG - juil. 13 16:22:32 uwsgi[8493]: Stopping app server(s): uwsgi -> . done.
2020-07-13 16:22:33,170: WARNING - juil. 13 16:22:32 systemd[1]: Stopped LSB: Start/stop uWSGI server instance(s).
2020-07-13 16:22:33,170: DEBUG - juil. 13 16:22:32 systemd[1]: Stopped LSB: Start/stop uWSGI server instance(s).
2020-07-13 16:22:33,171: WARNING - juil. 13 16:22:32 systemd[1]: Starting LSB: Start/stop uWSGI server instance(s)...
2020-07-13 16:22:33,171: DEBUG - juil. 13 16:22:32 systemd[1]: Starting LSB: Start/stop uWSGI server instance(s)...
2020-07-13 16:22:33,171: WARNING - juil. 13 16:22:33 uwsgi[8532]: Starting app server(s): uwsgi -> ! failed!
2020-07-13 16:22:33,171: DEBUG - juil. 13 16:22:33 uwsgi[8532]: Starting app server(s): uwsgi -> ! failed!
2020-07-13 16:22:33,172: WARNING - juil. 13 16:22:33 systemd[1]: uwsgi.service: Control process exited, code=exited status=1
2020-07-13 16:22:33,172: DEBUG - juil. 13 16:22:33 systemd[1]: uwsgi.service: Control process exited, code=exited status=1
2020-07-13 16:22:33,172: WARNING - juil. 13 16:22:33 systemd[1]: Failed to start LSB: Start/stop uWSGI server instance(s).
2020-07-13 16:22:33,172: DEBUG - juil. 13 16:22:33 systemd[1]: Failed to start LSB: Start/stop uWSGI server instance(s).
2020-07-13 16:22:33,172: WARNING - juil. 13 16:22:33 systemd[1]: uwsgi.service: Unit entered failed state.
2020-07-13 16:22:33,173: DEBUG - juil. 13 16:22:33 systemd[1]: uwsgi.service: Unit entered failed state.
2020-07-13 16:22:33,173: WARNING - juil. 13 16:22:33 systemd[1]: uwsgi.service: Failed with result 'exit-code'.
2020-07-13 16:22:33,173: DEBUG - juil. 13 16:22:33 systemd[1]: uwsgi.service: Failed with result '\''exit-code'\''.'
2020-07-13 16:22:33,173: WARNING - [Error] --
2020-07-13 16:22:33,174: WARNING - [Error] Mon Jul 13 16:22:33 2020 - nodename: 127.0.0.1localhost
2020-07-13 16:22:33,174: WARNING - Mon Jul 13 16:22:33 2020 - machine: x86_64
2020-07-13 16:22:33,174: WARNING - Mon Jul 13 16:22:33 2020 - clock source: unix
2020-07-13 16:22:33,175: WARNING - Mon Jul 13 16:22:33 2020 - pcre jit disabled
2020-07-13 16:22:33,175: WARNING - Mon Jul 13 16:22:33 2020 - detected number of CPU cores: 4
2020-07-13 16:22:33,176: DEBUG - juil. 13 16:15:53 uwsgi[744]: Starting app server(s): uwsgi (omitted; missing conffile(s) in /etc/uwsgi/apps-enabled).
2020-07-13 16:22:33,176: WARNING - Mon Jul 13 16:22:33 2020 - current working directory: /
2020-07-13 16:22:33,176: DEBUG - juil. 13 16:15:53 systemd[1]: Started LSB: Start/stop uWSGI server instance(s).
2020-07-13 16:22:33,176: WARNING - Mon Jul 13 16:22:33 2020 - writing pidfile to /run/uwsgi/app/searx/pid
2020-07-13 16:22:33,176: DEBUG - juil. 13 16:22:32 systemd[1]: Stopping LSB: Start/stop uWSGI server instance(s)...
2020-07-13 16:22:33,177: WARNING - Mon Jul 13 16:22:33 2020 - detected binary path: /usr/bin/uwsgi-core
2020-07-13 16:22:33,177: DEBUG - juil. 13 16:22:32 uwsgi[8493]: Stopping app server(s): uwsgi -> . done.
2020-07-13 16:22:33,177: WARNING - Mon Jul 13 16:22:33 2020 - setgid() to 972
2020-07-13 16:22:33,177: DEBUG - juil. 13 16:22:32 systemd[1]: Stopped LSB: Start/stop uWSGI server instance(s).
2020-07-13 16:22:33,177: WARNING - Mon Jul 13 16:22:33 2020 - setuid() to 973
2020-07-13 16:22:33,178: DEBUG - juil. 13 16:22:32 systemd[1]: Starting LSB: Start/stop uWSGI server instance(s)...
2020-07-13 16:22:33,178: WARNING - Mon Jul 13 16:22:33 2020 - chdir() to /opt/yunohost/searx/searx/
2020-07-13 16:22:33,178: DEBUG - juil. 13 16:22:33 uwsgi[8532]: Starting app server(s): uwsgi -> ! failed!
2020-07-13 16:22:33,178: WARNING - Mon Jul 13 16:22:33 2020 - your processes number limit is 63287
2020-07-13 16:22:33,178: DEBUG - juil. 13 16:22:33 systemd[1]: uwsgi.service: Control process exited, code=exited status=1
2020-07-13 16:22:33,179: WARNING - Mon Jul 13 16:22:33 2020 - your memory page size is 4096 bytes
2020-07-13 16:22:33,179: DEBUG - juil. 13 16:22:33 systemd[1]: Failed to start LSB: Start/stop uWSGI server instance(s).
2020-07-13 16:22:33,179: WARNING - Mon Jul 13 16:22:33 2020 - detected max file descriptor number: 1024
2020-07-13 16:22:33,179: DEBUG - juil. 13 16:22:33 systemd[1]: uwsgi.service: Unit entered failed state.
2020-07-13 16:22:33,179: WARNING - Mon Jul 13 16:22:33 2020 - lock engine: pthread robust mutexes
2020-07-13 16:22:33,180: DEBUG - juil. 13 16:22:33 systemd[1]: uwsgi.service: Failed with result '\''exit-code'\''.'
2020-07-13 16:22:33,180: WARNING - Mon Jul 13 16:22:33 2020 - thunder lock: disabled (you can enable it with --thunder-lock)
2020-07-13 16:22:33,180: WARNING - Mon Jul 13 16:22:33 2020 - uwsgi socket 0 bound to UNIX address /run/uwsgi/app/searx/socket fd 3
2020-07-13 16:22:33,181: WARNING - Mon Jul 13 16:22:33 2020 - Python version: 2.7.13 (default, Sep 26 2018, 18:42:22)  [GCC 6.3.0 20170516]
2020-07-13 16:22:33,181: WARNING - Mon Jul 13 16:22:33 2020 - Set PythonHome to /opt/yunohost/searx
2020-07-13 16:22:33,181: DEBUG - + ynh_print_log '[Error] juil. 13 16:15:46 systemd[1]: Starting LSB: Start/stop uWSGI server instance(s)...
2020-07-13 16:22:33,181: WARNING - ImportError: No module named site
2020-07-13 16:22:33,182: DEBUG - juil. 13 16:15:53 uwsgi[744]: Starting app server(s): uwsgi (omitted; missing conffile(s) in /etc/uwsgi/apps-enabled).
2020-07-13 16:22:33,182: WARNING - /usr/share/yunohost/helpers.d/logging: ligne 20: message : variable sans liaison
2020-07-13 16:22:33,182: DEBUG - juil. 13 16:15:53 systemd[1]: Started LSB: Start/stop uWSGI server instance(s).
2020-07-13 16:22:33,182: DEBUG - juil. 13 16:22:32 systemd[1]: Stopping LSB: Start/stop uWSGI server instance(s)...
2020-07-13 16:22:33,182: DEBUG - juil. 13 16:22:32 uwsgi[8493]: Stopping app server(s): uwsgi -> . done.
2020-07-13 16:22:33,182: DEBUG - juil. 13 16:22:32 systemd[1]: Stopped LSB: Start/stop uWSGI server instance(s).
2020-07-13 16:22:33,183: DEBUG - juil. 13 16:22:32 systemd[1]: Starting LSB: Start/stop uWSGI server instance(s)...
2020-07-13 16:22:33,183: DEBUG - juil. 13 16:22:33 uwsgi[8532]: Starting app server(s): uwsgi -> ! failed!
2020-07-13 16:22:33,183: DEBUG - juil. 13 16:22:33 systemd[1]: uwsgi.service: Control process exited, code=exited status=1
2020-07-13 16:22:33,183: DEBUG - juil. 13 16:22:33 systemd[1]: Failed to start LSB: Start/stop uWSGI server instance(s).
2020-07-13 16:22:33,183: DEBUG - juil. 13 16:22:33 systemd[1]: uwsgi.service: Unit entered failed state.
2020-07-13 16:22:33,183: DEBUG - juil. 13 16:22:33 systemd[1]: uwsgi.service: Failed with result '\''exit-code'\''.'
2020-07-13 16:22:33,184: DEBUG - + echo -e '[Error] juil. 13 16:15:46 systemd[1]: Starting LSB: Start/stop uWSGI server instance(s)...
2020-07-13 16:22:33,184: DEBUG - juil. 13 16:15:53 uwsgi[744]: Starting app server(s): uwsgi (omitted; missing conffile(s) in /etc/uwsgi/apps-enabled).
2020-07-13 16:22:33,184: DEBUG - juil. 13 16:15:53 systemd[1]: Started LSB: Start/stop uWSGI server instance(s).
2020-07-13 16:22:33,184: DEBUG - juil. 13 16:22:32 systemd[1]: Stopping LSB: Start/stop uWSGI server instance(s)...
2020-07-13 16:22:33,184: DEBUG - juil. 13 16:22:32 uwsgi[8493]: Stopping app server(s): uwsgi -> . done.
2020-07-13 16:22:33,184: DEBUG - juil. 13 16:22:32 systemd[1]: Stopped LSB: Start/stop uWSGI server instance(s).
2020-07-13 16:22:33,184: DEBUG - juil. 13 16:22:32 systemd[1]: Starting LSB: Start/stop uWSGI server instance(s)...
2020-07-13 16:22:33,185: DEBUG - juil. 13 16:22:33 uwsgi[8532]: Starting app server(s): uwsgi -> ! failed!
2020-07-13 16:22:33,185: DEBUG - juil. 13 16:22:33 systemd[1]: uwsgi.service: Control process exited, code=exited status=1
2020-07-13 16:22:33,185: DEBUG - juil. 13 16:22:33 systemd[1]: Failed to start LSB: Start/stop uWSGI server instance(s).
2020-07-13 16:22:33,185: DEBUG - juil. 13 16:22:33 systemd[1]: uwsgi.service: Unit entered failed state.
2020-07-13 16:22:33,185: DEBUG - juil. 13 16:22:33 systemd[1]: uwsgi.service: Failed with result '\''exit-code'\''.'
2020-07-13 16:22:33,185: DEBUG - + '[' -e /var/log/uwsgi/app/searx.log ']'
2020-07-13 16:22:33,185: DEBUG - + ynh_print_err --message=--
2020-07-13 16:22:33,186: DEBUG - + ynh_print_log '[Error] --'
2020-07-13 16:22:33,187: DEBUG - + echo -e '[Error] --'
2020-07-13 16:22:33,187: DEBUG - + ynh_exec_err tail --lines=20 /var/log/uwsgi/app/searx.log
2020-07-13 16:22:33,187: DEBUG - ++ eval tail --lines=20 /var/log/uwsgi/app/searx.log
2020-07-13 16:22:33,187: DEBUG - +++ tail --lines=20 /var/log/uwsgi/app/searx.log
2020-07-13 16:22:33,187: DEBUG - + ynh_print_err 'Mon Jul 13 16:22:33 2020 - nodename: 127.0.0.1localhost
2020-07-13 16:22:33,187: DEBUG - Mon Jul 13 16:22:33 2020 - machine: x86_64
2020-07-13 16:22:33,187: DEBUG - Mon Jul 13 16:22:33 2020 - clock source: unix
2020-07-13 16:22:33,188: DEBUG - Mon Jul 13 16:22:33 2020 - pcre jit disabled
2020-07-13 16:22:33,188: DEBUG - Mon Jul 13 16:22:33 2020 - detected number of CPU cores: 4
2020-07-13 16:22:33,188: DEBUG - Mon Jul 13 16:22:33 2020 - current working directory: /
2020-07-13 16:22:33,188: DEBUG - Mon Jul 13 16:22:33 2020 - writing pidfile to /run/uwsgi/app/searx/pid
2020-07-13 16:22:33,188: DEBUG - Mon Jul 13 16:22:33 2020 - detected binary path: /usr/bin/uwsgi-core
2020-07-13 16:22:33,188: DEBUG - Mon Jul 13 16:22:33 2020 - setgid() to 972
2020-07-13 16:22:33,188: DEBUG - Mon Jul 13 16:22:33 2020 - setuid() to 973
2020-07-13 16:22:33,189: DEBUG - Mon Jul 13 16:22:33 2020 - chdir() to /opt/yunohost/searx/searx/
2020-07-13 16:22:33,189: DEBUG - Mon Jul 13 16:22:33 2020 - your processes number limit is 63287
2020-07-13 16:22:33,189: DEBUG - Mon Jul 13 16:22:33 2020 - your memory page size is 4096 bytes
2020-07-13 16:22:33,189: DEBUG - Mon Jul 13 16:22:33 2020 - detected max file descriptor number: 1024
2020-07-13 16:22:33,189: DEBUG - Mon Jul 13 16:22:33 2020 - lock engine: pthread robust mutexes
2020-07-13 16:22:33,189: DEBUG - Mon Jul 13 16:22:33 2020 - thunder lock: disabled (you can enable it with --thunder-lock)
2020-07-13 16:22:33,189: DEBUG - Mon Jul 13 16:22:33 2020 - uwsgi socket 0 bound to UNIX address /run/uwsgi/app/searx/socket fd 3
2020-07-13 16:22:33,190: DEBUG - Mon Jul 13 16:22:33 2020 - Python version: 2.7.13 (default, Sep 26 2018, 18:42:22)  [GCC 6.3.0 20170516]
2020-07-13 16:22:33,190: DEBUG - Mon Jul 13 16:22:33 2020 - Set PythonHome to /opt/yunohost/searx
2020-07-13 16:22:33,190: DEBUG - ImportError: No module named site'
2020-07-13 16:22:33,191: DEBUG - Mon Jul 13 16:22:33 2020 - machine: x86_64
2020-07-13 16:22:33,191: DEBUG - Mon Jul 13 16:22:33 2020 - clock source: unix
2020-07-13 16:22:33,191: DEBUG - Mon Jul 13 16:22:33 2020 - pcre jit disabled
2020-07-13 16:22:33,191: DEBUG - Mon Jul 13 16:22:33 2020 - detected number of CPU cores: 4
2020-07-13 16:22:33,191: DEBUG - Mon Jul 13 16:22:33 2020 - current working directory: /
2020-07-13 16:22:33,191: DEBUG - Mon Jul 13 16:22:33 2020 - writing pidfile to /run/uwsgi/app/searx/pid
2020-07-13 16:22:33,191: DEBUG - Mon Jul 13 16:22:33 2020 - detected binary path: /usr/bin/uwsgi-core
2020-07-13 16:22:33,192: DEBUG - Mon Jul 13 16:22:33 2020 - setgid() to 972
2020-07-13 16:22:33,192: DEBUG - Mon Jul 13 16:22:33 2020 - setuid() to 973
2020-07-13 16:22:33,192: DEBUG - Mon Jul 13 16:22:33 2020 - chdir() to /opt/yunohost/searx/searx/
2020-07-13 16:22:33,192: DEBUG - Mon Jul 13 16:22:33 2020 - your processes number limit is 63287
2020-07-13 16:22:33,192: DEBUG - Mon Jul 13 16:22:33 2020 - your memory page size is 4096 bytes
2020-07-13 16:22:33,192: DEBUG - Mon Jul 13 16:22:33 2020 - detected max file descriptor number: 1024
2020-07-13 16:22:33,192: DEBUG - Mon Jul 13 16:22:33 2020 - lock engine: pthread robust mutexes
2020-07-13 16:22:33,193: DEBUG - Mon Jul 13 16:22:33 2020 - thunder lock: disabled (you can enable it with --thunder-lock)
2020-07-13 16:22:33,193: DEBUG - Mon Jul 13 16:22:33 2020 - uwsgi socket 0 bound to UNIX address /run/uwsgi/app/searx/socket fd 3
2020-07-13 16:22:33,193: DEBUG - Mon Jul 13 16:22:33 2020 - Python version: 2.7.13 (default, Sep 26 2018, 18:42:22)  [GCC 6.3.0 20170516]
2020-07-13 16:22:33,193: DEBUG - Mon Jul 13 16:22:33 2020 - Set PythonHome to /opt/yunohost/searx
2020-07-13 16:22:33,193: DEBUG - ImportError: No module named site'
2020-07-13 16:22:33,194: DEBUG - + ynh_print_log '[Error] Mon Jul 13 16:22:33 2020 - nodename: 127.0.0.1localhost
2020-07-13 16:22:33,194: DEBUG - Mon Jul 13 16:22:33 2020 - machine: x86_64
2020-07-13 16:22:33,194: DEBUG - Mon Jul 13 16:22:33 2020 - clock source: unix
2020-07-13 16:22:33,194: DEBUG - Mon Jul 13 16:22:33 2020 - pcre jit disabled
2020-07-13 16:22:33,194: DEBUG - Mon Jul 13 16:22:33 2020 - detected number of CPU cores: 4
2020-07-13 16:22:33,194: DEBUG - Mon Jul 13 16:22:33 2020 - current working directory: /
2020-07-13 16:22:33,195: DEBUG - Mon Jul 13 16:22:33 2020 - writing pidfile to /run/uwsgi/app/searx/pid
2020-07-13 16:22:33,195: DEBUG - Mon Jul 13 16:22:33 2020 - detected binary path: /usr/bin/uwsgi-core
2020-07-13 16:22:33,195: DEBUG - Mon Jul 13 16:22:33 2020 - setgid() to 972
2020-07-13 16:22:33,195: DEBUG - Mon Jul 13 16:22:33 2020 - setuid() to 973
2020-07-13 16:22:33,195: DEBUG - Mon Jul 13 16:22:33 2020 - chdir() to /opt/yunohost/searx/searx/
2020-07-13 16:22:33,195: DEBUG - Mon Jul 13 16:22:33 2020 - your processes number limit is 63287
2020-07-13 16:22:33,195: DEBUG - Mon Jul 13 16:22:33 2020 - your memory page size is 4096 bytes
2020-07-13 16:22:33,196: DEBUG - Mon Jul 13 16:22:33 2020 - detected max file descriptor number: 1024
2020-07-13 16:22:33,196: DEBUG - Mon Jul 13 16:22:33 2020 - lock engine: pthread robust mutexes
2020-07-13 16:22:33,196: DEBUG - Mon Jul 13 16:22:33 2020 - thunder lock: disabled (you can enable it with --thunder-lock)
2020-07-13 16:22:33,196: DEBUG - Mon Jul 13 16:22:33 2020 - uwsgi socket 0 bound to UNIX address /run/uwsgi/app/searx/socket fd 3
2020-07-13 16:22:33,196: DEBUG - Mon Jul 13 16:22:33 2020 - Python version: 2.7.13 (default, Sep 26 2018, 18:42:22)  [GCC 6.3.0 20170516]
2020-07-13 16:22:33,196: DEBUG - Mon Jul 13 16:22:33 2020 - Set PythonHome to /opt/yunohost/searx
2020-07-13 16:22:33,196: DEBUG - ImportError: No module named site'
2020-07-13 16:22:33,197: DEBUG - + echo -e '[Error] Mon Jul 13 16:22:33 2020 - nodename: 127.0.0.1localhost
2020-07-13 16:22:33,197: DEBUG - Mon Jul 13 16:22:33 2020 - machine: x86_64
2020-07-13 16:22:33,197: DEBUG - Mon Jul 13 16:22:33 2020 - clock source: unix
2020-07-13 16:22:33,197: DEBUG - Mon Jul 13 16:22:33 2020 - pcre jit disabled
2020-07-13 16:22:33,197: DEBUG - Mon Jul 13 16:22:33 2020 - detected number of CPU cores: 4
2020-07-13 16:22:33,197: DEBUG - Mon Jul 13 16:22:33 2020 - current working directory: /
2020-07-13 16:22:33,197: DEBUG - Mon Jul 13 16:22:33 2020 - writing pidfile to /run/uwsgi/app/searx/pid
2020-07-13 16:22:33,197: DEBUG - Mon Jul 13 16:22:33 2020 - detected binary path: /usr/bin/uwsgi-core
2020-07-13 16:22:33,198: DEBUG - Mon Jul 13 16:22:33 2020 - setgid() to 972
2020-07-13 16:22:33,198: DEBUG - Mon Jul 13 16:22:33 2020 - setuid() to 973
2020-07-13 16:22:33,198: DEBUG - Mon Jul 13 16:22:33 2020 - chdir() to /opt/yunohost/searx/searx/
2020-07-13 16:22:33,198: DEBUG - Mon Jul 13 16:22:33 2020 - your processes number limit is 63287
2020-07-13 16:22:33,198: DEBUG - Mon Jul 13 16:22:33 2020 - your memory page size is 4096 bytes
2020-07-13 16:22:33,198: DEBUG - Mon Jul 13 16:22:33 2020 - detected max file descriptor number: 1024
2020-07-13 16:22:33,198: DEBUG - Mon Jul 13 16:22:33 2020 - lock engine: pthread robust mutexes
2020-07-13 16:22:33,199: DEBUG - Mon Jul 13 16:22:33 2020 - thunder lock: disabled (you can enable it with --thunder-lock)
2020-07-13 16:22:33,199: DEBUG - Mon Jul 13 16:22:33 2020 - uwsgi socket 0 bound to UNIX address /run/uwsgi/app/searx/socket fd 3
2020-07-13 16:22:33,199: DEBUG - Mon Jul 13 16:22:33 2020 - Python version: 2.7.13 (default, Sep 26 2018, 18:42:22)  [GCC 6.3.0 20170516]
2020-07-13 16:22:33,199: DEBUG - Mon Jul 13 16:22:33 2020 - Set PythonHome to /opt/yunohost/searx
2020-07-13 16:22:33,199: DEBUG - ImportError: No module named site'
2020-07-13 16:22:33,199: DEBUG - + ynh_die
2020-07-13 16:22:33,200: DEBUG - + ret_code=1
2020-07-13 16:22:33,200: DEBUG - ++ ynh_exit_properly
2020-07-13 16:22:33,201: DEBUG - ++ local exit_code=1
2020-07-13 16:22:33,201: DEBUG - ++ '[' 1 -eq 0 ']'
2020-07-13 16:22:33,201: DEBUG - ++ trap '' EXIT
2020-07-13 16:22:33,201: DEBUG - ++ set +o errexit
2020-07-13 16:22:33,201: DEBUG - ++ set +o nounset
2020-07-13 16:22:33,201: DEBUG - ++ sleep 0.5
2020-07-13 16:22:33,703: DEBUG - ++ type -t ynh_clean_setup
2020-07-13 16:22:33,703: DEBUG - ++ ynh_clean_setup
2020-07-13 16:22:33,703: DEBUG - ++ ynh_clean_check_starting
2020-07-13 16:22:33,703: DEBUG - ++ '[' -n 8491 ']'
2020-07-13 16:22:33,704: DEBUG - ++ kill -SIGTERM 8491
2020-07-13 16:22:33,704: DEBUG - ++ '[' -n /tmp/tmp.95h2VUJ6Vc ']'
2020-07-13 16:22:33,704: DEBUG - ++ ynh_secure_remove /tmp/tmp.95h2VUJ6Vc
2020-07-13 16:22:33,705: DEBUG - /usr/share/yunohost/helpers.d/getopts : ligne 1 :  8491 Complété              tail --follow=name --retry --lines=0 "$log_path" > "$templog" 2>&1
2020-07-13 16:22:33,706: DEBUG - ++ local 'forbidden_path=     /var/www     /home/yunohost.app'
2020-07-13 16:22:33,706: DEBUG - ++ '[' 1 -ge 2 ']'
2020-07-13 16:22:33,706: DEBUG - ++ [[ -z /tmp/tmp.95h2VUJ6Vc ]]
2020-07-13 16:22:33,707: DEBUG - ++ [[      /var/www     /home/yunohost.app =~ /tmp/tmp\.95h2VUJ6Vc ]]
2020-07-13 16:22:33,707: DEBUG - ++ [[ /tmp/tmp.95h2VUJ6Vc =~ ^/[[:alnum:]]+$ ]]
2020-07-13 16:22:33,707: DEBUG - ++ [[ c = \/ ]]
2020-07-13 16:22:33,707: DEBUG - ++ '[' -e /tmp/tmp.95h2VUJ6Vc ']'
2020-07-13 16:22:33,707: DEBUG - ++ rm --recursive /tmp/tmp.95h2VUJ6Vc
2020-07-13 16:22:33,708: DEBUG - ++ exit 1
2020-07-13 16:22:33,732: ERROR - Impossible d’installer searx : Une erreur est survenue dans le script d’installation de l’application

Egalement le message d’erreur lié au service uswgi

        journalctl
        -- Logs begin at Thu 2020-07-16 14:05:40 CEST, end at Tue 2020-07-21 19:30:10 CEST. --
juil. 16 14:05:49 systemd[1]: Starting LSB: Start/stop uWSGI server instance(s)...
-- Subject: L'unité (unit) uwsgi.service a commencé à démarrer
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- L'unité (unit) uwsgi.service a commencé à démarrer.
juil. 16 14:06:32 uwsgi[753]: Starting app server(s): uwsgi -> . done.
juil. 16 14:06:32 systemd[1]: Started LSB: Start/stop uWSGI server instance(s).
-- Subject: L'unité (unit) uwsgi.service a terminé son démarrage
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- L'unité (unit) uwsgi.service a terminé son démarrage, avec le résultat done.
juil. 16 14:14:14 systemd[1]: Stopping LSB: Start/stop uWSGI server instance(s)...
-- Subject: L'unité (unit) uwsgi.service a commencé à s'arrêter
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- L'unité (unit) uwsgi.service a commencé à s'arrêter.
juil. 16 14:14:14 uwsgi[5752]: Stopping app server(s): uwsgi -> . done.
juil. 16 14:14:14 systemd[1]: Stopped LSB: Start/stop uWSGI server instance(s).
-- Subject: L'unité (unit) uwsgi.service a terminé son arrêt
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- L'unité (unit) uwsgi.service a terminé son arrêt.
juil. 16 14:14:14 systemd[1]: Starting LSB: Start/stop uWSGI server instance(s)...
-- Subject: L'unité (unit) uwsgi.service a commencé à démarrer
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- L'unité (unit) uwsgi.service a commencé à démarrer.
juil. 16 14:14:14 uwsgi[5792]: Starting app server(s): uwsgi -> ! failed!
juil. 16 14:14:14 systemd[1]: uwsgi.service: Control process exited, code=exited status=1
juil. 16 14:14:14 systemd[1]: Failed to start LSB: Start/stop uWSGI server instance(s).
-- Subject: L'unité (unit) uwsgi.service a échoué
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- L'unité (unit) uwsgi.service a échoué, avec le résultat failed.
juil. 16 14:14:14 systemd[1]: uwsgi.service: Unit entered failed state.
juil. 16 14:14:14 systemd[1]: uwsgi.service: Failed with result 'exit-code'.
juil. 21 19:23:58 systemd[1]: Starting LSB: Start/stop uWSGI server instance(s)...
-- Subject: L'unité (unit) uwsgi.service a commencé à démarrer
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- L'unité (unit) uwsgi.service a commencé à démarrer.
juil. 21 19:23:58 uwsgi[10678]: Starting app server(s): uwsgi -> . done.
juil. 21 19:23:58 systemd[1]: Started LSB: Start/stop uWSGI server instance(s).
-- Subject: L'unité (unit) uwsgi.service a terminé son démarrage
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- L'unité (unit) uwsgi.service a terminé son démarrage, avec le résultat done.
juil. 21 19:29:34 systemd[1]: Stopping LSB: Start/stop uWSGI server instance(s)...
-- Subject: L'unité (unit) uwsgi.service a commencé à s'arrêter
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- L'unité (unit) uwsgi.service a commencé à s'arrêter.
juil. 21 19:29:34 uwsgi[11080]: Stopping app server(s): uwsgi -> . done.
juil. 21 19:29:34 systemd[1]: Stopped LSB: Start/stop uWSGI server instance(s).
-- Subject: L'unité (unit) uwsgi.service a terminé son arrêt
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- L'unité (unit) uwsgi.service a terminé son arrêt.
juil. 21 19:30:04 systemd[1]: Starting LSB: Start/stop uWSGI server instance(s)...
-- Subject: L'unité (unit) uwsgi.service a commencé à démarrer
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- L'unité (unit) uwsgi.service a commencé à démarrer.
juil. 21 19:30:04 uwsgi[11181]: Starting app server(s): uwsgi -> ! failed!
juil. 21 19:30:04 systemd[1]: uwsgi.service: Control process exited, code=exited status=1
juil. 21 19:30:04 systemd[1]: Failed to start LSB: Start/stop uWSGI server instance(s).
-- Subject: L'unité (unit) uwsgi.service a échoué
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- L'unité (unit) uwsgi.service a échoué, avec le résultat failed.
juil. 21 19:30:04 systemd[1]: uwsgi.service: Unit entered failed state.
juil. 21 19:30:04 systemd[1]: uwsgi.service: Failed with result 'exit-code'.
        /var/log/uwsgi/app/searx.log
        ul 16 14:14:14 2020 - uwsgi socket 0 bound to UNIX address /run/uwsgi/app/searx/socket fd 3
Thu Jul 16 14:14:14 2020 - Python version: 2.7.13 (default, Sep 26 2018, 18:42:22)  [GCC 6.3.0 20170516]
Thu Jul 16 14:14:14 2020 - Set PythonHome to /opt/yunohost/searx
ImportError: No module named site
Tue Jul 21 19:23:58 2020 - *** Starting uWSGI 2.0.14-debian (64bit) on [Tue Jul 21 19:23:58 2020] ***
Tue Jul 21 19:23:58 2020 - compiled with version: 6.3.0 20170516 on 17 March 2018 15:41:47
Tue Jul 21 19:23:58 2020 - os: Linux-4.9.0-12-amd64 #1 SMP Debian 4.9.210-1+deb9u1 (2020-06-07)
Tue Jul 21 19:23:58 2020 - nodename: 127.0.0.1localhost
Tue Jul 21 19:23:58 2020 - machine: x86_64
Tue Jul 21 19:23:58 2020 - clock source: unix
Tue Jul 21 19:23:58 2020 - pcre jit disabled
Tue Jul 21 19:23:58 2020 - detected number of CPU cores: 4
Tue Jul 21 19:23:58 2020 - current working directory: /
Tue Jul 21 19:23:58 2020 - writing pidfile to /run/uwsgi/app/searx/pid
Tue Jul 21 19:23:58 2020 - detected binary path: /usr/bin/uwsgi-core
Tue Jul 21 19:23:58 2020 - setgid() to 972
Tue Jul 21 19:23:58 2020 - setuid() to 973
Tue Jul 21 19:23:58 2020 - chdir() to /opt/yunohost/searx/searx/
Tue Jul 21 19:23:58 2020 - your processes number limit is 63287
Tue Jul 21 19:23:58 2020 - your memory page size is 4096 bytes
Tue Jul 21 19:23:58 2020 - detected max file descriptor number: 1024
Tue Jul 21 19:23:58 2020 - lock engine: pthread robust mutexes
Tue Jul 21 19:23:58 2020 - thunder lock: disabled (you can enable it with --thunder-lock)
Tue Jul 21 19:23:58 2020 - uwsgi socket 0 bound to UNIX address /run/uwsgi/app/searx/socket fd 3
Tue Jul 21 19:23:58 2020 - Python version: 2.7.13 (default, Sep 26 2018, 18:42:22)  [GCC 6.3.0 20170516]
Tue Jul 21 19:23:58 2020 - Set PythonHome to /opt/yunohost/searx
ImportError: No module named site
Tue Jul 21 19:30:04 2020 - *** Starting uWSGI 2.0.14-debian (64bit) on [Tue Jul 21 19:30:04 2020] ***
Tue Jul 21 19:30:04 2020 - compiled with version: 6.3.0 20170516 on 17 March 2018 15:41:47
Tue Jul 21 19:30:04 2020 - os: Linux-4.9.0-12-amd64 #1 SMP Debian 4.9.210-1+deb9u1 (2020-06-07)
Tue Jul 21 19:30:04 2020 - nodename: 127.0.0.1localhost
Tue Jul 21 19:30:04 2020 - machine: x86_64
Tue Jul 21 19:30:04 2020 - clock source: unix
Tue Jul 21 19:30:04 2020 - pcre jit disabled
Tue Jul 21 19:30:04 2020 - detected number of CPU cores: 4
Tue Jul 21 19:30:04 2020 - current working directory: /
Tue Jul 21 19:30:04 2020 - writing pidfile to /run/uwsgi/app/searx/pid
Tue Jul 21 19:30:04 2020 - detected binary path: /usr/bin/uwsgi-core
Tue Jul 21 19:30:04 2020 - setgid() to 972
Tue Jul 21 19:30:04 2020 - setuid() to 973
Tue Jul 21 19:30:04 2020 - chdir() to /opt/yunohost/searx/searx/
Tue Jul 21 19:30:04 2020 - your processes number limit is 63287
Tue Jul 21 19:30:04 2020 - your memory page size is 4096 bytes
Tue Jul 21 19:30:04 2020 - detected max file descriptor number: 1024
Tue Jul 21 19:30:04 2020 - lock engine: pthread robust mutexes
Tue Jul 21 19:30:04 2020 - thunder lock: disabled (you can enable it with --thunder-lock)
Tue Jul 21 19:30:04 2020 - uwsgi socket 0 bound to UNIX address /run/uwsgi/app/searx/socket fd 3
Tue Jul 21 19:30:04 2020 - Python version: 2.7.13 (default, Sep 26 2018, 18:42:22)  [GCC 6.3.0 20170516]
Tue Jul 21 19:30:04 2020 - Set PythonHome to /opt/yunohost/searx
ImportError: No module named site

Dans les deux cas le message est réccurent :

Set PythonHome to /opt/yunohost/searx
ImportError: No module named site

Je crois comprendre qu’il y a un rapport à python, une version différente que celle attendue ou quelque chose qui tourne autour.
Mais j’avoue que mes maigres connaissances ne permettent pas d’aller plus loin. Aussi je demande votre aide.

En vous remerciant par avance pour toute idée, piste qui puisse me faire avancer.

Cordialement,

L’erreur n’étant pas évidente j’ai créé une issue sur le repo de l’app. La CI indique qu’elle arrive à installer searx

As tu essayé de relancer l’installation, as tu d’autres apps installées ?

Bonjour

Merci pour ta réponse et pour ton aide.

Oui, j’ai déjà tenté une désisntallation et ré installation. J’obtiens le même résultat.
J’ai pas mal d’autres apps d’installées, mais celles-ci ne posent aucun problème.
La seule qui semble avoir également un lien avec uswgi service c’est Firefox Sync Server qui est installé lancé.
Pour revenir plus amplement sur Searx, elle semble partiellement installé, elle est présente dans le sso mais si je clique sur le raccourci j’obtiens une erreur de chargement de la page.

Edit : j’ai refait une tentative. Donc desinstallation redémarrage du serveur. Installation mais cette fois en laissant la case “site public” coché. Même issue. Message d’erreur équivalent, service uwsgi qui ne démarre pas. Seul changement une page “502 bad gateway” au lieu de l’erreur de chargement de page.

Edit2 : J’ai appliqué des maj cet après-midi. Plusieurs d’entre elles ont planté notamment la maj de minetest qui en plus d’avoir planté l’a carrément desinstallé.
Du coup de nombreux services ne démarrent plus en automatique. Only office pour nextcloud ne se lance plus etc.
Bref, arrivé à ce stade je pense que la meilleur option c’est le formatage et réinstallation. J’essaye juste de recupèrer certaines données dans les backup et ensuite je m’atellerai à cela. Il faut encore que je me rappelle comment faire libérer le nom de domaine en nohost.me.
En tout les cas merci pour votre aide.
Cordialement,

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