Seafile Server 7.1.4 for Raspberry Pi is ready! 23.05.2020

I obtain this

-rw-r–r-- 1 seafile nogroup 21864 mai 21 18:01 libacl.so.1
-rw-r–r-- 1 seafile nogroup 480676 mai 21 18:01 libarchive.so.13
-rw-r–r-- 1 seafile nogroup 13632 mai 21 18:01 libattr.so.1
-rw-r–r-- 1 seafile nogroup 210860 mai 21 18:01 libblkid.so.1
-rw-r–r-- 1 seafile nogroup 49468 mai 21 18:01 libbz2.so.1.0
lrwxrwxrwx 1 seafile nogroup 17 mai 21 17:59 libccnet.so -> libccnet.so.0.0.0
lrwxrwxrwx 1 seafile nogroup 17 mai 21 17:59 libccnet.so.0 -> libccnet.so.0.0.0
-rwxr-xr-x 1 seafile nogroup 63968 mai 21 18:01 libccnet.so.0.0.0
-rw-r–r-- 1 seafile nogroup 1712544 mai 21 18:01 libcrypto.so.1.1
-rw-r–r-- 1 seafile nogroup 226944 mai 21 18:01 libevent-2.1.so.6
-rw-r–r-- 1 seafile nogroup 22168 mai 21 18:01 libffi.so.6
-rw-r–r-- 1 seafile nogroup 140780 mai 21 18:01 libfuse.so.2
-rw-r–r-- 1 seafile nogroup 99996 mai 21 18:01 libgcc_s.so.1
-rw-r–r-- 1 seafile nogroup 1091640 mai 21 18:01 libgio-2.0.so.0
-rw-r–r-- 1 seafile nogroup 854208 mai 21 18:01 libglib-2.0.so.0
-rw-r–r-- 1 seafile nogroup 9512 mai 21 18:01 libgmodule-2.0.so.0
-rw-r–r-- 1 seafile nogroup 318304 mai 21 18:01 libgmp.so.10
-rw-r–r-- 1 seafile nogroup 1226900 mai 21 18:01 libgnutls.so.30
-rw-r–r-- 1 seafile nogroup 235688 mai 21 18:01 libgobject-2.0.so.0
-rw-r–r-- 1 seafile nogroup 170296 mai 21 18:01 libhogweed.so.4
-rw-r–r-- 1 seafile nogroup 27182232 mai 21 18:01 libicudata.so.63
-rw-r–r-- 1 seafile nogroup 1889988 mai 21 18:01 libicui18n.so.63
-rw-r–r-- 1 seafile nogroup 1242556 mai 21 18:01 libicuuc.so.63
-rw-r–r-- 1 seafile nogroup 107840 mai 21 18:01 libidn2.so.0
-rw-r–r-- 1 seafile nogroup 34312 mai 21 18:01 libjansson.so.4
-rw-r–r-- 1 seafile nogroup 34216 mai 21 18:01 liblber-2.4.so.2
-rw-r–r-- 1 seafile nogroup 202772 mai 21 18:01 libldap_r-2.4.so.2
-rw-r–r-- 1 seafile nogroup 83476 mai 21 18:01 liblz4.so.1
-rw-r–r-- 1 seafile nogroup 104220 mai 21 18:01 liblzma.so.5
-rw-r–r-- 1 seafile nogroup 197448 mai 21 18:01 libmariadb.so.3
-rw-r–r-- 1 seafile nogroup 243380 mai 21 18:01 libmount.so.1
-rw-r–r-- 1 seafile nogroup 178316 mai 21 18:01 libnettle.so.6
-rw-r–r-- 1 seafile nogroup 725180 mai 21 18:01 libp11-kit.so.0
-rw-r–r-- 1 seafile nogroup 312652 mai 21 18:01 libpcre.so.3
-rw-r–r-- 1 seafile nogroup 67396 mai 21 18:01 libsasl2.so.2
lrwxrwxrwx 1 seafile nogroup 18 mai 21 17:58 libsearpc.so -> libsearpc.so.1.0.2
lrwxrwxrwx 1 seafile nogroup 18 mai 21 17:58 libsearpc.so.1 -> libsearpc.so.1.0.2
-rwxr-xr-x 1 seafile nogroup 26480 mai 21 18:01 libsearpc.so.1.0.2
-rw-r–r-- 1 seafile nogroup 707488 mai 21 18:01 libsqlite3.so.0
-rw-r–r-- 1 seafile nogroup 340240 mai 21 18:01 libssl.so.1.1
-rw-r–r-- 1 seafile nogroup 1019772 mai 21 18:01 libstdc++.so.6
-rw-r–r-- 1 seafile nogroup 46508 mai 21 18:01 libtasn1.so.6
-rw-r–r-- 1 seafile nogroup 1426788 mai 21 18:01 libunistring.so.2
-rw-r–r-- 1 seafile nogroup 21968 mai 21 18:01 libuuid.so.1
-rw-r–r-- 1 seafile nogroup 1048572 mai 21 18:01 libxml2.so.2
-rw-r–r-- 1 seafile nogroup 79500 mai 21 18:01 libz.so.1
-rw-r–r-- 1 seafile nogroup 394616 mai 21 18:01 libzstd.so.1
drwxr-xr-x 2 seafile nogroup 4096 mai 21 18:00 pkgconfig
drwxr-xr-x 3 seafile nogroup 4096 mai 21 17:58 python3.7

yes, this is true, I rememeber that. These are the dependences for webdav. Some of the them are in the documentation. These are the same than for x64

Hi @IssueFindings , there is no symlink link from python3.6 to python 3.7 at all.

And now, seafdav is runnig, forgot to change nginx config:
location /seafdav {
proxy_pass http://127.0.0.1:8090/seafdav;
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_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 1200s;
client_max_body_size 0;

access_log /var/log/nginx/seafdav.access.log;
error_log /var/log/nginx/seafdav.error.log;

}

And needed to set fastcgi=false in seafdav.conf
I wish some day it could be easier to migrate to a new sefile version :slight_smile:

And that for first was only my second odroid, my main device is running with stretch, now the next try with that :wink:

this is also in the migration documentation :face_with_raised_eyebrow: :joy: :relaxed:

WebDAV will stick with fastcgi=false for a long time, don’t worry

I know, but sometimes its hard to read all that and find out whats necessary and what not. :sweat_smile:
I cloned my device days before and so i had a working seafile on both, most configuration options are well set for 7.05, and webdav works with fastcgi/true with that, whatever…
But so i have a bit to learn :wink:

I know, but you pass now the 7.1. line. You are safe now :laughing:

Thank you first, for the new release! :+1:
My seahub does not start anymore, also with manually execution of ./seahub.sh I don’t get any errors.
Maybe I have to change the python-memcache described in here: https://download.seafile.com/published/seafile-manual/upgrade/upgrade_notes_for_7.1.x.md but where should I do this?

I don’t understand, I did ln -s python3.7 python3.6 What’s wrong ?

in /conf/seahub_settings.py

Internal server error after upgrade to version 7.1

Please check whether the seahub process is running in your server. If it is running, there should be an error log in seahub.log for internal server error.

If seahub process is not running, you can modify conf/gunicorn.conf, change daemon = True to daemon = False , then run ./seahub.sh again. If there are missing Python dependencies, the error will be reported in the terminal.

The most common issue is that you use an old memcache configuration that depends on python-memcache. The new way is

'BACKEND': 'django_pylibmc.memcached.PyLibMCCache'


The old way is

'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',

you didnt realize that there is no symlink inside /home/pi/SeaFile/seafile-server-7.1.4/seafile/lib, did you?

Thank you for your very fast answer and sorry for writing to fast in this forum, because I see that with my Debian Stretch has Python 3.5.3 installed momentary. I now use this article https://linuxize.com/post/how-to-install-python-3-7-on-debian-9/ that is linked to your description above and will let you know about the outcome.

My suggestion is to use pyenv https://github.com/pyenv/pyenv

It is very straightforward. It will compile the python automatically. Use Python 3.6.10

Ah f*** it’s already doing “make -j 2” did you think it’s better to cancel before doing the make (alt)install and use the pyenv instead?

And now i got next problem, Error:Seahub failed to start…
Could it be that my python (on armbian stretch) is too old? (python3 -V says Python 3.5.3) ?

sure cancel it, and don’t worry. The compilation process will long about almost 4 hours with a raspberry pi 3b+ with the enabled-optimizations flag

Seems you have the same error like me (I use also an Debian Stretch but on a Cubietruck). We have to install like @jobenvil has suggested Python 3.6.10

@nihilistaX :cold_face: yes, i told you, please here:

FOR ALL OTHERS COMMING AFTER:

STRETCH USERS NEEDS EITHER TO UPGRADE THE OS TO BUSTER OR take the rpi-Stretch version AND INSTALL ADDITIONALLY PYTHON 3.6.10 :pray: :pray: :pray:

1 Like

OK, sorry for that, its hard work to collect all needed things and forget nothing :grin:

Hello,
You are true, I created the symbolic link in the wrong place. I just correct it and… the issue is still here.

ls -la /home/pi/SeaFile/seafile-server-7.1.4/seafile/lib give me :

(...)
lrwxrwxrwx 1 seafile nogroup 9 mai 24 02:44 python3.6 -> python3.7
(...)