RPi4 new install 8.0.5 failed on Executing build-server.py

Hi
I’m following these instructions: github…/haiwen/seafile-rpi
I downloaded seafile-server-8.0.5-buster-armv7l.tar.gz

This is where the script fails:
→ Executing build-server.py

  • python3 /var/seafile/haiwen-build/seafile-server/scripts/build/build-server.py --libsearpc_version=3.1.0 --seafile_version=6.0.1 --version=8.0.5 --thirdpartdir=/var/seafile/haiwen-build/seahub_thirdparty --srcdir=/var/seafile/built-seafile-sources/R8.0.5 --mysql_config=/usr/bin/mysql_config --outputdir=/var/seafile/built-seafile-server-pkgs --yes
    [ERROR] chardet* not found in /var/seafile/haiwen-build/seahub_thirdparty
    error: Build Seafile server failed

Any ideas?

Why to build the server again? Just run it: seafile-server-latest/seafile.sh start and seafile-server-latest/seahub.sh start
May check your architecture? What’s the output for uname -a? Version 8.0.3 also has a arm64v8 build.

I didn’t buy the 8GB pi4 because the 64bit raspbian didn’t look very stable, so I just bought the 4GB pi4:
Linux ArchivePI 5.10.17-v7l+ #1421 SMP Thu May 27 14:00:13 BST 2021 armv7l GNU/Linux
and etc/os-releases says I’m on buster:
PRETTY_NAME=“Raspbian GNU/Linux 10 (buster)”

This is a new install, so i just ran this (from the instructions page):
$ ./build3.sh -D -A -v 8.0.5
It’s trying to build the server.
I will try using the pre-built seafile-server gz from the downloads page instead.

To answer your question why am I building it twice:
I did download the prebuilt gz, but I thought it was required for the next section (the Build section).
So I didn’t touch the gz file.

Anyway I will try using the gz instead of the Build instructions.