I previously had a good running version of Seafile server (v6.3.4) running on an rPi 3 with Raspbian Scratch. But the USB/Ethernet bus died and I had to upgrade to a rPi4. As such I had to upgrade to Buster and reinstall (v7.1.4). I was able to get everything reinstalled and then import the MySQL database as well. Seafile loads and I am able to access my files again via the network drive on my PC. But I cannot get Seahub to start successfully.
Installation seemed to work without any errors, but upon completion I noticed that the ccnet directory was empty. Since Seahub failed to start I copied over seafile.ini & mykey.peer from my old installation. But per the documentation I am still missing PeerMgr. I figure this is where the problem lies, but have not found any way to fix it.
I also tried the python3.6 symlink and reinstalling Pillow suggestions from the release notes. Below is the error output I get. I am not well versed enough to understand it , but it does seem to be an issue with python and/or pillow.
I have also reset ownership for everything in /opt/seafile to seafile.nogroup.
root@raspberrypi:/opt/seafile/seafile-server-7.1.4 # ./seahub.sh start-fastcgi
LC_ALL is not set in ENV, set to en_US.UTF-8
Starting seahub (fastcgi) at 127.0.0.1:8000 ...
Traceback (most recent call last):
File "/opt/seafile/seafile-server-7.1.4/seahub/seahub/avatar/models.py", line 23, in <module>
from PIL import Image
File "/opt/seafile/seafile-server-7.1.4/seahub/thirdpart/PIL/Image.py", line 94, in <module>
from . import _imaging as core
ImportError: libopenjp2.so.7: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/seafile/seafile-server-7.1.4/seahub/manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/opt/seafile/seafile-server-7.1.4/seahub/thirdpart/django/core/management/__init__.py", line 364, in execute_from_command_line
utility.execute()
File "/opt/seafile/seafile-server-7.1.4/seahub/thirdpart/django/core/management/__init__.py", line 338, in execute
django.setup()
File "/opt/seafile/seafile-server-7.1.4/seahub/thirdpart/django/__init__.py", line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File "/opt/seafile/seafile-server-7.1.4/seahub/thirdpart/django/apps/registry.py", line 108, in populate
app_config.import_models()
File "/opt/seafile/seafile-server-7.1.4/seahub/thirdpart/django/apps/config.py", line 202, in import_models
self.models_module = import_module(models_module_name)
File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/opt/seafile/seafile-server-7.1.4/seahub/seahub/avatar/models.py", line 26, in <module>
import Image
ModuleNotFoundError: No module named 'Image'
Error:Seahub failed to start.
Any help would be greatly appreciated.