It depends.
Port-based is the common setup.
Different web server, different ports.
How to install Seafile with MySQL and SSL
-
- OMV 2.x
- baldman
-
-
when I add users to seafile, the server does not send the confirmation emailand pw assigned, I tried changing "seahub_settings.py" adding the following lines:
Code# Email Sending EMAIL_USE_TLS = True EMAIL_HOST = 'smtp.google.com' EMAIL_HOST_USER = 'USER_NAME@google.com' EMAIL_HOST_PASSWORD = 'USER_PW' EMAIL_PORT = 587 DEFAULT_FROM_EMAIL = 'USER_NAME@google.com' SERVER_EMAIL = 'USER_NAME@google.com'
(as explained by tiny_x7) (may be that I have not changed 587 to 465 :-Pany way google send me email similar " some software tray abuse you account...."
someone has solved ??
---------
OMV 3.0.46 (Erasmus) - MySQL 3.x - Seafile 6.x Proliant N36L RAID Mirror 2x 1,5TB *** I love test beta software ***
--------- -
May someone update the update Script for omv3, which is using systemd?
-
-
-
Hi,
I got Seafile 6.0.x running on my OMV-Server, but I don't know how to activate HTTPS?I have Nginx (this is used by OMV for the webgui and is installed at default?) and Apache2 installed. I didn't do anything on any config-file of both webservers, but the seafile-WebGUI is running. How can I activate HTTPS?
-
You can either create your own certificate or use Let's Encrypt.
Next, go to your Nginx Seafile settings, and select the appropriate SSL cert from the drop-down menu.
Then go to your Seafile admin settings, and put in your own URL. -
-
Greetings new friends. Newb alert. I've got OMV working on a Pi3 and all seems well. So I'm trying to get seafile going too now. I'm stuck on setting the seafile data directory here:
Quote- When asked for the Seafile Data directory use the full directory path to the Seafile-data folder you created in Part 1 Step 2 and append /data to the end of the path e.g.
/media/fa8088ed-5de5-4c2c-b4dc-d84abe3dd7ec/Seafile-Data/data (/media/your-number-is different/Seafile-Data/data)How do I find the proper path for my own setup? I'm not able to figure that out.
-
Your drives are no longer under /media but under /srv/
-
First you have to mount it via OMV UI, then you'll find the directory by this command
lsblk
-
-
Thanks to sieben and nibb. That worked. I've now got seafile running and have no idea what to do next LOL. It's running and OMV is running. Not sure how to setup or access the data now!
-
After getting OMV and Seafile running I can't write files to my SMB directories from my Mac. Also I'm not super impressed with the UI of Seafile. All uploads have failed with no explanation as to why. Perhaps same permissions reason. And one can't cancel an upload once it starts, so I often get a spinning wheel, forever. Maybe I'll look at NextCloud.
-
I have a fresh install of 4.1.10, only changes have been the instructions on the first page plus install java-jre as requested by the seafile installer. I followed everything to a t aside from the mysql data dir, seems you cant specify that from the plugin anymore. The problem im having is the step where you have to enter the root password for mysql, I can login to the mysql console from the root user account but from the seafile user account it will not allow it. How can I fix this?
Code
Display MorePress ENTER to continue ----------------------------------------------------------------- What is the name of the server? It will be displayed on the client. 3 - 15 letters or digits [ server name ] sts What is the ip or domain of the server? For example: www.mycompany.com, 192.168.1.101 [ This server's ip or domain ] 192.168.88.101 Where do you want to put your seafile data? Please use a volume with enough free space [ default "/opt/seafile/seafile-data" ] /srv/dev-disk-by-label-BAK/Seafile-Data/data Which port do you want to use for the seafile fileserver? [ default "8082" ] ------------------------------------------------------- Please choose a way to initialize seafile databases: ------------------------------------------------------- [1] Create new ccnet/seafile/seahub databases [2] Use existing ccnet/seafile/seahub databases [ 1 or 2 ] 1 What is the host of mysql server? [ default "localhost" ] What is the port of mysql server? [ default "3306" ] What is the password of the mysql root user? [ root password ] verifying password of user root ... verifying password of user root ... Failed to connect to mysql server using user "root" and password "***": Access denied for user 'root'@'localhost' What is the password of the mysql root user? [ root password ]
-
-
Does anyone know how to change the mysql data folder? I have the same problem as above and I feel it's because the app doesn't let us choose where the data folder is anymore (as that is the only step different that we can't follow)
-
I have a fresh install of 4.1.10, only changes have been the instructions on the first page plus install java-jre as requested by the seafile installer. I followed everything to a t aside from the mysql data dir, seems you cant specify that from the plugin anymore. The problem im having is the step where you have to enter the root password for mysql, I can login to the mysql console from the root user account but from the seafile user account it will not allow it. How can I fix this?
Code
Display MorePress ENTER to continue ----------------------------------------------------------------- What is the name of the server? It will be displayed on the client. 3 - 15 letters or digits [ server name ] sts What is the ip or domain of the server? For example: www.mycompany.com, 192.168.1.101 [ This server's ip or domain ] 192.168.88.101 Where do you want to put your seafile data? Please use a volume with enough free space [ default "/opt/seafile/seafile-data" ] /srv/dev-disk-by-label-BAK/Seafile-Data/data Which port do you want to use for the seafile fileserver? [ default "8082" ] ------------------------------------------------------- Please choose a way to initialize seafile databases: ------------------------------------------------------- [1] Create new ccnet/seafile/seahub databases [2] Use existing ccnet/seafile/seahub databases [ 1 or 2 ] 1 What is the host of mysql server? [ default "localhost" ] What is the port of mysql server? [ default "3306" ] What is the password of the mysql root user? [ root password ] verifying password of user root ... verifying password of user root ... Failed to connect to mysql server using user "root" and password "***": Access denied for user 'root'@'localhost' What is the password of the mysql root user? [ root password ]
This is still a real problem. It will simply not allow any other user but root, and apparently the only account you can access is omvadmin. Is there any way to get around this to install seafile? The script doesnt allow any other change to any other user.
-
Ok, i finally got Seafile 7.0.5 to work with OMV 4.1.27
I roughly followed baldman's tutorial, but there are a some extra steps you have to take:
0. Shared Folders
Your Shared Folders are now under "/sharedfolders/YourShareName/"
1. fix MySQL installOMV uses the the User "omvadmin" instead of root, so we have to fix the install script.
First Reset your MySQL Password via the OMV-WebUI and make sure user "omvadmin" can login.Than, before running the "./setup-seafile-mysql.sh" install command you have to edit the file "setup-seafile-mysql.py" (line 483):
Pythondef check_mysql_user(self, user, password, host=None): print '\nverifying password of user %s ... ' % user, kwargs = dict(host=host or self.mysql_host, port=self.mysql_port, user='omvadmin', passwd=password) [...]
change the line "user=user;" to "user='omvadmin';"
The installation is now working.
2. fix Nginx
It seems like Fastcgi is not working any more, so we have to fix that also.
Follow the Ngix install, but use the following code for the Extra options:Code
Display Morelocation / { proxy_pass http://127.0.0.1:8000 ; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Host $server_name; proxy_read_timeout 1200s; # used for view/edit office file via Office Online Server client_max_body_size 0; access_log /var/log/nginx/seahub.access.log; error_log /var/log/nginx/seahub.error.log; } location /seafhttp { rewrite ^/seafhttp(.*)$ $1 break; proxy_pass http://127.0.0.1:8082; client_max_body_size 0; proxy_connect_timeout 36000s; proxy_read_timeout 36000s; proxy_send_timeout 36000s; send_timeout 36000s; } location /media { root /opt/seafile/seafile-server-latest/seahub; }
Skip Part 7 where you set the fastcgi=true in "/etc/init.d/seafile-server"
3. Desktop-Client
If you want to sync via the Desktop Client, you have to check the option "dont check server-cert via https-sync" under Options -> Advanced.Im guessing this could be resolved with an non-self-signed SSL-cert.
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!