sabre-io / Baikal

Baïkal is a Calendar+Contacts server
https://sabre.io/baikal/
GNU General Public License v3.0
2.44k stars 282 forks source link

from 0.4.6 to last version (0.9.3) #1199

Closed neimad1106 closed 1 year ago

neimad1106 commented 1 year ago

Hello, I'm using a Baïkal server for caldav and cardav. Currently, I'm on version 0.4.6 and I would like to set up a clean server on version 0.9.3, then migrate my current database. My issue is that, currently, in my version 0.4.6, I don't have the "calendarinstances" table, but it exists in my new 0.9.3 database. When I import my database from version 0.4.6, I encounter errors of the type "Integrity constraint violation: 1052 Column 'displayname' in field list is ambiguous". I believe this is because the column names are duplicated between my "calendars" table and my "calendarinstances" table. Additionally, it's probably related, but I can't find the calendars despite importing the database. Can you help me with this?

ByteHamster commented 1 year ago

You can't just point a new install to an old database. Baikal adapts the database structure when upgrading. Please follow the upgrade instructions. https://sabre.io/baikal/upgrade/

FireflyRobots commented 9 months ago

Hi,

just to be clear: Can 0.4.6 be upgraded to 0.9.4 directly?