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

    Joined:
    Aug 25, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    Hello,

    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.
    Code:
    Error: The operation “POST” “/cpsess1063816560/execute/Email/add_pop” failed with a “The system could not create the calendar “Calendar” for “test@test.com”: 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/CORE.pm line 336. Cpanel::Exception::create("Database::Error", ARRAY(0x3319dc0)) called at /usr/local/cpanel/Cpanel/DBI.pm 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/DBI.pm 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/Horde.pm line 94 eval {...} called at /usr/local/cpanel/Cpanel/DAV/Backend/DB/Horde.pm 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\@test.com") called at /usr/local/cpanel/Cpanel/DAV/Backend/HordeCalendar.pm 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/Calendars.pm 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/Defaults.pm line 58 Cpanel::DAV::Defaults::create_calendar(Cpanel::DAV::Principal=HASH(0x2ce1a70)) called at /usr/local/cpanel/Cpanel/DAV/Defaults.pm line 139 Cpanel::DAV::Defaults::create_calendars_and_address_books("test\@test.com") called at /usr/local/cpanel/Cpanel/API/Email.pm line 1140 Cpanel::API::Email::add_pop(Cpanel::Args=HASH(0x2cdd668), Cpanel::Result=HASH(0x2cb1b40)) called at /usr/local/cpanel/Cpanel/API.pm line 276 Cpanel::API::__ANON__() called at /usr/local/cpanel/Cpanel/API.pm line 348 eval {...} called at /usr/local/cpanel/Cpanel/API.pm line 348 Cpanel::API::_eval_guard(Cpanel::Result=HASH(0x2cb1b40), CODE(0x2cdd8d8)) called at /usr/local/cpanel/Cpanel/API.pm line 276 Cpanel::API::_run_module_function(Cpanel::Args=HASH(0x2cdd668), Cpanel::Result=HASH(0x2cb1b40), "Email", "add_pop") called at /usr/local/cpanel/Cpanel/API.pm line 139 Cpanel::API::execute("Email", "add_pop", HASH(0x2caf518)) called at /usr/local/cpanel/Cpanel/API.pm line 547 Cpanel::API::run_api_mode(HASH(0x2caf518)) called at uapi.pl line 266 main::script() called at uapi.pl line 85 ” error.
    
    
     
    #1 Chattr, Jul 29, 2018
    Last edited by a moderator: Jul 29, 2018
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,323
    Likes Received:
    1,851
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @Chattr,

    You can recreate that file using the following command:

    Code:
    /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...
Loading...

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