Seafile Install Failing (second try)

Hey everyone, I’m trying out Yunohost and coming from Cloudron I’m really enjoying setting this up. I’m trying to get Seafile installed and having some trouble. The first time I tried to install it, it hung indefinitely. After a reboot and uninstall (showed up in admin section but not in the user portal) I tried again and it’s failing.

Hardware: Proxmox LXC Container running on an i5 with 24GB of RAM (2 dedicated to Yunohost) Accessed behind a caddy reverse proxy with a wildcard domain cert.
YunoHost version: 3.6.4.6
I have access to my server : Through SSH, Proxmox Web Interface, Yunohost Web Interface
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : I’ve tweaked it to have a company logo instead of yunohost for the portal and overlay using Yunohost Documentation

Description of my issue

I’m trying to install Seafile but it is failing.

Error log will be attached in the next comment.

Here is the error log: (All identifying information has been removed)

args:
  app: seafile
  args: domain=files.example.com&path=%2F&server_name=SeaFile&admin=username&admin_password=PASSWORD&public_site=1
  force: false
  label: SeaFile
  no_remove_on_failure: false
ended_at: 2019-10-03 00:46:11.928529
env:
  YNH_APP_ARG_ADMIN: username
  YNH_APP_ARG_ADMIN_PASSWORD: '**********'
  YNH_APP_ARG_DOMAIN: files.example.com
  YNH_APP_ARG_PATH: /
  YNH_APP_ARG_PUBLIC_SITE: 1
  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-f28bb98edd9bd018acc168a22186cc79737373a0/scripts
  YNH_INTERFACE: api
  YNH_STDINFO: /tmp/tmpJt2T2X/stdinfo
  YNH_STDRETURN: /tmp/tmpIEDJs5/stdreturn
error: 'An unexpected error occured: shell command return code: 1'
operation: app_install
related_to:
- - app
  - seafile
started_at: 2019-10-03 00:45:31.160972
success: false

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

2019-10-03 00:45:31,162: INFO - Installing application seafile…
2019-10-03 00:45:31,258: DEBUG - Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/seafile_ynh-f28bb98edd9bd018acc168a22186cc79737373a0/scripts YNH_STDRETURN=/tmp/tmpIEDJs5/stdreturn YNH_STDINFO=/tmp/tmpJt2T2X/stdinfo YNH_APP_ARG_PUBLIC_SITE=1 YNH_APP_ARG_ADMIN_PASSWORD='**********' YNH_APP_INSTANCE_NAME=seafile YNH_APP_ARG_ADMIN=username YNH_INTERFACE=api YNH_APP_ID=seafile YNH_APP_ARG_PATH=/ YNH_APP_ARG_SERVER_NAME=SeaFile YNH_APP_ARG_DOMAIN=files.example.com BASH_XTRACEFD=7 /bin/bash -x "./install" files.example.com / SeaFile username '**********' 1 seafile 7>&1'…
2019-10-03 00:45:31,259: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/seafile_ynh-f28bb98edd9bd018acc168a22186cc79737373a0/scripts YNH_STDRETURN=/tmp/tmpIEDJs5/stdreturn YNH_STDINFO=/tmp/tmpJt2T2X/stdinfo YNH_APP_ARG_PUBLIC_SITE=1 YNH_APP_ARG_ADMIN_PASSWORD=\'**********\' YNH_APP_INSTANCE_NAME=seafile YNH_APP_ARG_ADMIN=username YNH_INTERFACE=api YNH_APP_ID=seafile YNH_APP_ARG_PATH=/ YNH_APP_ARG_SERVER_NAME=SeaFile YNH_APP_ARG_DOMAIN=files.example.com BASH_XTRACEFD=7 /bin/bash -x "./install" files.example.com / SeaFile username \'**********\' 1 seafile 7>&1']'
2019-10-03 00:45:31,367: DEBUG - + source /usr/share/yunohost/helpers
2019-10-03 00:45:31,367: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-10-03 00:45:31,367: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-03 00:45:31,368: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2019-10-03 00:45:31,368: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2019-10-03 00:45:31,368: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-03 00:45:31,368: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2019-10-03 00:45:31,368: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2019-10-03 00:45:31,368: DEBUG - +++ CAN_BIND=1
2019-10-03 00:45:31,368: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-03 00:45:31,368: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2019-10-03 00:45:31,368: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2019-10-03 00:45:31,368: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-03 00:45:31,369: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2019-10-03 00:45:31,369: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-10-03 00:45:31,369: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-03 00:45:31,369: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2019-10-03 00:45:31,369: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2019-10-03 00:45:31,369: DEBUG - +++ increment_progression=0
2019-10-03 00:45:31,369: DEBUG - +++ previous_weight=0
2019-10-03 00:45:31,369: DEBUG - +++ max_progression=-1
2019-10-03 00:45:31,369: DEBUG - +++ progress_scale=20
2019-10-03 00:45:31,369: DEBUG - +++ progress_string2='####################'
2019-10-03 00:45:31,369: DEBUG - +++ progress_string1=++++++++++++++++++++
2019-10-03 00:45:31,370: DEBUG - +++ progress_string0=....................
2019-10-03 00:45:31,370: DEBUG - ++++ date +%s
2019-10-03 00:45:31,370: DEBUG - +++ base_time=1570063531
2019-10-03 00:45:31,370: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-03 00:45:31,370: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2019-10-03 00:45:31,370: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2019-10-03 00:45:31,370: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-03 00:45:31,370: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2019-10-03 00:45:31,370: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-10-03 00:45:31,370: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-10-03 00:45:31,370: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-03 00:45:31,371: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2019-10-03 00:45:31,371: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-10-03 00:45:31,371: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-03 00:45:31,371: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2019-10-03 00:45:31,371: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2019-10-03 00:45:31,371: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-03 00:45:31,371: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2019-10-03 00:45:31,371: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-10-03 00:45:31,371: DEBUG - +++ n_install_dir=/opt/node_n
2019-10-03 00:45:31,371: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-10-03 00:45:31,371: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-10-03 00:45:31,372: DEBUG - +++ N_PREFIX=/opt/node_n
2019-10-03 00:45:31,372: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-03 00:45:31,372: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2019-10-03 00:45:31,372: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2019-10-03 00:45:31,372: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-03 00:45:31,372: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2019-10-03 00:45:31,372: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2019-10-03 00:45:31,372: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-10-03 00:45:31,372: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-03 00:45:31,372: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2019-10-03 00:45:31,372: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-10-03 00:45:31,373: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-03 00:45:31,373: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2019-10-03 00:45:31,373: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-10-03 00:45:31,373: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-03 00:45:31,373: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2019-10-03 00:45:31,373: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2019-10-03 00:45:31,373: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-03 00:45:31,373: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2019-10-03 00:45:31,373: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-10-03 00:45:31,373: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-03 00:45:31,373: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2019-10-03 00:45:31,374: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-10-03 00:45:31,374: DEBUG - + ynh_abort_if_errors
2019-10-03 00:45:31,374: DEBUG - + set -eu
2019-10-03 00:45:31,374: DEBUG - + trap ynh_exit_properly EXIT
2019-10-03 00:45:31,374: DEBUG - + source ./experimental_helper.sh
2019-10-03 00:45:31,374: DEBUG - +++ grep 64
2019-10-03 00:45:31,374: DEBUG - +++ uname -m
2019-10-03 00:45:31,374: DEBUG - ++ '[' -n x86_64 ']'
2019-10-03 00:45:31,374: DEBUG - ++ architecture=x86-64
2019-10-03 00:45:31,374: DEBUG - + source ./_common.sh
2019-10-03 00:45:31,374: DEBUG - ++ app=seafile
2019-10-03 00:45:31,375: DEBUG - ++ [[ -e ../settings/manifest.json ]]
2019-10-03 00:45:31,375: DEBUG - ++ [[ -e ../manifest.json ]]
2019-10-03 00:45:31,375: DEBUG - +++ ynh_app_upstream_version
2019-10-03 00:45:31,375: DEBUG - +++ manifest_path=../manifest.json
2019-10-03 00:45:31,375: DEBUG - +++ '[' '!' -e ../manifest.json ']'
2019-10-03 00:45:31,375: DEBUG - ++++ ynh_read_manifest ../manifest.json version
2019-10-03 00:45:31,375: DEBUG - ++++ manifest=../manifest.json
2019-10-03 00:45:31,375: DEBUG - ++++ key=**********
2019-10-03 00:45:31,375: DEBUG - ++++ python3 -c 'import sys, json;print(json.load(open('\''../manifest.json'\'', encoding='\''utf-8'\''))['\''**********'\''])'
2019-10-03 00:45:31,375: DEBUG - +++ **********_key=**********
2019-10-03 00:45:31,376: DEBUG - +++ echo 6.3.4
2019-10-03 00:45:31,376: DEBUG - ++ seafile_**********=6.3.4
2019-10-03 00:45:31,376: DEBUG - + domain=files.example.com
2019-10-03 00:45:31,376: DEBUG - ++ ynh_normalize_url_path /
2019-10-03 00:45:31,376: DEBUG - ++ local legacy_args=p
2019-10-03 00:45:31,385: DEBUG - ++ args_array=([p]=path_url=)
2019-10-03 00:45:31,385: DEBUG - ++ declare -Ar args_array
2019-10-03 00:45:31,385: DEBUG - ++ local path_url
2019-10-03 00:45:31,385: DEBUG - ++ ynh_handle_getopts_args /
2019-10-03 00:45:31,385: DEBUG - ++ set +x
2019-10-03 00:45:31,385: DEBUG - ++ echo '! Helper used in legacy mode !'
2019-10-03 00:45:31,385: DEBUG - ++ set +x
2019-10-03 00:45:31,385: DEBUG - ++ test -n /
2019-10-03 00:45:31,386: DEBUG - ++ '[' / '!=' / ']'
2019-10-03 00:45:31,386: DEBUG - ++ '[' / == / ']'
2019-10-03 00:45:31,386: DEBUG - ++ '[' 1 -gt 1 ']'
2019-10-03 00:45:31,386: DEBUG - ++ echo /
2019-10-03 00:45:31,386: DEBUG - + path_url=/
2019-10-03 00:45:31,386: DEBUG - + server_name=SeaFile
2019-10-03 00:45:31,386: DEBUG - + admin=username
2019-10-03 00:45:31,386: DEBUG - + admin_password='**********'
2019-10-03 00:45:31,386: DEBUG - + is_public=1
2019-10-03 00:45:31,386: DEBUG - + seafile_data=/home/yunohost.app/seafile-data
2019-10-03 00:45:31,386: DEBUG - + final_path=/opt/yunohost/seafile
2019-10-03 00:45:31,387: DEBUG - + seafile_user=seafile
2019-10-03 00:45:31,387: DEBUG - + [[ / == \/ ]]
2019-10-03 00:45:31,387: DEBUG - + path_url2=/
2019-10-03 00:45:31,387: DEBUG - ++ ynh_webpath_available files.example.com /
2019-10-03 00:45:31,387: DEBUG - ++ local legacy_args=dp
2019-10-03 00:45:31,387: DEBUG - ++ args_array=([d]=domain= [p]=path_url=)
2019-10-03 00:45:31,387: DEBUG - ++ declare -Ar args_array
2019-10-03 00:45:31,387: DEBUG - ++ local domain
2019-10-03 00:45:31,387: DEBUG - ++ local path_url
2019-10-03 00:45:31,387: DEBUG - ++ ynh_handle_getopts_args files.example.com /
2019-10-03 00:45:31,387: DEBUG - ++ set +x
2019-10-03 00:45:31,388: DEBUG - ++ echo '! Helper used in legacy mode !'
2019-10-03 00:45:31,388: DEBUG - ++ set +x
2019-10-03 00:45:31,388: DEBUG - ++ sudo yunohost domain url-available files.example.com /
2019-10-03 00:45:31,588: DEBUG - + test True == True
2019-10-03 00:45:31,588: DEBUG - + ynh_webpath_register seafile files.example.com /
2019-10-03 00:45:31,589: DEBUG - + local legacy_args=adp
2019-10-03 00:45:31,589: DEBUG - + args_array=([a]=app= [d]=domain= [p]=path_url=)
2019-10-03 00:45:31,589: DEBUG - + declare -Ar args_array
2019-10-03 00:45:31,589: DEBUG - + local app
2019-10-03 00:45:31,589: DEBUG - + local domain
2019-10-03 00:45:31,589: DEBUG - + local path_url
2019-10-03 00:45:31,589: DEBUG - + ynh_handle_getopts_args seafile files.example.com /
2019-10-03 00:45:31,589: DEBUG - + set +x
2019-10-03 00:45:31,589: DEBUG - + echo '! Helper used in legacy mode !'
2019-10-03 00:45:31,589: DEBUG - + set +x
2019-10-03 00:45:31,589: DEBUG - + sudo yunohost app register-url seafile files.example.com /
2019-10-03 00:45:31,790: DEBUG - + test '!' -e /opt/yunohost/seafile
2019-10-03 00:45:31,790: DEBUG - ++ ynh_find_port 8000
2019-10-03 00:45:31,790: DEBUG - ++ local legacy_args=p
2019-10-03 00:45:31,790: DEBUG - ++ args_array=([p]=port=)
2019-10-03 00:45:31,790: DEBUG - ++ declare -Ar args_array
2019-10-03 00:45:31,790: DEBUG - ++ local port
2019-10-03 00:45:31,791: DEBUG - ++ ynh_handle_getopts_args 8000
2019-10-03 00:45:31,791: DEBUG - ++ set +x
2019-10-03 00:45:31,791: DEBUG - ++ echo '! Helper used in legacy mode !'
2019-10-03 00:45:31,791: DEBUG - ++ set +x
2019-10-03 00:45:31,791: DEBUG - ++ test -n 8000
2019-10-03 00:45:31,791: DEBUG - ++ netcat -z 127.0.0.1 8000
2019-10-03 00:45:31,791: DEBUG - ++ echo 8000
2019-10-03 00:45:31,791: DEBUG - + seahub_port=8000
2019-10-03 00:45:31,791: DEBUG - ++ ynh_find_port 8082
2019-10-03 00:45:31,791: DEBUG - ++ local legacy_args=p
2019-10-03 00:45:31,791: DEBUG - ++ args_array=([p]=port=)
2019-10-03 00:45:31,792: DEBUG - ++ declare -Ar args_array
2019-10-03 00:45:31,792: DEBUG - ++ local port
2019-10-03 00:45:31,792: DEBUG - ++ ynh_handle_getopts_args 8082
2019-10-03 00:45:31,792: DEBUG - ++ set +x
2019-10-03 00:45:31,792: DEBUG - ++ echo '! Helper used in legacy mode !'
2019-10-03 00:45:31,792: DEBUG - ++ set +x
2019-10-03 00:45:31,792: DEBUG - ++ test -n 8082
2019-10-03 00:45:31,792: DEBUG - ++ netcat -z 127.0.0.1 8082
2019-10-03 00:45:31,792: DEBUG - ++ echo 8082
2019-10-03 00:45:31,792: DEBUG - + fileserver_port=8082
2019-10-03 00:45:31,792: DEBUG - ++ ynh_find_port 8080
2019-10-03 00:45:31,793: DEBUG - ++ local legacy_args=p
2019-10-03 00:45:31,793: DEBUG - ++ args_array=([p]=port=)
2019-10-03 00:45:31,793: DEBUG - ++ declare -Ar args_array
2019-10-03 00:45:31,793: DEBUG - ++ local port
2019-10-03 00:45:31,793: DEBUG - ++ ynh_handle_getopts_args 8080
2019-10-03 00:45:31,793: DEBUG - ++ set +x
2019-10-03 00:45:31,793: DEBUG - ++ echo '! Helper used in legacy mode !'
2019-10-03 00:45:31,793: DEBUG - ++ set +x
2019-10-03 00:45:31,793: DEBUG - ++ test -n 8080
2019-10-03 00:45:31,793: DEBUG - ++ netcat -z 127.0.0.1 8080
2019-10-03 00:45:31,793: DEBUG - ++ echo 8080
2019-10-03 00:45:31,794: DEBUG - + webdav_port=8080
2019-10-03 00:45:31,794: DEBUG - + ynh_app_setting_set seafile server_name SeaFile
2019-10-03 00:45:31,794: DEBUG - + local legacy_args=akv
2019-10-03 00:45:31,794: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-10-03 00:45:31,794: DEBUG - + declare -Ar args_array
2019-10-03 00:45:31,794: DEBUG - + local app
2019-10-03 00:45:31,794: DEBUG - + local key
2019-10-03 00:45:31,794: DEBUG - + local value
2019-10-03 00:45:31,794: DEBUG - + ynh_handle_getopts_args seafile server_name SeaFile
2019-10-03 00:45:31,794: DEBUG - + set +x
2019-10-03 00:45:31,795: DEBUG - + echo '! Helper used in legacy mode !'
2019-10-03 00:45:31,795: DEBUG - + set +x
2019-10-03 00:45:31,795: DEBUG - + ynh_app_setting set seafile server_name SeaFile
2019-10-03 00:45:31,795: DEBUG - + ACTION=set
2019-10-03 00:45:31,795: DEBUG - + APP=seafile
2019-10-03 00:45:31,795: DEBUG - + KEY=server_name
2019-10-03 00:45:31,795: DEBUG - + VALUE=SeaFile
2019-10-03 00:45:31,795: DEBUG - + python -
2019-10-03 00:45:31,895: DEBUG - + ynh_app_setting_set seafile final_path /opt/yunohost/seafile
2019-10-03 00:45:31,896: DEBUG - + local legacy_args=akv
2019-10-03 00:45:31,896: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-10-03 00:45:31,896: DEBUG - + declare -Ar args_array
2019-10-03 00:45:31,896: DEBUG - + local app
2019-10-03 00:45:31,896: DEBUG - + local key
2019-10-03 00:45:31,896: DEBUG - + local value
2019-10-03 00:45:31,896: DEBUG - + ynh_handle_getopts_args seafile final_path /opt/yunohost/seafile
2019-10-03 00:45:31,896: DEBUG - + set +x
2019-10-03 00:45:31,897: DEBUG - + echo '! Helper used in legacy mode !'
2019-10-03 00:45:31,897: DEBUG - + set +x
2019-10-03 00:45:31,897: DEBUG - + ynh_app_setting set seafile final_path /opt/yunohost/seafile
2019-10-03 00:45:31,897: DEBUG - + ACTION=set
2019-10-03 00:45:31,897: DEBUG - + APP=seafile
2019-10-03 00:45:31,897: DEBUG - + KEY=final_path
2019-10-03 00:45:31,897: DEBUG - + VALUE=/opt/yunohost/seafile
2019-10-03 00:45:31,897: DEBUG - + python -
2019-10-03 00:45:31,897: DEBUG - + ynh_app_setting_set seafile seafile_user seafile
2019-10-03 00:45:31,897: DEBUG - + local legacy_args=akv
2019-10-03 00:45:31,897: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-10-03 00:45:31,898: DEBUG - + declare -Ar args_array
2019-10-03 00:45:31,898: DEBUG - + local app
2019-10-03 00:45:31,898: DEBUG - + local key
2019-10-03 00:45:31,898: DEBUG - + local value
2019-10-03 00:45:31,898: DEBUG - + ynh_handle_getopts_args seafile seafile_user seafile
2019-10-03 00:45:31,898: DEBUG - + set +x
2019-10-03 00:45:31,898: DEBUG - + echo '! Helper used in legacy mode !'
2019-10-03 00:45:31,898: DEBUG - + set +x
2019-10-03 00:45:31,898: DEBUG - + ynh_app_setting set seafile seafile_user seafile
2019-10-03 00:45:31,898: DEBUG - + ACTION=set
2019-10-03 00:45:31,898: DEBUG - + APP=seafile
2019-10-03 00:45:31,899: DEBUG - + KEY=seafile_user
2019-10-03 00:45:31,899: DEBUG - + VALUE=seafile
2019-10-03 00:45:31,899: DEBUG - + python -
2019-10-03 00:45:31,999: DEBUG - + ynh_app_setting_set seafile admin username
2019-10-03 00:45:31,999: DEBUG - + local legacy_args=akv
2019-10-03 00:45:31,999: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-10-03 00:45:31,999: DEBUG - + declare -Ar args_array
2019-10-03 00:45:31,999: DEBUG - + local app
2019-10-03 00:45:32,000: DEBUG - + local key
2019-10-03 00:45:32,000: DEBUG - + local value
2019-10-03 00:45:32,000: DEBUG - + ynh_handle_getopts_args seafile admin username
2019-10-03 00:45:32,000: DEBUG - + set +x
2019-10-03 00:45:32,000: DEBUG - + echo '! Helper used in legacy mode !'
2019-10-03 00:45:32,000: DEBUG - + set +x
2019-10-03 00:45:32,000: DEBUG - + ynh_app_setting set seafile admin username
2019-10-03 00:45:32,000: DEBUG - + ACTION=set
2019-10-03 00:45:32,000: DEBUG - + APP=seafile
2019-10-03 00:45:32,001: DEBUG - + KEY=admin
2019-10-03 00:45:32,001: DEBUG - + VALUE=username
2019-10-03 00:45:32,001: DEBUG - + python -
2019-10-03 00:45:32,101: DEBUG - + ynh_app_setting_set seafile seahub_port 8000
2019-10-03 00:45:32,101: DEBUG - + local legacy_args=akv
2019-10-03 00:45:32,101: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-10-03 00:45:32,102: DEBUG - + declare -Ar args_array
2019-10-03 00:45:32,102: DEBUG - + local app
2019-10-03 00:45:32,102: DEBUG - + local key
2019-10-03 00:45:32,102: DEBUG - + local value
2019-10-03 00:45:32,102: DEBUG - + ynh_handle_getopts_args seafile seahub_port 8000
2019-10-03 00:45:32,102: DEBUG - + set +x
2019-10-03 00:45:32,102: DEBUG - + echo '! Helper used in legacy mode !'
2019-10-03 00:45:32,102: DEBUG - + set +x
2019-10-03 00:45:32,102: DEBUG - + ynh_app_setting set seafile seahub_port 8000
2019-10-03 00:45:32,102: DEBUG - + ACTION=set
2019-10-03 00:45:32,102: DEBUG - + APP=seafile
2019-10-03 00:45:32,103: DEBUG - + KEY=seahub_port
2019-10-03 00:45:32,103: DEBUG - + VALUE=8000
2019-10-03 00:45:32,103: DEBUG - + python -
2019-10-03 00:45:32,103: DEBUG - + ynh_app_setting_set seafile fileserver_port 8082
2019-10-03 00:45:32,103: DEBUG - + local legacy_args=akv
2019-10-03 00:45:32,103: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-10-03 00:45:32,103: DEBUG - + declare -Ar args_array
2019-10-03 00:45:32,103: DEBUG - + local app
2019-10-03 00:45:32,103: DEBUG - + local key
2019-10-03 00:45:32,103: DEBUG - + local value
2019-10-03 00:45:32,103: DEBUG - + ynh_handle_getopts_args seafile fileserver_port 8082
2019-10-03 00:45:32,104: DEBUG - + set +x
2019-10-03 00:45:32,104: DEBUG - + echo '! Helper used in legacy mode !'
2019-10-03 00:45:32,104: DEBUG - + set +x
2019-10-03 00:45:32,104: DEBUG - + ynh_app_setting set seafile fileserver_port 8082
2019-10-03 00:45:32,104: DEBUG - + ACTION=set
2019-10-03 00:45:32,104: DEBUG - + APP=seafile
2019-10-03 00:45:32,104: DEBUG - + KEY=fileserver_port
2019-10-03 00:45:32,104: DEBUG - + VALUE=8082
2019-10-03 00:45:32,104: DEBUG - + python -
2019-10-03 00:45:32,205: DEBUG - + ynh_app_setting_set seafile webdav_port 8080
2019-10-03 00:45:32,205: DEBUG - + local legacy_args=akv
2019-10-03 00:45:32,205: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-10-03 00:45:32,205: DEBUG - + declare -Ar args_array
2019-10-03 00:45:32,205: DEBUG - + local app
2019-10-03 00:45:32,205: DEBUG - + local key
2019-10-03 00:45:32,205: DEBUG - + local value
2019-10-03 00:45:32,205: DEBUG - + ynh_handle_getopts_args seafile webdav_port 8080
2019-10-03 00:45:32,205: DEBUG - + set +x
2019-10-03 00:45:32,206: DEBUG - + echo '! Helper used in legacy mode !'
2019-10-03 00:45:32,206: DEBUG - + set +x
2019-10-03 00:45:32,206: DEBUG - + ynh_app_setting set seafile webdav_port 8080
2019-10-03 00:45:32,206: DEBUG - + ACTION=set
2019-10-03 00:45:32,206: DEBUG - + APP=seafile
2019-10-03 00:45:32,206: DEBUG - + KEY=webdav_port
2019-10-03 00:45:32,206: DEBUG - + VALUE=8080
2019-10-03 00:45:32,206: DEBUG - + python -
2019-10-03 00:45:32,306: DEBUG - + ynh_app_setting_set seafile is_public 1
2019-10-03 00:45:32,307: DEBUG - + local legacy_args=akv
2019-10-03 00:45:32,307: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-10-03 00:45:32,307: DEBUG - + declare -Ar args_array
2019-10-03 00:45:32,307: DEBUG - + local app
2019-10-03 00:45:32,307: DEBUG - + local key
2019-10-03 00:45:32,307: DEBUG - + local value
2019-10-03 00:45:32,307: DEBUG - + ynh_handle_getopts_args seafile is_public 1
2019-10-03 00:45:32,307: DEBUG - + set +x
2019-10-03 00:45:32,307: DEBUG - + echo '! Helper used in legacy mode !'
2019-10-03 00:45:32,308: DEBUG - + set +x
2019-10-03 00:45:32,308: DEBUG - + ynh_app_setting set seafile is_public 1
2019-10-03 00:45:32,308: DEBUG - + ACTION=set
2019-10-03 00:45:32,308: DEBUG - + APP=seafile
2019-10-03 00:45:32,308: DEBUG - + KEY=is_public
2019-10-03 00:45:32,308: DEBUG - + VALUE=1
2019-10-03 00:45:32,308: DEBUG - + python -
2019-10-03 00:45:32,308: DEBUG - + ynh_app_setting_set seafile installed_********** 6.3.4
2019-10-03 00:45:32,308: DEBUG - + local legacy_args=akv
2019-10-03 00:45:32,308: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-10-03 00:45:32,308: DEBUG - + declare -Ar args_array
2019-10-03 00:45:32,309: DEBUG - + local app
2019-10-03 00:45:32,309: DEBUG - + local key
2019-10-03 00:45:32,309: DEBUG - + local value
2019-10-03 00:45:32,309: DEBUG - + ynh_handle_getopts_args seafile installed_********** 6.3.4
2019-10-03 00:45:32,309: DEBUG - + set +x
2019-10-03 00:45:32,309: DEBUG - + echo '! Helper used in legacy mode !'
2019-10-03 00:45:32,309: DEBUG - + set +x
2019-10-03 00:45:32,309: DEBUG - + ynh_app_setting set seafile installed_********** 6.3.4
2019-10-03 00:45:32,309: DEBUG - + ACTION=set
2019-10-03 00:45:32,309: DEBUG - + APP=seafile
2019-10-03 00:45:32,309: DEBUG - + KEY=installed_**********
2019-10-03 00:45:32,310: DEBUG - + VALUE=6.3.4
2019-10-03 00:45:32,310: DEBUG - + python -
2019-10-03 00:45:32,410: DEBUG - ++ sed 's/mail: //g'
2019-10-03 00:45:32,410: DEBUG - ++ grep mail:
2019-10-03 00:45:32,410: DEBUG - ++ yunohost user info username
2019-10-03 00:45:32,612: DEBUG - + admin_email=username@example.com
2019-10-03 00:45:32,612: DEBUG - + install_dependance
2019-10-03 00:45:32,613: 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
2019-10-03 00:45:32,613: 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'
2019-10-03 00:45:32,613: 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'
2019-10-03 00:45:32,613: 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'
2019-10-03 00:45:32,613: DEBUG - + local manifest_path=../manifest.json
2019-10-03 00:45:32,614: DEBUG - + '[' '!' -e ../manifest.json ']'
2019-10-03 00:45:32,614: DEBUG - ++ cut -d '"' -f 4
2019-10-03 00:45:32,614: DEBUG - ++ grep '\"**********\": ' ../manifest.json
2019-10-03 00:45:32,614: DEBUG - + local **********=**********
2019-10-03 00:45:32,614: DEBUG - + '[' 10 -eq 0 ']'
2019-10-03 00:45:32,614: DEBUG - + local dep_app=seafile
2019-10-03 00:45:32,614: DEBUG - + cat
2019-10-03 00:45:32,614: DEBUG - + ynh_package_install_from_equivs /tmp/seafile-ynh-deps.control
2019-10-03 00:45:32,614: DEBUG - + local controlfile=/tmp/seafile-ynh-deps.control
2019-10-03 00:45:32,614: DEBUG - ++ cut '-d ' -f 2
2019-10-03 00:45:32,614: DEBUG - ++ grep '^Package: ' /tmp/seafile-ynh-deps.control
2019-10-03 00:45:32,615: DEBUG - + local pkgname=seafile-ynh-deps
2019-10-03 00:45:32,615: DEBUG - ++ cut '-d ' -f 2
2019-10-03 00:45:32,615: DEBUG - ++ grep '^Version: ' /tmp/seafile-ynh-deps.control
2019-10-03 00:45:32,615: DEBUG - + local pkg**********=**********
2019-10-03 00:45:32,615: DEBUG - + [[ -z seafile-ynh-deps ]]
2019-10-03 00:45:32,615: DEBUG - + [[ -z ********** ]]
2019-10-03 00:45:32,615: DEBUG - + ynh_package_update
2019-10-03 00:45:32,615: DEBUG - + ynh_apt update
2019-10-03 00:45:32,615: DEBUG - + ynh_wait_dpkg_free
2019-10-03 00:45:32,615: DEBUG - + local try
2019-10-03 00:45:32,615: DEBUG - ++ seq 1 17
2019-10-03 00:45:32,616: DEBUG - + for try in `seq 1 17`
2019-10-03 00:45:32,616: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-10-03 00:45:32,616: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-10-03 00:45:32,716: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-10-03 00:45:32,716: DEBUG - + read dpkg_file
2019-10-03 00:45:32,716: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-10-03 00:45:32,716: DEBUG - + echo ''
2019-10-03 00:45:32,717: DEBUG - + read dpkg_file
2019-10-03 00:45:32,717: DEBUG - + return 0
2019-10-03 00:45:32,717: DEBUG - + DEBIAN_FRONTEND=noninteractive
2019-10-03 00:45:32,717: DEBUG - + apt-get -y update
2019-10-03 00:45:32,817: DEBUG - Hit:1 http://security.debian.org stretch/updates InRelease
2019-10-03 00:45:33,118: DEBUG - Ign:2 http://ftp.debian.org/debian stretch InRelease
2019-10-03 00:45:33,318: DEBUG - Hit:3 http://ftp.debian.org/debian stretch-updates InRelease
2019-10-03 00:45:33,519: DEBUG - Hit:4 http://ftp.debian.org/debian stretch Release
2019-10-03 00:45:33,624: DEBUG - Hit:6 http://forge.yunohost.org/debian stretch InRelease
2019-10-03 00:45:34,125: DEBUG - Reading package lists...
2019-10-03 00:45:34,226: DEBUG - ++ mktemp -d
2019-10-03 00:45:34,226: DEBUG - + local TMPDIR=/tmp/tmp.6TOUx4B9Yi
2019-10-03 00:45:34,226: DEBUG - + echo 10
2019-10-03 00:45:34,226: DEBUG - + ynh_wait_dpkg_free
2019-10-03 00:45:34,226: DEBUG - + local try
2019-10-03 00:45:34,226: DEBUG - ++ seq 1 17
2019-10-03 00:45:34,226: DEBUG - + for try in `seq 1 17`
2019-10-03 00:45:34,226: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-10-03 00:45:34,226: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-10-03 00:45:34,227: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-10-03 00:45:34,227: DEBUG - + read dpkg_file
2019-10-03 00:45:34,227: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-10-03 00:45:34,227: DEBUG - + echo ''
2019-10-03 00:45:34,227: DEBUG - + read dpkg_file
2019-10-03 00:45:34,227: DEBUG - + return 0
2019-10-03 00:45:34,227: DEBUG - + cp /tmp/seafile-ynh-deps.control /tmp/tmp.6TOUx4B9Yi/control
2019-10-03 00:45:34,227: DEBUG - + cd /tmp/tmp.6TOUx4B9Yi
2019-10-03 00:45:34,227: DEBUG - + equivs-build ./control
2019-10-03 00:45:35,029: DEBUG - + dpkg --force-depends -i ./seafile-ynh-deps_**********_all.deb
2019-10-03 00:45:35,129: DEBUG - Selecting previously unselected package seafile-ynh-deps.
2019-10-03 00:45:35,129: DEBUG - (Reading database ... 46822 files and directories currently installed.)
2019-10-03 00:45:35,129: DEBUG - Preparing to unpack .../seafile-ynh-deps_**********_all.deb ...
2019-10-03 00:45:35,130: DEBUG - Unpacking seafile-ynh-deps (**********) ...
2019-10-03 00:45:35,230: DEBUG - dpkg: seafile-ynh-deps: dependency problems, but configuring anyway as you requested:
2019-10-03 00:45:35,230: DEBUG -  seafile-ynh-deps depends on python-simplejson; however:
2019-10-03 00:45:35,230: DEBUG -   Package python-simplejson is not installed.
2019-10-03 00:45:35,230: DEBUG -  seafile-ynh-deps depends on python-imaging; however:
2019-10-03 00:45:35,230: DEBUG -   Package python-imaging is not installed.
2019-10-03 00:45:35,230: DEBUG -  seafile-ynh-deps depends on python-mysqldb; however:
2019-10-03 00:45:35,231: DEBUG -   Package python-mysqldb is not installed.
2019-10-03 00:45:35,231: DEBUG -  seafile-ynh-deps depends on python-flup; however:
2019-10-03 00:45:35,231: DEBUG -   Package python-flup is not installed.
2019-10-03 00:45:35,231: DEBUG -  seafile-ynh-deps depends on expect; however:
2019-10-03 00:45:35,231: DEBUG -   Package expect is not installed.
2019-10-03 00:45:35,231: DEBUG -  seafile-ynh-deps depends on python-memcache; however:
2019-10-03 00:45:35,231: DEBUG -   Package python-memcache is not installed.
2019-10-03 00:45:35,231: DEBUG -  seafile-ynh-deps depends on libjpeg62-turbo-dev; however:
2019-10-03 00:45:35,231: DEBUG -   Package libjpeg62-turbo-dev is not installed.
2019-10-03 00:45:35,231: DEBUG -  seafile-ynh-deps depends on zlib1g-dev; however:
2019-10-03 00:45:35,231: DEBUG -   Package zlib1g-dev is not installed.
2019-10-03 00:45:35,232: DEBUG - 
2019-10-03 00:45:35,232: DEBUG - Setting up seafile-ynh-deps (**********) ...
2019-10-03 00:45:35,332: DEBUG - + ynh_package_install -f
2019-10-03 00:45:35,332: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2019-10-03 00:45:35,332: DEBUG - + ynh_wait_dpkg_free
2019-10-03 00:45:35,332: DEBUG - + local try
2019-10-03 00:45:35,333: DEBUG - ++ seq 1 17
2019-10-03 00:45:35,333: DEBUG - + for try in `seq 1 17`
2019-10-03 00:45:35,333: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-10-03 00:45:35,433: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-10-03 00:45:35,433: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-10-03 00:45:35,433: DEBUG - + read dpkg_file
2019-10-03 00:45:35,433: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-10-03 00:45:35,434: DEBUG - + echo ''
2019-10-03 00:45:35,434: DEBUG - + read dpkg_file
2019-10-03 00:45:35,434: DEBUG - + return 0
2019-10-03 00:45:35,434: DEBUG - + DEBIAN_FRONTEND=noninteractive
2019-10-03 00:45:35,434: DEBUG - + apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2019-10-03 00:45:35,534: DEBUG - Reading package lists...
2019-10-03 00:45:35,635: DEBUG - Building dependency tree...
2019-10-03 00:45:35,635: DEBUG - Reading state information...
2019-10-03 00:45:35,735: DEBUG - Correcting dependencies... Done
2019-10-03 00:45:35,835: DEBUG - The following additional packages will be installed:
2019-10-03 00:45:35,836: DEBUG -   expect libjpeg62-turbo-dev python-flup python-imaging python-memcache
2019-10-03 00:45:35,836: DEBUG -   python-mysqldb python-pil python-simplejson tcl-expect zlib1g-dev
2019-10-03 00:45:35,836: DEBUG - Suggested packages:
2019-10-03 00:45:35,836: DEBUG -   python-egenix-mxdatetime python-mysqldb-dbg python-pil-doc python-pil-dbg
2019-10-03 00:45:35,836: DEBUG - The following NEW packages will be installed:
2019-10-03 00:45:35,836: DEBUG -   expect libjpeg62-turbo-dev python-flup python-imaging python-memcache
2019-10-03 00:45:35,836: DEBUG -   python-mysqldb python-pil python-simplejson tcl-expect zlib1g-dev
2019-10-03 00:45:36,439: DEBUG - 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
2019-10-03 00:45:36,439: DEBUG - Need to get 0 B/1319 kB of archives.
2019-10-03 00:45:36,439: DEBUG - After this operation, 4056 kB of additional disk space will be used.
2019-10-03 00:45:36,740: DEBUG - Selecting previously unselected package tcl-expect:amd64.
2019-10-03 00:45:36,740: DEBUG - (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 46826 files and directories currently installed.)
2019-10-03 00:45:36,740: DEBUG - Preparing to unpack .../0-tcl-expect_5.45-7+deb9u1_amd64.deb ...
2019-10-03 00:45:36,740: DEBUG - Unpacking tcl-expect:amd64 (5.45-7+deb9u1) ...
2019-10-03 00:45:36,941: DEBUG - Selecting previously unselected package expect.
2019-10-03 00:45:36,941: DEBUG - Preparing to unpack .../1-expect_5.45-7+deb9u1_amd64.deb ...
2019-10-03 00:45:37,042: DEBUG - Unpacking expect (5.45-7+deb9u1) ...
2019-10-03 00:45:37,643: DEBUG - Selecting previously unselected package libjpeg62-turbo-dev:amd64.
2019-10-03 00:45:37,643: DEBUG - Preparing to unpack .../2-libjpeg62-turbo-dev_1%3a1.5.1-2_amd64.deb ...
2019-10-03 00:45:37,643: DEBUG - Unpacking libjpeg62-turbo-dev:amd64 (1:1.5.1-2) ...
2019-10-03 00:45:37,944: DEBUG - Selecting previously unselected package python-flup.
2019-10-03 00:45:37,944: DEBUG - Preparing to unpack .../3-python-flup_1.0.2-5_all.deb ...
2019-10-03 00:45:37,944: DEBUG - Unpacking python-flup (1.0.2-5) ...
2019-10-03 00:45:38,445: DEBUG - Selecting previously unselected package python-pil:amd64.
2019-10-03 00:45:38,446: DEBUG - Preparing to unpack .../4-python-pil_4.0.0-4_amd64.deb ...
2019-10-03 00:45:38,446: DEBUG - Unpacking python-pil:amd64 (4.0.0-4) ...
2019-10-03 00:45:40,149: DEBUG - Selecting previously unselected package python-imaging.
2019-10-03 00:45:40,150: DEBUG - Preparing to unpack .../5-python-imaging_4.0.0-4_all.deb ...
2019-10-03 00:45:40,150: DEBUG - Unpacking python-imaging (4.0.0-4) ...
2019-10-03 00:45:40,651: DEBUG - Selecting previously unselected package python-memcache.
2019-10-03 00:45:40,651: DEBUG - Preparing to unpack .../6-python-memcache_1.57-2_all.deb ...
2019-10-03 00:45:40,651: DEBUG - Unpacking python-memcache (1.57-2) ...
2019-10-03 00:45:40,952: DEBUG - Selecting previously unselected package python-mysqldb.
2019-10-03 00:45:40,952: DEBUG - Preparing to unpack .../7-python-mysqldb_1.3.7-1.1_amd64.deb ...
2019-10-03 00:45:40,952: DEBUG - Unpacking python-mysqldb (1.3.7-1.1) ...
2019-10-03 00:45:41,854: DEBUG - Selecting previously unselected package python-simplejson.
2019-10-03 00:45:41,854: DEBUG - Preparing to unpack .../8-python-simplejson_3.10.0-1_amd64.deb ...
2019-10-03 00:45:41,855: DEBUG - Unpacking python-simplejson (3.10.0-1) ...
2019-10-03 00:45:42,456: DEBUG - Selecting previously unselected package zlib1g-dev:amd64.
2019-10-03 00:45:42,456: DEBUG - Preparing to unpack .../9-zlib1g-dev_1%3a1.2.8.dfsg-5_amd64.deb ...
2019-10-03 00:45:42,557: DEBUG - Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ...
2019-10-03 00:45:42,958: DEBUG - Setting up python-simplejson (3.10.0-1) ...
2019-10-03 00:45:43,162: DEBUG - Setting up python-memcache (1.57-2) ...
2019-10-03 00:45:43,262: DEBUG - Processing triggers for libc-bin (2.24-11+deb9u4) ...
2019-10-03 00:45:43,262: DEBUG - Setting up python-mysqldb (1.3.7-1.1) ...
2019-10-03 00:45:43,363: DEBUG - Setting up tcl-expect:amd64 (5.45-7+deb9u1) ...
2019-10-03 00:45:43,468: DEBUG - Processing triggers for man-db (2.7.6.1-2) ...
2019-10-03 00:45:43,669: DEBUG - Setting up python-flup (1.0.2-5) ...
2019-10-03 00:45:43,769: DEBUG - Setting up libjpeg62-turbo-dev:amd64 (1:1.5.1-2) ...
2019-10-03 00:45:43,870: DEBUG - Setting up python-pil:amd64 (4.0.0-4) ...
2019-10-03 00:45:44,070: DEBUG - Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ...
2019-10-03 00:45:44,171: DEBUG - Setting up expect (5.45-7+deb9u1) ...
2019-10-03 00:45:44,273: DEBUG - Setting up python-imaging (4.0.0-4) ...
2019-10-03 00:45:44,375: DEBUG - Processing triggers for libc-bin (2.24-11+deb9u4) ...
2019-10-03 00:45:44,576: DEBUG - + [[ -n /tmp/tmp.6TOUx4B9Yi ]]
2019-10-03 00:45:44,576: DEBUG - + rm -rf /tmp/tmp.6TOUx4B9Yi
2019-10-03 00:45:44,576: DEBUG - + ynh_package_is_installed seafile-ynh-deps
2019-10-03 00:45:44,576: DEBUG - + local legacy_args=p
2019-10-03 00:45:44,577: DEBUG - + args_array=([p]=package=)
2019-10-03 00:45:44,577: DEBUG - + declare -Ar args_array
2019-10-03 00:45:44,577: DEBUG - + local package
2019-10-03 00:45:44,577: DEBUG - + ynh_handle_getopts_args seafile-ynh-deps
2019-10-03 00:45:44,577: DEBUG - + set +x
2019-10-03 00:45:44,577: DEBUG - + echo '! Helper used in legacy mode !'
2019-10-03 00:45:44,577: DEBUG - + set +x
2019-10-03 00:45:44,577: DEBUG - + ynh_wait_dpkg_free
2019-10-03 00:45:44,577: DEBUG - + local try
2019-10-03 00:45:44,577: DEBUG - ++ seq 1 17
2019-10-03 00:45:44,577: DEBUG - + for try in `seq 1 17`
2019-10-03 00:45:44,578: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-10-03 00:45:44,678: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-10-03 00:45:44,678: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-10-03 00:45:44,678: DEBUG - + read dpkg_file
2019-10-03 00:45:44,678: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-10-03 00:45:44,678: DEBUG - + echo ''
2019-10-03 00:45:44,678: DEBUG - + read dpkg_file
2019-10-03 00:45:44,679: DEBUG - + return 0
2019-10-03 00:45:44,679: DEBUG - + grep -c 'ok installed'
2019-10-03 00:45:44,679: DEBUG - + dpkg-query -W -f '${Status}' seafile-ynh-deps
2019-10-03 00:45:44,679: DEBUG - + rm /tmp/seafile-ynh-deps.control
2019-10-03 00:45:44,679: 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'
2019-10-03 00:45:44,679: DEBUG - + local legacy_args=akv
2019-10-03 00:45:44,679: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-10-03 00:45:44,679: DEBUG - + declare -Ar args_array
2019-10-03 00:45:44,679: DEBUG - + local app
2019-10-03 00:45:44,679: DEBUG - + local key
2019-10-03 00:45:44,680: DEBUG - + local value
2019-10-03 00:45:44,680: 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'
2019-10-03 00:45:44,680: DEBUG - + set +x
2019-10-03 00:45:44,680: 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'
2019-10-03 00:45:44,680: DEBUG - + ACTION=set
2019-10-03 00:45:44,680: DEBUG - + APP=seafile
2019-10-03 00:45:44,680: DEBUG - + KEY=apt_dependencies
2019-10-03 00:45:44,680: 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'
2019-10-03 00:45:44,680: DEBUG - + python -
2019-10-03 00:45:44,781: DEBUG - + pip install --upgrade Pillow 'moviepy<1.0'
2019-10-03 00:45:45,882: DEBUG - Requirement already up-to-date: Pillow in /usr/local/lib/python2.7/dist-packages
2019-10-03 00:45:45,883: DEBUG - Requirement already up-to-date: moviepy<1.0 in /usr/local/lib/python2.7/dist-packages
2019-10-03 00:45:46,283: DEBUG - Requirement already up-to-date: numpy in /usr/local/lib/python2.7/dist-packages (from moviepy<1.0)
2019-10-03 00:45:46,784: DEBUG - Requirement already up-to-date: tqdm<5.0,>=4.11.2 in /usr/local/lib/python2.7/dist-packages (from moviepy<1.0)
2019-10-03 00:45:46,885: DEBUG - Requirement already up-to-date: imageio<3.0,>=2.1.2 in /usr/local/lib/python2.7/dist-packages (from moviepy<1.0)
2019-10-03 00:45:46,985: DEBUG - Requirement already up-to-date: decorator<5.0,>=4.0.2 in /usr/local/lib/python2.7/dist-packages (from moviepy<1.0)
2019-10-03 00:45:46,986: DEBUG - Requirement already up-to-date: futures in /usr/local/lib/python2.7/dist-packages (from imageio<3.0,>=2.1.2->moviepy<1.0)
2019-10-03 00:45:47,086: DEBUG - Requirement already up-to-date: enum34 in /usr/lib/python2.7/dist-packages (from imageio<3.0,>=2.1.2->moviepy<1.0)
2019-10-03 00:45:47,086: DEBUG - + test -e /home/yunohost.app/seafile-data
2019-10-03 00:45:47,086: DEBUG - + mkdir -p /opt/yunohost/seafile
2019-10-03 00:45:47,086: DEBUG - + mkdir -p /opt/yunohost/seafile/installed
2019-10-03 00:45:47,087: DEBUG - + mkdir -p /opt/yunohost/seafile/logs
2019-10-03 00:45:47,087: DEBUG - + mkdir -p /opt/yunohost/seafile/seafile-data
2019-10-03 00:45:47,087: DEBUG - + install_source
2019-10-03 00:45:47,087: DEBUG - + mkdir /opt/yunohost/seafile/seafile-server-6.3.4
2019-10-03 00:45:47,087: DEBUG - + [[ x86-64 == \i\3\8\6 ]]
2019-10-03 00:45:47,087: DEBUG - + ynh_setup_source /opt/yunohost/seafile/seafile-server-6.3.4 x86-64
2019-10-03 00:45:47,087: DEBUG - + local legacy_args=ds
2019-10-03 00:45:47,087: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
2019-10-03 00:45:47,087: DEBUG - + declare -Ar args_array
2019-10-03 00:45:47,087: DEBUG - + local dest_dir
2019-10-03 00:45:47,087: DEBUG - + local source_id
2019-10-03 00:45:47,087: DEBUG - + ynh_handle_getopts_args /opt/yunohost/seafile/seafile-server-6.3.4 x86-64
2019-10-03 00:45:47,088: DEBUG - + set +x
2019-10-03 00:45:47,088: DEBUG - + echo '! Helper used in legacy mode !'
2019-10-03 00:45:47,088: DEBUG - + set +x
2019-10-03 00:45:47,088: DEBUG - + source_id=x86-64
2019-10-03 00:45:47,088: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/seafile_ynh-f28bb98edd9bd018acc168a22186cc79737373a0/scripts/../conf/x86-64.src
2019-10-03 00:45:47,088: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/seafile_ynh-f28bb98edd9bd018acc168a22186cc79737373a0/scripts/../conf/x86-64.src ']'
2019-10-03 00:45:47,088: DEBUG - ++ cut -d= -f2-
2019-10-03 00:45:47,088: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/seafile_ynh-f28bb98edd9bd018acc168a22186cc79737373a0/scripts/../conf/x86-64.src
2019-10-03 00:45:47,088: DEBUG - + local src_url=https://download.seadrive.org/seafile-server_6.3.4_x86-64.tar.gz
2019-10-03 00:45:47,088: DEBUG - ++ cut -d= -f2-
2019-10-03 00:45:47,088: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/seafile_ynh-f28bb98edd9bd018acc168a22186cc79737373a0/scripts/../conf/x86-64.src
2019-10-03 00:45:47,089: DEBUG - + local src_sum=afdf347bd61ce9ea6c5e511e5a45d082c7b8643415a306d7710a3bd3818cf8c0
2019-10-03 00:45:47,089: DEBUG - ++ cut -d= -f2-
2019-10-03 00:45:47,089: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/seafile_ynh-f28bb98edd9bd018acc168a22186cc79737373a0/scripts/../conf/x86-64.src
2019-10-03 00:45:47,089: DEBUG - + local src_sumprg=sha256sum
2019-10-03 00:45:47,089: DEBUG - ++ cut -d= -f2-
2019-10-03 00:45:47,089: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/seafile_ynh-f28bb98edd9bd018acc168a22186cc79737373a0/scripts/../conf/x86-64.src
2019-10-03 00:45:47,089: DEBUG - + local src_format=tar.gz
2019-10-03 00:45:47,089: DEBUG - ++ cut -d= -f2-
2019-10-03 00:45:47,089: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/seafile_ynh-f28bb98edd9bd018acc168a22186cc79737373a0/scripts/../conf/x86-64.src
2019-10-03 00:45:47,089: DEBUG - + local src_extract=
2019-10-03 00:45:47,089: DEBUG - ++ cut -d= -f2-
2019-10-03 00:45:47,090: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/seafile_ynh-f28bb98edd9bd018acc168a22186cc79737373a0/scripts/../conf/x86-64.src
2019-10-03 00:45:47,090: DEBUG - + local src_in_subdir=true
2019-10-03 00:45:47,090: DEBUG - ++ cut -d= -f2-
2019-10-03 00:45:47,090: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/seafile_ynh-f28bb98edd9bd018acc168a22186cc79737373a0/scripts/../conf/x86-64.src
2019-10-03 00:45:47,090: DEBUG - + local src_filename=
2019-10-03 00:45:47,090: DEBUG - + src_sumprg=sha256sum
2019-10-03 00:45:47,090: DEBUG - + src_in_subdir=true
2019-10-03 00:45:47,090: DEBUG - + src_format=tar.gz
2019-10-03 00:45:47,090: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2019-10-03 00:45:47,090: DEBUG - ++ echo tar.gz
2019-10-03 00:45:47,090: DEBUG - + src_format=tar.gz
2019-10-03 00:45:47,091: DEBUG - + src_extract=true
2019-10-03 00:45:47,091: DEBUG - + '[' '' = '' ']'
2019-10-03 00:45:47,091: DEBUG - + src_filename=x86-64.tar.gz
2019-10-03 00:45:47,091: DEBUG - + local local_src=/opt/yunohost-apps-src/seafile/x86-64.tar.gz
2019-10-03 00:45:47,091: DEBUG - + test -e /opt/yunohost-apps-src/seafile/x86-64.tar.gz
2019-10-03 00:45:47,091: DEBUG - ++ wget -nv -O x86-64.tar.gz https://download.seadrive.org/seafile-server_6.3.4_x86-64.tar.gz
2019-10-03 00:45:50,296: DEBUG - + local 'out=2019-10-03 00:45:50 URL:https://download.seadrive.org/seafile-server_6.3.4_x86-64.tar.gz [55194233/55194233] -> "x86-64.tar.gz" [1]'
2019-10-03 00:45:50,296: DEBUG - + sha256sum -c --status
2019-10-03 00:45:50,296: DEBUG - + echo 'afdf347bd61ce9ea6c5e511e5a45d082c7b8643415a306d7710a3bd3818cf8c0 x86-64.tar.gz'
2019-10-03 00:45:50,497: DEBUG - + mkdir -p /opt/yunohost/seafile/seafile-server-6.3.4
2019-10-03 00:45:50,597: DEBUG - + true
2019-10-03 00:45:50,597: DEBUG - + '[' tar.gz = zip ']'
2019-10-03 00:45:50,597: DEBUG - + local strip=
2019-10-03 00:45:50,598: DEBUG - + '[' true '!=' false ']'
2019-10-03 00:45:50,598: DEBUG - + '[' true == true ']'
2019-10-03 00:45:50,598: DEBUG - + local sub_dirs=1
2019-10-03 00:45:50,598: DEBUG - + strip='--strip-components 1'
2019-10-03 00:45:50,598: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2019-10-03 00:45:50,598: DEBUG - + tar -xf x86-64.tar.gz -C /opt/yunohost/seafile/seafile-server-6.3.4 --strip-components 1
2019-10-03 00:45:52,501: DEBUG - ++ wc -l
2019-10-03 00:45:52,502: DEBUG - ++ find /var/cache/yunohost/from_file/seafile_ynh-f28bb98edd9bd018acc168a22186cc79737373a0/scripts/../sources/patches/ -type f -name 'x86-64-*.patch'
2019-10-03 00:45:52,502: DEBUG - + ((  1 > 0  ))
2019-10-03 00:45:52,502: DEBUG - ++ pwd
2019-10-03 00:45:52,502: DEBUG - + local old_dir=/var/cache/yunohost/from_file/seafile_ynh-f28bb98edd9bd018acc168a22186cc79737373a0/scripts
2019-10-03 00:45:52,502: DEBUG - + cd /opt/yunohost/seafile/seafile-server-6.3.4
2019-10-03 00:45:52,502: DEBUG - + for p in $YNH_CWD/../sources/patches/${source_id}-*.patch
2019-10-03 00:45:52,502: DEBUG - + patch -p1
2019-10-03 00:45:52,502: DEBUG - patching file seahub/seahub/auth/middleware.py
2019-10-03 00:45:52,502: DEBUG - patching file seahub/seahub/base/accounts.py
2019-10-03 00:45:52,502: DEBUG - Hunk #1 succeeded at 519 (offset 123 lines).
2019-10-03 00:45:52,503: DEBUG - patching file seahub/seahub/settings.py
2019-10-03 00:45:52,503: DEBUG - Hunk #1 succeeded at 116 (offset 2 lines).
2019-10-03 00:45:52,503: DEBUG - Hunk #2 succeeded at 260 with fuzz 2 (offset 27 lines).
2019-10-03 00:45:52,503: DEBUG - + cd /var/cache/yunohost/from_file/seafile_ynh-f28bb98edd9bd018acc168a22186cc79737373a0/scripts
2019-10-03 00:45:52,503: DEBUG - + test -e /var/cache/yunohost/from_file/seafile_ynh-f28bb98edd9bd018acc168a22186cc79737373a0/scripts/../sources/extra_files/x86-64
2019-10-03 00:45:52,503: DEBUG - + dbuser=seafile
2019-10-03 00:45:52,503: DEBUG - ++ ynh_string_random 15
2019-10-03 00:45:52,503: DEBUG - ++ local legacy_args=l
2019-10-03 00:45:52,503: DEBUG - ++ args_array=([l]=length=)
2019-10-03 00:45:52,503: DEBUG - ++ declare -Ar args_array
2019-10-03 00:45:52,503: DEBUG - ++ local length
2019-10-03 00:45:52,504: DEBUG - ++ ynh_handle_getopts_args 15
2019-10-03 00:45:52,504: DEBUG - ++ set +x
2019-10-03 00:45:52,504: DEBUG - ++ echo '! Helper used in legacy mode !'
2019-10-03 00:45:52,504: DEBUG - ++ set +x
2019-10-03 00:45:52,504: DEBUG - ++ length=15
2019-10-03 00:45:52,504: DEBUG - ++ sed -n 's/\(.\{15\}\).*/\1/p'
2019-10-03 00:45:52,504: DEBUG - ++ tr -c -d A-Za-z0-9
2019-10-03 00:45:52,504: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2019-10-03 00:45:52,504: DEBUG - + db_pwd=**********
2019-10-03 00:45:52,504: DEBUG - + ynh_app_setting_set seafile mysqlpwd **********
2019-10-03 00:45:52,504: DEBUG - + local legacy_args=akv
2019-10-03 00:45:52,505: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-10-03 00:45:52,505: DEBUG - + declare -Ar args_array
2019-10-03 00:45:52,505: DEBUG - + local app
2019-10-03 00:45:52,505: DEBUG - + local key
2019-10-03 00:45:52,505: DEBUG - + local value
2019-10-03 00:45:52,505: DEBUG - + ynh_handle_getopts_args seafile mysqlpwd **********
2019-10-03 00:45:52,505: DEBUG - + set +x
2019-10-03 00:45:52,505: DEBUG - + echo '! Helper used in legacy mode !'
2019-10-03 00:45:52,505: DEBUG - + set +x
2019-10-03 00:45:52,505: DEBUG - + ynh_app_setting set seafile mysqlpwd **********
2019-10-03 00:45:52,505: DEBUG - + ACTION=set
2019-10-03 00:45:52,506: DEBUG - + APP=seafile
2019-10-03 00:45:52,506: DEBUG - + KEY=mysqlpwd
2019-10-03 00:45:52,506: DEBUG - + VALUE=**********
2019-10-03 00:45:52,506: DEBUG - + python -
2019-10-03 00:45:52,606: DEBUG - + ynh_mysql_create_db ccnetdb seafile **********
2019-10-03 00:45:52,606: DEBUG - + local db=ccnetdb
2019-10-03 00:45:52,606: DEBUG - + local 'sql=CREATE DATABASE ccnetdb;'
2019-10-03 00:45:52,606: DEBUG - + [[ 3 -gt 1 ]]
2019-10-03 00:45:52,607: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON ccnetdb.* TO '\''seafile'\''@'\''localhost'\'''
2019-10-03 00:45:52,607: DEBUG - + [[ -n ********** ]]
2019-10-03 00:45:52,607: DEBUG - + sql+=' IDENTIFIED BY '\''**********'\'''
2019-10-03 00:45:52,607: DEBUG - + sql+=' WITH GRANT OPTION;'
2019-10-03 00:45:52,607: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE ccnetdb; GRANT ALL PRIVILEGES ON ccnetdb.* TO '\''seafile'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2019-10-03 00:45:52,607: DEBUG - + local legacy_args=sd
2019-10-03 00:45:52,607: DEBUG - + args_array=([s]=sql= [d]=database=)
2019-10-03 00:45:52,607: DEBUG - + declare -Ar args_array
2019-10-03 00:45:52,607: DEBUG - + local sql
2019-10-03 00:45:52,607: DEBUG - + local database
2019-10-03 00:45:52,607: DEBUG - + ynh_handle_getopts_args '--sql=CREATE DATABASE ccnetdb; GRANT ALL PRIVILEGES ON ccnetdb.* TO '\''seafile'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2019-10-03 00:45:52,608: DEBUG - + set +x
2019-10-03 00:45:52,608: DEBUG - + database=
2019-10-03 00:45:52,608: DEBUG - ++ sudo cat /etc/yunohost/mysql
2019-10-03 00:45:52,608: DEBUG - + ynh_mysql_connect_as --user=root --password=********** --database=
2019-10-03 00:45:52,608: DEBUG - + local legacy_args=upd
2019-10-03 00:45:52,608: DEBUG - + args_array=([u]=user= [p]=password= [d]=database=)
2019-10-03 00:45:52,608: DEBUG - + declare -Ar args_array
2019-10-03 00:45:52,608: DEBUG - + local user
2019-10-03 00:45:52,608: DEBUG - + local password
2019-10-03 00:45:52,608: DEBUG - + local database
2019-10-03 00:45:52,609: DEBUG - + ynh_handle_getopts_args --user=root --password=********** --database=
2019-10-03 00:45:52,609: DEBUG - + set +x
2019-10-03 00:45:52,609: DEBUG - + database=
2019-10-03 00:45:52,609: DEBUG - + mysql -u root --password=********** -B ''
2019-10-03 00:45:52,609: DEBUG - + ynh_mysql_create_db seafiledb seafile **********
2019-10-03 00:45:52,609: DEBUG - + local db=seafiledb
2019-10-03 00:45:52,609: DEBUG - + local 'sql=CREATE DATABASE seafiledb;'
2019-10-03 00:45:52,609: DEBUG - + [[ 3 -gt 1 ]]
2019-10-03 00:45:52,609: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON seafiledb.* TO '\''seafile'\''@'\''localhost'\'''
2019-10-03 00:45:52,609: DEBUG - + [[ -n ********** ]]
2019-10-03 00:45:52,609: DEBUG - + sql+=' IDENTIFIED BY '\''**********'\'''
2019-10-03 00:45:52,610: DEBUG - + sql+=' WITH GRANT OPTION;'
2019-10-03 00:45:52,610: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE seafiledb; GRANT ALL PRIVILEGES ON seafiledb.* TO '\''seafile'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2019-10-03 00:45:52,610: DEBUG - + local legacy_args=sd
2019-10-03 00:45:52,610: DEBUG - + args_array=([s]=sql= [d]=database=)
2019-10-03 00:45:52,610: DEBUG - + declare -Ar args_array
2019-10-03 00:45:52,610: DEBUG - + local sql
2019-10-03 00:45:52,610: DEBUG - + local database
2019-10-03 00:45:52,610: DEBUG - + ynh_handle_getopts_args '--sql=CREATE DATABASE seafiledb; GRANT ALL PRIVILEGES ON seafiledb.* TO '\''seafile'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2019-10-03 00:45:52,610: DEBUG - + set +x
2019-10-03 00:45:52,610: DEBUG - + database=
2019-10-03 00:45:52,610: DEBUG - ++ sudo cat /etc/yunohost/mysql
2019-10-03 00:45:52,611: DEBUG - + ynh_mysql_connect_as --user=root --password=********** --database=
2019-10-03 00:45:52,611: DEBUG - + local legacy_args=upd
2019-10-03 00:45:52,611: DEBUG - + args_array=([u]=user= [p]=password= [d]=database=)
2019-10-03 00:45:52,611: DEBUG - + declare -Ar args_array
2019-10-03 00:45:52,611: DEBUG - + local user
2019-10-03 00:45:52,611: DEBUG - + local password
2019-10-03 00:45:52,611: DEBUG - + local database
2019-10-03 00:45:52,611: DEBUG - + ynh_handle_getopts_args --user=root --password=********** --database=
2019-10-03 00:45:52,611: DEBUG - + set +x
2019-10-03 00:45:52,611: DEBUG - + database=
2019-10-03 00:45:52,611: DEBUG - + mysql -u root --password=********** -B ''
2019-10-03 00:45:52,612: DEBUG - + ynh_mysql_create_db seahubdb seafile **********
2019-10-03 00:45:52,612: DEBUG - + local db=seahubdb
2019-10-03 00:45:52,612: DEBUG - + local 'sql=CREATE DATABASE seahubdb;'
2019-10-03 00:45:52,612: DEBUG - + [[ 3 -gt 1 ]]
2019-10-03 00:45:52,612: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON seahubdb.* TO '\''seafile'\''@'\''localhost'\'''
2019-10-03 00:45:52,612: DEBUG - + [[ -n ********** ]]
2019-10-03 00:45:52,612: DEBUG - + sql+=' IDENTIFIED BY '\''**********'\'''
2019-10-03 00:45:52,612: DEBUG - + sql+=' WITH GRANT OPTION;'
2019-10-03 00:45:52,612: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE seahubdb; GRANT ALL PRIVILEGES ON seahubdb.* TO '\''seafile'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2019-10-03 00:45:52,612: DEBUG - + local legacy_args=sd
2019-10-03 00:45:52,612: DEBUG - + args_array=([s]=sql= [d]=database=)
2019-10-03 00:45:52,613: DEBUG - + declare -Ar args_array
2019-10-03 00:45:52,613: DEBUG - + local sql
2019-10-03 00:45:52,613: DEBUG - + local database
2019-10-03 00:45:52,613: DEBUG - + ynh_handle_getopts_args '--sql=CREATE DATABASE seahubdb; GRANT ALL PRIVILEGES ON seahubdb.* TO '\''seafile'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2019-10-03 00:45:52,613: DEBUG - + set +x
2019-10-03 00:45:52,613: DEBUG - + database=
2019-10-03 00:45:52,613: DEBUG - ++ sudo cat /etc/yunohost/mysql
2019-10-03 00:45:52,613: DEBUG - + ynh_mysql_connect_as --user=root --password=********** --database=
2019-10-03 00:45:52,613: DEBUG - + local legacy_args=upd
2019-10-03 00:45:52,613: DEBUG - + args_array=([u]=user= [p]=password= [d]=database=)
2019-10-03 00:45:52,613: DEBUG - + declare -Ar args_array
2019-10-03 00:45:52,614: DEBUG - + local user
2019-10-03 00:45:52,614: DEBUG - + local password
2019-10-03 00:45:52,614: DEBUG - + local database
2019-10-03 00:45:52,614: DEBUG - + ynh_handle_getopts_args --user=root --password=********** --database=
2019-10-03 00:45:52,614: DEBUG - + set +x
2019-10-03 00:45:52,614: DEBUG - + database=
2019-10-03 00:45:52,614: DEBUG - + mysql -u root --password=********** -B ''
2019-10-03 00:45:52,614: DEBUG - + ynh_system_user_create seafile /opt/yunohost/seafile
2019-10-03 00:45:52,614: DEBUG - + local legacy_args=uhs
2019-10-03 00:45:52,614: DEBUG - + args_array=([u]=username= [h]=home_dir= [s]=use_shell)
2019-10-03 00:45:52,614: DEBUG - + declare -Ar args_array
2019-10-03 00:45:52,615: DEBUG - + local username
2019-10-03 00:45:52,615: DEBUG - + local home_dir
2019-10-03 00:45:52,615: DEBUG - + local use_shell
2019-10-03 00:45:52,615: DEBUG - + ynh_handle_getopts_args seafile /opt/yunohost/seafile
2019-10-03 00:45:52,615: DEBUG - + set +x
2019-10-03 00:45:52,715: DEBUG - + echo '! Helper used in legacy mode !'
2019-10-03 00:45:52,715: DEBUG - + set +x
2019-10-03 00:45:52,715: DEBUG - + use_shell=0
2019-10-03 00:45:52,716: DEBUG - + home_dir=/opt/yunohost/seafile
2019-10-03 00:45:52,716: DEBUG - + ynh_system_user_exists seafile
2019-10-03 00:45:52,716: DEBUG - + local legacy_args=u
2019-10-03 00:45:52,716: DEBUG - + args_array=([u]=username=)
2019-10-03 00:45:52,716: DEBUG - + declare -Ar args_array
2019-10-03 00:45:52,716: DEBUG - + local username
2019-10-03 00:45:52,716: DEBUG - + ynh_handle_getopts_args seafile
2019-10-03 00:45:52,716: DEBUG - + set +x
2019-10-03 00:45:52,716: DEBUG - + echo '! Helper used in legacy mode !'
2019-10-03 00:45:52,717: DEBUG - + set +x
2019-10-03 00:45:52,717: DEBUG - + getent passwd seafile
2019-10-03 00:45:52,717: DEBUG - + '[' -n /opt/yunohost/seafile ']'
2019-10-03 00:45:52,717: DEBUG - + local 'user_home_dir=-d /opt/yunohost/seafile'
2019-10-03 00:45:52,717: DEBUG - + '[' 0 -eq 1 ']'
2019-10-03 00:45:52,717: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2019-10-03 00:45:52,717: DEBUG - + useradd -d /opt/yunohost/seafile --system --user-group seafile --shell /usr/sbin/nologin
2019-10-03 00:45:53,518: DEBUG - + chmod +x expect_scripts/install.exp
2019-10-03 00:45:53,519: DEBUG - + chmod +x /opt/yunohost/seafile/seafile-server-6.3.4/setup-seafile-mysql.sh
2019-10-03 00:45:53,519: DEBUG - + expect_scripts/install.exp /opt/yunohost/seafile/seafile-server-6.3.4 SeaFile files.example.com /home/yunohost.app/seafile-data 8082 **********
2019-10-03 00:45:53,519: DEBUG - spawn /opt/yunohost/seafile/seafile-server-6.3.4/setup-seafile-mysql.sh
2019-10-03 00:45:53,619: DEBUG - Checking python on this machine ...
2019-10-03 00:45:53,719: DEBUG -   Checking python module: setuptools ... Done.
2019-10-03 00:45:53,720: DEBUG -   Checking python module: python-imaging ... Done.
2019-10-03 00:45:53,720: DEBUG -   Checking python module: python-mysqldb ... Done.
2019-10-03 00:45:53,720: DEBUG - 
2019-10-03 00:45:53,720: DEBUG - -----------------------------------------------------------------
2019-10-03 00:45:53,720: DEBUG - This script will guide you to setup your seafile server using MySQL.
2019-10-03 00:45:53,720: DEBUG - Make sure you have read seafile server manual at
2019-10-03 00:45:53,720: DEBUG - 
2019-10-03 00:45:53,720: DEBUG -         https://github.com/haiwen/seafile/wiki
2019-10-03 00:45:53,721: DEBUG - 
2019-10-03 00:45:53,721: DEBUG - Press ENTER to continue
2019-10-03 00:45:53,721: DEBUG - -----------------------------------------------------------------
2019-10-03 00:45:53,721: DEBUG - 
2019-10-03 00:45:53,721: DEBUG - 
2019-10-03 00:45:53,721: DEBUG - What is the name of the server? It will be displayed on the client.
2019-10-03 00:45:53,721: DEBUG - 3 - 15 letters or digits
2019-10-03 00:45:53,721: DEBUG - [ server name ] SeaFile
2019-10-03 00:45:53,721: DEBUG - 
2019-10-03 00:45:53,721: DEBUG - What is the ip or domain of the server?
2019-10-03 00:45:53,721: DEBUG - For example: www.mycompany.com, 192.168.1.101
2019-10-03 00:45:53,721: DEBUG - [ This server's ip or domain ] files.example.com
2019-10-03 00:45:53,722: DEBUG - 
2019-10-03 00:45:53,722: DEBUG - Where do you want to put your seafile data?
2019-10-03 00:45:53,722: DEBUG - Please use a volume with enough free space
2019-10-03 00:45:53,722: DEBUG - [ default "/opt/yunohost/seafile/seafile-data" ] 
<ile/seafile-data" ] /home/yunohost.app/seafile-data
2019-10-03 00:45:53,722: DEBUG - 
2019-10-03 00:45:53,722: DEBUG - Which port do you want to use for the seafile fileserver?
2019-10-03 00:45:53,722: DEBUG - [ default "8082" ] 8082
2019-10-03 00:45:53,722: DEBUG - 

It’s strange, your log is like the install process is still running or has been killed.

Do you use command line or web admin ?

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