OS: Debian 8
1 Core CPU
1GB RAM
($5 instance from Vultr)
Here’s a log of the installation:
root@my:~# sudo yunohost app install -l Seafile https://github.com/YunoHost-Apps/seafile_ynh --verbose
Downloading...
Extracting...
Done
Checking required packages for seafile...
Available domains:
- matan.xyz
- my.matan.xyz
- git.matan.xyz
- www.matan.xyz
Choose a domain for Seafile (default: my.matan.xyz):
Choose a path for Seafile (default: /seafile):
Choose a name (default: Seafile): Matan Seafile
Choose the admin user for Seafile: matan
Enter a password for the administrator:
Is it a public site ? If you want to use a desktop client or the smartphone app, make Seafile public. [0 | 1] (default: 1):
Executing script '/var/cache/yunohost/from_file/seafile_ynh-master/scripts/install'...
+ source /usr/share/yunohost/helpers
+++ run-parts --list /usr/share/yunohost/helpers.d
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
++ . /usr/share/yunohost/helpers.d/backend
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
++ . /usr/share/yunohost/helpers.d/filesystem
+++ CAN_BIND=1
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
++ . /usr/share/yunohost/helpers.d/ip
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
++ . /usr/share/yunohost/helpers.d/mysql
+++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/network ']'
++ . /usr/share/yunohost/helpers.d/network
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/package ']'
++ . /usr/share/yunohost/helpers.d/package
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/print ']'
++ . /usr/share/yunohost/helpers.d/print
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
++ . /usr/share/yunohost/helpers.d/setting
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/string ']'
++ . /usr/share/yunohost/helpers.d/string
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/system ']'
++ . /usr/share/yunohost/helpers.d/system
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/user ']'
++ . /usr/share/yunohost/helpers.d/user
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
++ . /usr/share/yunohost/helpers.d/utils
+ ynh_abort_if_errors
+ set -eu
+ trap ynh_exit_properly EXIT
+ source ./experimental_helper.sh
+++ grep 64
+++ uname -m
++ '[' -n x86_64 ']'
++ architecture=x86-64
+ source ./_common.sh
++ app=seafile
++ [[ -e ../settings/manifest.json ]]
++ [[ -e ../manifest.json ]]
+++ ynh_app_upstream_version
+++ manifest_path=../manifest.json
+++ '[' '!' -e ../manifest.json ']'
++++ ynh_read_manifest ../manifest.json version
++++ manifest=../manifest.json
++++ key=version
++++ python3 -c 'import sys, json;print(json.load(open('\''../manifest.json'\'', encoding='\''utf-8'\''))['\''version'\''])'
+++ version_key=6.2.5~ynh2
+++ echo 6.2.5
++ seafile_version=6.2.5
+ domain=my.matan.xyz
++ ynh_normalize_url_path /seafile
++ local path_url=/seafile
++ test -n /seafile
++ '[' / '!=' / ']'
++ '[' e == / ']'
++ echo /seafile
+ path=/seafile
+ server_name='Matan Seafile'
+ admin=matan
+ admin_password=PLJ-fYK-tJ5-gyU
+ is_public=1
+ seafile_data=/home/yunohost.app/seafile-data
+ final_path=/opt/yunohost/seafile
+ seafile_user=seafile
+ set_path_2
+ [[ /seafile == \/ ]]
+ path2=/seafile/
++ ynh_webpath_available my.matan.xyz /seafile
++ local domain=my.matan.xyz
++ local path=/seafile
++ sudo yunohost domain url-available my.matan.xyz /seafile
+ test True == True
+ ynh_webpath_register seafile my.matan.xyz /seafile
+ local app=seafile
+ local domain=my.matan.xyz
+ local path=/seafile
+ sudo yunohost app register-url seafile my.matan.xyz /seafile
+ test '!' -e /opt/yunohost/seafile
++ ynh_find_port 8000
++ local port=8000
++ test -n 8000
++ netcat -z 127.0.0.1 8000
++ echo 8000
+ seahub_port=8000
++ ynh_find_port 8082
++ local port=8082
++ test -n 8082
++ netcat -z 127.0.0.1 8082
++ echo 8082
+ fileserver_port=8082
++ ynh_find_port 8080
++ local port=8080
++ test -n 8080
++ netcat -z 127.0.0.1 8080
++ echo 8080
+ webdav_port=8080
+ ynh_app_setting_set seafile server_name Matan Seafile
+ sudo yunohost app setting seafile server_name --value=Matan --quiet
+ ynh_app_setting_set seafile final_path /opt/yunohost/seafile
+ sudo yunohost app setting seafile final_path --value=/opt/yunohost/seafile --quiet
+ ynh_app_setting_set seafile seafile_user seafile
+ sudo yunohost app setting seafile seafile_user --value=seafile --quiet
+ ynh_app_setting_set seafile admin matan
+ sudo yunohost app setting seafile admin --value=matan --quiet
+ ynh_app_setting_set seafile seahub_port 8000
+ sudo yunohost app setting seafile seahub_port --value=8000 --quiet
+ ynh_app_setting_set seafile fileserver_port 8082
+ sudo yunohost app setting seafile fileserver_port --value=8082 --quiet
+ ynh_app_setting_set seafile webdav_port 8080
+ sudo yunohost app setting seafile webdav_port --value=8080 --quiet
+ ynh_app_setting_set seafile is_public 1
+ sudo yunohost app setting seafile is_public --value=1 --quiet
+ ynh_app_setting_set seafile installed_version 6.2.5
+ sudo yunohost app setting seafile installed_version --value=6.2.5 --quiet
++ sed 's/mail: //g'
++ grep mail:
++ yunohost user info matan
+ admin_email=mail@matan.xyz
+ install_dependance
+ ynh_install_app_dependencies python2.7 python-pip python-setuptools python-simplejson python-imaging python-mysqldb python-flup expect python-requests python-dev
+ local 'dependencies=python2.7 python-pip python-setuptools python-simplejson python-imaging python-mysqldb python-flup expect python-requests python-dev'
+ local manifest_path=../manifest.json
+ '[' '!' -e ../manifest.json ']'
++ cut -d '"' -f 4
++ grep '\"version\": ' ../manifest.json
+ local version=6.2.5~ynh2
+ '[' 10 -eq 0 ']'
+ local dep_app=seafile
+ cat
+ ynh_package_install_from_equivs /tmp/seafile-ynh-deps.control
+ local controlfile=/tmp/seafile-ynh-deps.control
+ ynh_package_is_installed equivs
+ grep -c 'ok installed'
+ dpkg-query -W -f '${Status}' equivs
++ cut '-d ' -f 2
++ grep '^Package: ' /tmp/seafile-ynh-deps.control
+ local pkgname=seafile-ynh-deps
++ cut '-d ' -f 2
++ grep '^Version: ' /tmp/seafile-ynh-deps.control
+ local pkgversion=6.2.5~ynh2
+ [[ -z seafile-ynh-deps ]]
+ [[ -z 6.2.5~ynh2 ]]
+ ynh_package_update
+ ynh_apt update
+ DEBIAN_FRONTEND=noninteractive
+ sudo apt-get -y -qq update
++ mktemp -d
+ local TMPDIR=/tmp/tmp.vTzVAYRBph
+ cp /tmp/seafile-ynh-deps.control /tmp/tmp.vTzVAYRBph/control
+ cd /tmp/tmp.vTzVAYRBph
+ equivs-build ./control
Warning: dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
+ sudo dpkg --force-depends -i ./seafile-ynh-deps_6.2.5~ynh2_all.deb
Selecting previously unselected package seafile-ynh-deps.
(Reading database ... 36338 files and directories currently installed.)
Preparing to unpack .../seafile-ynh-deps_6.2.5~ynh2_all.deb ...
Unpacking seafile-ynh-deps (6.2.5~ynh2) ...
dpkg: seafile-ynh-deps: dependency problems, but configuring anyway as you requested:
seafile-ynh-deps depends on python-simplejson; however:
Package python-simplejson is not installed.
seafile-ynh-deps depends on python-imaging; however:
Package python-imaging is not installed.
seafile-ynh-deps depends on python-mysqldb; however:
Package python-mysqldb is not installed.
seafile-ynh-deps depends on python-flup; however:
Package python-flup is not installed.
seafile-ynh-deps depends on expect; however:
Package expect is not installed.
Setting up seafile-ynh-deps (6.2.5~ynh2) ...
+ ynh_package_install -f
+ ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
+ DEBIAN_FRONTEND=noninteractive
+ sudo apt-get -y -qq --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
Selecting previously unselected package libtcl8.6:amd64.
(Reading database ... 36342 files and directories currently installed.)se ...
Preparing to unpack .../libtcl8.6_8.6.2+dfsg-2_amd64.deb ...
Unpacking libtcl8.6:amd64 (8.6.2+dfsg-2) ...
Selecting previously unselected package libwebp5:amd64.
Preparing to unpack .../libwebp5_0.4.1-1.2+b2_amd64.deb ...
Unpacking libwebp5:amd64 (0.4.1-1.2+b2) ...
Selecting previously unselected package libwebpdemux1:amd64.
Preparing to unpack .../libwebpdemux1_0.4.1-1.2+b2_amd64.deb ...
Unpacking libwebpdemux1:amd64 (0.4.1-1.2+b2) ...
Selecting previously unselected package libwebpmux1:amd64.
Preparing to unpack .../libwebpmux1_0.4.1-1.2+b2_amd64.deb ...
Unpacking libwebpmux1:amd64 (0.4.1-1.2+b2) ...
Selecting previously unselected package tcl-expect:amd64.
Preparing to unpack .../tcl-expect_5.45-6_amd64.deb ...
Unpacking tcl-expect:amd64 (5.45-6) ...
Selecting previously unselected package expect.
Preparing to unpack .../expect_5.45-6_amd64.deb ...
Unpacking expect (5.45-6) ...
Selecting previously unselected package python-flup.
Preparing to unpack .../python-flup_1.0.2-4_all.deb ...
Unpacking python-flup (1.0.2-4) ...
Selecting previously unselected package python-pil:amd64.
Preparing to unpack .../python-pil_2.6.1-2+deb8u3_amd64.deb ...
Unpacking python-pil:amd64 (2.6.1-2+deb8u3) ...
Selecting previously unselected package python-imaging.
Preparing to unpack .../python-imaging_2.6.1-2+deb8u3_all.deb ...
Unpacking python-imaging (2.6.1-2+deb8u3) ...
Selecting previously unselected package python-mysqldb.
Preparing to unpack .../python-mysqldb_1.2.3-2.1_amd64.deb ...
Unpacking python-mysqldb (1.2.3-2.1) ...
Selecting previously unselected package python-simplejson.
Preparing to unpack .../python-simplejson_3.6.5-1_amd64.deb ...
Unpacking python-simplejson (3.6.5-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libtcl8.6:amd64 (8.6.2+dfsg-2) ...
Setting up libwebp5:amd64 (0.4.1-1.2+b2) ...
Setting up libwebpdemux1:amd64 (0.4.1-1.2+b2) ...
Setting up libwebpmux1:amd64 (0.4.1-1.2+b2) ...
Setting up tcl-expect:amd64 (5.45-6) ...
Setting up expect (5.45-6) ...
Setting up python-flup (1.0.2-4) ...
Setting up python-pil:amd64 (2.6.1-2+deb8u3) ...
Setting up python-imaging (2.6.1-2+deb8u3) ...
Setting up python-mysqldb (1.2.3-2.1) ...
Setting up python-simplejson (3.6.5-1) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
+ [[ -n /tmp/tmp.vTzVAYRBph ]]
+ rm -rf /tmp/tmp.vTzVAYRBph
+ ynh_package_is_installed seafile-ynh-deps
+ grep -c 'ok installed'
+ dpkg-query -W -f '${Status}' seafile-ynh-deps
+ rm /tmp/seafile-ynh-deps.control
+ 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
+ sudo yunohost app setting seafile apt_dependencies --value=python2.7 --quiet
+ pip install pillow moviepy
Requirement already satisfied (use --upgrade to upgrade): pillow in /usr/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): moviepy in /usr/local/lib/python2.7/dist-packages
Cleaning up...
+ test -e /home/yunohost.app/seafile-data
+ mkdir -p /opt/yunohost/seafile
+ mkdir -p /opt/yunohost/seafile/installed
+ mkdir -p /opt/yunohost/seafile/logs
+ mkdir -p /opt/yunohost/seafile/seafile-data
+ install_source
+ mkdir /opt/yunohost/seafile/seafile-server-6.2.5
+ ynh_setup_source /opt/yunohost/seafile/seafile-server-6.2.5 x86-64
+ local dest_dir=/opt/yunohost/seafile/seafile-server-6.2.5
+ local src_id=x86-64
++ cut -d= -f2-
++ grep SOURCE_URL= /var/cache/yunohost/from_file/seafile_ynh-master/scripts/../conf/x86-64.src
+ local src_url=https://download.seadrive.org/seafile-server_6.2.5_x86-64.tar.gz
++ cut -d= -f2-
++ grep SOURCE_SUM= /var/cache/yunohost/from_file/seafile_ynh-master/scripts/../conf/x86-64.src
+ local src_sum=74f299a01cb159637e788534c78169028d3773f9c1a372ac1daf095ee335c333
++ cut -d= -f2-
++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/seafile_ynh-master/scripts/../conf/x86-64.src
+ local src_sumprg=sha256sum
++ cut -d= -f2-
++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/seafile_ynh-master/scripts/../conf/x86-64.src
+ local src_format=tar.gz
++ cut -d= -f2-
++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/seafile_ynh-master/scripts/../conf/x86-64.src
+ local src_in_subdir=true
++ cut -d= -f2-
++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/seafile_ynh-master/scripts/../conf/x86-64.src
+ local src_filename=
+ src_sumprg=sha256sum
+ src_in_subdir=true
+ src_format=tar.gz
++ tr '[:upper:]' '[:lower:]'
++ echo tar.gz
+ src_format=tar.gz
+ '[' '' = '' ']'
+ src_filename=x86-64.tar.gz
+ local local_src=/opt/yunohost-apps-src/seafile/x86-64.tar.gz
+ test -e /opt/yunohost-apps-src/seafile/x86-64.tar.gz
+ wget -nv -O x86-64.tar.gz https://download.seadrive.org/seafile-server_6.2.5_x86-64.tar.gz
Warning: 2018-04-02 15:39:18 URL:https://download.seadrive.org/seafile-server_6.2.5_x86-64.tar.gz [26132166/26132166] -> "x86-64.tar.gz" [1]
+ sha256sum -c --status
+ echo '74f299a01cb159637e788534c78169028d3773f9c1a372ac1daf095ee335c333 x86-64.tar.gz'
+ mkdir -p /opt/yunohost/seafile/seafile-server-6.2.5
+ '[' tar.gz = zip ']'
+ local strip=
+ true
+ strip='--strip-components 1'
+ [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
+ tar -xf x86-64.tar.gz -C /opt/yunohost/seafile/seafile-server-6.2.5 --strip-components 1
++ wc -l
++ find /var/cache/yunohost/from_file/seafile_ynh-master/scripts/../sources/patches/ -type f -name 'x86-64-*.patch'
+ (( 1 > 0 ))
++ pwd
+ local old_dir=/var/cache/yunohost/from_file/seafile_ynh-master/scripts
+ cd /opt/yunohost/seafile/seafile-server-6.2.5
+ for p in '$YNH_CWD/../sources/patches/${src_id}-*.patch'
+ patch -p1
patching file seahub/seahub/auth/middleware.py
patching file seahub/seahub/base/accounts.py
Hunk #1 succeeded at 494 (offset 98 lines).
patching file seahub/seahub/settings.py
Hunk #1 succeeded at 116 (offset 2 lines).
Hunk #2 succeeded at 245 with fuzz 2 (offset 12 lines).
+ cd /var/cache/yunohost/from_file/seafile_ynh-master/scripts
+ test -e /var/cache/yunohost/from_file/seafile_ynh-master/scripts/../sources/extra_files/x86-64
+ dbuser=seafile
++ ynh_string_random 15
++ sed -n 's/\(.\{15\}\).*/\1/p'
++ tr -c -d A-Za-z0-9
++ dd if=/dev/urandom bs=1 count=200
+ db_pwd=Ab77NYSJfymXwds
+ ynh_app_setting_set seafile mysqlpwd Ab77NYSJfymXwds
+ sudo yunohost app setting seafile mysqlpwd --value=Ab77NYSJfymXwds --quiet
+ ynh_mysql_create_db ccnetdb seafile Ab77NYSJfymXwds
+ local db=ccnetdb
+ local 'sql=CREATE DATABASE ccnetdb;'
+ [[ 3 -gt 1 ]]
+ sql+=' GRANT ALL PRIVILEGES ON ccnetdb.* TO '\''seafile'\''@'\''localhost'\'''
+ [[ -n Ab77NYSJfymXwds ]]
+ sql+=' IDENTIFIED BY '\''Ab77NYSJfymXwds'\'''
+ sql+=' WITH GRANT OPTION;'
+ ynh_mysql_execute_as_root 'CREATE DATABASE ccnetdb; GRANT ALL PRIVILEGES ON ccnetdb.* TO '\''seafile'\''@'\''localhost'\'' IDENTIFIED BY '\''Ab77NYSJfymXwds'\'' WITH GRANT OPTION;'
++ sudo cat /etc/yunohost/mysql
+ ynh_mysql_connect_as root z5ZQe4i6Hc ''
+ mysql -u root --password=z5ZQe4i6Hc -B ''
+ ynh_mysql_create_db seafiledb seafile Ab77NYSJfymXwds
+ local db=seafiledb
+ local 'sql=CREATE DATABASE seafiledb;'
+ [[ 3 -gt 1 ]]
+ sql+=' GRANT ALL PRIVILEGES ON seafiledb.* TO '\''seafile'\''@'\''localhost'\'''
+ [[ -n Ab77NYSJfymXwds ]]
+ sql+=' IDENTIFIED BY '\''Ab77NYSJfymXwds'\'''
+ sql+=' WITH GRANT OPTION;'
+ ynh_mysql_execute_as_root 'CREATE DATABASE seafiledb; GRANT ALL PRIVILEGES ON seafiledb.* TO '\''seafile'\''@'\''localhost'\'' IDENTIFIED BY '\''Ab77NYSJfymXwds'\'' WITH GRANT OPTION;'
++ sudo cat /etc/yunohost/mysql
+ ynh_mysql_connect_as root z5ZQe4i6Hc ''
+ mysql -u root --password=z5ZQe4i6Hc -B ''
+ ynh_mysql_create_db seahubdb seafile Ab77NYSJfymXwds
+ local db=seahubdb
+ local 'sql=CREATE DATABASE seahubdb;'
+ [[ 3 -gt 1 ]]
+ sql+=' GRANT ALL PRIVILEGES ON seahubdb.* TO '\''seafile'\''@'\''localhost'\'''
+ [[ -n Ab77NYSJfymXwds ]]
+ sql+=' IDENTIFIED BY '\''Ab77NYSJfymXwds'\'''
+ sql+=' WITH GRANT OPTION;'
+ ynh_mysql_execute_as_root 'CREATE DATABASE seahubdb; GRANT ALL PRIVILEGES ON seahubdb.* TO '\''seafile'\''@'\''localhost'\'' IDENTIFIED BY '\''Ab77NYSJfymXwds'\'' WITH GRANT OPTION;'
++ sudo cat /etc/yunohost/mysql
+ ynh_mysql_connect_as root z5ZQe4i6Hc ''
+ mysql -u root --password=z5ZQe4i6Hc -B ''
+ ynh_system_user_create seafile /opt/yunohost/seafile
+ ynh_system_user_exists seafile
+ getent passwd seafile
+ '[' 2 -ge 2 ']'
+ local 'user_home_dir=-d /opt/yunohost/seafile'
+ sudo useradd -d /opt/yunohost/seafile --system --user-group seafile --shell /usr/sbin/nologin
+ chmod +x ../conf/install.exp
+ chmod +x /opt/yunohost/seafile/seafile-server-6.2.5/setup-seafile-mysql.sh
+ ../conf/install.exp /opt/yunohost/seafile/seafile-server-6.2.5 Matan Seafile my.matan.xyz /home/yunohost.app/seafile-data 8082 Ab77NYSJfymXwds
spawn /opt/yunohost/seafile/seafile-server-6.2.5/setup-seafile-mysql.sh
Checking python on this machine ...
Checking python module: setuptools ... Done.
Checking python module: python-imaging ... Done.
Checking python module: python-mysqldb ... Done.
-----------------------------------------------------------------
This script will guide you to setup your seafile server using MySQL.
Make sure you have read seafile server manual at
https://github.com/haiwen/seafile/wiki
Press ENTER to continue
-----------------------------------------------------------------
What is the name of the server? It will be displayed on the client.
3 - 15 letters or digits
[ server name ] Matan
What is the ip or domain of the server?
For example: www.mycompany.com, 192.168.1.101
[ This server's ip or domain ] Seafile
Seafile is not a valid ip or domain
What is the ip or domain of the server?
For example: www.mycompany.com, 192.168.1.101
[ This server's ip or domain ] my.matan.xyz
Where do you want to put your seafile data?
Please use a volume with enough free space
[ default "/opt/yunohost/seafile/seafile-data" ] /home/yunohost.app/seafile-data
Which port do you want to use for the seafile fileserver?
[ default "8082" ] 2
-------------------------------------------------------
Please choose a way to initialize seafile databases:
-------------------------------------------------------
[1] Create new ccnet/seafile/seahub databases
[2] Use existing ccnet/seafile/seahub databases
[ 1 or 2 ] localhost
Please choose 1 or 2
-------------------------------------------------------
Please choose a way to initialize seafile databases:
-------------------------------------------------------
[1] Create new ccnet/seafile/seahub databases
[2] Use existing ccnet/seafile/seahub databases
[ 1 or 2 ] 3306
Please choose 1 or 2
-------------------------------------------------------
Please choose a way to initialize seafile databases:
-------------------------------------------------------
[1] Create new ccnet/seafile/seahub databases
[2] Use existing ccnet/seafile/seahub databases
[ 1 or 2 ] seafile
Please choose 1 or 2
-------------------------------------------------------
Please choose a way to initialize seafile databases:
-------------------------------------------------------
[1] Create new ccnet/seafile/seahub databases
[2] Use existing ccnet/seafile/seahub databases
[ 1 or 2 ] 8082
Please choose 1 or 2
-------------------------------------------------------
Please choose a way to initialize seafile databases:
-------------------------------------------------------
[1] Create new ccnet/seafile/seahub databases
[2] Use existing ccnet/seafile/seahub databases
[ 1 or 2 ] ccnetdb
Please choose 1 or 2
-------------------------------------------------------
Please choose a way to initialize seafile databases:
-------------------------------------------------------
[1] Create new ccnet/seafile/seahub databases
[2] Use existing ccnet/seafile/seahub databases
[ 1 or 2 ] seafiledb
Please choose 1 or 2
-------------------------------------------------------
Please choose a way to initialize seafile databases:
-------------------------------------------------------
[1] Create new ccnet/seafile/seahub databases
[2] Use existing ccnet/seafile/seahub databases
[ 1 or 2 ] seahubdb
Please choose 1 or 2
-------------------------------------------------------
Please choose a way to initialize seafile databases:
-------------------------------------------------------
[1] Create new ccnet/seafile/seahub databases
[2] Use existing ccnet/seafile/seahub databases
[ 1 or 2 ]
-------------------------------------------------------
Please choose a way to initialize seafile databases:
-------------------------------------------------------
[1] Create new ccnet/seafile/seahub databases
[2] Use existing ccnet/seafile/seahub databases
[ 1 or 2 ]