Seafile Server 7.1.4 for Raspberry Pi is ready! 23.05.2020

I will look into the issue.

@jobenvil Many thanks for your help !!! Could you check also if my dependencies installed are correct or too numerous. I try to prioritize apt-get install instead of pip but nothing seems to exist for pylibmc captcha jinja2 sqlalchemy django-pylibmc django-simple-captcha.

I have a error with memcached :
return super(PyLibMCCache, self).get(key, default, version)
File “/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/core/cache/backends/memcached.py”, line 79, in get
val = self._cache.get(key)
pylibmc.ServerDown: error 47 from memcached_get(:1:SERVICE_URL): (0x93f408) SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY, host: 127.0.0.1:11211 -> libmemcached/get.cc:314
2020-05-24 19:25:02,798 [ERROR] django.pylibmc:132 get MemcachedError: error 47 from memcached_get(:1:autofilled): (0x93f408) SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY, host: 127.0.0.1:11211 -> libmemcached/get.cc:314
Traceback (most recent call last):
File “/usr/local/lib/python3.7/dist-packages/django_pylibmc/memcached.py”, line 130, in get
return super(PyLibMCCache, self).get(key, default, version)
File “/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/core/cache/backends/memcached.py”, line 79, in get
val = self._cache.get(key)
pylibmc.ServerDown: error 47 from memcached_get(:1:autofilled): (0x93f408) SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY, host: 127.0.0.1:11211 -> libmemcached/get.cc:314

@IssueFindings, @jobenvil, I’ve got the same issue installing from scratch on raspbian (buster).
I’ve found seaf-server-init in linux tarball but the format is ELF 64-bit LSB executable, x86-64.
So I think seaf-server-init has to be compiled in “ELF 32-bit LSB pie executable, ARM” format and included in seafile-server_7.1.4_pi-buster-stable.tar.gz.
Note : also missing in seafile-server_7.1.4_pi-bionic-stable.tar.gz

that’s wrong, see below:

Yes, it is missing in the 7.1.4. Sorry. Can you please download it and install under /seafile/bin?

@herve you must ensure that your memcached is working. It is clearly indicated what’s going on.

of course, right now
I’ll tell you if it goes like expected…

@fidelio33b Here is the source of the knowledge It is kaputt :slight_smile:

ok, thanks…

arg…

/opt/seafile/seafile-server-7.1.4/seafile/bin/seaf-server-init: error while loading shared libraries: libmariadbclient.so.18: cannot open shared object file: No such file or directory

I’ve found seafile/lib/libmariadb.so.3 but not libmariadbclient.so.18 !

I run raspbian buster and libmariadbclient.so.18 seems to be for bionic !

Sorry…

@fidelio33b many thanks!, yes, you are right. I will fix it.

Ok, last minute compilation for buster

If it works, I will let work the other containers later.

My error was exactly here, on --hard master

build_seafile()
{
  echo
  echo -e "\n\e[93m-> [6/$STEPS] Build seafile-server\e[39m\n"

  cd $BUILDFOLDER
  if [ -d "seafile-server" ]; then
    cd seafile-server
    (set -x; git reset --hard origin/master)
    (set -x; git pull)
  else
    (set -x; git clone https://github.com/haiwen/seafile-server.git)
    cd seafile-server
  fi
  (set -x; git reset --hard master) #it is harmless if != $VERSION_TAG
  (set -x; ./autogen.sh)
  (set -x; ./configure --with-mysql=$MYSQL_CONFIG_PATH)
  (set -x; make dist)
  cd $SCRIPTPATH
}

I used master branch for R7.1.3 since the master had some fixes that I want to include, but after the last commits, it is better to stick to $VERSION_TAG until the new tags are consolidated. SOOORRRRYYY

Your seafile server configuration has been finished successfully.

Many thanks to you, I will hold on

Not so bad but…

$ ./seafile.sh start … done

and

$ ./seahub.sh start

LC_ALL is not set in ENV, set to en_US.UTF-8
./seahub.sh: line 210: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such file or directory
Starting seahub at port 8000 …
Traceback (most recent call last):
File “/opt/seafile/seafile-server-7.1.4/check_init_admin.py”, line 351, in
rpc = RPC()
File “/opt/seafile/seafile-server-7.1.4/check_init_admin.py”, line 284, in init
import ccnet
ModuleNotFoundError: No module named ‘ccnet’

To be continued… tomorrow !

@fidelio33b thanks, the problem you have is because you didn’t create the python link:

It’s fixed in stretch, bionic, buster.

The problem appears for new installations, other like update had no issues.

Hi
Right, I remember I did it with my tries before downloading your last tarball !
I’ll take a look today.
Thanks !

Everything is almost correct…

I’ve downloaded the last tarball, removed everything (dir, databases…) and restarted install from scratch.

The install process was fine, everything done and seafile.sh started

but when starting seahub.sh :

Successfully created seafile admin

Error:Seahub failed to start.
Please try to run “./seahub.sh start” again

I’ve tried to look in logs but seahub.log is empty and ccnet.log/controller.log/seafile.log are correct.

Sorry… what did I missed ?

Read pls. the docu.

ok
found a dependency pb out of the scope of this f…g manual !
I’ll try to stop annoying you anymore and find by mylself…

Best regards