Hier eine Zusammenfassung meiner Vorgehensweise. Ich glaube, man bemerkt, dass ich kein Linuxprofi bin
. Kubuntu 20.04 (Daily Build) frisch installiert - keine Probleme
… Minimalinstallation mit Fremdsoftware (Treiber etc.)
… eine Partition /
… eine Partition /home
… User crashy (Systemverwalter)
… Aktualisierungen durchgeführt
. kleinere Programme wie Gnome Laufwerke oder Keepass installiert
. Samba Server per Konsole installiert - keine Probleme
… sudo apt-get install samba-common samba
. sudo su
. adduser seafile
. der Ordner /home/seafile wurde erstellt -> Berechtigung seafile/seafile
. Ordner ‘installled’ (mit dem Downloadarchiv als Inhalt) erstellt und den entpackten Ordner seafile-server-7.1.2 liegen jetzt im Verzeichnis /home/seafile -> Berechtigungen seafile/seafile
als User ‘crashy’ Python 3 installiert
. sudo apt-get install python3 python3-setuptools python3-pip python3-ldap -y
-> keine Fehlermeldung
. sudo pip3 install --timeout=3600 Pillow pylibmc captcha jinja2 sqlalchemy psd-tools
. dann kommt ein > und ich drücke nochmals ENTER - erst dann startet die Installation / der Download
-> Fehlermeldung ‘Failed building wheel for pylibmc’ und weiter unten 3 Zeilen rot mit 'failed with error code 1 in /tmp/pip-install-w_kn5w2d/pylibmc
weiter mit
. pip3 install django-smtp-ssl
mysql-Server nach Anleitung von digital-ocean
. sudo apt update - keine Probleme
. sudo apt install mysql-server - keine Probleme
. sudo mysql_secure_installation
… Validate Password > Y
… Medium 1
… Passworteingabe
… dann alle weiteren Abfragen mit Y beantwortet
-> keine Probleme
. sudo mysql
. SELECT user,authentication_string,plugin,host FROM mysql.user; ergab
… root - auth_socket -
… alle anderen User (wie z.B. mysql.sys) - caching_sha2_password -
dann
. ALTER USER ‘root’@‘localhost’ IDENTIFIED WITH mysql_native_password BY ‘mit meinem Passwort’;
. FLUSH PRIVILEGES;
Ergebnis getestet:
… SELECT user,authentication_string,plugin,host FROM mysql.user;
-> root - mysql_native_password -
Bei alle anderen User (wie z.B. mysql.sys) steht weiterhin - caching_sha2_password - !
Ist das so richtig? Bei meinen vorherigen Versuchen habe ich einmal alle User auf - mysql_native_password - geändert - ohne Erfolg bei der Installation von seafile. Da aber lt. digital-ocean alle user in mysql auf - mysql_native_password - eingestellt sind, ändere ich alle User darauf.
Ergebnis:
debian-sys-maint - mysql_native_password -
mysql.infoschema - mysql_native_password -
mysql.session - mysql_native_password -
mysql.sys - mysql_native_password -
root - mysql_native_password -
. exit
. mysql -u root -p + Passwort -> funktioniert .exit
Jetzt zu Seafile:
. su seafile
. cd /home/seafile/seafile-server-7.1.2
. ./setup-seafile-mysql.sh
… Name des Servers
… als IP habe ich die IP des Servers eingetragen 192.168.178.xx
… Port 8082
… 1 = new database
… localhost für mysql-Server
… Port 3306
… mysql Rootpasswort eingetragen
… mysql-User = seafile (Standard belassen)
… Passwort für seafile
… die database-Namen so belassen
-> keine Probleme
Seafile starten
. ./seafile.sh start
-> keine Probleme
Seahub starten
. ./seahub.sh start
… Emailadresse eingegeben
… Passwort vergeben
und jetzt
Error happend during creating seafile admin
Seahub failed to start
Logs
ccnet.log
. …/common/ccnet-db.c(583): Failed to connect to MySQL: Plugin caching_sha2_password could not be loaded: lib/mariadb/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
seafile.log
. …/common/ccnet-db.c(589): Failed to connect to MySQL: Plugin caching_sha2_password could not be loaded: lib/mariadb/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
repo-mgr.c(3646): Failed to add branch
seafile-session.c(349); Failed to create system default repo.
Jetzt komme ich nicht mehr weiter!
Kennt jemand einen Zauberspruch?
Danke und Grüße
Crashy