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 install
OMV 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):
def 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:
location / {
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;
}
Alles anzeigen
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.