Hello All,
Im working on the topic for a couple of days now and still get the mentioned “Sorry, but the requested page could not be found.” error.
Basicaly it is a fresh install Unbuntu server :
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
With Apache2 and seafile-server-7.0.4
The seafile server synchronises as it should do, so that works pretty fine.
The web browser of seafile works as well. The only thing which does not work is downloading and uploading files. This via a web browser, but apps as well.
I really hope someone can help me. I did check numerous treads already but could not find a solution.
Hereby my apache config:
I tried to change the port to 9000 as well, but no luck.
============
<VirtualHost *:80>
ServerName seafile.xxx.nl
# Use "DocumentRoot /var/www/html" for Centos/Fedora
# Use "DocumentRoot /var/www" for Ubuntu/Debian
DocumentRoot /var/www
Alias /media /home/user/seafile/haiwen/seafile-server-latest/seahub/media
RewriteEngine On
<Location /media>
Require all granted
</Location>
#
# seafile fileserver
#
ProxyPass /seafhttp http://127.0.0.1:8082
ProxyPassReverse /seafhttp http://127.0.0.1:8082
RewriteRule ^/seafhttp - [QSA,L]
#
# seahub
#
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:8000/
ProxyPassReverse / http://127.0.0.1:8000/
</VirtualHost>
==================
No specific errors in my error.log and access.log
==================
The only error I could find was from seahub.logs
2019-10-21 13:16:12,847 [WARNING] django.request:152 get_response Not Found: /seafhttp/files/6b18e1b3-0bc7-4901-98c6-45f81e2ca690/Safari - 1 jan. 2019 12:05.pdf
==================
CCNET.CONF
CCNET.conf
[General]
USER_NAME = seafile
ID = fXXXXXX
NAME = seafile
SERVICE_URL = http://seafile.xxx.nl:9000
[Client]
PORT = 13419
[Database]
ENGINE = mysql
HOST = 127.0.0.1
PORT = 3306
USER = XXX
PASSWD = XXX
DB = ccnetdb
CONNECTION_CHARSET = utf8
=====================
# -*- coding: utf-8 -*-
SECRET_KEY = "xxxxx"
FILE_SERVER_ROOT = 'http:/seafile.xxx.nl/seafhttp'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'seahubdb',
'USER': 'xx',
'PASSWORD': 'xx',
'HOST': '127.0.0.1',
'PORT': '3306'
}
}
I really hope someone can spot the error.