Archiv für den Monat: August 2013

Failed to update Calendar app nach ownCloud update


Failed to update Calendar app nach ownCloud update

Nach dem Update auf ownCloud 5.0.9 oder 5.0.10

kann folgendes Problem nach dem Update auftreten:

Failed to update Calendar app: Failed to update database structure (MDB2 Error: unknown error, _doQuery: [Error message: Could not execute statement] [Last executed query: ALTER TABLE oc_calendar_objects RENAME TO oc_clndr_objects, CHANGE id id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, CHANGE calendarid calendarid INT UNSIGNED DEFAULT 0 NOT NULL, CHANGE startdate startdate DATETIME DEFAULT ‚1970-01-01 00:00:00‘, CHANGE enddate enddate DATETIME DEFAULT ‚1970-01-01 00:00:00‘] [Native code: 1068] [Native message: Multiple primary key defined] )

The update was unsuccessful. Please report this issue to the ownCloud community.

 

Anscheinend werden die Kalendertabellen nicht richtig aktualisiert…

Also die Tabellen von Hand updaten ;)

mysql> RENAME TABLE oc_calendar_calendars TO oc_clndr_calendars;
mysql> RENAME TABLE oc_calendar_objects TO oc_clndr_objects;
mysql> RENAME TABLE oc_calendar_repeat TO oc_clndr_repeat;
mysql> RENAME TABLE oc_calendar_share_calendar TO oc_clndr_share_calendar;
mysql> RENAME TABLE oc_calendar_share_event TO oc_clndr_share_event;

mysql> UPDATE oc_appconfig SET configvalue = „0.6.4“ WHERE appid = „calendar“ AND configkey = „installed_version“;

 

owncloud

…und schon funktioniert die Cloud wieder!

 

4.00 avg. rating (86% score) - 1 vote