We are glad to announce that Seafile community edition 11.0.3 is ready. It is a stable release.
In Seafile 11.0.3, we continue work on improving the UI:
Different favicon for different file type pages
Other UI improvements and fixes
The integrated SeaDoc is also upgraded to version 0.4 (beta). The main changes include:
UI improvement for tables
A new callout element
Ui improvement for comments feature
UI improvement of the revision feature
Let’s look at the details below.
Seafile 11.0.3
Seafile 11.0.3 mainly includes some improvements and fixes on the UI.
Use different favicon on preview pages for different file types
This gives users better distinguish for different file preview pages.
Improved the UI of the error dialog when zip download failed
Improved the UI for editing sharing permission, user roles and other places
Originally, you needed to click the edit button first and enter the edit mode before you could make changes. Now, you can make direct modifications by clicking on the dropdown arrow.
Improved the UI for document conversion
Improved the avatar UI and removed the dropdown triangle next to the avatar
The dropdown triangle next to the avatar has been removed.
SeaDoc 0.4
Improvements in table functionality
You can now select a template when creating a table.
Tables now support cell merging.
Improvements in comment functionality
Comments now display the corresponding paragraph.
Adding drag-and-drop functionality
You can now move an element by dragging it using the side button.
Adding callout elements
You can add callout elements in the document. The callout element has various highlight background colors. This type of elements can be used to display some information that readers need to pay attention to in the document.
After the revision is published, the page displays a ‘published’ indicator
Other changes and fixes
Input "1. " will now create ordered list
UI fixes for check list
Support uploading multiple images from local
Fixed some issues in changing an image’s display mode to block
Sorry for causing trouble to you. The column ‘domain’ was added in version 11.0.1. You can refer to the following steps to solve upgrade problems:
Manually add the column in the database,
ADD COLUMN IF NOT EXISTS domain varchar(255) DEFAULT NULL;
ALTER TABLE org_saml_config ADD UNIQUE INDEX IF NOT EXISTS (domain);
Manually execute the upgrade script,
seafile-server-11.0.3/upgrade/upgrade_10.0_11.0.sh
This looks a great new version, two issues I’ve encountered with the upgrade (in addition to the missing DB column noted above).
On Debian Bookworm, I also had to install libsasl2-dev so that python-ldap could be built.
The call to pro.py in upgrade/upgrade_10.0_11.0.sh doesn’t handle spaces in passwords, and by the look things a whole stack of other special characters. You need to put quote marks round the variables.
i just installed seafile 11.0.3 (compiled from source using the ARM build.sh script) using ./setup-seafile-mysql.sh auto ... but afterwards ./seafile.sh start fails with an error hinting to the pro version:
awk: fatal: cannot open file <install path>/seafile-server-11.0.3/pro/python/seafevents/seafevents_api.py' for reading: No such file or directory
thanks! i suspect the build didn’t work properly, perhaps the build.sh script needs to be adjusted for v11 builds (missing flags?)? i just checked and the 10.0.1 build using the same script runs without errors.
however, i noticed that after i called ./setup-seafile-mysql.sh auto with the --seafile-dir flag poiting to a different directoy caused the configuration to either be incomplete or buggy, as seafile wouldn’t start because it didn’t find any data directory. i manually created seafile-data in the installation directory to get rid of this, but i assume --seafile-dir should be used to configure a different location?
I successfully compiled seafile-server-11.0.3-bookworm-armv7l.tar.gz (using Raspberry Pi - Seafile Admin Manual - with a lot of fixes due to outdated python-libraries). When invoking ./seahub.sh start <PORT> I had the same error as @m.eik :
But now there is still this error remaining when starting ./seahub.sh start <PORT>:
Error: module 'inspect' has no attribute 'getargspec'
Error:Seahub failed to start.
which I can’t debug any further due to my limited knowledge.
Any help would be appreciated.
EDIT (13.01.2024): Apparently inspect.getargspec has been removed with Python 3.11. Though I am running Debian Bookworm with Python 3.11.2 I am not entirely sure whether that is really the problem. In any case I have no clue how to solve this…
unfortunately, this didn’t really resolve the issues. i noticed that there is already a pro/python/seafevents directory (so git refuses to overwrite). i don’t get any error messeges except Error:Seahub failed to start. Please try to run "./seahub.sh start" again – log/seahub.log doesn’t show anything. this makes it hard to debug
does seafevents use the same database as seahub, as your example suggests? the config template in seafevents names the database seafevents.
@daniel.pan do you have any advice how to manually get this working using the supposedly outdated build script?
ok, when i set daemon = False in conf/gunicorn.conf.py, i got this error:
Starting seahub at port 8000 ...
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/MySQLdb/__init__.py", line 18, in <module>
from . import _mysql
ImportError: libmysqlclient.so.21: cannot open shared object file: No such file or directory
installing the python package mariadb and subsequently rebuilding mysqlclient solved this issue. alternatively, installing libmysqlclient21 via apt also proved to be successful, but not having MySQL packages around felt like a more elegant solution.
i am currently writing some ansible roles to install and maintain seafile. personally i will rather try to fix (or reimplement) the alternative build.sh script instead of running the seafile-build.sh version because i prefer to go through the build process one step at a time.