Since I updated Kubuntu 14.04 LTS to 16.04 LTS with Muon, the PIM (KMail, KOrganizer , KAddressBook) doesn't work - and shows no "details".
The Akonadi self test shows MySQL Errors: [ERROR] unknown variable 'innodb_additional_mem_pool_size=1M' So I removed the variable from ~/.local/share/akonadi/mysql.conf and tried akonadictl status and then akonadictl start:
Because I read Table rebuild required I looked up ~/.local/share/akonadi/db_data/mysql.err - see attachment.
With use mysql_upgrade to fix this error I've run out of ideas. I know much to little about MySQL to continue.
Please help me to avoid a complete re-installation of Kubuntu. I've backups of all PIM-data (addresses, dates and mail), so a data loss is not a big problem, essential for me is a running PIM.
The Akonadi self test shows MySQL Errors: [ERROR] unknown variable 'innodb_additional_mem_pool_size=1M' So I removed the variable from ~/.local/share/akonadi/mysql.conf and tried akonadictl status and then akonadictl start:
Code:
USER@PC:~$ akonadictl status Akonadi Control: stopped Akonadi Server: stopped search paths: ("lib/x86_64-linux-gnu", "lib/x86_64-linux-gnu/qt5/plugins/", "lib/x86_64-linux-gnu/kf5/", "lib/x86_64-linux-gnu/kf5/plugins/", "/usr/lib/qt5/plugins/", "/usr/lib/x86_64-linux-gnu/qt5/plugins", "/usr/bin") Akonadi Server Search Support: available (Remote Search) Available Agent Types: akonadi_akonotes_resource, akonadi_archivemail_agent, akonadi_baloo_indexer, akonadi_birthdays_resource, akonadi_contacts_resource, akonadi_davgroupware_resource, akonadi_followupreminder_agent, akonadi_googlecalendar_resource, akonadi_googlecontacts_resource, akonadi_ical_resource, akonadi_icaldir_resource, akonadi_imap_resource, akonadi_invitations_agent, akonadi_kalarm_dir_resource, akonadi_kalarm_resource, akonadi_kolab_resource, akonadi_maildir_resource, akonadi_maildispatcher_agent, akonadi_mailfilter_agent, akonadi_mbox_resource, akonadi_migration_agent, akonadi_mixedmaildir_resource, akonadi_newmailnotifier_agent, akonadi_notes_agent, akonadi_notes_resource, akonadi_openxchange_resource, akonadi_pop3_resource, akonadi_sendlater_agent, akonadi_vcard_resource, akonadi_vcarddir_resource USER@PC:~$ akonadictl start Starting Akonadi Server... done. Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) USER@PC:~$ search paths: ("/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games", "/usr/local/games", "/snap/bin", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin") Found mysql_install_db: "/usr/bin/mysql_install_db" Found mysqlcheck: "/usr/bin/mysqlcheck" akonadi.collectionattributetable OK akonadi.collectionmimetyperelation OK akonadi.collectionpimitemrelation OK akonadi.collectiontable OK akonadi.flagtable OK akonadi.mimetypetable OK akonadi.parttable OK akonadi.parttypetable OK akonadi.pimitemflagrelation OK akonadi.pimitemtable error : Table rebuild required. Please do "ALTER TABLE `pimitemtable` FORCE" or dump/reload to fix it! akonadi.pimitemtagrelation OK akonadi.relationtable OK akonadi.relationtypetable OK akonadi.resourcetable OK akonadi.schemaversiontable OK akonadi.tagattributetable OK akonadi.tagremoteidresourcerelationtable OK akonadi.tagtable OK akonadi.tagtypetable OK mysql.columns_priv OK mysql.db OK mysql.event error : Table upgrade required. Please do "REPAIR TABLE `event`" or dump/reload to fix it! mysql.func OK mysql.general_log OK mysql.help_category OK mysql.help_keyword OK mysql.help_relation OK mysql.help_topic OK mysql.host OK mysql.ndb_binlog_index OK mysql.plugin OK mysql.proc error : Table upgrade required. Please do "REPAIR TABLE `proc`" or dump/reload to fix it! mysql.procs_priv OK mysql.proxies_priv OK mysql.servers OK mysql.slow_log OK mysql.tables_priv OK mysql.time_zone OK mysql.time_zone_leap_second OK mysql.time_zone_name OK mysql.time_zone_transition OK mysql.time_zone_transition_type OK mysql.user OK Repairing tables mysql.event Note : TIME/TIMESTAMP/DATETIME columns of old format have been upgraded to the new format. Warning : Incorrect datetime value: '0000-00-00 00:00:00' for column 'modified' at row 1 Error : Invalid default value for 'modified' status : Operation failed mysql.proc Note : TIME/TIMESTAMP/DATETIME columns of old format have been upgraded to the new format. Warning : Incorrect datetime value: '0000-00-00 00:00:00' for column 'modified' at row 1 Error : Invalid default value for 'modified' status : Operation failed Failed to ALTER TABLE `akonadi`.`pimitemtable` FORCE Error: Invalid default value for 'atime' MySQL version OK (required "5.1" , available "5.7" ) Database "akonadi" opened using driver "QMYSQL" DbInitializer::run() checking table "SchemaVersionTable" checking table "ResourceTable" checking table "CollectionTable" checking table "MimeTypeTable" checking table "PimItemTable" checking table "FlagTable" checking table "PartTypeTable" checking table "PartTable" checking table "CollectionAttributeTable" checking table "TagTypeTable" checking table "TagTable" checking table "TagAttributeTable" checking table "TagRemoteIdResourceRelationTable" checking table "RelationTypeTable" checking table "RelationTable" checking table "PimItemFlagRelation" checking table "PimItemTagRelation" checking table "CollectionMimeTypeRelation" checking table "CollectionPimItemRelation" DbInitializer::run() done skipping update 2 skipping update 3 skipping update 4 skipping update 8 skipping update 10 skipping update 12 skipping update 13 skipping update 14 skipping update 15 skipping update 16 skipping update 17 skipping update 18 skipping update 19 skipping update 20 skipping update 21 skipping update 22 skipping update 23 skipping update 24 skipping update 25 skipping update 26 skipping update 28 skipping update 30 skipping update 31 Updating indexes "CREATE INDEX PimItemTable_ridIndex ON PimItemTable (remoteId)" Updating index failed: Sql error: Invalid default value for 'atime' QMYSQL: Unable to execute query Query: CREATE INDEX PimItemTable_ridIndex ON PimItemTable (remoteId) "" Unable to initialize database. terminating service threads terminating connection threads stopping db process Application 'akonadiserver' exited normally..
With use mysql_upgrade to fix this error I've run out of ideas. I know much to little about MySQL to continue.
Please help me to avoid a complete re-installation of Kubuntu. I've backups of all PIM-data (addresses, dates and mail), so a data loss is not a big problem, essential for me is a running PIM.
Comment