Seafile pro edition 6.2.1 is ready for testing!


#1

This version is packaged on a CentOS 7 machine. It is supposed to fix the incompatibility problem with Ceph and LDAPS. The statistics feature is turn off by default. To turn on the feature, add the config to seafevents.conf

[STATISTICS]
enabled = true

If you have installed pro 6.2.0, you will need to drop a table before using pro 6.2.1:

drop table if exists UserActivityStat;

Here is the full changelog:

  • [new] Support OAuth.
  • [new] Support Swift v1 protocol.
  • [new, admin] Add option to turn on statistic module
  • [new] Enable publish library update events to message queue (like Redis)
  • [improve, ui] Add “click to select” feature for download/upload links.
  • [improve, ui] improved accessibility for some form elements, such as login inputs, and etc.
  • [improve, api] Add repo_owner field to library search web api.
  • [improve, admin] Show/edit contact email in admin panel.
  • [improve, admin] Show upload links in admin panel.
  • [improve, admin] Improve license display.
  • [improve, admin] Share with admin permission recorded in audit log.
  • [improve, admin] Add permission audit log when remove library from group.
  • [improve, search] Set timeout for extracting contents from doc/pdf.
  • [improve, search] Search indexing no longer depend on Seafile service. It reads information from database directly.
  • [fix] Fix Shibboleth login redirection issue, see Shared Links via Shibboleth
  • [fix] In some case failed to unshare a folder.
  • [fix] LDAP search issue.
  • [fix] Fix Safari downloaded file names are encoded like ‘test-%2F%4B.doc’ if it contains special characters.
  • [fix] Disable client encrypt library creation when creating encrypt library is disabled on server.
  • [fix] Failed to get snapshot labels when libraries are deleted.

#3

Hi @daniel.pan

I updated to 6.2.1 (minor_upgrade from 6.2.0) but when i start seahub it fails.

~/seafile/seafile-server-latest$ ./seafile.sh start

** Message: seafile-controller.c(1087): loading seafdav config from /home/cc/seafile/conf/seafdav.conf

[11/22/17 09:04:31] ../common/session.c(139): using config file /home/cc/seafile/conf/ccnet.conf
[11/22/17 09:04:31] ../common/license.c(427): Loading license file /home/cc/seafile/seafile-license.txt ..
Starting seafile server, please wait ...
** Message: seafile-controller.c(1087): loading seafdav config from /home/cc/seafile/conf/seafdav.conf

Seafile server started

Done.


/seafile/seafile-server-latest$ ./seahub.sh start
LC_ALL is not set in ENV, set to en_US.UTF-8
Starting seahub at port 8000 ...
Error:Seahub failed to start.
Please try to run "./seahub.sh start" again

I did not find any log in /logs not in /tmp

Any help ?

Regards


#4

Do you familiar with Linux command ?

If yes, there is a way to find out what’s going wrong:

  1. open seahub.sh, find the following line
$PYTHON $gunicorn_exe seahub.wsgi:application -c "${gunicorn_conf}" -b "0.0.0.0:${port}" --preload

and change it to

$PYTHON $gunicorn_exe seahub.wsgi:application -c "${gunicorn_conf}" -b "0.0.0.0:${port}"

(just removing --preload).

  1. save it and ./seahub.sh start again.

  2. there should be some error msgs in runtime/error.log.


#5

Hi,

No, cause i do nevvbie errors :wink:
I had a uncommented line in my seahub_settings.py

[STATISTICS]
#enabled = true

With this it works fine !
Sorry

#[STATISTICS]
#enabled = true

Regards


#6

Hi,

Is it limited to a folder ? I can’t find this feature.

Regards,

Gautier


#7

Upgrade went through smooth on my end, the only part that i was stuck on was dropping the table, you did not specify which table it was in, so i went through all of them and searched first, mine did not exist at all. Thanks!


#8

I have this error with pro 6.2.1:

Starting seafile background tasks …
e[33mError: failed to start seafile background tasks.e[m
Please try to run “./seafile-background-tasks.sh start” again

Pro 6.2.0 is running fine.


#9

Hi daniel,

Do you think that your support of OAuth also includes OpenIdConnect ?

Regards


#10

It is not limited to a folder. You can find the feature in sharing dialog.


#11

I haven’t tested with OpenIdConnect. If it supports general OAuth 2 protocol, it should work.


#12

HI,

Let’s hope so… *:slight_smile:
Regards,
Gautier


#13

@daniel.pan

What’s about my seafile-background-task problem with Pro 6.2.1?


#14

It will be fixed in the next release.


#15

Hi,
LDAPS ist still not working on my installation (“pro.py ldapsync” works).
I’m using “Scientific Linux release 7.4”. I’ve deleted the bundled llibraries liblber-2.4.so.2, libldap-2.4.so.2, and libsasl2.so.3 from the seafile directory. The system has installed openldap-2.4.44-5.el7.x86_64.
Anything what I can test? Any debugging tools?


#16

OK, I got it to work :grinning:
Seems that my /etc/openldap/ldap.conf, resp. ~seafile/.ldaprc, was referencing an old CA certificate. Now seafile 6.2.1 works with ldaps using the system libraries. Even v6.2.0 is running now, but v6.1.9 is not.
Thanks and sorry for the inconvenience.


#17

Using Ceph as data storage backend is working, too :grinning:
Great work!


#18

@daniel.pan
Should I enable the statistics feature in seafevents.conf only on the backend server?


#19

I would say you need to enable it at least on one frontend server.


#20

Thanks for fixing the background task problem in Pro 6.2.2.


#21

This remind me. I will look into the problem tomorrow.