Can't access webmail after update to v56

Hello

I have upgraded my mailinabox machine on ubuntu, ran

sudo apt-get update && sudo apt-get upgrade

and

curl -s https://mailinabox.email/setup.sh | sudo bash

and reboot after

When login to webmail browser shows

Oops… something went wrong!
An internal error has occurred. Your request cannot be processed at this time.

For administrators: Please check the application and/or server error logs for more information

maillog says that user entered and logged out in a moment

is it roundcube problem or what? where can i find configs and logs for it? any advices appreciated

Check the nginx error log at /var/log/nginx/error.log @mickn850

1 Like

Hello, thank you @alento for log path. I have to say - i can see webmail login page, can enter login and password and click enter, and after that i see

Oops… something went wrong!
An internal error has occurred. Your request cannot be processed at this time.

For administrators: Please check the application and/or server error logs for more information

i have checked nginx log -
there is nothing written at time of login
then i checked roundcube logs /var/log/roundcube/errors.log

[18-Mar-2022 12:15:55 ]: <pbfmjcdg> DB Error: [19] NOT NULL constraint failed: carddav_addressbooks2.last_updated (SQL Query: UPDATE carddav_addressbooks2 SET last_updated=strftime('%s', last_updated)) in /usr/local/lib/roundcubemail/program/lib/Roundcube/rcube_db.php on line 566 (POST /mail/?_task=login&_action=login)
[18-Mar-2022 12:15:56 ] PHP Fatal error:  Uncaught Error: Wrong parameters for MStilkerich\CardDavAddressbook4Roundcube\Db\DatabaseException([string $message [, long $code [, Throwable $previous = NULL]]]) in /usr/local/lib/roundcubemail/plugins/carddav/src/Db/Database.php:112
Stack trace:
#0 /usr/local/lib/roundcubemail/plugins/carddav/src/Db/Database.php(112): Exception->__construct(NULL)
#1 /usr/local/lib/roundcubemail/plugins/carddav/carddav.php(1169): MStilkerich\CardDavAddressbook4Roundcube\Db\Database->startTransaction(false)
#2 /usr/local/lib/roundcubemail/plugins/carddav/carddav.php(339): carddav->deleteAddressbook('3')
#3 /usr/local/lib/roundcubemail/program/lib/Roundcube/rcube_plugin_api.php(513): carddav->initPresets(Array)
#4 /usr/local/lib/roundcubemail/index.php(154): rcube_plugin_api->exec_hook('login_after', Array)
#5 {main}
  thrown in /usr/local/lib/roundcubemail/plugins/carddav/src/Db/Database.php on line 112

and checked /var/log/roundcube/carddav.log

[18-Mar-2022 12:17:26 ]: <ed4u1jk2> [5 ERR] Migration query (
UPDATE carddav_addressbooks2 SET last_updated=strftime('%s', last_updated);) failed: [19] NOT NULL constraint failed: carddav_addressbooks2.last_updated
[18-Mar-2022 12:17:26 ]: <ed4u1jk2> [5 ERR] MStilkerich\CardDavAddressbook4Roundcube\Db\Database::startTransaction ERROR:

Actually i don’t know what to do with it yet:)

I have disabled carddav plugin in roundcube config, webmail seems working now
How can i disable nextcloud service? i don’t need it…

This topic was automatically closed 40 days after the last reply. New replies are no longer allowed.