Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

The system could not create the calendar error

Discussion in 'E-mail Discussion' started by Chattr, Jul 29, 2018.

  1. Chattr

    Chattr Registered

    Aug 25, 2010
    Likes Received:
    Trophy Points:

    How can I recreate storage.sqlite file in /home/user/.subaccounts. A user removed the file and now creating an email account leads to this error.
    Error: The operation “POST” “/cpsess1063816560/execute/Email/add_pop” failed with a “The system could not create the calendar “Calendar” for “”: Cpanel::Exception::Database::Error/(XID k2mt8p) The system received an error from “SQLite”: SQLITE_ERROR (no such table: kronolith_shares) at /usr/local/cpanel/Cpanel/Exception/ line 336. Cpanel::Exception::create("Database::Error", ARRAY(0x3319dc0)) called at /usr/local/cpanel/Cpanel/ line 200 Cpanel::DBI::_create_exception(Cpanel::DBI::db=HASH(0x3319220), "DBD::SQLite::db selectrow_hashref failed: no such table: kron"..., undef) called at /usr/local/cpanel/Cpanel/ line 188 Cpanel::DBI::_error_handler("DBD::SQLite::db selectrow_hashref failed: no such table: kron"..., Cpanel::DBI::db=HASH(0x3319220), undef) called at /usr/local/cpanel/Cpanel/DAV/Backend/DB/ line 94 eval {...} called at /usr/local/cpanel/Cpanel/DAV/Backend/DB/ line 94 Cpanel::DAV::Backend::DB::Horde::select_one(Cpanel::DBI::db=HASH(0x3319220), " SELECT * FROM kronolith_shares\x{a} WHERE attribute_name ="..., "Calendar", "test\") called at /usr/local/cpanel/Cpanel/DAV/Backend/ line 57 Cpanel::DAV::Backend::HordeCalendar::create_calendar(Cpanel::DAV::Principal=HASH(0x2ce1a70), "Calendar", "This is your personal calendar.") called at /usr/local/cpanel/Cpanel/DAV/ line 58 Cpanel::DAV::Calendars::create_calendar(Cpanel::DAV::Principal=HASH(0x2ce1a70), "Calendar", "This is your personal calendar.") called at /usr/local/cpanel/Cpanel/DAV/ line 58 Cpanel::DAV::Defaults::create_calendar(Cpanel::DAV::Principal=HASH(0x2ce1a70)) called at /usr/local/cpanel/Cpanel/DAV/ line 139 Cpanel::DAV::Defaults::create_calendars_and_address_books("test\") called at /usr/local/cpanel/Cpanel/API/ line 1140 Cpanel::API::Email::add_pop(Cpanel::Args=HASH(0x2cdd668), Cpanel::Result=HASH(0x2cb1b40)) called at /usr/local/cpanel/Cpanel/ line 276 Cpanel::API::__ANON__() called at /usr/local/cpanel/Cpanel/ line 348 eval {...} called at /usr/local/cpanel/Cpanel/ line 348 Cpanel::API::_eval_guard(Cpanel::Result=HASH(0x2cb1b40), CODE(0x2cdd8d8)) called at /usr/local/cpanel/Cpanel/ line 276 Cpanel::API::_run_module_function(Cpanel::Args=HASH(0x2cdd668), Cpanel::Result=HASH(0x2cb1b40), "Email", "add_pop") called at /usr/local/cpanel/Cpanel/ line 139 Cpanel::API::execute("Email", "add_pop", HASH(0x2caf518)) called at /usr/local/cpanel/Cpanel/ line 547 Cpanel::API::run_api_mode(HASH(0x2caf518)) called at line 266 main::script() called at line 85 ” error.
    #1 Chattr, Jul 29, 2018
    Last edited by a moderator: Jul 29, 2018
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello @Chattr,

    You can recreate that file using the following command:

    /scripts/upgrade_subaccount_databases --user=user123
    Replace "user123" with the username that needs the file.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice