Sorry for the confusing stuff. Was my first post here.
First my specs:
Seafile 6.2.5 server
Seafile 6.3.2 server
DocumentServer (latest version 7 weeks ago. How to get the installed version out of docker?) in a docker container available with subdomain
For the 6.2.5 server everything works as it’s supposed to.
When I open an office document on the 6.3.2. server it connects to the DS and tries to load the document.
Instead of opening the “Document could not be saved” error and a few seconds later “Download failed” pops up.
Surprisingly I didn’t find any logs who give a hint to errer, neither in Seafile nor in apache and both servers are configured the same.
seahub_settings.py:
# -*- coding: utf-8 -*-
SECRET_KEY = "xxx
FILE_SERVER_ROOT = 'https://myclouddomain.de/seafhttp'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'seahub-db',
'USER': 'seafile',
'PASSWORD': 'xxx',
'HOST': '127.0.0.1',
'PORT': '3306'
}
}
ENABLE_ONLYOFFICE = True
VERIFY_ONLYOFFICE_CERTIFICATE = False
ONLYOFFICE_APIJS_URL = 'https://myDSdomain.de/web-apps/apps/api/documents/api.js'
ONLYOFFICE_FILE_EXTENSION = ('doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx', 'odt', 'fodt', 'odp', 'fodp', 'ods', 'fods')
ONLYOFFICE_EDIT_FILE_EXTENSION = ('docx', 'pptx', 'xlsx')
ccnet.conf:
[General]
USER_NAME = MyName
ID = b4924c6af9...
NAME = MyName
SERVICE_URL = https://myclouddomain.de
[Client]
PORT = 13419
[Database]
ENGINE = mysql
HOST = 127.0.0.1
PORT = 3306
USER = seafile
PASSWD = xxx
DB = ccnet-db
CONNECTION_CHARSET = utf8
apache config Seafile server:
ServerTokens ProductOnly
ServerSignature Off
<VirtualHost *:80>
ServerName myclouddomain.de
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{HTTP_HOST}/$1 [L,R,NE]
</VirtualHost>
<VirtualHost *:443>
ServerName myclouddomain.de
DocumentRoot /var/www
SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/myclouddomain.de/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/myclouddomain.de/privkey.pem
Alias /media /home/seafile/seafile-server-latest/seahub/media
<Location /media>
Require all granted
</Location>
RewriteEngine On
#
# seafile fileserver
#
ProxyPass /seafhttp http://127.0.0.1:8082 timeout=1200 KeepAlive=On
ProxyPassReverse /seafhttp http://127.0.0.1:8082
RewriteRule ^/seafhttp - [QSA,L]
#
# seahub
#
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
ProxyPass / http://127.0.0.1:8000/
ProxyPassReverse / http://127.0.0.1:8000/
</VirtualHost>
apache config DS server:
#Display only Apache as server signature
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
LoadModule headers_module modules/mod_headers.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule ssl_module modules/mod_ssl.so
ServerTokens ProductOnly
ServerSignature Off
<VirtualHost *:80>
ServerName myDSdomain.de
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{HTTP_HOST}/$1 [L,R,NE]
</VirtualHost>
<IfModule mod_ssl.c>
# Display only Apache as server signature
ServerTokens Prod
ServerSignature Off
<VirtualHost *:443>
ServerName myDSdomain.de
ProxyPreserveHost On
# Setup the proxy
<Proxy *>
Require all granted
SetEnvIf Host "^(.*)$" THE_HOST=$1
RequestHeader setifempty X-Forwarded-Proto https
RequestHeader setifempty X-Forwarded-Host %{THE_HOST}e
ProxyAddHeaders Off
Require all granted
AllowOverride All
</Proxy>
ProxyPass / http://127.0.0.1:88/
ProxyPassReverse / http://127:0.0.1:88/
SSLEngine on
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/myDSdomain.de/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/myDSdomain.de/privkey.pem
</VirtualHost>
</IfModule>