Seahub failed to start


#1

LC_ALL is not set in ENV, set to en_US.UTF-8
Starting seahub (fastcgi) at 127.0.0.1:8000 …
Traceback (most recent call last):
File “/m/s/bp/sfile/seafile-server-6.0.4/seahub/manage.py”, line 10, in
execute_from_command_line(sys.argv)
File “/m/s/bp/sfile/seafile-server-6.0.4/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/core/management/init.py”, line 354, in execute_from_command_line
utility.execute()
File “/m/s/bp/sfile/seafile-server-6.0.4/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/core/management/init.py”, line 328, in execute
django.setup()
File “/m/s/bp/sfile/seafile-server-6.0.4/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/init.py”, line 17, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File “/m/s/bp/sfile/seafile-server-6.0.4/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/utils/log.py”, line 86, in configure_logging
logging_config_func(logging_settings)
File “/usr/lib/python2.7/logging/config.py”, line 794, in dictConfig
dictConfigClass(config).configure()
File “/usr/lib/python2.7/logging/config.py”, line 576, in configure
‘%r: %s’ % (name, e))
ValueError: Unable to configure handler ‘default’: [Errno 30] Read-only file system: ‘/m/s/bp/sfile/logs/seahub.log’
Error:Seahub failed to start.


#2

That’s the solution


#3

You can be more specific, please.


#4

@abel check the file permission.


#5

-rw-r–r-- 1 root root 5046907 nov 16 21:08 seafile.log


#6

logs]# ls -lrt
total 3212
-rw-r–r--. 1 seafile seafile 1680492 Nov 17 09:34 seahub.log
-rw-r–r--. 1 seafile seafile 308 Nov 19 18:03 seafdav.log
-rw-r–r--. 1 seafile seafile 559781 Nov 23 02:00 controller.log
-rw-r–r--. 1 seafile seafile 25401 Nov 23 02:00 ccnet.log
-rw-r–r--. 1 seafile seafile 992190 Nov 28 08:05 seafile.log

Permission and ownership should be seafile user only.


#7

root@OwnCloud:/media/soporte/backup/sfile/logs# ls -lrt
total 31072
-rw-r–r-- 1 seafile seafile 9683 nov 8 09:40 seahub.log
-rw-r–r-- 1 seafile seafile 5046907 nov 16 21:08 seafile.log
-rw-r–r-- 1 seafile seafile 26541723 nov 17 05:58 seahub_django_request.log
-rw-r–r-- 1 seafile seafile 60261 nov 26 11:08 controller.log
-rw-r–r-- 1 seafile seafile 133939 nov 26 11:08 ccnet.log


#8

This is a diffrent file path ‘/m/s/bp/sfile/logs/seahub.log’ from what you showed us (/media/soporte/backup/sfile/logs)

Did you move the server to the new path?

This is another note you should look at.


#9

It is the same file path.


#10

‘/m/s/bp/sfile/logs/seahub.log’ is diffrent from ‘/media/soporte/backup/sfile/logs’


#11

it is the same folder that only changes in one post and in the other no.


#12

I need your help please.