Hi Evert,
1. I think the database upgrade script finished sucessfully.
I did not have the addressboks table in my old database, so I created one before using the migration script.
server:/home/apache/htdocs/SabreDAV-2.0.2/bin # php migrateto20.php sqlite:calendars.db
SabreDAV migrate script for version 2.0
Connecting to database: sqlite:calendars.db
Detected SQLite.
Upgrading 'calendars'
1.8 table schema detected
Note: there's no easy way to remove fields in sqlite.
The ctag field is no longer used, but it's kept in place
Upgraded 'calendars' to 2.0 schema.
Creating 'calendarchanges' table.
Upgrading 'addressbooks'
No records were found in the 'addressbooks' table.
We're going to rename the old table to addressbooks_old (just in case).
and re-create the new table.
Creation of 2.0 addressbooks table is complete
Creating 'addressbookchanges' table.
Creating calendarsubscriptions table.
Creating propertystorage table.
Upgrading cards table to 2.0 schema
There was no data in the cards table, so we're re-creating it
The old table will be renamed to cards_old, just in case.
Upgrade to 2.0 schema completed.
Afterwards I deleted the cards_old and addressbooks_old table from the database.
I also removed the ctag field from the database as the script reported " it's no longer used" (manually)
The removing of the unused stuff did not make any difference, I tried it also with the database still containing the unused tables and the ctag field
2. I did not modify anything. All files are exactly like in sabredav-2.0.2.zip
3. I merged my old calendarserver.php with the one from version 2.0.2
There are some syntax changes:
array() is now
[ ],
the leading backslash is missing in the new command of V2.0.2
and the calendarserver.php from version 2.0.2 has a "Calendar subscription support plugin", which I added.
I have both files attached.
My actual calendarserver.php differs only in three lines from the one in the examples directory of V2.0.2:
timezone, database and $aclPlugin->adminPrincipals[] = 'principals/root';
4. I would say no, unless it comes with version 2.0.2 as a default.
It's not in my calendarserver.php.
Best Regards
Cajus