Unable to login after UPGRADE from seafile-server-5.0.4 --> seafile-server-6.0.9

Hello!

I am upgrading a very old installation of Seafile Server on CentOS 7. I managed to upgrade it from 4.4.3 to 5.0.4 successfully.

Next, I was trying to do
5.0 --> 5.1
but couldn’t find the 5.1 build anywhere, so I jumped directly to 6.0.9

Now, doing
5.0 --> 6.0

I read the documentation (https://download.seafile.com/published/seafile-manual/upgrade/upgrade.md) and the instructions say to run the upgrade shell scripts one by one like this:

upgrade/upgrade_5.0_5.1.sh
upgrade/upgrade_5.1_6.0.sh

and so I did. They ran with no problems:

[seafile@seafile ~/seafile-server-6.0.9/upgrade]$ ./upgrade_5.0_5.1.sh 

-------------------------------------------------------------
This script would upgrade your seafile server from 5.0 to 5.1
Press [ENTER] to contiune
-------------------------------------------------------------



Updating seafile/seahub database ...

[INFO] You are using MySQL
[INFO] updating seafile database...
[INFO] updating seahub database...
Done

migrating avatars ...

Done

updating /home/seafile/seafile-server-latest symbolic link to /home/seafile/seafile-server-6.0.9 ...



-----------------------------------------------------------------
Upgraded your seafile server successfully.
-----------------------------------------------------------------

[seafile@seafile ~/seafile-server-6.0.9/upgrade]$ ./upgrade_5.1_6.0.sh 

-------------------------------------------------------------
This script would upgrade your seafile server from 5.1 to 6.0
Press [ENTER] to contiune
-------------------------------------------------------------



Updating seafile/seahub database ...

[INFO] You are using MySQL
[INFO] updating seahub database...
Done

migrating avatars ...

Done

updating /home/seafile/seafile-server-latest symbolic link to /home/seafile/seafile-server-6.0.9 ...



-----------------------------------------------------------------
Upgraded your seafile server successfully.

Now I can’t login anymore. Any ideas?

P.S. 1: I am using LDAP with OpenLDAP. Browsing through my old notes, I found this:

* Fix LDAP bug:
vi ~/seafile-server-latest/seafile.sh
comment:
#export SEAFILE_LD_LIBRARY_PATH=${INSTALLPATH}/seafile/lib/:${INSTALLPATH}/seafile/lib64:${LD_LIBRARY_PATH}

and add:
export SEAFILE_LD_LIBRARY_PATH=/usr/lib64/:/lib64/:/usr/lib/:/lib/:${INSTALLPATH}/seafile/lib/:${INSTALLPATH}/seafile/lib64:${LD_LIBRARY_PATH}

but it didn’t help.

P.S. 2: Then I read in the official documentation this:
(https://download.seafile.com/published/seafile-manual/deploy/using_ldap.md)

On CentOS 6, you have to move the libnssutil library:

cd ${SEAFILE_INSTALLATION_DIR}/seafile-server-latest/seafile/lib
mkdir disabled_libs_use_local_ones_instead
mv libnssutil3.so disabled_libs_use_local_ones_instead/

This effectively removes the bundled libraries from the library search path.
When the server starts, it’ll instead find and use the system libraries (if they are installed).
This change has to be repeated after each update of the Seafile installation.

But that didn’t help either.

P.S. 3: The logs don’t say much, either.

UPDATE: Appears I was unable to login only from the WEB interface (NginX). The desktop client works. But, still, I would like to fix this, so I would be grateful for any info.