Hi,
I installed Seafile 9.0.2 on my Raspberry pi wit the new bullseye.
Everything going well on the installation also the seafile user and the mysql.
But if I try to start the server the first time with this:
seafile@raspberrypi:~/seafile-server-latest $ ./seafile.sh start
Starting seafile server, please wait ...
./seafile.sh: Zeile 143: /home/seafile/seafile-server-9.0.2/seafile/bin/seafile-controller: Datei oder Verzeichnis nicht gefunden
Failed to start seafile server
I see the error Failed to start seafile server.
I have no Idea what the problem can be. In the seafile journal journalctl -u seahub is nothing declared.
Hopefull someone can help me?
EDIT: with ./seahub.sh start-fastcgi I got a error:
LC_ALL is not set in ENV, set to en_US.UTF-8
./seahub.sh: Zeile 220: Warnung: setlocale: LC_ALL: Kann die Regionseinstellungen nicht ändern (en_US.UTF-8): Datei oder Verzeichnis nicht gefunden
Warning: seafile-controller not running. Have you run "./seafile.sh start" ?
I found something here at the forum for adding unit with systemd. But there I got this error
Job for seahub.service failed because the control process exited with error code.
See "systemctl status seahub.service" and "journalctl -xe" for details.
with systemctl status seafile.serviceI got this output:
● seafile.service - Seafile
Loaded: loaded (/etc/systemd/system/seafile.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2022-03-20 23:48:35 GMT; 40s ago
Main PID: 2644 (code=exited, status=1/FAILURE)
CPU: 277ms
Second EDIT:
With the help from here I solved the error /path/to/seafile/seahub.sh: line 210: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such file or directory. But the server still does not start.
Then, there’s no difference between “installation files” and “end application files” in the instructions you’ve linked (which is expected). Looks like you moved some files you shouldn’t have to.
Easier way is probably to clean things and repeat these steps (and following):
Archiv herunterladen, entpacken und in Ordner „installed“ verschieben (sieht einfach schöner aus):
wget https://github.com/haiwen/seafile-rpi/releases/download/v9.0.2/seafile-server-9.0.2-bullseye-arm32v7l.tar.gz
tar xfvz seafile-server-9.0.2-bullseye-arm32v7l.tar.gz
mkdir installed
mv seafile-server-9.0.2-bullseye-arm32v7l.tar.gz installed/
In den entpackten Ordner wechsel und Installation starten:
Hi,
yes your right.
There was files where they not should be.
I startet everting new and the server is running.
But now I have a problem with my nginx. I can’t open the webpage.
I got a Not found or 500 Error.
I installed the seafile on Port 8085 no0t on 8082 so I changed it in the seafile.conf
It looks like okay. All other files are empty.
On the configuration I mentioned on my post before I got a Not found. I thing it stands for a 400er error.
If I try to load http://192.168.178.28/seafhttp directly in the browser I got the 500.
EDIT: I take a look if the port 8085 is open with sudo netstat -pant | grep 8085 and i got this as a output tcp 0 0 0.0.0.0:8085 0.0.0.0:* LISTEN 844/seaf-server should there not stand 127.0.0.1 where actually is print 0 0.0.0.0?
What have I do here wrong?
@Barolo Thank you very much for your help.
I deleted the whole raspberry and start install all again from scratch.
I got in last also a crashed Maria DB and It was enough for me.