Still internal error and I found this in roundcube error log:
[04-Jun-2024 12:44:32 +0200]: <htbsk62b> DB Error: [1146] Table 'roundcube.session' doesn't exist (SQL Query: SELECT `vars`, `ip`, `changed`, now() AS ts, CASE WHEN `changed` < now() - INTERVAL 600 SECOND THEN 1 ELSE 0 END AS expired FROM `session` WHERE `sess_id` = 'htbsk62bvt5301lumbs700piea') in /var/lib/roundcube/program/lib/Roundcube/rcube_db.php on line 577 (GET /)
[04-Jun-2024 12:44:32 +0200]: <htbsk62b> DB Error: [1146] Table 'roundcube.session' doesn't exist (SQL Query: INSERT INTO `session` (`sess_id`, `vars`, `ip`, `changed`) VALUES ('htbsk62bvt5301lumbs700piea', 'dGVtcHxiOjE7bGFuZ3VhZ2V8czo1OiJuYl9OTyI7dGFza3xzOjU6ImxvZ2luIjtza2luX2NvbmZpZ3xhOjc6e3M6MTc6InN1cHBvcnRlZF9sYXlvdXRzIjthOjE6e2k6MDtzOjEwOiJ3aWRlc2NyZWVuIjt9czoyMjoianF1ZXJ5X3VpX2NvbG9yc190aGVtZSI7czo5OiJib290c3RyYXAiO3M6MTg6ImVtYmVkX2Nzc19sb2NhdGlvbiI7czoxNzoiL3N0eWxlcy9lbWJlZC5jc3MiO3M6MTk6ImVkaXRvcl9jc3NfbG9jYXRpb24iO3M6MTc6Ii9zdHlsZXMvZW1iZWQuY3NzIjtzOjE3OiJkYXJrX21vZGVfc3VwcG9ydCI7YjoxO3M6MjY6Im1lZGlhX2Jyb3dzZXJfY3NzX2xvY2F0aW9uIjtzOjQ6Im5vbmUiO3M6MjE6ImFkZGl0aW9uYWxfbG9nb190eXBlcyI7YTozOntpOjA7czo0OiJkYXJrIjtpOjE7czo1OiJzbWFsbCI7aToyO3M6MTA6InNtYWxsLWRhcmsiO319', '192.168.10.243', now())) in /var/lib/roundcube/program/lib/Roundcube/rcube_db.php on line 577 (GET /)
seems like my whole database is just broken and most likely, that is not only error with it I will find
mysql -uroot -e 'DROP DATABASE IF EXISTS roundcube'
mysql -uroot -e "DROP USER \`roundcube\`@\`%\`"
mysql -uroot -e "DROP USER \`roundcube\`@\`localhost\`"
rm /var/lib/roundcube/index.php
Great. But it is weird, first, that the user roundcube didnât exist in your db and the second one, that mysql user couldnât remove the files inside /var/lib/mysql/roundcube/.