Seafile version 6.1.1 is ready!

I’ve had the following line in my nginx config for quiet a while, but removing it didn’t help.
I don’t remeber why I’ve had to put it there.

location /favicon.ico {
      alias /usr/share/nginx/html/favicon.ico;

Do you use Seafile PRO ?

No PRO. The issue relies IMHO not in NGINX, or config block in NGINX since another icons that are not the original one works well. When I change to the original one, I can see for short moment that it is placed there but suddenly disappears.

OK, doing tests I got it: Seahub is not taking icons that are 32x32 size. The size should be bigger. I made tests with 128x128 and 256x256. They work all of them fine, only not 32x32 in ico format file. Refreshing with F5 works well.

Edit: attached two image files

Still does not work here.
Debian 8.8 AMD64

Favicon doesn’t work for me - I tried misc. sizes. Logo works fine.
Running on x86_64 Debian, 8.8 Stable

i also had issues but i do this manually instead of gui

i added this line to

FAVICON_PATH = ‘custom/favicon.png’

copied by ico file to /home/haiwen(or whatever)/seahub-data/custom

make sure its atleast 32x32 pixels. otherwise it doesnt work

This way it works also for us, but if the option is provided in the gui it should work. :slight_smile:

@xiez @daniel.pan
The Logo size actually needs to be 256x55 and not 256x64 to be displayed correctly in the top bar. It’s warped otherwise.
Why do you ask for this size in the gui?

If you have problem when customizing favicon through the GUI, try update the Python Pillow module by sudo pip install --upgrade Pillow.

If still not working properly after the update,please upload your Icon file here to help us to reproduce this problem.

Why wasn’t this mentioned in the manual?

Do you test your Software on all supported distros?
Often we see only instructions for Ubuntu and CentOS, but what about Debian and the RPi OS?

I think that we need to mention stuff like that in the upgrade manual. Please approve the upgrade notes files, so we can work further on them and add required information. Ty

Error on Debian Jessie

pip install --upgrade Pillow

The headers or library files could not be found for jpeg,
a required dependency when compiling Pillow from source.

Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-thwks0/Pillow/';
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install 
--record /tmp/pip-Lv97v9-record/install-record.txt --single-version-externally-managed --compile failed with 
error code 1 in /tmp/pip-build-thwks0/Pillow
Storing debug log for failure in /root/.pip/pip.log

Solution for Debian Jessie

apt-get build-dep python-imaging
pip install --upgrade Pillow

version Pillow 4.1.1
platform linux2 2.7.9 (default, Jun 29 2016, 13:08:31)
[GCC 4.9.2]
— JPEG support available
*** OPENJPEG (JPEG2000) support not available
— ZLIB (PNG/ZIP) support available
*** LIBIMAGEQUANT support not available
— LIBTIFF support available
— FREETYPE2 support available
— LITTLECMS2 support available
— WEBP support available
— WEBPMUX support available


- Ubuntu 16.04.2 LTS

  • check the Pillow version:

pip list --format=columns | grep -i pillow
Pillow 3.1.2

  • upgrade Pillow until last version:

pip install --upgrade Pillow

The headers or library files could not be found for jpeg,
  a required dependency when compiling Pillow from source.

  Please see the install instructions at:

I had the same compiling error that commented by @DerDanilo
On Stackoverflow there is the explanation behind the unmet pillow dependencies, like jpeg

  • Upgrade Pillow unmet dependencies, here the jpeg libraries:

apt-get install libjpeg-dev (*)

  • Upgrade Pillow:

pip install --upgrade Pillow

  • Check that the upgraded Pillow version is 4.1.1:

pip list --format=columns | grep -i pillow
Pillow 4.1.1

(*) If you install like apt-get build-dep python-imaging it will install many packages that are not necessary. Totally 165 MB occupied in disk:

apt-get build-dep python-imaging
Paketlisten werden gelesen... Fertig
Als Quellpaket wird »pillow« statt »python-imaging« gewählt.
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden NEUEN Pakete werden installiert:
  blt libfontconfig1-dev libfreetype6-dev libice-dev libice6 libjbig-dev libjpeg-dev libjpeg-turbo8-dev
  libjpeg8-dev liblcms2-dev liblzma-dev libpng12-dev libpthread-stubs0-dev libpython-all-dbg libpython-dbg
  libpython2.7-dbg libpython3-all-dbg libpython3-all-dev libpython3-dbg libpython3-dev libpython3.5-dbg
  libpython3.5-dev libsm-dev libsm6 libtcl8.6 libtiff5-dev libtiffxx5 libtk8.6 libwebp-dev libwebpdemux1
  libx11-dev libxau-dev libxcb1-dev libxdmcp-dev libxext-dev libxft-dev libxft2 libxrender-dev libxss-dev
  libxss1 libxt-dev libxt6 python-all-dbg python-dbg python-nose python-tk python-tk-dbg python2.7-dbg
  python3-all python3-all-dbg python3-all-dev python3-dbg python3-dev python3-nose python3-setuptools
  python3-tk python3-tk-dbg python3.5-dbg python3.5-dev tcl tcl-dev tcl8.6 tcl8.6-dev tk tk-dev tk8.6
  tk8.6-blt2.5 tk8.6-dev x11-common x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-render-dev
  x11proto-scrnsaver-dev x11proto-xext-dev xorg-sgml-doctools xtrans-dev
0 aktualisiert, 77 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 79,9 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 165 MB Plattenplatz zusätzlich benutzt.

but if you only install like apt-get install libjpeg-dev, you only will need less than 1 MB place on disk:

apt-get install libjpeg-dev
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
The following additional packages will be installed:
  libjpeg-turbo8-dev libjpeg8-dev
Die folgenden NEUEN Pakete werden installiert:
  libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev
0 aktualisiert, 3 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 225 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 825 kB Plattenplatz zusätzlich benutzt.
  • My recommendation:

Try to install first only libjpeg-dev, if this is not enough, then install like apt-get build-dep python-imaging

Edit: After Pillow upgrade to 4.1.1 the NEW “change favicon functionality” works properly.

Thanks @lian. Like @DerDanilo suggested, the documentation should be improved or seafile integration with other distros should be improved, to avoid such glitches.


These things need to go to the manual and should be known before a new version is released as stable. This is not hard to accomplish. Someone just has to write down every change that has be done with every version.

That is the reason I started writing the Upgrade notes but they have not been merged yet. :-/
@daniel.pan Please merge, so we can continue adding important information there for whole userbase.

Hi, that sounds great, I saw that for PRO edition the download is not ready yet… when is will be available?
Thank you

1 Like

It’ll be announced once it’s published.

Hi guys!
Where can I find 6.1.1 stable version for raspberry pi?
On github the last one is the 6.1.0 beta!
I couldn’t find the latest version!

Just be patient, jobenvil is the one who compiles Seafile server for Raspberry Pi. It usually takes a few days after releasing a new version if there are no problems.

I didn’t know that. I was afraid I missed something!
Thanks for your answer! :slight_smile:

Hey, you already build seafile server 6.1.1 for arm/rpi? Tried that here, but the tutorial on wikipage is really bad, never got it working.
Hope you will put your build on download page briefly :wink:

You are welcome. I will try to post it today night, if not tomorrow early.

Let me add that this was not enough as I was missing jpeg.
I had to install

sudo apt-get install libjpeg-dev

and then the installation of Pillow worked
EDIT: My Seafile server runs on a Raspberry pi v3

I updated the dependencies for the rpi-version as well, according to your input.

Please suggest this change to the file in Github, thanks!