Impossible d'installer Seafile

Bonjour à tous

J’essaie d’installer Seafile, mais l’installation échoue, ainsi que l’annulation de l’installation qui s’en suit (je suis obligé de supprimer manuellement le répertoire opt/seafile pour pouvoir recommencer).

Quelqu’un pourrait m’éclairer sur d’où vient le problème ?

Merci d’avance !

Je mets le log de l’installation ici :

root@moi:~# yunohost app install seafile
Domaines disponibles :

  • my.domai.ne
    Choisissez un domaine pour Seafile (default: my.domai.ne) :
    Choisissez un chemin pour Seafile (default: /seafile) :
    Choisissez un nom (3 - 15 letters or digits) (default: Seafile) :
    Liste des utilisateurs disponibles :
  • moi
    Choisissez l’administrateur de Seafile : moi
    Vous êtes maintenant sur le point de définir un nouveau mot de passe utilisateur. Le mot de passe doit comporter au moins 8 caractères, bien qu’il soit recommandé d’utiliser un mot de passe plus long (c’est-à-dire une phrase secrète) et / ou une variation de caractères (majuscule, minuscule, chiffres et caractères spéciaux).
    Entrez un mot de passe pour l’administrateur :
    Est-ce un site public ? Pour utiliser un client sur PC ou l’application mobile, Seafile doit être public [yes | no] (default: yes) :
    Info : Installation de l’application seafile …
    Info : […] > Validating installation parameters…
    Info : […] > Finding available ports…
    Info : [+…] > Storing installation settings…
    Info : [#…] > Creating base directory…
    Info : [#+…] > Configuring system user…
    Info : [##+++…] > Installing dependencies…
    Attention : The main mountpoint of your system ‘/’ is on an SD card, swap will not be added to prevent some damage of this one, but that can cause troubles for the app seafile. If you still want activate the swap, you can relaunch the command preceded by ‘SD_CARD_CAN_SWAP=1’
    Attention : Exception:
    Attention : Traceback (most recent call last):
    Attention : File “/usr/lib/python2.7/dist-packages/pip/basecommand.py”, line 215, in main
    Attention : status = self.run(options, args)
    Attention : File “/usr/lib/python2.7/dist-packages/pip/commands/install.py”, line 353, in run
    Attention : wb.build(autobuilding=True)
    Attention : File “/usr/lib/python2.7/dist-packages/pip/wheel.py”, line 749, in build
    Attention : self.requirement_set.prepare_files(self.finder)
    Attention : File “/usr/lib/python2.7/dist-packages/pip/req/req_set.py”, line 380, in prepare_files
    Attention : ignore_dependencies=self.ignore_dependencies))
    Attention : File “/usr/lib/python2.7/dist-packages/pip/req/req_set.py”, line 620, in _prepare_file
    Attention : session=self.session, hashes=hashes)
    Attention : File “/usr/lib/python2.7/dist-packages/pip/download.py”, line 821, in unpack_url
    Attention : hashes=hashes
    Attention : File “/usr/lib/python2.7/dist-packages/pip/download.py”, line 659, in unpack_http_url
    Attention : hashes)
    Attention : File “/usr/lib/python2.7/dist-packages/pip/download.py”, line 882, in _download_http_url
    Attention : _download_url(resp, link, content_file, hashes)
    Attention : File “/usr/lib/python2.7/dist-packages/pip/download.py”, line 603, in _download_url
    Attention : hashes.check_against_chunks(downloaded_chunks)
    Attention : File “/usr/lib/python2.7/dist-packages/pip/utils/hashes.py”, line 46, in check_against_chunks
    Attention : for chunk in chunks:
    Attention : File “/usr/lib/python2.7/dist-packages/pip/download.py”, line 571, in written_chunks
    Attention : for chunk in chunks:
    Attention : File “/usr/lib/python2.7/dist-packages/pip/utils/ui.py”, line 139, in iter
    Attention : for x in it:
    Attention : File “/usr/lib/python2.7/dist-packages/pip/download.py”, line 560, in resp_read
    Attention : decode_content=False):
    Attention : File “/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py”, line 432, in stream
    Attention : data = self.read(amt=amt, decode_content=decode_content)
    Attention : File “/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py”, line 380, in read
    Attention : data = self._fp.read(amt)
    Attention : File “/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py”, line 63, in read
    Attention : self._close()
    Attention : File “/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py”, line 50, in _close
    Attention : self.__callback(self.__buf.getvalue())
    Attention : File “/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/controller.py”, line 275, in cache_response
    Attention : self.serializer.dumps(request, response, body=body),
    Attention : File “/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/serialize.py”, line 87, in dumps
    Attention : ).encode(“utf8”),
    Attention : MemoryError
    Erreur : Impossible d’installer seafile : Une erreur est survenue dans le script d’installation de l’application
    Info : L’opération ‘Installer l’application ‘seafile’’ a échoué ! Pour obtenir de l’aide, merci de partager le journal de l’opération en utilisant la commande ‘yunohost log display 20200525-094241-app_install-seafile --share’
    Attention : Here’s an extract of the logs before the crash. It might help debugging the error:
    Info : WARNING - for chunk in chunks:
    Info : WARNING - File “/usr/lib/python2.7/dist-packages/pip/download.py”, line 571, in written_chunks
    Info : WARNING - for chunk in chunks:
    Info : WARNING - File “/usr/lib/python2.7/dist-packages/pip/utils/ui.py”, line 139, in iter
    Info : WARNING - for x in it:
    Info : WARNING - File “/usr/lib/python2.7/dist-packages/pip/download.py”, line 560, in resp_read
    Info : WARNING - decode_content=False):
    Info : WARNING - File “/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py”, line 432, in stream
    Info : WARNING - data = self.read(amt=amt, decode_content=decode_content)
    Info : WARNING - File “/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py”, line 380, in read
    Info : WARNING - data = self._fp.read(amt)
    Info : WARNING - File “/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py”, line 63, in read
    Info : WARNING - self._close()
    Info : WARNING - File “/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py”, line 50, in _close
    Info : WARNING - self.__callback(self.__buf.getvalue())
    Info : WARNING - File “/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/controller.py”, line 275, in cache_response
    Info : WARNING - self.serializer.dumps(request, response, body=body),
    Info : WARNING - File “/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/serialize.py”, line 87, in dumps
    Info : WARNING - ).encode(“utf8”),
    Info : WARNING - MemoryError
    Info : DEBUG - + ynh_exit_properly
    Attention : Supprimer l’application après l’échec de l’installation …
    Info : […] > Loading installation settings…
    Info : [+…] > Stoping services…
    Attention : Failed to stop seafile.service: Unit seafile.service not loaded.
    Attention : [Error]
    Attention : /usr/share/yunohost/helpers.d/logging: ligne 20: message : variable sans liaison
    Attention : seafile n’a pas été supprimé correctement
    Info : L’opération ‘Enlever ‘seafile’ après une installation échouée’ a échoué ! Pour obtenir de l’aide, merci de partager le journal de l’opération en utilisant la commande ‘yunohost log display 20200525-094431-remove_on_failed_install-seafile --share’
    Erreur : L’opération ‘Installer l’application ‘seafile’’ a échoué ! Pour obtenir de l’aide, merci de partager le journal de l’opération en utilisant la commande ‘yunohost log display 20200525-094241-app_install-seafile --share’

Et le log complet :

args:
app: seafile
args: null
force: false
label: null
no_remove_on_failure: false
ended_at: 2020-05-25 09:44:31.399582
env:
YNH_APP_ARG_ADMIN: smidge
YNH_APP_ARG_ADMIN_PASSWORD: ‘**********’
YNH_APP_ARG_DOMAIN: maindomain.tld
YNH_APP_ARG_IS_PUBLIC: 1
YNH_APP_ARG_PATH: /seafile
YNH_APP_ARG_SERVER_NAME: Seafile
YNH_APP_ID: seafile
YNH_APP_INSTANCE_NAME: seafile
YNH_APP_INSTANCE_NUMBER: ‘1’
YNH_CWD: /var/cache/yunohost/from_file/seafile_ynh-933146054fea334ef6ef1f66526771e297150a73/scripts
YNH_INTERFACE: cli
YNH_STDINFO: /tmp/tmpsgIcI0/stdinfo
YNH_STDRETURN: /tmp/tmpYYM311/stdreturn
error: “Une erreur est survenue dans le script d\u2019installation de l\u2019application”
operation: app_install
related_to:

    • app
    • seafile
      started_at: 2020-05-25 09:42:41.320517
      success: false

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

2020-05-25 11:42:41,353: INFO - Installation de l’application seafile …
2020-05-25 11:42:41,764: DEBUG - The permission database has been resynchronized
2020-05-25 11:42:43,991: DEBUG - La configuration de SSOwat générée
2020-05-25 11:42:44,062: DEBUG - No default hook for action ‘post_app_addaccess’ in /usr/share/yunohost/hooks/
2020-05-25 11:42:44,067: DEBUG - No custom hook for action ‘post_app_addaccess’ in /etc/yunohost/hooks.d/
2020-05-25 11:42:44,070: DEBUG - Permission ‘seafile.main’ créée
2020-05-25 11:42:44,092: DEBUG - Pour voir le journal de cette opération ‘Créer permission ‘seafile’’, utilisez la commande ‘yunohost log display 20200525-094241-permission_create-seafile’
2020-05-25 11:42:44,181: DEBUG - Exécution de la commande ‘sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/seafile_ynh-933146054fea334ef6ef1f66526771e297150a73/scripts YNH_APP_INSTANCE_NAME=seafile YNH_STDRETURN=/tmp/tmpYYM311/stdreturn YNH_STDINFO=/tmp/tmpsgIcI0/stdinfo YNH_APP_ARG_ADMIN_PASSWORD=********** YNH_APP_ARG_IS_PUBLIC=1 YNH_APP_ARG_ADMIN=smidge YNH_INTERFACE=cli YNH_APP_ID=seafile YNH_APP_ARG_PATH=/seafile YNH_APP_ARG_SERVER_NAME=Seafile YNH_APP_ARG_DOMAIN=maindomain.tld BASH_XTRACEFD=7 /bin/bash -x “./install” maindomain.tld /seafile Seafile smidge ********** 1 seafile 7>&1’ …
2020-05-25 11:42:44,183: DEBUG - About to run the command ‘[‘sh’, ‘-c’, ‘YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/seafile_ynh-933146054fea334ef6ef1f66526771e297150a73/scripts YNH_APP_INSTANCE_NAME=seafile YNH_STDRETURN=/tmp/tmpYYM311/stdreturn YNH_STDINFO=/tmp/tmpsgIcI0/stdinfo YNH_APP_ARG_ADMIN_PASSWORD=********** YNH_APP_ARG_IS_PUBLIC=1 YNH_APP_ARG_ADMIN=smidge YNH_INTERFACE=cli YNH_APP_ID=seafile YNH_APP_ARG_PATH=/seafile YNH_APP_ARG_SERVER_NAME=Seafile YNH_APP_ARG_DOMAIN=maindomain.tld BASH_XTRACEFD=7 /bin/bash -x “./install” maindomain.tld /seafile Seafile smidge ********** 1 seafile 7>&1’]’
2020-05-25 11:42:44,349: DEBUG - + source /usr/share/yunohost/helpers
2020-05-25 11:42:44,354: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2020-05-25 11:42:44,357: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-25 11:42:44,359: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/apt ‘]’
2020-05-25 11:42:44,361: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2020-05-25 11:42:44,363: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-25 11:42:44,366: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/backup ‘]’
2020-05-25 11:42:44,368: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2020-05-25 11:42:44,372: DEBUG - +++ CAN_BIND=1
2020-05-25 11:42:44,374: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-25 11:42:44,376: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/fail2ban ‘]’
2020-05-25 11:42:44,377: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2020-05-25 11:42:44,380: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-25 11:42:44,382: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/getopts ‘]’
2020-05-25 11:42:44,384: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2020-05-25 11:42:44,387: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-25 11:42:44,390: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/hardware ‘]’
2020-05-25 11:42:44,393: DEBUG - ++ . /usr/share/yunohost/helpers.d/hardware
2020-05-25 11:42:44,395: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-25 11:42:44,397: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/logging ‘]’
2020-05-25 11:42:44,399: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2020-05-25 11:42:44,403: DEBUG - +++ increment_progression=0
2020-05-25 11:42:44,405: DEBUG - +++ previous_weight=0
2020-05-25 11:42:44,406: DEBUG - +++ max_progression=-1
2020-05-25 11:42:44,408: DEBUG - +++ progress_scale=20
2020-05-25 11:42:44,410: DEBUG - +++ progress_string2=’####################’
2020-05-25 11:42:44,412: DEBUG - +++ progress_string1=++++++++++++++++++++
2020-05-25 11:42:44,413: DEBUG - +++ progress_string0=…
2020-05-25 11:42:44,415: DEBUG - ++++ date +%s
2020-05-25 11:42:44,417: DEBUG - +++ base_time=1590399764
2020-05-25 11:42:44,420: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-25 11:42:44,422: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/logrotate ‘]’
2020-05-25 11:42:44,424: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2020-05-25 11:42:44,426: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-25 11:42:44,427: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
2020-05-25 11:42:44,429: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2020-05-25 11:42:44,431: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2020-05-25 11:42:44,435: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-25 11:42:44,436: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’
2020-05-25 11:42:44,438: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2020-05-25 11:42:44,440: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-25 11:42:44,442: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/nginx ‘]’
2020-05-25 11:42:44,444: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2020-05-25 11:42:44,445: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-25 11:42:44,448: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/nodejs ‘]’
2020-05-25 11:42:44,450: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2020-05-25 11:42:44,452: DEBUG - +++ n_install_dir=/opt/node_n
2020-05-25 11:42:44,454: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2020-05-25 11:42:44,456: DEBUG - +++ export N_PREFIX=/opt/node_n
2020-05-25 11:42:44,458: DEBUG - +++ N_PREFIX=/opt/node_n
2020-05-25 11:42:44,460: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-25 11:42:44,464: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/php ‘]’
2020-05-25 11:42:44,465: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2020-05-25 11:42:44,467: DEBUG - +++ readonly YNH_DEFAULT_PHP_VERSION=7.0
2020-05-25 11:42:44,470: DEBUG - +++ YNH_DEFAULT_PHP_VERSION=7.0
2020-05-25 11:42:44,473: DEBUG - +++ YNH_PHP_VERSION=7.0
2020-05-25 11:42:44,475: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-25 11:42:44,476: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/postgresql ‘]’
2020-05-25 11:42:44,479: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2020-05-25 11:42:44,482: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2020-05-25 11:42:44,484: DEBUG - +++ PSQL_VERSION=9.6
2020-05-25 11:42:44,486: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-25 11:42:44,489: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
2020-05-25 11:42:44,491: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2020-05-25 11:42:44,492: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-25 11:42:44,494: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
2020-05-25 11:42:44,496: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2020-05-25 11:42:44,498: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-25 11:42:44,500: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/systemd ‘]’
2020-05-25 11:42:44,501: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2020-05-25 11:42:44,503: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-25 11:42:44,505: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
2020-05-25 11:42:44,507: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2020-05-25 11:42:44,509: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-25 11:42:44,512: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
2020-05-25 11:42:44,515: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2020-05-25 11:42:44,518: DEBUG - + ynh_abort_if_errors
2020-05-25 11:42:44,521: DEBUG - + set -o errexit
2020-05-25 11:42:44,524: DEBUG - + set -o nounset
2020-05-25 11:42:44,526: DEBUG - + trap ynh_exit_properly EXIT
2020-05-25 11:42:44,529: DEBUG - + source ./experimental_helper.sh
2020-05-25 11:42:44,531: DEBUG - +++ grep 64
2020-05-25 11:42:44,533: DEBUG - +++ uname -m
2020-05-25 11:42:44,637: DEBUG - ++ ‘[’ -n ‘’ ‘]’
2020-05-25 11:42:44,639: DEBUG - +++ uname -m
2020-05-25 11:42:44,641: DEBUG - +++ grep 86
2020-05-25 11:42:44,644: DEBUG - ++ ‘[’ -n ‘’ ‘]’
2020-05-25 11:42:44,646: DEBUG - +++ uname -m
2020-05-25 11:42:44,649: DEBUG - +++ grep arm
2020-05-25 11:42:44,651: DEBUG - ++ ‘[’ -n armv7l ‘]’
2020-05-25 11:42:44,653: DEBUG - ++ architecture=arm
2020-05-25 11:42:44,656: DEBUG - + source ./common.sh
2020-05-25 11:42:44,659: DEBUG - ++ app=seafile
2020-05-25 11:42:44,661: DEBUG - ++ [[ -e …/settings/manifest.json ]]
2020-05-25 11:42:44,663: DEBUG - ++ [[ -e …/manifest.json ]]
2020-05-25 11:42:44,666: DEBUG - +++ ynh_app_upstream_version
2020-05-25 11:42:44,668: DEBUG - +++ local legacy_args=m
2020-05-25 11:42:44,670: DEBUG - +++ args_array=([m]=manifest=)
2020-05-25 11:42:44,672: DEBUG - +++ local -A args_array
2020-05-25 11:42:44,674: DEBUG - +++ local manifest
2020-05-25 11:42:44,676: DEBUG - +++ ynh_handle_getopts_args
2020-05-25 11:42:44,678: DEBUG - +++ set +o xtrace
2020-05-25 11:42:44,679: DEBUG - +++ manifest=…/manifest.json
2020-05-25 11:42:44,681: DEBUG - ++++ ynh_read_manifest --manifest=…/manifest.json --manifest_key=version
2020-05-25 11:42:44,683: DEBUG - ++++ local legacy_args=mk
2020-05-25 11:42:44,685: DEBUG - ++++ args_array=([m]=manifest= [k]=manifest_key=)
2020-05-25 11:42:44,686: DEBUG - ++++ local -A args_array
2020-05-25 11:42:44,688: DEBUG - ++++ local manifest
2020-05-25 11:42:44,690: DEBUG - ++++ local manifest_key
2020-05-25 11:42:44,694: DEBUG - ++++ ynh_handle_getopts_args --manifest=…/manifest.json --manifest_key=version
2020-05-25 11:42:44,697: DEBUG - ++++ set +o xtrace
2020-05-25 11:42:44,699: DEBUG - ++++ ‘[’ ‘!’ -e …/manifest.json ‘]’
2020-05-25 11:42:44,701: DEBUG - ++++ jq .version …/manifest.json --raw-output
2020-05-25 11:42:44,704: DEBUG - +++ version_key=**********
2020-05-25 11:42:44,807: DEBUG - +++ echo 7.0.5
2020-05-25 11:42:44,809: DEBUG - ++ seafile_version=7.0.5
2020-05-25 11:42:44,811: DEBUG - + ynh_script_progression ‘–message=Validating installation parameters…’
2020-05-25 11:42:44,814: DEBUG - + set +o xtrace
2020-05-25 11:42:44,816: DEBUG - + set +o xtrace
2020-05-25 11:42:44,919: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-25 11:42:44,921: DEBUG - + set +x
2020-05-25 11:42:44,923: DEBUG - + echo ‘[…] > Validating installation parameters…’
2020-05-25 11:42:44,925: DEBUG - + set -o xtrace
2020-05-25 11:42:45,027: DEBUG - + domain=maindomain.tld
2020-05-25 11:42:45,030: INFO - […] > Validating installation parameters…
2020-05-25 11:42:45,035: DEBUG - ++ ynh_normalize_url_path --path_url /seafile
2020-05-25 11:42:45,037: DEBUG - ++ local legacy_args=p
2020-05-25 11:42:45,041: DEBUG - ++ args_array=([p]=path_url=)
2020-05-25 11:42:45,043: DEBUG - ++ local -A args_array
2020-05-25 11:42:45,045: DEBUG - ++ local path_url
2020-05-25 11:42:45,048: DEBUG - ++ ynh_handle_getopts_args --path_url /seafile
2020-05-25 11:42:45,051: DEBUG - ++ set +o xtrace
2020-05-25 11:42:45,053: DEBUG - ++ test -n /seafile
2020-05-25 11:42:45,056: DEBUG - ++ ‘[’ / ‘!=’ / ‘]’
2020-05-25 11:42:45,058: DEBUG - ++ ‘[’ e == / ‘]’
2020-05-25 11:42:45,060: DEBUG - ++ echo /seafile
2020-05-25 11:42:45,063: DEBUG - + path_url=/seafile
2020-05-25 11:42:45,065: DEBUG - + server_name=Seafile
2020-05-25 11:42:45,067: DEBUG - + admin=smidge
2020-05-25 11:42:45,069: DEBUG - + is_public=1
2020-05-25 11:42:45,071: DEBUG - + seafile_data=/home/yunohost.app/seafile-data
2020-05-25 11:42:45,075: DEBUG - + final_path=/opt/yunohost/seafile
2020-05-25 11:42:45,077: DEBUG - + seafile_user=seafile
2020-05-25 11:42:45,080: DEBUG - + admin_password=**********
2020-05-25 11:42:45,082: DEBUG - + [[ /seafile == / ]]
2020-05-25 11:42:45,084: DEBUG - + path_url2=/seafile/
2020-05-25 11:42:45,086: DEBUG - + ynh_webpath_register --app seafile --domain maindomain.tld --path_url /seafile
2020-05-25 11:42:45,089: DEBUG - + local legacy_args=adp
2020-05-25 11:42:45,091: DEBUG - + args_array=([a]=app= [d]=domain= [p]=path_url=)
2020-05-25 11:42:45,093: DEBUG - + local -A args_array
2020-05-25 11:42:45,095: DEBUG - + local app
2020-05-25 11:42:45,098: DEBUG - + local domain
2020-05-25 11:42:45,100: DEBUG - + local path_url
2020-05-25 11:42:45,102: DEBUG - + ynh_handle_getopts_args --app seafile --domain maindomain.tld --path_url /seafile
2020-05-25 11:42:45,104: DEBUG - + set +o xtrace
2020-05-25 11:42:45,106: DEBUG - + yunohost app register-url seafile maindomain.tld /seafile
2020-05-25 11:42:48,223: DEBUG - + test ‘!’ -e /opt/yunohost/seafile
2020-05-25 11:42:48,225: DEBUG - + ynh_script_progression ‘–message=Finding available ports…’
2020-05-25 11:42:48,227: DEBUG - + set +o xtrace
2020-05-25 11:42:48,330: DEBUG - + set +o xtrace
2020-05-25 11:42:48,333: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-25 11:42:48,336: DEBUG - + set +x
2020-05-25 11:42:48,338: DEBUG - + echo ‘[…] > Finding available ports…’
2020-05-25 11:42:48,343: DEBUG - + set -o xtrace
2020-05-25 11:42:48,346: INFO - […] > Finding available ports…
2020-05-25 11:42:48,349: DEBUG - ++ ynh_find_port --port 8000
2020-05-25 11:42:48,351: DEBUG - ++ local legacy_args=p
2020-05-25 11:42:48,353: DEBUG - ++ args_array=([p]=port=)
2020-05-25 11:42:48,356: DEBUG - ++ local -A args_array
2020-05-25 11:42:48,358: DEBUG - ++ local port
2020-05-25 11:42:48,360: DEBUG - ++ ynh_handle_getopts_args --port 8000
2020-05-25 11:42:48,362: DEBUG - ++ set +o xtrace
2020-05-25 11:42:48,365: DEBUG - ++ test -n 8000
2020-05-25 11:42:48,367: DEBUG - ++ ynh_port_available --port=8000
2020-05-25 11:42:48,370: DEBUG - ++ local legacy_args=p
2020-05-25 11:42:48,372: DEBUG - ++ args_array=([p]=port=)
2020-05-25 11:42:48,374: DEBUG - ++ local -A args_array
2020-05-25 11:42:48,376: DEBUG - ++ local port
2020-05-25 11:42:48,379: DEBUG - ++ ynh_handle_getopts_args --port=8000
2020-05-25 11:42:48,382: DEBUG - ++ set +o xtrace
2020-05-25 11:42:48,387: DEBUG - ++ grep --quiet --extended-regexp ‘:8000$’
2020-05-25 11:42:48,390: DEBUG - ++ awk ‘{print$5}’
2020-05-25 11:42:48,396: DEBUG - ++ ss --numeric --listening --tcp --udp
2020-05-25 11:42:48,499: DEBUG - ++ return 0
2020-05-25 11:42:48,501: DEBUG - ++ echo 8000
2020-05-25 11:42:48,504: DEBUG - + seahub_port=8000
2020-05-25 11:42:48,506: DEBUG - ++ ynh_find_port --port 8082
2020-05-25 11:42:48,508: DEBUG - ++ local legacy_args=p
2020-05-25 11:42:48,510: DEBUG - ++ args_array=([p]=port=)
2020-05-25 11:42:48,513: DEBUG - ++ local -A args_array
2020-05-25 11:42:48,516: DEBUG - ++ local port
2020-05-25 11:42:48,518: DEBUG - ++ ynh_handle_getopts_args --port 8082
2020-05-25 11:42:48,521: DEBUG - ++ set +o xtrace
2020-05-25 11:42:48,523: DEBUG - ++ test -n 8082
2020-05-25 11:42:48,525: DEBUG - ++ ynh_port_available --port=8082
2020-05-25 11:42:48,528: DEBUG - ++ local legacy_args=p
2020-05-25 11:42:48,530: DEBUG - ++ args_array=([p]=port=)
2020-05-25 11:42:48,532: DEBUG - ++ local -A args_array
2020-05-25 11:42:48,535: DEBUG - ++ local port
2020-05-25 11:42:48,537: DEBUG - ++ ynh_handle_getopts_args --port=8082
2020-05-25 11:42:48,540: DEBUG - ++ set +o xtrace
2020-05-25 11:42:48,542: DEBUG - ++ grep --quiet --extended-regexp ‘:8082$’
2020-05-25 11:42:48,545: DEBUG - ++ awk ‘{print$5}’
2020-05-25 11:42:48,547: DEBUG - ++ ss --numeric --listening --tcp --udp
2020-05-25 11:42:48,651: DEBUG - ++ return 0
2020-05-25 11:42:48,653: DEBUG - ++ echo 8082
2020-05-25 11:42:48,655: DEBUG - + fileserver_port=8082
2020-05-25 11:42:48,657: DEBUG - ++ ynh_find_port --port 8080
2020-05-25 11:42:48,661: DEBUG - ++ local legacy_args=p
2020-05-25 11:42:48,664: DEBUG - ++ args_array=([p]=port=)
2020-05-25 11:42:48,666: DEBUG - ++ local -A args_array
2020-05-25 11:42:48,668: DEBUG - ++ local port
2020-05-25 11:42:48,670: DEBUG - ++ ynh_handle_getopts_args --port 8080
2020-05-25 11:42:48,673: DEBUG - ++ set +o xtrace
2020-05-25 11:42:48,675: DEBUG - ++ test -n 8080
2020-05-25 11:42:48,677: DEBUG - ++ ynh_port_available --port=8080
2020-05-25 11:42:48,680: DEBUG - ++ local legacy_args=p
2020-05-25 11:42:48,684: DEBUG - ++ args_array=([p]=port=)
2020-05-25 11:42:48,686: DEBUG - ++ local -A args_array
2020-05-25 11:42:48,689: DEBUG - ++ local port
2020-05-25 11:42:48,691: DEBUG - ++ ynh_handle_getopts_args --port=8080
2020-05-25 11:42:48,693: DEBUG - ++ set +o xtrace
2020-05-25 11:42:48,695: DEBUG - ++ ss --numeric --listening --tcp --udp
2020-05-25 11:42:48,698: DEBUG - ++ grep --quiet --extended-regexp ‘:8080$’
2020-05-25 11:42:48,700: DEBUG - ++ awk ‘{print$5}’
2020-05-25 11:42:48,702: DEBUG - ++ return 0
2020-05-25 11:42:48,705: DEBUG - ++ echo 8080
2020-05-25 11:42:48,707: DEBUG - + webdav_port=8080
2020-05-25 11:42:48,709: DEBUG - + ‘[’ 8082 -eq 8080 ‘]’
2020-05-25 11:42:48,711: DEBUG - + ynh_script_progression ‘–message=Storing installation settings…’
2020-05-25 11:42:48,714: DEBUG - + set +o xtrace
2020-05-25 11:42:48,817: DEBUG - + set +o xtrace
2020-05-25 11:42:48,819: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-25 11:42:48,821: DEBUG - + set +x
2020-05-25 11:42:48,824: DEBUG - + echo ‘[+…] > Storing installation settings…’
2020-05-25 11:42:48,826: DEBUG - + set -o xtrace
2020-05-25 11:42:48,829: DEBUG - + ynh_app_setting_set --app seafile --key server_name --value Seafile
2020-05-25 11:42:48,831: DEBUG - + local legacy_args=akv
2020-05-25 11:42:48,834: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-05-25 11:42:48,835: DEBUG - + local -A args_array
2020-05-25 11:42:48,837: DEBUG - + local app
2020-05-25 11:42:48,840: DEBUG - + local key
2020-05-25 11:42:48,842: DEBUG - + local value
2020-05-25 11:42:48,845: DEBUG - + ynh_handle_getopts_args --app seafile --key server_name --value Seafile
2020-05-25 11:42:48,847: DEBUG - + set +o xtrace
2020-05-25 11:42:48,849: INFO - [+…] > Storing installation settings…
2020-05-25 11:42:48,954: DEBUG - + ynh_app_setting set seafile server_name Seafile
2020-05-25 11:42:48,956: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-05-25 11:42:48,957: DEBUG - + ACTION=set
2020-05-25 11:42:48,959: DEBUG - + APP=seafile
2020-05-25 11:42:48,961: DEBUG - + KEY=server_name
2020-05-25 11:42:48,963: DEBUG - + VALUE=Seafile
2020-05-25 11:42:48,965: DEBUG - + python2.7 -
2020-05-25 11:42:49,771: DEBUG - + [[ server_name =~ ^(unprotected|skipped)
]]
2020-05-25 11:42:49,773: DEBUG - + ynh_app_setting_set --app seafile --key final_path --value /opt/yunohost/seafile
2020-05-25 11:42:49,775: DEBUG - + local legacy_args=akv
2020-05-25 11:42:49,777: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-05-25 11:42:49,779: DEBUG - + local -A args_array
2020-05-25 11:42:49,781: DEBUG - + local app
2020-05-25 11:42:49,784: DEBUG - + local key
2020-05-25 11:42:49,786: DEBUG - + local value
2020-05-25 11:42:49,789: DEBUG - + ynh_handle_getopts_args --app seafile --key final_path --value /opt/yunohost/seafile
2020-05-25 11:42:49,791: DEBUG - + set +o xtrace
2020-05-25 11:42:49,794: DEBUG - + ynh_app_setting set seafile final_path /opt/yunohost/seafile
2020-05-25 11:42:49,796: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-05-25 11:42:49,800: DEBUG - + ACTION=set
2020-05-25 11:42:49,802: DEBUG - + APP=seafile
2020-05-25 11:42:49,805: DEBUG - + KEY=final_path
2020-05-25 11:42:49,807: DEBUG - + VALUE=/opt/yunohost/seafile
2020-05-25 11:42:49,809: DEBUG - + python2.7 -
2020-05-25 11:42:50,615: DEBUG - + [[ final_path =~ ^(unprotected|skipped)_ ]]
2020-05-25 11:42:50,618: DEBUG - + ynh_app_setting_set --app seafile --key seafile_user --value seafile
2020-05-25 11:42:50,620: DEBUG - + local legacy_args=akv
2020-05-25 11:42:50,625: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-05-25 11:42:50,628: DEBUG - + local -A args_array
2020-05-25 11:42:50,630: DEBUG - + local app
2020-05-25 11:42:50,632: DEBUG - + local key
2020-05-25 11:42:50,634: DEBUG - + local value
2020-05-25 11:42:50,637: DEBUG - + ynh_handle_getopts_args --app seafile --key seafile_user --value seafile
2020-05-25 11:42:50,639: DEBUG - + set +o xtrace
2020-05-25 11:42:50,742: DEBUG - + ynh_app_setting set seafile seafile_user seafile
2020-05-25 11:42:50,744: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-05-25 11:42:50,746: DEBUG - + ACTION=set
2020-05-25 11:42:50,748: DEBUG - + APP=seafile
2020-05-25 11:42:50,750: DEBUG - + KEY=seafile_user
2020-05-25 11:42:50,753: DEBUG - + VALUE=seafile
2020-05-25 11:42:50,755: DEBUG - + python2.7 -
2020-05-25 11:42:51,461: DEBUG - + [[ seafile_user =~ ^(unprotected|skipped)_ ]]
2020-05-25 11:42:51,464: DEBUG - + ynh_app_setting_set --app seafile --key admin --value smidge
2020-05-25 11:42:51,466: DEBUG - + local legacy_args=akv
2020-05-25 11:42:51,468: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-05-25 11:42:51,471: DEBUG - + local -A args_array
2020-05-25 11:42:51,473: DEBUG - + local app
2020-05-25 11:42:51,475: DEBUG - + local key
2020-05-25 11:42:51,477: DEBUG - + local value
2020-05-25 11:42:51,480: DEBUG - + ynh_handle_getopts_args --app seafile --key admin --value smidge
2020-05-25 11:42:51,482: DEBUG - + set +o xtrace
2020-05-25 11:42:51,585: DEBUG - + ynh_app_setting set seafile admin smidge
2020-05-25 11:42:51,587: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-05-25 11:42:51,589: DEBUG - + ACTION=set
2020-05-25 11:42:51,591: DEBUG - + APP=seafile
2020-05-25 11:42:51,594: DEBUG - + KEY=admin
2020-05-25 11:42:51,596: DEBUG - + VALUE=smidge
2020-05-25 11:42:51,598: DEBUG - + python2.7 -
2020-05-25 11:42:52,404: DEBUG - + [[ admin =~ ^(unprotected|skipped)_ ]]
2020-05-25 11:42:52,406: DEBUG - + ynh_app_setting_set --app seafile --key seahub_port --value 8000
2020-05-25 11:42:52,414: DEBUG - + local legacy_args=akv
2020-05-25 11:42:52,416: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-05-25 11:42:52,428: DEBUG - + local -A args_array
2020-05-25 11:42:52,432: DEBUG - + local app
2020-05-25 11:42:52,434: DEBUG - + local key
2020-05-25 11:42:52,436: DEBUG - + local value
2020-05-25 11:42:52,438: DEBUG - + ynh_handle_getopts_args --app seafile --key seahub_port --value 8000
2020-05-25 11:42:52,445: DEBUG - + set +o xtrace
2020-05-25 11:42:52,447: DEBUG - + ynh_app_setting set seafile seahub_port 8000
2020-05-25 11:42:52,450: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-05-25 11:42:52,452: DEBUG - + ACTION=set
2020-05-25 11:42:52,462: DEBUG - + APP=seafile
2020-05-25 11:42:52,464: DEBUG - + KEY=seahub_port
2020-05-25 11:42:52,466: DEBUG - + VALUE=8000
2020-05-25 11:42:52,467: DEBUG - + python2.7 -
2020-05-25 11:42:53,386: DEBUG - + [[ seahub_port =~ ^(unprotected|skipped)_ ]]
2020-05-25 11:42:53,388: DEBUG - + ynh_app_setting_set --app seafile --key fileserver_port --value 8082
2020-05-25 11:42:53,390: DEBUG - + local legacy_args=akv
2020-05-25 11:42:53,391: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-05-25 11:42:53,397: DEBUG - + local -A args_array
2020-05-25 11:42:53,399: DEBUG - + local app
2020-05-25 11:42:53,401: DEBUG - + local key
2020-05-25 11:42:53,404: DEBUG - + local value
2020-05-25 11:42:53,406: DEBUG - + ynh_handle_getopts_args --app seafile --key fileserver_port --value 8082
2020-05-25 11:42:53,408: DEBUG - + set +o xtrace
2020-05-25 11:42:53,410: DEBUG - + ynh_app_setting set seafile fileserver_port 8082
2020-05-25 11:42:53,413: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-05-25 11:42:53,415: DEBUG - + ACTION=set
2020-05-25 11:42:53,417: DEBUG - + APP=seafile
2020-05-25 11:42:53,419: DEBUG - + KEY=fileserver_port
2020-05-25 11:42:53,421: DEBUG - + VALUE=8082
2020-05-25 11:42:53,423: DEBUG - + python2.7 -
2020-05-25 11:42:54,233: DEBUG - + [[ fileserver_port =~ ^(unprotected|skipped)_ ]]
2020-05-25 11:42:54,235: DEBUG - + ynh_app_setting_set --app seafile --key webdav_port --value 8080
2020-05-25 11:42:54,238: DEBUG - + local legacy_args=akv
2020-05-25 11:42:54,240: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-05-25 11:42:54,243: DEBUG - + local -A args_array
2020-05-25 11:42:54,245: DEBUG - + local app
2020-05-25 11:42:54,247: DEBUG - + local key
2020-05-25 11:42:54,249: DEBUG - + local value
2020-05-25 11:42:54,251: DEBUG - + ynh_handle_getopts_args --app seafile --key webdav_port --value 8080
2020-05-25 11:42:54,253: DEBUG - + set +o xtrace
2020-05-25 11:42:54,356: DEBUG - + ynh_app_setting set seafile webdav_port 8080
2020-05-25 11:42:54,358: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-05-25 11:42:54,360: DEBUG - + ACTION=set
2020-05-25 11:42:54,362: DEBUG - + APP=seafile
2020-05-25 11:42:54,364: DEBUG - + KEY=webdav_port
2020-05-25 11:42:54,366: DEBUG - + VALUE=8080
2020-05-25 11:42:54,368: DEBUG - + python2.7 -
2020-05-25 11:42:55,174: DEBUG - + [[ webdav_port =~ ^(unprotected|skipped)_ ]]
2020-05-25 11:42:55,178: DEBUG - + ynh_app_setting_set --app seafile --key is_public --value 1
2020-05-25 11:42:55,180: DEBUG - + local legacy_args=akv
2020-05-25 11:42:55,182: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-05-25 11:42:55,185: DEBUG - + local -A args_array
2020-05-25 11:42:55,187: DEBUG - + local app
2020-05-25 11:42:55,189: DEBUG - + local key
2020-05-25 11:42:55,191: DEBUG - + local value
2020-05-25 11:42:55,194: DEBUG - + ynh_handle_getopts_args --app seafile --key is_public --value 1
2020-05-25 11:42:55,196: DEBUG - + set +o xtrace
2020-05-25 11:42:55,198: DEBUG - + ynh_app_setting set seafile is_public 1
2020-05-25 11:42:55,200: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-05-25 11:42:55,203: DEBUG - + ACTION=set
2020-05-25 11:42:55,205: DEBUG - + APP=seafile
2020-05-25 11:42:55,207: DEBUG - + KEY=is_public
2020-05-25 11:42:55,210: DEBUG - + VALUE=1
2020-05-25 11:42:55,212: DEBUG - + python2.7 -
2020-05-25 11:42:56,018: DEBUG - + [[ is_public =~ ^(unprotected|skipped)_ ]]
2020-05-25 11:42:56,020: DEBUG - + ynh_app_setting_set --app seafile --key installed_version --value 7.0.5
2020-05-25 11:42:56,022: DEBUG - + local legacy_args=akv
2020-05-25 11:42:56,023: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-05-25 11:42:56,025: DEBUG - + local -A args_array
2020-05-25 11:42:56,026: DEBUG - + local app
2020-05-25 11:42:56,031: DEBUG - + local key
2020-05-25 11:42:56,034: DEBUG - + local value
2020-05-25 11:42:56,036: DEBUG - + ynh_handle_getopts_args --app seafile --key installed_version --value 7.0.5
2020-05-25 11:42:56,039: DEBUG - + set +o xtrace
2020-05-25 11:42:56,141: DEBUG - + ynh_app_setting set seafile installed_version 7.0.5
2020-05-25 11:42:56,144: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-05-25 11:42:56,146: DEBUG - + ACTION=set
2020-05-25 11:42:56,148: DEBUG - + APP=seafile
2020-05-25 11:42:56,150: DEBUG - + KEY=installed_version
2020-05-25 11:42:56,152: DEBUG - + VALUE=7.0.5
2020-05-25 11:42:56,155: DEBUG - + python2.7 -
2020-05-25 11:42:56,960: DEBUG - + [[ installed_version =~ ^(unprotected|skipped)_ ]]
2020-05-25 11:42:56,962: DEBUG - + ynh_script_progression ‘–message=Creating base directory…’
2020-05-25 11:42:56,964: DEBUG - + set +o xtrace
2020-05-25 11:42:57,067: DEBUG - + set +o xtrace
2020-05-25 11:42:57,070: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-25 11:42:57,073: DEBUG - + set +x
2020-05-25 11:42:57,075: DEBUG - + echo ‘[#…] > Creating base directory…’
2020-05-25 11:42:57,078: DEBUG - + set -o xtrace
2020-05-25 11:42:57,080: DEBUG - + mkdir -p /opt/yunohost/seafile
2020-05-25 11:42:57,082: DEBUG - + mkdir -p /opt/yunohost/seafile/installed
2020-05-25 11:42:57,085: DEBUG - + mkdir -p /opt/yunohost/seafile/logs
2020-05-25 11:42:57,088: DEBUG - + mkdir -p /opt/yunohost/seafile/seafile-data
2020-05-25 11:42:57,191: DEBUG - + ynh_script_progression ‘–message=Configuring system user…’
2020-05-25 11:42:57,193: INFO - [#…] > Creating base directory…
2020-05-25 11:42:57,197: DEBUG - + set +o xtrace
2020-05-25 11:42:57,199: DEBUG - + set +o xtrace
2020-05-25 11:42:57,202: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-25 11:42:57,204: DEBUG - + set +x
2020-05-25 11:42:57,209: DEBUG - + echo ‘[#+…] > Configuring system user…’
2020-05-25 11:42:57,211: DEBUG - + set -o xtrace
2020-05-25 11:42:57,214: DEBUG - + ynh_system_user_create --username seafile --home_dir /opt/yunohost/seafile
2020-05-25 11:42:57,216: DEBUG - + local legacy_args=uhs
2020-05-25 11:42:57,218: DEBUG - + args_array=([u]=username= [h]=home_dir= [s]=use_shell)
2020-05-25 11:42:57,220: DEBUG - + local -A args_array
2020-05-25 11:42:57,222: DEBUG - + local username
2020-05-25 11:42:57,225: DEBUG - + local home_dir
2020-05-25 11:42:57,227: DEBUG - + local use_shell
2020-05-25 11:42:57,229: DEBUG - + ynh_handle_getopts_args --username seafile --home_dir /opt/yunohost/seafile
2020-05-25 11:42:57,232: DEBUG - + set +o xtrace
2020-05-25 11:42:57,334: DEBUG - + use_shell=0
2020-05-25 11:42:57,337: INFO - [#+…] > Configuring system user…
2020-05-25 11:42:57,340: DEBUG - + home_dir=/opt/yunohost/seafile
2020-05-25 11:42:57,345: DEBUG - + ynh_system_user_exists seafile
2020-05-25 11:42:57,347: DEBUG - + local legacy_args=u
2020-05-25 11:42:57,349: DEBUG - + args_array=([u]=username=)
2020-05-25 11:42:57,352: DEBUG - + local -A args_array
2020-05-25 11:42:57,355: DEBUG - + local username
2020-05-25 11:42:57,357: DEBUG - + ynh_handle_getopts_args seafile
2020-05-25 11:42:57,360: DEBUG - + set +o xtrace
2020-05-25 11:42:57,362: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-25 11:42:57,365: DEBUG - + set +x
2020-05-25 11:42:57,367: DEBUG - + getent passwd seafile
2020-05-25 11:42:57,369: DEBUG - + ynh_script_progression ‘–message=Installing dependencies…’ --weight=7
2020-05-25 11:42:57,372: DEBUG - + set +o xtrace
2020-05-25 11:42:57,475: DEBUG - + set +o xtrace
2020-05-25 11:42:57,477: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-25 11:42:57,479: DEBUG - + set +x
2020-05-25 11:42:57,481: DEBUG - + echo ‘[##+++…] > Installing dependencies…’
2020-05-25 11:42:57,483: DEBUG - + set -o xtrace
2020-05-25 11:42:57,485: DEBUG - + install_dependance
2020-05-25 11:42:57,486: DEBUG - ++ lsb_release --codename --short
2020-05-25 11:42:58,292: DEBUG - + ‘[’ stretch == stretch ‘]’
2020-05-25 11:42:58,295: INFO - [##+++…] > Installing dependencies…
2020-05-25 11:42:58,299: DEBUG - + ynh_install_app_dependencies python2.7 python-pip libpython2.7 python-setuptools python-ldap python-urllib3 python-simplejson python-imaging python-mysqldb python-flup expect python-requests python-dev ffmpeg python-memcache libjpeg62-turbo-dev zlib1g-dev
2020-05-25 11:42:58,301: DEBUG - + local ‘dependencies=python2.7 python-pip libpython2.7 python-setuptools python-ldap python-urllib3 python-simplejson python-imaging python-mysqldb python-flup expect python-requests python-dev ffmpeg python-memcache libjpeg62-turbo-dev zlib1g-dev’
2020-05-25 11:42:58,304: DEBUG - ++ echo ‘python2.7 python-pip libpython2.7 python-setuptools python-ldap python-urllib3 python-simplejson python-imaging python-mysqldb python-flup expect python-requests python-dev ffmpeg python-memcache libjpeg62-turbo-dev zlib1g-dev’
2020-05-25 11:42:58,306: DEBUG - ++ sed ‘s/([^<=>])\ ([^(])/\1, \2/g’
2020-05-25 11:42:58,309: DEBUG - + dependencies=‘python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev’
2020-05-25 11:42:58,316: DEBUG - + local ‘dependencies=python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev’
2020-05-25 11:42:58,318: DEBUG - + local manifest_path=…/manifest.json
2020-05-25 11:42:58,321: DEBUG - + ‘[’ ‘!’ -e …/manifest.json ‘]’
2020-05-25 11:42:58,325: DEBUG - ++ grep ‘“version”: ’ …/manifest.json
2020-05-25 11:42:58,327: DEBUG - ++ cut ‘–delimiter="’ --fields=4
2020-05-25 11:42:58,329: DEBUG - + local version=**********
2020-05-25 11:42:58,331: DEBUG - + ‘[’ 10 -eq 0 ‘]’
2020-05-25 11:42:58,334: DEBUG - + local dep_app=seafile
2020-05-25 11:42:58,336: DEBUG - + [[ python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev =~ [<=>] ]]
2020-05-25 11:42:58,339: DEBUG - + echo python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev
2020-05-25 11:42:58,341: DEBUG - + grep --quiet php
2020-05-25 11:42:58,344: DEBUG - + cat
2020-05-25 11:42:58,347: DEBUG - + ynh_package_install_from_equivs /tmp/seafile-ynh-deps.control
2020-05-25 11:42:58,349: DEBUG - + local controlfile=/tmp/seafile-ynh-deps.control
2020-05-25 11:42:58,351: DEBUG - ++ grep ‘^Package: ’ /tmp/seafile-ynh-deps.control
2020-05-25 11:42:58,352: DEBUG - ++ cut ‘–delimiter= ’ --fields=2
2020-05-25 11:42:58,354: DEBUG - + local pkgname=seafile-ynh-deps
2020-05-25 11:42:58,356: DEBUG - ++ grep ‘^Version: ’ /tmp/seafile-ynh-deps.control
2020-05-25 11:42:58,358: DEBUG - ++ cut ‘–delimiter= ’ --fields=2
2020-05-25 11:42:58,360: DEBUG - + local pkgversion=**********
2020-05-25 11:42:58,361: DEBUG - + [[ -z seafile-ynh-deps ]]
2020-05-25 11:42:58,363: DEBUG - + [[ -z ********** ]]
2020-05-25 11:42:58,365: DEBUG - + ynh_package_update
2020-05-25 11:42:58,367: DEBUG - + ynh_apt update
2020-05-25 11:42:58,369: DEBUG - + ynh_wait_dpkg_free
2020-05-25 11:42:58,371: DEBUG - + local try
2020-05-25 11:42:58,372: DEBUG - + set +o xtrace
2020-05-25 11:42:59,278: DEBUG - + return 0
2020-05-25 11:42:59,280: DEBUG - + LC_ALL=C
2020-05-25 11:42:59,282: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-05-25 11:42:59,283: DEBUG - + apt-get --assume-yes --quiet -o=Dpkg::Use-Pty=0 update
2020-05-25 11:43:00,099: DEBUG - Hit:1 http://security.debian.org stretch/updates InRelease
2020-05-25 11:43:00,101: DEBUG - Ign:2 http://ftp.fr.debian.org/debian stretch InRelease
2020-05-25 11:43:00,102: DEBUG - Hit:3 http://forge.yunohost.org/debian stretch InRelease
2020-05-25 11:43:00,105: DEBUG - Hit:4 http://ftp.fr.debian.org/debian stretch Release
2020-05-25 11:43:01,214: DEBUG - Hit:5 https://packages.sury.org/php stretch InRelease
2020-05-25 11:43:12,972: DEBUG - Reading package lists…
2020-05-25 11:43:13,176: DEBUG - ++ mktemp --directory
2020-05-25 11:43:13,178: DEBUG - + local TMPDIR=/tmp/tmp.FqGbIVKsU6
2020-05-25 11:43:13,179: DEBUG - + echo 10
2020-05-25 11:43:13,783: DEBUG - + ynh_wait_dpkg_free
2020-05-25 11:43:13,786: DEBUG - + local try
2020-05-25 11:43:13,788: DEBUG - + set +o xtrace
2020-05-25 11:43:14,594: DEBUG - + return 0
2020-05-25 11:43:14,595: DEBUG - + cp /tmp/seafile-ynh-deps.control /tmp/tmp.FqGbIVKsU6/control
2020-05-25 11:43:14,598: DEBUG - + cd /tmp/tmp.FqGbIVKsU6
2020-05-25 11:43:14,600: DEBUG - + LC_ALL=C
2020-05-25 11:43:14,603: DEBUG - + equivs-build ./control
2020-05-25 11:43:25,753: DEBUG - + dpkg --force-depends --install ./seafile-ynh-deps_all.deb
2020-05-25 11:43:27,563: DEBUG - (Lecture de la base de données… 68954 fichiers et répertoires déjà installés.)
2020-05-25 11:43:27,565: DEBUG - Préparation du dépaquetage de …/seafile-ynh-deps
all.deb …
2020-05-25 11:43:28,671: DEBUG - Dépaquetage de seafile-ynh-deps () sur () …
2020-05-25 11:43:30,580: DEBUG - Paramétrage de seafile-ynh-deps (**********) …
2020-05-25 11:43:32,289: DEBUG - + ynh_package_install --fix-broken --dry-run
2020-05-25 11:43:32,291: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=–force-confdef --option Dpkg::Options::=–force-confold install --fix-broken --dry-run
2020-05-25 11:43:32,294: DEBUG - + ynh_wait_dpkg_free
2020-05-25 11:43:32,295: DEBUG - + local try
2020-05-25 11:43:32,297: DEBUG - + set +o xtrace
2020-05-25 11:43:33,105: DEBUG - + return 0
2020-05-25 11:43:33,107: DEBUG - + LC_ALL=C
2020-05-25 11:43:33,109: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-05-25 11:43:33,111: DEBUG - + apt-get --assume-yes --quiet -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=–force-confdef --option Dpkg::Options::=–force-confold install --fix-broken --dry-run
2020-05-25 11:43:38,137: DEBUG - + local apt_tweaks=
2020-05-25 11:43:38,140: DEBUG - + ynh_package_install --fix-broken
2020-05-25 11:43:38,142: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=–force-confdef --option Dpkg::Options::=–force-confold install --fix-broken
2020-05-25 11:43:38,144: DEBUG - + ynh_wait_dpkg_free
2020-05-25 11:43:38,146: DEBUG - + local try
2020-05-25 11:43:38,147: DEBUG - + set +o xtrace
2020-05-25 11:43:38,953: DEBUG - + return 0
2020-05-25 11:43:38,956: DEBUG - + LC_ALL=C
2020-05-25 11:43:38,957: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-05-25 11:43:38,959: DEBUG - + apt-get --assume-yes --quiet -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=–force-confdef --option Dpkg::Options::=–force-confold install --fix-broken
2020-05-25 11:43:39,363: DEBUG - Reading package lists…
2020-05-25 11:43:40,571: DEBUG - Building dependency tree…
2020-05-25 11:43:40,573: DEBUG - Reading state information…
2020-05-25 11:43:42,485: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2020-05-25 11:43:42,487: DEBUG - + [[ -n /tmp/tmp.FqGbIVKsU6 ]]
2020-05-25 11:43:42,489: DEBUG - + rm --recursive --force /tmp/tmp.FqGbIVKsU6
2020-05-25 11:43:42,490: DEBUG - + rm --recursive --force /etc/apt/preferences.d.tmp/
2020-05-25 11:43:42,492: DEBUG - + ynh_package_is_installed seafile-ynh-deps
2020-05-25 11:43:42,493: DEBUG - + local legacy_args=p
2020-05-25 11:43:42,495: DEBUG - + args_array=([p]=package=)
2020-05-25 11:43:42,496: DEBUG - + local -A args_array
2020-05-25 11:43:42,508: DEBUG - + local package
2020-05-25 11:43:42,509: DEBUG - + ynh_handle_getopts_args seafile-ynh-deps
2020-05-25 11:43:42,511: DEBUG - + set +o xtrace
2020-05-25 11:43:42,512: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-25 11:43:42,514: DEBUG - + set +x
2020-05-25 11:43:42,515: DEBUG - + ynh_wait_dpkg_free
2020-05-25 11:43:42,518: DEBUG - + local try
2020-05-25 11:43:42,520: DEBUG - + set +o xtrace
2020-05-25 11:43:43,325: DEBUG - + return 0
2020-05-25 11:43:43,327: DEBUG - + dpkg-query --show ‘–showformat=${Status}’ seafile-ynh-deps
2020-05-25 11:43:43,330: DEBUG - + grep --count ‘ok installed’
2020-05-25 11:43:43,432: DEBUG - + rm /tmp/seafile-ynh-deps.control
2020-05-25 11:43:43,435: DEBUG - + ynh_app_setting_set --app=seafile --key=apt_dependencies ‘–value=python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev’
2020-05-25 11:43:43,437: DEBUG - + local legacy_args=akv
2020-05-25 11:43:43,445: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-05-25 11:43:43,447: DEBUG - + local -A args_array
2020-05-25 11:43:43,449: DEBUG - + local app
2020-05-25 11:43:43,452: DEBUG - + local key
2020-05-25 11:43:43,459: DEBUG - + local value
2020-05-25 11:43:43,461: DEBUG - + ynh_handle_getopts_args --app=seafile --key=apt_dependencies ‘–value=python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev’
2020-05-25 11:43:43,464: DEBUG - + set +o xtrace
2020-05-25 11:43:43,574: DEBUG - + ynh_app_setting set seafile apt_dependencies ‘python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev’
2020-05-25 11:43:43,576: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-05-25 11:43:43,578: DEBUG - + ACTION=set
2020-05-25 11:43:43,580: DEBUG - + APP=seafile
2020-05-25 11:43:43,582: DEBUG - + KEY=apt_dependencies
2020-05-25 11:43:43,584: DEBUG - + VALUE=‘python2.7, python-pip, libpython2.7, python-setuptools, python-ldap, python-urllib3, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, ffmpeg, python-memcache, libjpeg62-turbo-dev, zlib1g-dev’
2020-05-25 11:43:43,587: DEBUG - + python2.7 -
2020-05-25 11:43:44,393: DEBUG - + [[ apt_dependencies =~ ^(unprotected|skipped)
]]
2020-05-25 11:43:44,395: DEBUG - + ynh_add_swap 2000
2020-05-25 11:43:44,396: DEBUG - + args_array=([s]=size=)
2020-05-25 11:43:44,398: DEBUG - + declare -Ar args_array
2020-05-25 11:43:44,400: DEBUG - + local size
2020-05-25 11:43:44,405: DEBUG - + ynh_handle_getopts_args 2000
2020-05-25 11:43:44,407: DEBUG - + set +o xtrace
2020-05-25 11:43:44,410: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-25 11:43:44,412: DEBUG - + set +x
2020-05-25 11:43:44,415: DEBUG - + local swap_max_size=2048000
2020-05-25 11:43:44,416: DEBUG - ++ df --output=avail /
2020-05-25 11:43:44,418: DEBUG - ++ sed 1d
2020-05-25 11:43:44,420: DEBUG - + local free_space=14976520
2020-05-25 11:43:44,422: DEBUG - + local usable_space=7488260
2020-05-25 11:43:44,424: DEBUG - + SD_CARD_CAN_SWAP=0
2020-05-25 11:43:44,426: DEBUG - + ynh_is_main_device_a_sd_card
2020-05-25 11:43:44,428: DEBUG - +++ findmnt / --nofsroot --uniq --output source --noheadings --first-only
2020-05-25 11:43:44,531: DEBUG - ++ lsblk --output PKNAME --noheadings /dev/mmcblk0p1
2020-05-25 11:43:44,533: DEBUG - + local main_device=mmcblk0
2020-05-25 11:43:44,534: DEBUG - + echo mmcblk0
2020-05-25 11:43:44,536: DEBUG - + grep --quiet mmc
2020-05-25 11:43:44,537: DEBUG - ++ tail -n1 /sys/block/mmcblk0/queue/rotational
2020-05-25 11:43:44,541: DEBUG - + ‘[’ 0 == 0 ‘]’
2020-05-25 11:43:44,542: DEBUG - + return 0
2020-05-25 11:43:44,551: WARNING - The main mountpoint of your system ‘/’ is on an SD card, swap will not be added to prevent some damage of this one, but that can cause troubles for the app seafile. If you still want activate the swap, you can relaunch the command preceded by ‘SD_CARD_CAN_SWAP=1’
2020-05-25 11:43:44,562: DEBUG - + ‘[’ 0 == 0 ‘]’
2020-05-25 11:43:44,564: DEBUG - + ynh_print_warn ‘–message=The main mountpoint of your system ‘’’/’’’ is on an SD card, swap will not be added to prevent some damage of this one, but that can cause troubles for the app seafile. If you still want activate the swap, you can relaunch the command preceded by ‘’‘SD_CARD_CAN_SWAP=1’’’’
2020-05-25 11:43:44,567: DEBUG - + local legacy_args=m
2020-05-25 11:43:44,569: DEBUG - + args_array=([m]=message=)
2020-05-25 11:43:44,571: DEBUG - + local -A args_array
2020-05-25 11:43:44,573: DEBUG - + local message
2020-05-25 11:43:44,576: DEBUG - + ynh_handle_getopts_args ‘–message=The main mountpoint of your system ‘’’/’’’ is on an SD card, swap will not be added to prevent some damage of this one, but that can cause troubles for the app seafile. If you still want activate the swap, you can relaunch the command preceded by ‘’‘SD_CARD_CAN_SWAP=1’’’’
2020-05-25 11:43:44,578: DEBUG - + set +o xtrace
2020-05-25 11:43:44,580: DEBUG - + ynh_print_log ‘The main mountpoint of your system ‘’’/’’’ is on an SD card, swap will not be added to prevent some damage of this one, but that can cause troubles for the app seafile. If you still want activate the swap, you can relaunch the command preceded by ‘’‘SD_CARD_CAN_SWAP=1’’’’
2020-05-25 11:43:44,583: DEBUG - + echo -e ‘The main mountpoint of your system ‘’’/’’’ is on an SD card, swap will not be added to prevent some damage of this one, but that can cause troubles for the app seafile. If you still want activate the swap, you can relaunch the command preceded by ‘’‘SD_CARD_CAN_SWAP=1’’’’
2020-05-25 11:43:44,587: DEBUG - + return
2020-05-25 11:43:44,590: DEBUG - + set_permission
2020-05-25 11:43:44,592: DEBUG - + chown -R seafile:seafile /opt/yunohost/seafile
2020-05-25 11:43:44,595: DEBUG - + test -e /home/yunohost.app/seafile-data
2020-05-25 11:43:44,597: DEBUG - + true
2020-05-25 11:43:44,599: DEBUG - + sudo -u seafile pip install --user --upgrade Pillow ‘moviepy<1.0’ ‘imageio<2.8’ certifi idna
2020-05-25 11:43:54,350: DEBUG - Collecting Pillow
2020-05-25 11:44:03,125: DEBUG - Downloading https://files.pythonhosted.org/packages/b3/d0/a20d8440b71adfbf133452d4f6e0fe80de2df7c2578c9b498fb812083383/Pillow-6.2.2.tar.gz (37.8MB)
2020-05-25 11:44:29,166: WARNING - Exception:
2020-05-25 11:44:29,259: WARNING - Traceback (most recent call last):
2020-05-25 11:44:29,263: WARNING - File “/usr/lib/python2.7/dist-packages/pip/basecommand.py”, line 215, in main
2020-05-25 11:44:29,267: WARNING - status = self.run(options, args)
2020-05-25 11:44:29,271: WARNING - File “/usr/lib/python2.7/dist-packages/pip/commands/install.py”, line 353, in run
2020-05-25 11:44:29,274: WARNING - wb.build(autobuilding=True)
2020-05-25 11:44:29,278: WARNING - File “/usr/lib/python2.7/dist-packages/pip/wheel.py”, line 749, in build
2020-05-25 11:44:29,281: WARNING - self.requirement_set.prepare_files(self.finder)
2020-05-25 11:44:29,285: WARNING - File “/usr/lib/python2.7/dist-packages/pip/req/req_set.py”, line 380, in prepare_files
2020-05-25 11:44:29,289: WARNING - ignore_dependencies=self.ignore_dependencies))
2020-05-25 11:44:29,293: WARNING - File “/usr/lib/python2.7/dist-packages/pip/req/req_set.py”, line 620, in _prepare_file
2020-05-25 11:44:29,296: WARNING - session=self.session, hashes=hashes)
2020-05-25 11:44:29,301: WARNING - File “/usr/lib/python2.7/dist-packages/pip/download.py”, line 821, in unpack_url
2020-05-25 11:44:29,304: WARNING - hashes=hashes
2020-05-25 11:44:29,308: WARNING - File “/usr/lib/python2.7/dist-packages/pip/download.py”, line 659, in unpack_http_url
2020-05-25 11:44:29,311: WARNING - hashes)
2020-05-25 11:44:29,314: WARNING - File “/usr/lib/python2.7/dist-packages/pip/download.py”, line 882, in _download_http_url
2020-05-25 11:44:29,318: WARNING - _download_url(resp, link, content_file, hashes)
2020-05-25 11:44:29,323: WARNING - File “/usr/lib/python2.7/dist-packages/pip/download.py”, line 603, in _download_url
2020-05-25 11:44:29,327: WARNING - hashes.check_against_chunks(downloaded_chunks)
2020-05-25 11:44:29,330: WARNING - File “/usr/lib/python2.7/dist-packages/pip/utils/hashes.py”, line 46, in check_against_chunks
2020-05-25 11:44:29,334: WARNING - for chunk in chunks:
2020-05-25 11:44:29,338: WARNING - File “/usr/lib/python2.7/dist-packages/pip/download.py”, line 571, in written_chunks
2020-05-25 11:44:29,342: WARNING - for chunk in chunks:
2020-05-25 11:44:29,346: WARNING - File “/usr/lib/python2.7/dist-packages/pip/utils/ui.py”, line 139, in iter
2020-05-25 11:44:29,350: WARNING - for x in it:
2020-05-25 11:44:29,354: WARNING - File “/usr/lib/python2.7/dist-packages/pip/download.py”, line 560, in resp_read
2020-05-25 11:44:29,358: WARNING - decode_content=False):
2020-05-25 11:44:29,362: WARNING - File “/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py”, line 432, in stream
2020-05-25 11:44:29,365: WARNING - data = self.read(amt=amt, decode_content=decode_content)
2020-05-25 11:44:29,369: WARNING - File “/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py”, line 380, in read
2020-05-25 11:44:29,373: WARNING - data = self._fp.read(amt)
2020-05-25 11:44:29,377: WARNING - File “/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py”, line 63, in read
2020-05-25 11:44:29,380: WARNING - self._close()
2020-05-25 11:44:29,384: WARNING - File “/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py”, line 50, in _close
2020-05-25 11:44:29,389: WARNING - self.__callback(self.__buf.getvalue())
2020-05-25 11:44:29,393: WARNING - File “/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/controller.py”, line 275, in cache_response
2020-05-25 11:44:29,397: WARNING - self.serializer.dumps(request, response, body=body),
2020-05-25 11:44:29,401: WARNING - File “/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/serialize.py”, line 87, in dumps
2020-05-25 11:44:29,405: WARNING - ).encode(“utf8”),
2020-05-25 11:44:29,409: WARNING - MemoryError
2020-05-25 11:44:30,216: DEBUG - + ynh_exit_properly
2020-05-25 11:44:30,233: DEBUG - + local exit_code=2
2020-05-25 11:44:30,238: DEBUG - + ‘[’ 2 -eq 0 ‘]’
2020-05-25 11:44:30,240: DEBUG - + trap ‘’ EXIT
2020-05-25 11:44:30,241: DEBUG - + set +o errexit
2020-05-25 11:44:30,243: DEBUG - + set +o nounset
2020-05-25 11:44:30,245: DEBUG - + sleep 0.5
2020-05-25 11:44:30,949: DEBUG - + type -t ynh_clean_setup
2020-05-25 11:44:30,952: DEBUG - + ynh_clean_setup
2020-05-25 11:44:30,954: DEBUG - + pkill -f seafile-controller
2020-05-25 11:44:31,157: DEBUG - + pkill -f seaf-server
2020-05-25 11:44:31,260: DEBUG - + pkill -f ccnet-server
2020-05-25 11:44:31,261: DEBUG - + pkill -f seahub
2020-05-25 11:44:31,364: DEBUG - + exit 1
2020-05-25 11:44:31,396: ERROR - Impossible d’installer seafile : Une erreur est survenue dans le script d’installation de l’application

Mouarf cette erreur pourrait être un peu plus cool mais ça ressemble furieusement à un manque de RAM sur ton système … Pillow (un truc de manipulation d’image) est connu pour être un peu gourmand, en tout cas au moins pour la partie installation …

Pourtant justement j’avais ajouté de la swap a cause de ca…

1 Like

Ah ben tiens en relisant le log je vois justement:

ynh_print_warn ‘–message=The main mountpoint of your system ‘’’/’’’ is on an SD card, swap will not be added to prevent some damage of this one, but that can cause troubles for the app seafile. If you still want activate the swap, you can relaunch the command preceded by ‘’‘SD_CARD_CAN_SWAP=1’’’’

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