Seafile fresh install Ubuntu 24 not working

I really want to give seafile a try, but I cannot get it to work. I thought I had to install merely the dependencies/requirements and a database, then seafile.sh and seahub.sh, but seahub always fails to start. There is no error message in the logs. What can I do?

Für Debug: You need to edit gunicorn.conf.py and change daemon = True into = False.
When you then start seahub (./seahub.sh start) it gives you a meaningful error message.

Don’t forget to change it afterward back to True otherwise then starting the service it will stop after a while with a timeout.

1 Like

Thanks. Well, I actually got it to work. It was probably a python dependency issue. The next day, my server had no network connection anymore. Only a reinstall fixed it. But no problem, right? I’ll just do it the same way I did yesterday…

nope… now creation of the admin user always fails and again, there is nothing in the log file.

I’ve been a sysadmin for 10 years and I’m not an expert programmer, but I’m not stupid. There are literally official instructions on how to install it. I have no idea why creation of the admin user fails today. The mysql setup script managed to create the databases just fine. And no, there is no auth plugin problem. Both, seahub and seafile are launching just fine. I just can’t seem to create an admin account today. Not even when completely redoing the whole installation. (including purging and reinstalling MariaDB completely) Not with the reset admin sh script either. It says no connection, even though mysql -u seafile -ppassword works.

Ridiculous. I’m done with this. Thanks for your help.