Unable to Upload


I’m having some problems with uploading, ever since moving Seafile off the root domain. I am able to successfully see my library, and I can access /seafile/ (for Seahub), /seafhttp/ (blank page), and /seafmedia/ (forbidden). I’m guessing seafmedia is supposed to be forbidden, but if I am wrong please let me know. Here are some of my conigurations:


USER_NAME = Mauris
ID = 1f2baa09a203091c09840cc8da49635ba43161b6
NAME = Mauris
SERVICE_URL = http://mauris.kbnetwork.ca/seafile

PORT = 13419


MEDIA_URL = '/seafmedia/'
STATIC_URL = MEDIA_URL + 'assets/'
SITE_ROOT = '/seafile/'
LOGIN_URL = '/seafile/accounts/login/'    # NOTE: since version 5.0.4

000-default.conf (Apache config)

<VirtualHost *:80>
ServerName mauris.kbnetwork.ca
# Use "DocumentRoot /var/www/html" for Centos/Fedora
# Use "DocumentRoot /var/www" for Ubuntu/Debian
DocumentRoot /var/www/html
Alias /seafmedia  /home/keith/seafile-server-latest/seahub/media

RewriteEngine On

<Location /seafmedia>
    ProxyPass !
    Require all granted

# seafile fileserver
ProxyPass /seafhttp
ProxyPassReverse /seafhttp
RewriteRule ^/seafhttp - [QSA,L]

# seahub
SetEnvIf Request_URI . proxy-fcgi-pathinfo=unescape
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
ProxyPass /seafile fcgi://

I’ve uploaded some logs on my Amazon Cloud Drive. I did a quick search in them and I can’t seem to find anything when I search on Google. Here is the link. The only thing that stands out is in seafile.log:

[08/03/2016 05:38:48 PM] ../common/mq-mgr.c(106): [mq mgr] publish to heartbeat mq: seaf_server.heartbeat

Any suggestions? Thanks!

Just in case anybody has the same issue I’m having here. I took a quick look into the console on the browser when uploading. I was getting an issue where the browser was blocking mixed content, because while the Seafile WebUI was over HTTPS, Seafile (seafhttp) was not. I corrected this by changing my SERVICE_URL and FILE_SERVER_ROOT to include HTTPs.


Thanks that helped.
Changing the normal Config was not enough for me, I had to change it over admin panel.