Skip to content

Seafile Server 6.2.3 for Raspberry Pi

Compare
Choose a tag to compare
@jobenvil jobenvil released this 09 Dec 14:06
· 149 commits to master since this release

Starting from 6.1.0, it is mandatory to install the phyton-requests dependence module:

apt-get install python-requests

From 6.2, It is recommended to use WSGI mode for communication between Seahub and Nginx/Apache. Two steps are needed if you'd like to switch to WSGI mode:

  • Step 1. Change the config file of Nginx/Apache.

The configuration of Nginx is as following:

# Seafile root domain configuration
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_http_version 1.1; # if you use http2 or you get errors in nginx like connection refused ... HTTP/1.1
      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;
}
  • The /seafhttp block remains untoched, only add proxy_http_version 1.1; inside it.
  • In case you have configured seafile like as non root domain, take the /seafile block.
  • The /media or /seafmedia block remains untouched

The configuration of Apache is as following:

# Seahub
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
ProxyPass / http://127.0.0.1:8000/
ProxyPassReverse / http://127.0.0.1:8000/
  • Step 2. Restart Seahub with ./seahub.sh start instead of ./seahub.sh start-fastcgi

  • Optional Step. Modify your seahub start init.d or systemd script to meet advice in step 2.

6.2.3 (2017/11/15)

  • Support OAuth (https://manual.seafile.com/deploy/oauth.html79)
  • WSGI uses 5 processors by default instead of 3 processors each with 5 threads
  • [share] Add "click to select" feature for download/upload links.
  • [Admin] Show/edit contact email in admin panel.
  • [Admin] Show upload links in admin panel.
  • [fix] Fix Shibboleth login redirection issue, see https://forum.seafile.com/t/shared-links-via-shibboleth/4067/1910
  • [fix] In some case failed to unshare a folder.
  • [fix] LDAP search issue.
  • [fix] Fix Safari downloaded file names are encoded like 'test-%2F%4B.doc' if it contains special characters.
  • [fix] Disable client encrypt library creation when creating encrypt library is disabled on server.
  • Other small UI improvements

Please check the Seafile Forum for further unexpected behaviours and suggested troubleshooting

Older Server ChangeLog here