Installation Error: OSError: [Errno 13] Permission denied

Hello all,

I have a small problem with the installation via the installation script.
I did extract the tar to the /home directory of my Debian server under the root account.
Then I followed the manual and ran ‘setup-seafile-mysql.sh’
Filled out all the required input and I can see the databases and MySQL Seafile account are created.
However I get this error messages and also the folder structure as the manual explains is not created:

Traceback (most recent call last):
File “setup-seafile-mysql.py”, line 1472, in
main()
File “setup-seafile-mysql.py”, line 1425, in main
ccnet_config.generate()
File “setup-seafile-mysql.py”, line 815, in generate
if Utils.run_argv(argv, env=env_mgr.get_binary_env()) != 0:
File “setup-seafile-mysql.py”, line 85, in run_argv
env=env)
File “/usr/lib/python2.7/subprocess.py”, line 710, in init
errread, errwrite)
File “/usr/lib/python2.7/subprocess.py”, line 1335, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied

I’m not very knowledgeable about Phyton so any help is appreciated.

Thanks a lot in advance.

I recommend you this:

Reset your machine to be sure that you have a clean server and run the script.

@daniel.pan
Maybe you should advertise the installer script as users still seem not to find it. Not every admin checks the source (Github) for scripts. :wink:

Thanks DerDanilo.
I will try that tonight if I am home not too late.