Seahub failed to start (SYNTAX ERROR)

I followed this guide and everything went well until the end the guide was from linux dot com (how to install seafile server run private cloud)

This is the error I’m getting when trying to start seahub

root@illaspire:/var/www/sea/seafile-server-6.2.5# /var/www/sea/seafile-server-latest/./ start-fastcgi

LC_ALL is not set in ENV, set to en_US.UTF-8
Starting seahub (fastcgi) at …
Traceback (most recent call last):
File “/var/www/sea/seafile-server-6.2.5/seahub/”, line 10, in
File “/var/www/sea/seafile-server-6.2.5/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/management/”, line 354, in execute_from_command_line
File “/var/www/sea/seafile-server-6.2.5/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/management/”, line 303, in execute
File “/var/www/sea/seafile-server-6.2.5/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/conf/”, line 48, in getattr
File “/var/www/sea/seafile-server-6.2.5/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/conf/”, line 44, in _setup
self._wrapped = Settings(settings_module)
File “/var/www/sea/seafile-server-6.2.5/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/conf/”, line 92, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File “/var/www/sea/seafile-server-6.2.5/seahub/thirdpart/importlib-1.0.4-py2.6.egg/importlib/”, line 37, in import_module
File “/var/www/sea/seafile-server-6.2.5/seahub/seahub/”, line 3, in
from handlers import repo_created_cb, repo_deleted_cb
File “/var/www/sea/seafile-server-6.2.5/seahub/seahub/”, line 4, in
import settings
File “/var/www/sea/seafile-server-6.2.5/seahub/seahub/”, line 695, in
import seahub_settings
File “/var/www/sea/conf/”, line 3
SyntaxError: invalid syntax
Error:Seahub failed to start.

Any suggestions? Thanks in advance!

I am no expert but I have got a seafile server running well. A few thoughts:

  1. I thought fastcgi was not supported now so you might want to drop the -fastcgi switch when you start up

  2. I don’t think your FILE_SERVER_ROOT = ‘’ statement is right. The ^ gives it away. The community manual has an example of FILE_SERVER_ROOT = ‘’ you have no http:// in it so try FILE_SERVER_ROOT = '’

Good luck!