在ubutn18.04 server里面安装seafile 7.1.0 出现下面的提示,怎么解呢


#1

安装是用这个快捷安装脚本安装的: wget https://raw.githubusercontent.com/haiwen/seafile-server-installer-cn/master/seafile-server-ubuntu-amd64-http

The directory ‘/home/bevinwo/.cache/pip/http’ or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
The directory ‘/home/bevinwo/.cache/pip’ or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.

而且安装到后面,就卡住跑不下去了
Downloading https://files.pythonhosted.org/packages/19/5e/23dcc0ce3cc2abe92efd3cd61d764bee6ccdf1b667a1fb566f45dc249953/Pillow-7.0.0-cp36-cp36m-manylinux1_x86_64.whl (2.1MB)
2% |█ | 61kB 1.1kB/s eta 0:29:49


#2

挂代理,或者使用pip手动安装


#3

谢谢!前面的过了,但是最好创建数据库时,fail,我是用sudo安装的

Setting up libfcgi-perl (0.78-2build1) …
Setting up libdbi-perl (1.640-1) …
Setting up mariadb-server-core-10.1 (1:10.1.43-0ubuntu0.18.04.1) …
Setting up libhtml-template-perl (2.97-1) …
Setting up mariadb-client-core-10.1 (1:10.1.43-0ubuntu0.18.04.1) …
Setting up libcgi-fast-perl (1:2.13-1) …
Setting up libdbd-mysql-perl (4.046-1) …
Setting up mariadb-client-10.1 (1:10.1.43-0ubuntu0.18.04.1) …
Setting up mariadb-server-10.1 (1:10.1.43-0ubuntu0.18.04.1) …
Created symlink /etc/systemd/system/mysql.service → /lib/systemd/system/mariadb.service.
Created symlink /etc/systemd/system/mysqld.service → /lib/systemd/system/mariadb.service.
Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service.
Setting up mariadb-server (1:10.1.43-0ubuntu0.18.04.1) …
Processing triggers for libc-bin (2.27-3ubuntu1) …
Processing triggers for systemd (237-3ubuntu10.29) …
Processing triggers for ureadahead (0.100.0-21) …
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 40.0M 100 40.0M 0 0 264k 0 0:02:34 0:02:34 --:–:-- 222k
Checking python on this machine …

verifying password of user root …
verifying password of user root … done


This is your configuration

server name:            seafile
server ip/domain:       127.0.0.1

seafile data dir:       /opt/seafile/seafile-data
fileserver port:        8082

database:               create new
ccnet database:         ccnet_db
seafile database:       seafile_db
seahub database:        seahub_db
database user:          seafile

Error: Failed to create database ccnet_db: (1006, ‘Can’t create database ‘ccnet_db’ (errno: 28 “No space left on device”)’)


#4

No space left on device,设备没有空间,检查你的目录和磁盘空间


#5

谢谢,终于跑起来了

对于seafile的数据备份,有几个地方不明白
1、seafile-data目前是包含了哪些数据:用户同步数据,用户账号数据?
2、若想对seafile数据做一个备份,当重新干净安装seafile时,从这个备份恢复,就不但可以恢复用户信息, 还可以恢复对应用的同步的数据到这个干净的seafile,应该怎样操作呢