Seafile pro edition 6.2.2 is ready! Two long pending issues related to file history are fixed

There is a stable release. Two long pending issues related to file history are fixed.

The first is the performance of loading the file history page. In the old version, for frequent modified library, showing a file’s history will take a few minutes and easily lead to page loading error. Now the loading of file history is changed to an asynchronized way. After the file history page is loaded, a request will be send to server to scan the file history within a limited time. And the user can click “more” to load more histories.

The second is showing of at least two file history records. In the old version, when a library’s history is set to keep only a month. If a file has not been modified in the last month, and the user changes the file today, the history will only show the current version.

The full changelog:

  • [improve] Improve performance of file history page.
  • [improve] Show two file history records at least.
  • [improve] show be shared folders when copy/move file/folder to “Other Libraries”.
  • [improve] Remove the white edge of webpage when previewing file via OnlyOffice.
  • [fix, Multi-tenancy] fix bug when listing librarier/folders shared to group.
  • [fix, Multi-tenancy] fix bug when deleting an organization.
  • [fix] fix bug when previewing excel file with “&” character in its name.
  • [fix] Don’t check if user exists when deleting a group memeber in admin panel.
  • [OAuth] Don’t overwrite public registration settings when login an unexisted user.
  • [Audit] Recording file access/update log when preview/edit a file via OnlyOffice.
5 Likes

Hi @daniel.pan

thank you very much for the new version!
Is it normal, that the non-ubuntu-version is more than 10MB less in size than the ubuntu version or the predecessor?

Thanks and best regards,
Jochen

I compared the 6.2.1 version and 6.2.0 version and found the major size difference is caused by the seafile/lib/libclntsh.so.12.1 file (55 MB after decompression) which is removed from version after 6.2.0. I checked this library and it seems to be related with the Oracle Database. Since Seafile doesn’t use Oracle as backend, the removal should be safe.

It turns out there are some useless lib files under the seafile/lib directory in the older version (<=6.2.0?). I would also like to hear more feedback from developers. :slight_smile:

1 Like

List of files and their size for reference:

teng@teng-XPS-8920:~/Downloads/seafile-pro-server-6.2.1/seafile/lib$ ls -h --size --sort=size
total 41M
5.1M librados.so.2
4.1M libfontforge.so.2
2.9M libgunicode.so.4
2.5M libpoppler.so.46
2.4M libcrypto.so.10
1.8M libpython2.7.so.1.0
1.7M libgio-2.0.so.0
1.5M libxml2.so.2
1.3M libX11.so.6
1.2M libcairo.so.2
1.1M libglib-2.0.so.0
976K libstdc++.so.6
944K libkrb5.so.3
736K libsqlite3.so.0
712K libarchive.so.13
684K libpixman-1.so.0
676K libfreetype.so.6
472K libGL.so.1
472K libtiff.so.5
460K libssl.so.10
428K libcurl.so.4
408K libharfbuzz.so.0
396K libpcre.so.1
388K libmariadb.so.3
344K libldap-2.4.so.2
328K libgobject-2.0.so.0
316K libgssapi_krb5.so.2
304K libpango-1.0.so.0
292K libevent-2.0.so.5
280K libjpeg.so.62
264K libmount.so.1
256K libblkid.so.1
252K libfuse.so.2
252K libfontconfig.so.1
248K libnspr4.so
208K libk5crypto.so.3
208K libidn.so.11
196K libmemcached.so.11
192K libglapi.so.0
192K libgraphite2.so.3
188K libEGL.so.1
176K libpng15.so.15
172K libssh2.so.1
172K libexpat.so.1
164K libxcb.so.1
164K libsmime3.so
156K liblzma.so.5
152K libopenjpeg.so.1
124K libccnet.so.0.0.0
120K libsasl2.so.3
108K libxcb-glx.so.0
100K libICE.so.6
100K libgutils.so.2
 96K libboost_thread-mt.so.1.53.0
 92K libpangoft2-1.0.so.0
 92K libXft.so.2
 92K libz.so.1
 88K libgcc_s.so.1
 76K libXext.so.6
 64K libdrm.so.2
 64K liblber-2.4.so.2
 60K libkrb5support.so.0
 56K libxcb-render.so.0
 56K libpangocairo-1.0.so.0
 56K libjansson.so.4
 52K libthai.so.0
 52K libjbig.so.2.0
 52K libgbm.so.1
 44K libXrender.so.1
 44K libltdl.so.7
 40K libsearpc.so.1.0.2
 40K libpangoxft-1.0.so.0
 36K libcrypt.so.1
 32K libSM.so.6
 32K libffi.so.6
 32K libxcb-xfixes.so.0
 28K libxcb-sync.so.1
 24K libXfixes.so.3
 24K libXxf86vm.so.1
 20K libplc4.so
 20K libuuid.so.1
 20K libspiro.so.0
 20K libxcb-dri2.so.0
 20K libgioftp.so.2
 16K libcom_err.so.2
 16K libplds4.so
 16K libkeyutils.so.1
 16K libgmodule-2.0.so.0
 16K libboost_system-mt.so.1.53.0
 16K libXau.so.6
 16K libxcb-shm.so.0
 16K libmemcachedutil.so.2
 12K libfreebl3.so
 12K libXdamage.so.1
 12K libutil.so.1
 12K libxcb-dri3.so.0
 12K libxcb-present.so.0
 12K libxshmfence.so.1
8.0K libgthread-2.0.so.0
8.0K libX11-xcb.so.1
   0 libsearpc.so
   0 libsearpc.so.1
   0 libccnet.so
   0 libccnet.so.0

teng@teng-XPS-8920:~/Downloads/seafile-pro-server-6.2.0/seafile/lib$ ls -h --size --sort=size
total 106M
  55M libclntsh.so.12.1
 6.5M libclntshcore.so.12.1
 5.8M librados.so.2
 5.4M libnnz12.so
 3.7M libfontforge-2.0.0_beta1.so
 2.9M libgunicode-2.0.0_beta1.so
 2.4M libpoppler.so.37
 1.9M libcrypto.so.10
 1.9M libcrypto.so.1.0.0
 1.7M libipc1.so
 1.4M libxml2.so.2
 1.4M libgio-2.0.so.0
 1.3M libX11.so.6
 1.2M libglib-2.0.so.0
1020K libcairo.so.2
 968K libstdc++.so.6
 896K libkrb5.so.3
 836K libsqlite3.so.0
 680K libpixman-1.so.0
 596K libharfbuzz.so.0
 540K libarchive.so.12
 540K libfreetype.so.6
 512K libmql1.so
 500K libevhtp.so
 464K libfreebl3.so
 432K libssl.so.10
 428K libssl.so.1.0.0
 388K libcurl.so.4
 352K libmariadb.so.2
 332K libldap_r-2.4.so.2
 312K libldap-2.4.so.2
 304K libgobject-2.0.so.0
 304K libons.so
 296K libpango-1.0.so.0
 276K libevent-2.0.so.5
 268K libgssapi_krb5.so.2
 260K libjpeg.so.62
 240K libnspr4.so
 240K libfuse.so.2
 236K libfontconfig.so.1
 208K libidn.so.11
 200K libpng16.so.16
 192K libmemcached.so.11
 180K libsmime3.so
 180K libk5crypto.so.3
 164K libexpat.so.1
 164K libpq.so.5
 124K libxcb.so.1
 120K libccnet.so.0.0.0
 108K libsasl2.so.2
  96K libnsl.so.1
  92K libz.so.1
  92K libgcc_s.so.1
  88K libgutils-2.0.0_beta1.so
  88K libboost_thread-mt.so.5
  84K libXft.so.2
  80K libXext.so.6
  80K libpangoft2-1.0.so.0
  64K liblber-2.4.so.2
  52K libpangocairo-1.0.so.0
  52K libjansson.so.4
  48K libkrb5support.so.0
  44K libXrender.so.1
  40K libltdl.so.7
  40K libcrypt.so.1
  40K libxcb-render.so.0
  32K libpangoxft-1.0.so.0
  32K libffi.so.5
  32K libsearpc.so.1.0.2
  24K libplc4.so
  20K libuuid.so.1
  20K libcom_err.so.2
  20K libplds4.so
  20K libgioftp-2.0.0_beta1.so
  16K libboost_system-mt.so.5
  16K libmemcachedutil.so.2
  16K libXau.so.6
  16K libkeyutils.so.1
  12K libgmodule-2.0.so.0
 8.0K libxcb-shm.so.0
 8.0K libaio.so.1
 8.0K libgthread-2.0.so.0
    0 libsearpc.so
    0 libsearpc.so.1
    0 libccnet.so
    0 libccnet.so.0

We once supported Oracle database. It is now deprecated. We can remove the code and related libs in the next release.

2 Likes

Thanks @1111 and @daniel.pan for clarification!