Skip to content

Latest commit

 

History

History
49 lines (27 loc) · 1.92 KB

common_problems_for_setting_up_server.md

File metadata and controls

49 lines (27 loc) · 1.92 KB

Common Problems for Setting up Server

"Error when calling the metaclass bases" during Seafile initialization

Seafile uses Django 1.5, which requires Python 2.6.5+. Make sure your Python version is 2.7.

Seahub.sh can't start, the error message contains: "Could not import settings 'seahub.settings', libpython2.7.so.1.0: can not open shared object file"

You probably encounter this problem in Ubuntu 14.04. Seafile pro edition requires libpython2.7. Install it by:

sudo apt-get install libpython2.7

Failed to upload/download file online

  • Check your SERVICE_URL setting in ccnet.conf and FILE_SERVER_ROOT setting in seahub_settings.py
  • Make sure you firewall for seafile fileserver is opened.
  • Using chrome/firefox debug mode to find which link is given when click download button and what's wrong with this link

When syncing a library, the client hangs at "connecting server"

First, you can check the ccnet.log in client (~/.ccnet/logs/ccnet.log for Linux, C:/users/your_name/ccnet/logs/ccnet.log for Windows) to see what's wrong.

Possible reasons:

  • Firewall: Ensure the firewall is configured properly. See [[Firewall Settings for Seafile Server ]]

Trouble shooting:

  • Manually telnet to see if you can connect: telnet your-server-IP-or-domain 10001

Failed to download blocks

  • Make sure port 12001 is open

Error on Apache log: "File does not exist: /var/www/seahub.fcgi"

Make sure you use "FastCGIExternalServer /var/www/seahub.fcgi -host 127.0.0.1:8000" in httpd.conf or apache2.conf, especially the "/var/www/seahub.fcgi" part.

Seafile with Apache / HTTPS has text only (no CSS formatting / images)

The media folder (Alias location identified in /etc/apache2/sites-enabled/000-default (Ubuntu) has inappropriate permissions

Solutions:

  1. Run installation script as non-root user
  2. Copy /media folder to var/www/ and edit the Alias location in /etc/apache2/sites-enabled/000-default