YunoHost-Apps / seafile_ynh

Seafile package for YunoHost
https://seafile.com
MIT License
14 stars 19 forks source link

install failed due to python version #39

Closed lbnt closed 5 years ago

lbnt commented 5 years ago

"host": "Debian 9.8", "kernel": "4.9.93-mainline-rev1", "yunohost": "repo": "stable", "version": "3.4.2.4" ARM64 vps on scaleway

I tried to install seafile using sudo yunohost app install -l seafile https://github.com/YunoHost-Apps/seafile_ynh

And I got this error message

Warning: imageio-ffmpeg requires Python '>=3.4' but the running Python is 2.7.13 Warning: !! Warning: seafile's script has encountered an error. Its execution was cancelled. Warning: !! Warning: Info: The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190318-204705-app_install-seafile --share' Warning: Failed to stop seafile-server.service: Unit seafile-server.service not loaded. Warning: /var/log/seafile wasn't deleted because it doesn't exist. Warning: /var/www/seafile wasn't deleted because it doesn't exist. Warning: /opt/yunohost/seafile wasn't deleted because it doesn't exist. Warning: /etc/init.d/seafile-server wasn't deleted because it doesn't exist. Warning: /home/yunohost.app/seafile-data wasn't deleted because it doesn't exist. Warning: /tmp/seahub_cache wasn't deleted because it doesn't exist. Warning: ERROR 1008 (HY000) at line 1: Can't drop database 'ccnetdb'; database doesn't exist Warning: ERROR 1008 (HY000) at line 1: Can't drop database 'seafiledb'; database doesn't exist Warning: ERROR 1008 (HY000) at line 1: Can't drop database 'seahubdb'; database doesn't exist Warning: The user seafile was not found Warning: /etc/nginx/conf.d/lbnt.fr.d/seafile.conf wasn't deleted because it doesn't exist. Warning: Unknown service 'seafile-server' Success! The SSOwat configuration has been generated Error: The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190318-204705-app_install-seafile --share'

So a problem with python version...

Josue-T commented 5 years ago

Hell,

Can you give me the result of yunohost log display 20190318-204705-app_install-seafile --share because with this log, I'm not able to see exactly the reason of this error.

lbnt commented 5 years ago

Here is the log

I was surprised to see that my admin login and password was published on the https://paste.yunohost.org/ site in clear text with your command.

Clearly it is a big security issue!!!! I had to change my admin password. Not cool. I will have to open another issue for that.


args: app: https://github.com/YunoHost-Apps/seafile_ynh args: null force: false label: seafile no_remove_on_failure: false ended_at: 2019-03-18 20:48:13.225375 env: YNH_APP_ARG_ADMIN: XXXXXX YNH_APP_ARG_ADMIN_PASSWORD: XXXXXX YNH_APP_ARG_DOMAIN: toto.fr YNH_APP_ARG_PATH: /seafile 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-master/scripts YNH_STDINFO: /tmp/tmpa642E7/stdinfo error: 'An unexpected error occured: shell command return code: 1' operation: app_install related_to:

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

2019-03-18 20:47:05,761: DEBUG - Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/seafile_ynh-master/scripts YNH_STDINFO=/tmp/tmpa642E7/stdinfo YNH_APP_ARG_PUBLIC_SITE=1 YNH_APP_ARG_ADMIN_PASSWORD='XXXXXX' YNH_APP_INSTANCE_NAME=seafile YNH_APP_ARG_ADMIN=XXXXXX YNH_APP_ID=seafile YNH_APP_ARG_PATH=/seafile YNH_APP_ARG_SERVER_NAME=Seafile YNH_APP_ARG_DOMAIN=toto.fr BASH_XTRACEFD=7 /bin/bash -x "./install" toto.fr /seafile Seafile XXXXXX 'XXXXXX' 1 seafile 7>&1'… 2019-03-18 20:47:05,763: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/seafile_ynh-master/scripts YNH_STDINFO=/tmp/tmpa642E7/stdinfo YNH_APP_ARG_PUBLIC_SITE=1 YNH_APP_ARG_ADMIN_PASSWORD=\'XXXXXX\' YNH_APP_INSTANCE_NAME=seafile YNH_APP_ARG_ADMIN=XXXXXX YNH_APP_ID=seafile YNH_APP_ARG_PATH=/seafile YNH_APP_ARG_SERVER_NAME=Seafile YNH_APP_ARG_DOMAIN=toto.fr BASH_XTRACEFD=7 /bin/bash -x "./install" toto.fr /seafile Seafile XXXXXX \'XXXXXX\' 1 seafile 7>&1']' 2019-03-18 20:47:05,840: DEBUG - + source /usr/share/yunohost/helpers 2019-03-18 20:47:05,842: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d 2019-03-18 20:47:05,844: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-18 20:47:05,845: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backend ']' 2019-03-18 20:47:05,846: DEBUG - ++ . /usr/share/yunohost/helpers.d/backend 2019-03-18 20:47:05,847: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-18 20:47:05,848: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']' 2019-03-18 20:47:05,849: DEBUG - ++ . /usr/share/yunohost/helpers.d/filesystem 2019-03-18 20:47:05,850: DEBUG - +++ CAN_BIND=1 2019-03-18 20:47:05,850: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-18 20:47:05,851: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']' 2019-03-18 20:47:05,852: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts 2019-03-18 20:47:05,853: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-18 20:47:05,854: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/ip ']' 2019-03-18 20:47:05,855: DEBUG - ++ . /usr/share/yunohost/helpers.d/ip 2019-03-18 20:47:05,855: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-18 20:47:05,856: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']' 2019-03-18 20:47:05,857: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql 2019-03-18 20:47:05,858: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql 2019-03-18 20:47:05,859: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-18 20:47:05,861: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']' 2019-03-18 20:47:05,862: DEBUG - ++ . /usr/share/yunohost/helpers.d/network 2019-03-18 20:47:05,863: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-18 20:47:05,864: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']' 2019-03-18 20:47:05,865: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs 2019-03-18 20:47:05,866: DEBUG - +++ n_install_dir=/opt/node_n 2019-03-18 20:47:05,867: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node 2019-03-18 20:47:05,868: DEBUG - +++ export N_PREFIX=/opt/node_n 2019-03-18 20:47:05,869: DEBUG - +++ N_PREFIX=/opt/node_n 2019-03-18 20:47:05,869: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-18 20:47:05,871: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/package ']' 2019-03-18 20:47:05,872: DEBUG - ++ . /usr/share/yunohost/helpers.d/package 2019-03-18 20:47:05,873: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-18 20:47:05,874: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/print ']' 2019-03-18 20:47:05,875: DEBUG - ++ . /usr/share/yunohost/helpers.d/print 2019-03-18 20:47:05,876: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-18 20:47:05,877: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/psql ']' 2019-03-18 20:47:05,878: DEBUG - ++ . /usr/share/yunohost/helpers.d/psql 2019-03-18 20:47:05,879: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-18 20:47:05,880: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']' 2019-03-18 20:47:05,881: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting 2019-03-18 20:47:05,881: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-18 20:47:05,882: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']' 2019-03-18 20:47:05,883: DEBUG - ++ . /usr/share/yunohost/helpers.d/string 2019-03-18 20:47:05,884: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-18 20:47:05,885: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/system ']' 2019-03-18 20:47:05,886: DEBUG - ++ . /usr/share/yunohost/helpers.d/system 2019-03-18 20:47:05,887: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-18 20:47:05,887: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']' 2019-03-18 20:47:05,888: DEBUG - ++ . /usr/share/yunohost/helpers.d/user 2019-03-18 20:47:05,889: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2019-03-18 20:47:05,890: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']' 2019-03-18 20:47:05,891: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils 2019-03-18 20:47:05,892: DEBUG - + ynh_abort_if_errors 2019-03-18 20:47:05,892: DEBUG - + set -eu 2019-03-18 20:47:05,893: DEBUG - + trap ynh_exit_properly EXIT 2019-03-18 20:47:05,894: DEBUG - + source ./experimental_helper.sh 2019-03-18 20:47:05,895: DEBUG - +++ uname -m 2019-03-18 20:47:05,896: DEBUG - +++ grep 64 2019-03-18 20:47:05,897: DEBUG - ++ '[' -n aarch64 ']' 2019-03-18 20:47:05,897: DEBUG - ++ architecture=x86-64 2019-03-18 20:47:05,898: DEBUG - + source ./_common.sh 2019-03-18 20:47:05,899: DEBUG - ++ app=seafile 2019-03-18 20:47:05,900: DEBUG - ++ [[ -e ../settings/manifest.json ]] 2019-03-18 20:47:05,901: DEBUG - ++ [[ -e ../manifest.json ]] 2019-03-18 20:47:05,901: DEBUG - +++ ynh_app_upstream_version 2019-03-18 20:47:05,902: DEBUG - +++ manifest_path=../manifest.json 2019-03-18 20:47:05,903: DEBUG - +++ '[' '!' -e ../manifest.json ']' 2019-03-18 20:47:05,904: DEBUG - ++++ ynh_read_manifest ../manifest.json version 2019-03-18 20:47:05,905: DEBUG - ++++ manifest=../manifest.json 2019-03-18 20:47:05,906: DEBUG - ++++ key=version 2019-03-18 20:47:05,906: DEBUG - ++++ python3 -c 'import sys, json;print(json.load(open('\''../manifest.json'\'', encoding='\''utf-8'\''))['\''version'\''])' 2019-03-18 20:47:06,209: DEBUG - +++ version_key=6.3.4~ynh1 2019-03-18 20:47:06,211: DEBUG - +++ echo 6.3.4 2019-03-18 20:47:06,212: DEBUG - ++ seafile_version=6.3.4 2019-03-18 20:47:06,213: DEBUG - + domain=toto.fr 2019-03-18 20:47:06,214: DEBUG - ++ ynh_normalize_url_path /seafile 2019-03-18 20:47:06,214: DEBUG - ++ local path_url=/seafile 2019-03-18 20:47:06,215: DEBUG - ++ test -n /seafile 2019-03-18 20:47:06,216: DEBUG - ++ '[' / '!=' / ']' 2019-03-18 20:47:06,217: DEBUG - ++ '[' e == / ']' 2019-03-18 20:47:06,218: DEBUG - ++ echo /seafile 2019-03-18 20:47:06,218: DEBUG - + path_url=/seafile 2019-03-18 20:47:06,219: DEBUG - + server_name=Seafile 2019-03-18 20:47:06,220: DEBUG - + admin=XXXXXX 2019-03-18 20:47:06,221: DEBUG - + admin_password='XXXXXX' 2019-03-18 20:47:06,222: DEBUG - + is_public=1 2019-03-18 20:47:06,223: DEBUG - + seafile_data=/home/yunohost.app/seafile-data 2019-03-18 20:47:06,223: DEBUG - + final_path=/opt/yunohost/seafile 2019-03-18 20:47:06,224: DEBUG - + seafile_user=seafile 2019-03-18 20:47:06,225: DEBUG - + [[ /seafile == \/ ]] 2019-03-18 20:47:06,226: DEBUG - + path_url2=/seafile/ 2019-03-18 20:47:06,227: DEBUG - ++ ynh_webpath_available toto.fr /seafile 2019-03-18 20:47:06,227: DEBUG - ++ local domain=toto.fr 2019-03-18 20:47:06,228: DEBUG - ++ local path=/seafile 2019-03-18 20:47:06,229: DEBUG - ++ sudo yunohost domain url-available toto.fr /seafile 2019-03-18 20:47:08,242: DEBUG - + test True == True 2019-03-18 20:47:08,243: DEBUG - + ynh_webpath_register seafile toto.fr /seafile 2019-03-18 20:47:08,244: DEBUG - + local app=seafile 2019-03-18 20:47:08,245: DEBUG - + local domain=toto.fr 2019-03-18 20:47:08,246: DEBUG - + local path=/seafile 2019-03-18 20:47:08,247: DEBUG - + sudo yunohost app register-url seafile toto.fr /seafile 2019-03-18 20:47:10,359: DEBUG - + test '!' -e /opt/yunohost/seafile 2019-03-18 20:47:10,361: DEBUG - ++ ynh_find_port 8000 2019-03-18 20:47:10,362: DEBUG - ++ local port=8000 2019-03-18 20:47:10,363: DEBUG - ++ test -n 8000 2019-03-18 20:47:10,363: DEBUG - ++ netcat -z 127.0.0.1 8000 2019-03-18 20:47:10,364: DEBUG - ++ echo 8000 2019-03-18 20:47:10,365: DEBUG - + seahub_port=8000 2019-03-18 20:47:10,366: DEBUG - ++ ynh_find_port 8082 2019-03-18 20:47:10,367: DEBUG - ++ local port=8082 2019-03-18 20:47:10,368: DEBUG - ++ test -n 8082 2019-03-18 20:47:10,369: DEBUG - ++ netcat -z 127.0.0.1 8082 2019-03-18 20:47:10,370: DEBUG - ++ echo 8082 2019-03-18 20:47:10,371: DEBUG - + fileserver_port=8082 2019-03-18 20:47:10,371: DEBUG - ++ ynh_find_port 8080 2019-03-18 20:47:10,372: DEBUG - ++ local port=8080 2019-03-18 20:47:10,373: DEBUG - ++ test -n 8080 2019-03-18 20:47:10,374: DEBUG - ++ netcat -z 127.0.0.1 8080 2019-03-18 20:47:10,375: DEBUG - ++ echo 8080 2019-03-18 20:47:10,376: DEBUG - + webdav_port=8080 2019-03-18 20:47:10,377: DEBUG - + ynh_app_setting_set seafile server_name Seafile 2019-03-18 20:47:10,378: DEBUG - + sudo yunohost app setting seafile server_name --value=Seafile --quiet 2019-03-18 20:47:12,089: DEBUG - + ynh_app_setting_set seafile final_path /opt/yunohost/seafile 2019-03-18 20:47:12,090: DEBUG - + sudo yunohost app setting seafile final_path --value=/opt/yunohost/seafile --quiet 2019-03-18 20:47:13,904: DEBUG - + ynh_app_setting_set seafile seafile_user seafile 2019-03-18 20:47:13,906: DEBUG - + sudo yunohost app setting seafile seafile_user --value=seafile --quiet 2019-03-18 20:47:15,516: DEBUG - + ynh_app_setting_set seafile admin XXXXXX 2019-03-18 20:47:15,517: DEBUG - + sudo yunohost app setting seafile admin --value=XXXXXX --quiet 2019-03-18 20:47:16,926: DEBUG - + ynh_app_setting_set seafile seahub_port 8000 2019-03-18 20:47:16,927: DEBUG - + sudo yunohost app setting seafile seahub_port --value=8000 --quiet 2019-03-18 20:47:18,435: DEBUG - + ynh_app_setting_set seafile fileserver_port 8082 2019-03-18 20:47:18,436: DEBUG - + sudo yunohost app setting seafile fileserver_port --value=8082 --quiet 2019-03-18 20:47:19,843: DEBUG - + ynh_app_setting_set seafile webdav_port 8080 2019-03-18 20:47:19,844: DEBUG - + sudo yunohost app setting seafile webdav_port --value=8080 --quiet 2019-03-18 20:47:21,251: DEBUG - + ynh_app_setting_set seafile is_public 1 2019-03-18 20:47:21,252: DEBUG - + sudo yunohost app setting seafile is_public --value=1 --quiet 2019-03-18 20:47:22,759: DEBUG - + ynh_app_setting_set seafile installed_version 6.3.4 2019-03-18 20:47:22,760: DEBUG - + sudo yunohost app setting seafile installed_version --value=6.3.4 --quiet 2019-03-18 20:47:24,167: DEBUG - ++ yunohost user info XXXXXX 2019-03-18 20:47:24,169: DEBUG - ++ sed 's/mail: //g' 2019-03-18 20:47:24,170: DEBUG - ++ grep mail: 2019-03-18 20:47:25,777: DEBUG - + admin_email=XXXXXX@toto.fr 2019-03-18 20:47:25,778: DEBUG - + install_dependance 2019-03-18 20:47:25,779: DEBUG - + ynh_install_app_dependencies python2.7 python-pip python-setuptools python-simplejson python-imaging python-mysqldb python-flup expect python-requests python-dev libjpeg62-turbo-dev zlib1g-dev 2019-03-18 20:47:25,780: DEBUG - + local 'dependencies=python2.7 python-pip python-setuptools python-simplejson python-imaging python-mysqldb python-flup expect python-requests python-dev libjpeg62-turbo-dev zlib1g-dev' 2019-03-18 20:47:25,781: DEBUG - + local 'dependencies=python2.7, python-pip, python-setuptools, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, libjpeg62-turbo-dev, zlib1g-dev' 2019-03-18 20:47:25,782: DEBUG - + local 'dependencies=python2.7, python-pip, python-setuptools, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, libjpeg62-turbo-dev, zlib1g-dev' 2019-03-18 20:47:25,783: DEBUG - + local manifest_path=../manifest.json 2019-03-18 20:47:25,784: DEBUG - + '[' '!' -e ../manifest.json ']' 2019-03-18 20:47:25,785: DEBUG - ++ grep '\"version\": ' ../manifest.json 2019-03-18 20:47:25,786: DEBUG - ++ cut -d '"' -f 4 2019-03-18 20:47:25,787: DEBUG - + local version=6.3.4~ynh1 2019-03-18 20:47:25,788: DEBUG - + '[' 10 -eq 0 ']' 2019-03-18 20:47:25,788: DEBUG - + local dep_app=seafile 2019-03-18 20:47:25,789: DEBUG - + cat 2019-03-18 20:47:25,790: DEBUG - + ynh_package_install_from_equivs /tmp/seafile-ynh-deps.control 2019-03-18 20:47:25,791: DEBUG - + local controlfile=/tmp/seafile-ynh-deps.control 2019-03-18 20:47:25,792: DEBUG - ++ grep '^Package: ' /tmp/seafile-ynh-deps.control 2019-03-18 20:47:25,793: DEBUG - ++ cut '-d ' -f 2 2019-03-18 20:47:25,794: DEBUG - + local pkgname=seafile-ynh-deps 2019-03-18 20:47:25,795: DEBUG - ++ grep '^Version: ' /tmp/seafile-ynh-deps.control 2019-03-18 20:47:25,795: DEBUG - ++ cut '-d ' -f 2 2019-03-18 20:47:25,796: DEBUG - + local pkgversion=6.3.4~ynh1 2019-03-18 20:47:25,797: DEBUG - + [[ -z seafile-ynh-deps ]] 2019-03-18 20:47:25,798: DEBUG - + [[ -z 6.3.4~ynh1 ]] 2019-03-18 20:47:25,799: DEBUG - + ynh_package_update 2019-03-18 20:47:25,800: DEBUG - + ynh_apt update 2019-03-18 20:47:25,801: DEBUG - + ynh_wait_dpkg_free 2019-03-18 20:47:25,801: DEBUG - + local try 2019-03-18 20:47:25,802: DEBUG - ++ seq 1 17 2019-03-18 20:47:25,803: DEBUG - + for try in seq 1 17 2019-03-18 20:47:25,804: DEBUG - + sudo lsof /var/lib/dpkg/lock 2019-03-18 20:47:26,207: DEBUG - + return 0 2019-03-18 20:47:26,208: DEBUG - + DEBIAN_FRONTEND=noninteractive 2019-03-18 20:47:26,209: DEBUG - + sudo apt-get -y update 2019-03-18 20:47:26,611: DEBUG - Hit:1 http://security.debian.org stretch/updates InRelease 2019-03-18 20:47:26,613: DEBUG - Ign:2 http://deb.debian.org/debian stretch InRelease 2019-03-18 20:47:26,614: DEBUG - Hit:3 http://deb.debian.org/debian stretch-updates InRelease 2019-03-18 20:47:26,615: DEBUG - Hit:4 http://deb.debian.org/debian stretch-backports InRelease 2019-03-18 20:47:26,615: DEBUG - Hit:5 http://forge.yunohost.org/debian stretch InRelease 2019-03-18 20:47:26,616: DEBUG - Hit:6 http://deb.debian.org/debian stretch Release 2019-03-18 20:47:26,718: DEBUG - Hit:7 http://ppa.launchpad.net/scaleway/stable/ubuntu bionic InRelease 2019-03-18 20:47:33,046: DEBUG - Reading package lists... 2019-03-18 20:47:33,148: DEBUG - ++ mktemp -d 2019-03-18 20:47:33,149: DEBUG - + local TMPDIR=/tmp/tmp.Icf8yS5SfW 2019-03-18 20:47:33,150: DEBUG - + echo 10 2019-03-18 20:47:33,151: DEBUG - + ynh_wait_dpkg_free 2019-03-18 20:47:33,151: DEBUG - + local try 2019-03-18 20:47:33,152: DEBUG - ++ seq 1 17 2019-03-18 20:47:33,153: DEBUG - + for try in seq 1 17 2019-03-18 20:47:33,154: DEBUG - + sudo lsof /var/lib/dpkg/lock 2019-03-18 20:47:33,658: DEBUG - + return 0 2019-03-18 20:47:33,659: DEBUG - + cp /tmp/seafile-ynh-deps.control /tmp/tmp.Icf8yS5SfW/control 2019-03-18 20:47:33,660: DEBUG - + cd /tmp/tmp.Icf8yS5SfW 2019-03-18 20:47:33,661: DEBUG - + equivs-build ./control 2019-03-18 20:47:36,675: DEBUG - + dpkg --force-depends -i ./seafile-ynh-deps_6.3.4~ynh1_all.deb 2019-03-18 20:47:36,778: DEBUG - Selecting previously unselected package seafile-ynh-deps. 2019-03-18 20:47:36,880: DEBUG - (Reading database ... 51980 files and directories currently installed.) 2019-03-18 20:47:36,881: DEBUG - Preparing to unpack .../seafile-ynh-deps_6.3.4~ynh1_all.deb ... 2019-03-18 20:47:36,882: DEBUG - Unpacking seafile-ynh-deps (6.3.4~ynh1) ... 2019-03-18 20:47:36,984: DEBUG - dpkg: seafile-ynh-deps: dependency problems, but configuring anyway as you requested: 2019-03-18 20:47:36,985: DEBUG - seafile-ynh-deps depends on python-simplejson; however: 2019-03-18 20:47:36,986: DEBUG - Package python-simplejson is not installed. 2019-03-18 20:47:36,987: DEBUG - seafile-ynh-deps depends on python-imaging; however: 2019-03-18 20:47:36,987: DEBUG - Package python-imaging is not installed. 2019-03-18 20:47:36,988: DEBUG - seafile-ynh-deps depends on python-mysqldb; however: 2019-03-18 20:47:36,989: DEBUG - Package python-mysqldb is not installed. 2019-03-18 20:47:36,990: DEBUG - seafile-ynh-deps depends on python-flup; however: 2019-03-18 20:47:36,992: DEBUG - Package python-flup is not installed. 2019-03-18 20:47:36,993: DEBUG - seafile-ynh-deps depends on expect; however: 2019-03-18 20:47:36,994: DEBUG - Package expect is not installed. 2019-03-18 20:47:36,994: DEBUG - seafile-ynh-deps depends on libjpeg62-turbo-dev; however: 2019-03-18 20:47:36,995: DEBUG - Package libjpeg62-turbo-dev is not installed. 2019-03-18 20:47:36,996: DEBUG - seafile-ynh-deps depends on zlib1g-dev; however: 2019-03-18 20:47:36,997: DEBUG - Package zlib1g-dev is not installed. 2019-03-18 20:47:36,998: DEBUG - 2019-03-18 20:47:36,999: DEBUG - Setting up seafile-ynh-deps (6.3.4~ynh1) ... 2019-03-18 20:47:37,101: DEBUG - + ynh_package_install -f 2019-03-18 20:47:37,102: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f 2019-03-18 20:47:37,103: DEBUG - + ynh_wait_dpkg_free 2019-03-18 20:47:37,103: DEBUG - + local try 2019-03-18 20:47:37,104: DEBUG - ++ seq 1 17 2019-03-18 20:47:37,105: DEBUG - + for try in seq 1 17 2019-03-18 20:47:37,106: DEBUG - + sudo lsof /var/lib/dpkg/lock 2019-03-18 20:47:37,508: DEBUG - + return 0 2019-03-18 20:47:37,509: DEBUG - + DEBIAN_FRONTEND=noninteractive 2019-03-18 20:47:37,510: DEBUG - + sudo apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f 2019-03-18 20:47:38,214: DEBUG - Reading package lists... 2019-03-18 20:47:38,919: DEBUG - Building dependency tree... 2019-03-18 20:47:38,920: DEBUG - Reading state information... 2019-03-18 20:47:39,524: DEBUG - Correcting dependencies... Done 2019-03-18 20:47:40,429: DEBUG - The following additional packages will be installed: 2019-03-18 20:47:40,430: DEBUG - expect libjpeg62-turbo-dev python-flup python-imaging python-mysqldb 2019-03-18 20:47:40,431: DEBUG - python-pil python-simplejson tcl-expect zlib1g-dev 2019-03-18 20:47:40,432: DEBUG - Suggested packages: 2019-03-18 20:47:40,433: DEBUG - python-egenix-mxdatetime python-mysqldb-dbg python-pil-doc python-pil-dbg 2019-03-18 20:47:40,434: DEBUG - The following NEW packages will be installed: 2019-03-18 20:47:40,435: DEBUG - expect libjpeg62-turbo-dev python-flup python-imaging python-mysqldb 2019-03-18 20:47:40,435: DEBUG - python-pil python-simplejson tcl-expect zlib1g-dev 2019-03-18 20:47:43,148: DEBUG - 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 2019-03-18 20:47:43,149: DEBUG - Need to get 0 B/1,220 kB of archives. 2019-03-18 20:47:43,150: DEBUG - After this operation, 3,627 kB of additional disk space will be used. 2019-03-18 20:47:43,251: DEBUG - Selecting previously unselected package tcl-expect:arm64. 2019-03-18 20:47:43,353: 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 ... 51984 files and directories currently installed.) 2019-03-18 20:47:43,354: DEBUG - Preparing to unpack .../0-tcl-expect_5.45-7+deb9u1_arm64.deb ... 2019-03-18 20:47:43,355: DEBUG - Unpacking tcl-expect:arm64 (5.45-7+deb9u1) ... 2019-03-18 20:47:43,557: DEBUG - Selecting previously unselected package expect. 2019-03-18 20:47:43,558: DEBUG - Preparing to unpack .../1-expect_5.45-7+deb9u1_arm64.deb ... 2019-03-18 20:47:43,559: DEBUG - Unpacking expect (5.45-7+deb9u1) ... 2019-03-18 20:47:43,662: DEBUG - Selecting previously unselected package libjpeg62-turbo-dev:arm64. 2019-03-18 20:47:43,766: DEBUG - Preparing to unpack .../2-libjpeg62-turbo-dev_1%3a1.5.1-2_arm64.deb ... 2019-03-18 20:47:43,767: DEBUG - Unpacking libjpeg62-turbo-dev:arm64 (1:1.5.1-2) ... 2019-03-18 20:47:43,869: DEBUG - Selecting previously unselected package python-flup. 2019-03-18 20:47:43,871: DEBUG - Preparing to unpack .../3-python-flup_1.0.2-5_all.deb ... 2019-03-18 20:47:43,872: DEBUG - Unpacking python-flup (1.0.2-5) ... 2019-03-18 20:47:44,074: DEBUG - Selecting previously unselected package python-pil:arm64. 2019-03-18 20:47:44,075: DEBUG - Preparing to unpack .../4-python-pil_4.0.0-4_arm64.deb ... 2019-03-18 20:47:44,076: DEBUG - Unpacking python-pil:arm64 (4.0.0-4) ... 2019-03-18 20:47:44,378: DEBUG - Selecting previously unselected package python-imaging. 2019-03-18 20:47:44,379: DEBUG - Preparing to unpack .../5-python-imaging_4.0.0-4_all.deb ... 2019-03-18 20:47:44,380: DEBUG - Unpacking python-imaging (4.0.0-4) ... 2019-03-18 20:47:44,482: DEBUG - Selecting previously unselected package python-mysqldb. 2019-03-18 20:47:44,483: DEBUG - Preparing to unpack .../6-python-mysqldb_1.3.7-1.1_arm64.deb ... 2019-03-18 20:47:44,484: DEBUG - Unpacking python-mysqldb (1.3.7-1.1) ... 2019-03-18 20:47:44,686: DEBUG - Selecting previously unselected package python-simplejson. 2019-03-18 20:47:44,687: DEBUG - Preparing to unpack .../7-python-simplejson_3.10.0-1_arm64.deb ... 2019-03-18 20:47:44,688: DEBUG - Unpacking python-simplejson (3.10.0-1) ... 2019-03-18 20:47:44,790: DEBUG - Selecting previously unselected package zlib1g-dev:arm64. 2019-03-18 20:47:44,892: DEBUG - Preparing to unpack .../8-zlib1g-dev_1%3a1.2.8.dfsg-5_arm64.deb ... 2019-03-18 20:47:44,893: DEBUG - Unpacking zlib1g-dev:arm64 (1:1.2.8.dfsg-5) ... 2019-03-18 20:47:45,095: DEBUG - Setting up python-simplejson (3.10.0-1) ... 2019-03-18 20:47:45,497: DEBUG - Processing triggers for libc-bin (2.24-11+deb9u4) ... 2019-03-18 20:47:45,498: DEBUG - Setting up python-mysqldb (1.3.7-1.1) ... 2019-03-18 20:47:45,901: DEBUG - Setting up tcl-expect:arm64 (5.45-7+deb9u1) ... 2019-03-18 20:47:45,903: DEBUG - Processing triggers for man-db (2.7.6.1-2) ... 2019-03-18 20:47:46,508: DEBUG - Setting up python-flup (1.0.2-5) ... 2019-03-18 20:47:47,012: DEBUG - Setting up libjpeg62-turbo-dev:arm64 (1:1.5.1-2) ... 2019-03-18 20:47:47,114: DEBUG - Setting up python-pil:arm64 (4.0.0-4) ... 2019-03-18 20:47:48,020: DEBUG - Setting up zlib1g-dev:arm64 (1:1.2.8.dfsg-5) ... 2019-03-18 20:47:48,122: DEBUG - Setting up expect (5.45-7+deb9u1) ... 2019-03-18 20:47:48,123: DEBUG - Setting up python-imaging (4.0.0-4) ... 2019-03-18 20:47:48,426: DEBUG - Processing triggers for libc-bin (2.24-11+deb9u4) ... 2019-03-18 20:47:49,438: DEBUG - + [[ -n /tmp/tmp.Icf8yS5SfW ]] 2019-03-18 20:47:49,439: DEBUG - + rm -rf /tmp/tmp.Icf8yS5SfW 2019-03-18 20:47:49,541: DEBUG - + ynh_package_is_installed seafile-ynh-deps 2019-03-18 20:47:49,543: DEBUG - + ynh_wait_dpkg_free 2019-03-18 20:47:49,544: DEBUG - + local try 2019-03-18 20:47:49,545: DEBUG - ++ seq 1 17 2019-03-18 20:47:49,546: DEBUG - + for try in seq 1 17 2019-03-18 20:47:49,547: DEBUG - + sudo lsof /var/lib/dpkg/lock 2019-03-18 20:47:50,051: DEBUG - + return 0 2019-03-18 20:47:50,053: DEBUG - + dpkg-query -W -f '${Status}' seafile-ynh-deps 2019-03-18 20:47:50,054: DEBUG - + grep -c 'ok installed' 2019-03-18 20:47:50,155: DEBUG - + rm /tmp/seafile-ynh-deps.control 2019-03-18 20:47:50,157: DEBUG - + ynh_app_setting_set seafile apt_dependencies python2.7, python-pip, python-setuptools, python-simplejson, python-imaging, python-mysqldb, python-flup, expect, python-requests, python-dev, libjpeg62-turbo-dev, zlib1g-dev 2019-03-18 20:47:50,159: DEBUG - + sudo yunohost app setting seafile apt_dependencies --value=python2.7, --quiet 2019-03-18 20:47:51,578: DEBUG - ++ lsb_release --codename --short 2019-03-18 20:47:51,982: DEBUG - + '[' stretch = jessie ']' 2019-03-18 20:47:51,983: DEBUG - + pip install --upgrade pillow moviepy 2019-03-18 20:48:02,462: DEBUG - Requirement already up-to-date: pillow in /usr/local/lib/python2.7/dist-packages 2019-03-18 20:48:02,877: DEBUG - Requirement already up-to-date: moviepy in /usr/local/lib/python2.7/dist-packages 2019-03-18 20:48:03,382: DEBUG - Requirement already up-to-date: decorator<5.0,>=4.0.2 in /usr/local/lib/python2.7/dist-packages (from moviepy) 2019-03-18 20:48:04,188: DEBUG - Requirement already up-to-date: requests<3.0,>=2.8.1 in /usr/local/lib/python2.7/dist-packages (from moviepy) 2019-03-18 20:48:07,711: DEBUG - Requirement already up-to-date: numpy in /usr/local/lib/python2.7/dist-packages (from moviepy) 2019-03-18 20:48:08,823: DEBUG - Collecting imageio-ffmpeg>=0.2.0 (from moviepy) 2019-03-18 20:48:09,630: DEBUG - Downloading https://files.pythonhosted.org/packages/21/06/71fda709fea4ed4852fbb12c13c33c86040717302b71ad369474d1fdfe2e/imageio-ffmpeg-0.2.0.tar.gz 2019-03-18 20:48:12,750: WARNING - imageio-ffmpeg requires Python '>=3.4' but the running Python is 2.7.13 2019-03-18 20:48:12,954: DEBUG - + ynh_exit_properly 2019-03-18 20:48:12,955: WARNING - !! 2019-03-18 20:48:12,956: DEBUG - + local exit_code=1 2019-03-18 20:48:12,957: WARNING - seafile's script has encountered an error. Its execution was cancelled. 2019-03-18 20:48:12,959: DEBUG - + '[' 1 -eq 0 ']' 2019-03-18 20:48:12,959: WARNING - !! 2019-03-18 20:48:12,961: DEBUG - + trap '' EXIT 2019-03-18 20:48:12,962: DEBUG - + set +eu 2019-03-18 20:48:12,963: DEBUG - + echo -e '!!\n seafile'\''s script has encountered an error. Its execution was cancelled.\n!!' 2019-03-18 20:48:12,964: DEBUG - + type -t ynh_clean_setup 2019-03-18 20:48:12,965: DEBUG - + ynh_clean_setup 2019-03-18 20:48:12,966: DEBUG - + pkill -f seafile-controller 2019-03-18 20:48:12,967: DEBUG - + pkill -f seaf-server 2019-03-18 20:48:12,968: DEBUG - + pkill -f ccnet-server 2019-03-18 20:48:13,070: DEBUG - + pkill -f seahub 2019-03-18 20:48:13,071: WARNING - 2019-03-18 20:48:13,072: DEBUG - + ynh_die 2019-03-18 20:48:13,073: DEBUG - + echo '' 2019-03-18 20:48:13,074: DEBUG - + exit 1

Josue-T commented 5 years ago

Really strange, I can't repoduce your bug. I think that it's due to a bug some days in the pip dependances, but I'm not sure.

gabrielcossette commented 5 years ago

An installation from a fresh Yunohost works but I was able to reproduce the bug if I uninstall and then reinstall the application.

Also, my user was not an admin in Seafile but I'll try to investigate more and open a separate bug report.

Josue-T commented 5 years ago

I found the issue. So normally it should be fixed on master and testing.

Don't hesitate to reopen this issue if this issue still not fixed.