I have a fresh installation on a raspberry pi 4b with MySQL – I followed the instructions here
the seafile server start just fint, but seahub does not: Error:Seahub failed to start. Please try to run “./seahub.sh start” again
the log files are not helpful (see below).
I have tried changing the port (as I have another seafile server running on my LAN), but changing the port in gunicorn.conf.py and in ccnet.conf makes no difference (when starting it still lists 8000 as the port, despite the changes in conf files).
I have googled this quite a lot but I’m none the wiser.
I added DEBUG=true to the seahub_settings.py in …/conf – but still I’m not really getting any useful information to help me move on here.
I’ve rebooted several times, with no effect.
What to do to get more debug on the issue?
seafile server 8.0.7 for the RPI, running on Ubuntu server 20.04 on a RPI 4b with external USB SSD.
seahub.log is empty
seafile.log:
2021-09-18 11:29:46 socket file exists, delete it anyway
2021-09-18 11:29:46 …/common/seaf-utils.c(333): Use database Mysql
2021-09-18 11:29:46 http-server.c(192): fileserver: worker_threads = 10
2021-09-18 11:29:46 http-server.c(206): fileserver: fixed_block_size = 8388608
2021-09-18 11:29:46 http-server.c(221): fileserver: web_token_expire_time = 3600
2021-09-18 11:29:46 http-server.c(236): fileserver: max_indexing_threads = 1
2021-09-18 11:29:46 http-server.c(251): fileserver: max_index_processing_threads= 3
2021-09-18 11:29:46 http-server.c(273): fileserver: cluster_shared_temp_file_mode = 600
2021-09-18 11:30:12 start to serve on pipe client
Files are unpacked correctly
$ tree /opt/seafile/ -L 2
/opt/seafile/
├── ccnet
├── conf
│ ├── pycache
│ ├── ccnet.conf
│ ├── gunicorn.conf.py
│ ├── seafdav.conf
│ ├── seafile.conf
│ └── seahub_settings.py
├── logs
│ ├── controller.log
│ ├── onlyoffice.log
│ ├── seafile.log
│ └── seahub.log
├── pids
│ └── seaf-server.pid
├── seafile-data
│ ├── httptemp
│ ├── library-template
│ ├── storage
│ └── tmpfiles
├── seafile-server-8.0.7
│ ├── check_init_admin.py
│ ├── reset-admin.sh
│ ├── runtime
│ ├── seaf-fsck.sh
│ ├── seaf-fuse.sh
│ ├── seaf-gc.sh
│ ├── seafile
│ ├── seafile.sh
│ ├── seahub
│ ├── seahub.sh
│ ├── setup-seafile-mysql.py
│ ├── setup-seafile-mysql.sh
│ ├── setup-seafile.sh
│ ├── sql
│ └── upgrade
├── seafile-server-8.0.7-focal-arm64v8.tar.gz
├── seafile-server-latest → seafile-server-8.0.7
└── seahub-data
└── avatars
I have the database up and running:
$ systemctl status mysql
● mariadb.service - MariaDB 10.3.31 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2021-09-18 10:16:26 UTC; 1h 12min ago
Docs: man:mysqld(8)
systemd - MariaDB Knowledge Base
Process: 2407 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (cod>
Process: 2408 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (co>
Process: 2410 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`c>
Process: 2488 ExecStartPost=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (c>
Process: 2490 ExecStartPost=/etc/mysql/debian-start (code=exited, status=0/SUCCESS)
Main PID: 2457 (mysqld)
Status: “Taking your SQL requests now…”
Tasks: 32 (limit: 9025)
CGroup: /system.slice/mariadb.service
└─2457 /usr/sbin/mysqld