How to install Seafile with MySQL and SSL

  • You don't need a password, as there is no password for this user.
    So you cannot sign in with this user via ssh for example.


    If you're connected/signed in as root, just execute this command
    su - seafile -s /bin/bash


    And you are signed in as seafile-user

  • I got error: 502 Bad Gateway after boot up.
    It only work with port 8000 if I restart .sh.




    Code
    ls -la /etc/init.d/seafile-server
    -rwxr-xr-x 1 root root 1860 Jun 3 18:55 /etc/init.d/seafile-server
  • @tinh_x7 We need more information to be able to help...
    What is the output of netstat -tulpen after you started nginx server and seafile server?
    And what do the seafile logs tell you?


    @baldman:
    In the very last part Step 7. There is no need to reboot the system.
    Simply test nginx config and restart the service (as I am not using the nginx plugin: I'd guess that the service is restarted after you save your new settings in the plugin anyway)


    nginx -t
    service nginx restart

  • I"m looking at the netstat, my SSL ports and port 8000 are not started on startup.
    After I ran it, I still can't access my port 7443.




  • My ipv6 is disabled in the OMV & in router.
    I try again with the installation, when I signed in as seafile in SSH and download the package, it's said permission denied.
    @ Part 2.

  • Then the seafile user doesn't have sufficient permission in the current directory.
    You are in the root "/" directory --> no permissions for seafile user.


    You should install seafile either to the home directory of seafile /home/seafile/
    or like the tutorial says:
    in /opt/seafile (create this directory with root and give seafile-user the permissions)

  • Then the seafile user doesn't have sufficient permission in the current directory.
    You are in the root "/" directory --> no permissions for seafile user.


    You should install seafile either to the home directory of seafile /home/seafile/
    or like the tutorial says:
    in /opt/seafile (create this directory with root and give seafile-user the permissions)


    If you follow the tutorial seafile will get /opt/seafile as home directory.


    you can use

    Code
    cd ~seafile

    to go to the seafle home directory.

  • is -rwxr-xr-x 1 root root 1860 Jun 3 18:55 /etc/init.d/seafile-server suppose to be root:root or seafile:users?
    My SSL ports are working for OwnCloud/Pydio, but not on Seafile.



  • I just want to add this to the tutorial>>
    Reset admin password through email or you can reset it from the server, if applicable, with this: /seafile/seafile-server-latest/ ./reset-admin.sh


    1. Go to: nano /opt/seafile/conf/seahub_settings.py


    2. Add the following (Change the appropriate settings accordingly):


    For Gmail, try port 465.


    For Yahoo:



    Code
    # Email Sending
    EMAIL_USE_TLS = True
    EMAIL_HOST = 'smtp.mail.yahoo.com'
    EMAIL_HOST_USER = 'abc@yahoo.com'
    EMAIL_HOST_PASSWORD = 'xyz!'
    EMAIL_PORT = 587
    DEFAULT_FROM_EMAIL = 'abc@yahoo.com'
    SERVER_EMAIL = 'abc@yahoo.com''
  • Hi Baldman,


    May i please kindly ask for your help...


    I installed omv-erasmus on an odroid c2 (the specs says 64 bit).
    I was able to install pydio through the kind help of tinh_x7...


    I wanted to try sea file also, and thus tried to follow your guide...


    however...my MYSQL plug in does not show a data directory drop down menu....(as shown on my attachment)


    i went on with the guide though... when i reached the step..


    - Hit enter to finish the Seafile installation



    i get this error message on the terminal



    what do I do now... i tried to google the error errno 8 and they seem to say there is no shebang line on the python script... i don't even know what a shebang line is, more so how to fiddle with the script...


    thanks very much for your time and assistance...please bear with me as i am not an IT person...

  • Thank you Zoki,


    i tried to install the raspberry pi ISO on the odroid c2 running on erasmus... and it failed too.


    The installation worked though if i use the raspberry pi ISO on an older Odroid C1 running on Kralizec (wheezy)... and thanks to people like you, get to learn something new everyday..


    the only problem is, i can't seem to upload files on the seafile server... there is no settings menu on the admin page as shown on the tutorial... attached is an image of my web admin interface....



    also using this command....nano /opt/seafile/conf/seahub_settings.py
    from the tutorial shows an empty file...


    i hope you can help figure out how to upload files, thanks again very much...

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!