![]() ![]() #add rvice or rvice depending on your database to the line belowĮxecStart=/home/seafile/seafile-server-latest/seafile.sh startĮxecStop=/home/seafile/seafile-server-latest/seafile. ![]() ![]() You might consider to add the below to your rvice file (in my case the external mount unit is media-extsea.mount): In the seafile.sh script the if statement tests with the ! -d option, which is ok, as it will check if a directory behind the softlink exists, but as said, if the USB drive is not mounted at that point in time, the directory is not there and the softlink is empty. Seafile contains a web interface for you to manage and share files. That said, seafile.sh, which infact is called by the rvice unit will not detect your seafile-data directory, as the symlink at the time, when rvice unit is executed, is empty, as the USB disk is not mounted. systemctl start seafile-serverinstance systemctl start seahubinstance. Seafile is an enterprise file hosting platform with high reliability and performance. Nov 17 21:58:12 seafile.sh: Have you run setup-seafile.sh before this?īTW: this error is a little bit missleading and could be more exact… Nov 17 21:58:12 seafile.sh: Error: there is no seafile server data directory. Finally, the Seafile server (and Seahub) must be restarted. In my case systemctl status rvice gave me the following after boot: Copy the file custom.css to seahub-data/custom and add the following line to conf/seahub-settings.py: BRANDINGCSS 'custom/custom.css'. Using a web browser, go to URL: will display a login form where the admin can enter information for the account you created earlier. (infact seafile.sh start script throws an error)… systemctl restart seafile systemctl restart seahub Try Seafile. The manual at states the contents of the rvice file, and it is, more or less correct, BUT: Be aware, if you are using an USB drive, like I do with raspbian (or maybe other debina distros), it is likely, that the f*** systemd does not start USB before your rvice unit will be executed and therefor rvice will fail to start! SD cards are big nowadays, but not THAT big to hold a full instance of seafile, especially in pi4s I am running seafile as a user seafile and I have a softlink from /home/seafile/seafile-server-latest/seafile-data to an external USB drive, as it is not possible during seafile setup to change the seafile-data location and you HAVE to use a softlink to put your data e.g. It always complained about, that the seafile-data directory did not exist.įirst I thought about user privileges, file permissions and ownership etc. I am using seafile CE on my raspbery pi 4 and was not able to start seafile with the start unit at boottime. Was now digging around for many hours and finaly was able to fix it: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |