For first post, please answer the questions below!
Describe your issue in detail
I downloaded the latest binary and followed all steps documented for RHEL based linux distros. The database and /var/cells is restored from backup. I took a backup on the previous stable version of Cells version. The issue is, on first launch it didn’t worked, I think the upgrade part took time, on restarting the cells service, the login page appeared and logged in fine, but it was too slow and some feature like opening shared cells weren’t working… and I restarted the cells service again and this time it is not allowing me to login with the correct username and password, showing this error: “Login failed: could not recognise your username or password”
here is the log of cells service.
Can you give us the full logs after restarting the application please ? That would help us debugging. And also, can you provide a bit more information about your system (db versions, …) ?
Here is a full log, this time when I reload, at least it logged in successfully but it is so slow and some functionalities are not working as intended.
Would it please be possible to return the following :
SELECT
TABLE_SCHEMA AS database_name,
TABLE_NAME AS table_name,
TABLE_ROWS AS estimated_rows
FROM information_schema.TABLES
WHERE TABLE_SCHEMA NOT IN (
'information_schema',
'mysql',
'performance_schema',
'sys')
ORDER BY TABLE_ROWS DESC;
And also to enable the slow query logs to see if there is anything obvious ?
SET GLOBAL slow_query_log = 'ON';
SET GLOBAL long_query_time = 1;
SET GLOBAL log_queries_not_using_indexes = 'ON';
SET GLOBAL slow_query_log_file = '/var/log/mysql/mariadb-slow.log';
Finally, we have done some changes to the way the connection pool is handled in the v5. By default we set up 10 connections for the home edition. It could be that it is too low for your setup - could you try changing it please ? In the pydio.json, you can add a parameter maxConnection to the database connection url to increase the number of connections ?
I also tried enabling slow query log, but I get this error on the last query,
ERROR 1231 (42000): Variable ‘slow_query_log_file’ can’t be set to the value of ‘/var/log/mysql/mariadb-slow.log’
I also edited the pydio.json to add maxConnections well I restarted cells.service after setting those.. The loading time is relatively good now but not perfect as previous Cells Versions. The login failure is also resolved.
Here is problems that are still exist after upgrade to V5
Another thing to mention here is, I am already using Caddy as reverse proxy, but I checked that Cells V5 have it’s own Caddy implementation, maybe that could be the reason for the slow response