Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

wiki migration from 10.6.8 to 10.10 Server 4 no data loaded

I'm trying to migrate wiki from an old OSX Server 10.6.8 to a brand new installation of 10.10.1 with Server App ver 4.


I followed the article at http://krypted.com/mac-os-x/setup-os-x-yosemite-server-as-a-wiki-server/

I used the migration method:

1) copy the /Library/Collaboration folder to Yosemite Server ~/Desktop/Collaboration

2) changed owner to _teamserver of the copied folder

3) started wiki service

4) created a new wiki

5) configure accounts to access LDAP of the old server

6) run sudo wikiadmin migrate -r ~/Desktop/Collaboration


No wiki were created. The log file shows that no users and groups found.


Extract of the log:


Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [CSConfig.m:128 7db9d300 +0ms] CSConfig: Initializing or updating cached config file: /Library/Server/Wiki/Config/collabd.plist because file mod date 2014-12-15 11:07:02 +0000 is newer than cached file mod date (null)

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [main.m:90 7db9d300 +0ms] Wikiadmin trying to start PGCServer...

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [main.m:96 7db9d300 +135ms] PGCServer started.

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [main.m:237 7db9d300 +0ms] Repository location appears to be a relative path (/Users/micei/desktop/Collaboration), prepending --sourceRoot ()

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [main.m:240 7db9d300 +0ms] Repository location is /Users/micei/desktop/Collaboration

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [main.m:255 7db9d300 +2ms] Updating schema to current version

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [SchemaMigrator.m:142 7db9d300 +0ms] Updating schema to latest schema version (166)

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [SchemaMigrator.m:148 7db9d300 +0ms] Bumping schema to version (166)

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [SchemaMigrator.m:351 7db9d300 +5ms] Schema updates completed.

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [main.m:258 7db9d300 +0ms] Running migration from source location /Users/micei/desktop/Collaboration

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [MigrationController.m:724 7db9d300 +0ms] Migrating...

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [MigrationController.m:730 7db9d300 +47ms] Migrating known users

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Warning>: [UserMigrator.m:259 7db9d300 +0ms] No Users directory found. Skipping.

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [MigrationController.m:732 7db9d300 +0ms] Generating placeholders for all known pages and wikis

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Warning>: [ProjectMigrator.m:259 7db9d300 +0ms] No Groups directory found. Skipping.

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [MigrationController.m:734 7db9d300 +0ms] Found 0 pages belonging to 0 wikis and 1 users.

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [MigrationController.m:737 7db9d300 +0ms] Re-scanning 0 pages for pasted image/attachment URLs

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [MigrationController.m:522 7db9d300 +0ms] Copying content to real tables...

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [MigrationController.m:627 7db9d300 +14ms] Destroying migration entity and scratch tables...

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [MigrationController.m:655 7db9d300 +45ms] Done

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [MigrationController.m:747 7db9d300 +0ms] Importing user preferences

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [MigrationController.m:693 7db9d300 +4ms] Rebuilding search index...

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [CSLocalServiceLocator.m:173 7db9d300 +1ms] Allocating service ContentService

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [CSConfig.m:128 cb84000 +33ms] CSConfig: Initializing or updating cached config file: /Library/Server/Wiki/Config/collabd-search.plist because file mod date 2014-12-15 11:07:02 +0000 is newer than cached file mod date (null)

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [CSLocalServiceLocator.m:173 cc07000 +0ms] Allocating service HTMLFilterService

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [MigrationController.m:719 7db9d300 +118ms] Done

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [MigrationController.m:753 7db9d300 +0ms] Migration complete

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [main.m:261 7db9d300 +0ms] Running post-migration updates

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [SchemaMigrator.m:366 7db9d300 +3ms] Running post-migration updates...

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [SchemaMigrator.m:104 7db9d300 +0ms] Executing migration SQL script /Applications/Server.app/Contents/ServerRoot/usr/share/collabd/server/sql/migra tions/36.sql

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [CSExecutionTimer.m:14 7db9d300 +6ms] TIMER: 6ms ---> migration #36

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [SchemaMigrator.m:104 7db9d300 +0ms] Executing migration SQL script /Applications/Server.app/Contents/ServerRoot/usr/share/collabd/server/sql/migra tions/48.sql

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [CSExecutionTimer.m:14 7db9d300 +1ms] TIMER: 2ms ---> migration #48

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [SchemaMigrator.m:116 7db9d300 +0ms] Executing migration block #58

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [CSExecutionTimer.m:14 7db9d300 +1ms] TIMER: 2ms ---> migration #58

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [SchemaMigrator.m:104 7db9d300 +0ms] Executing migration SQL script /Applications/Server.app/Contents/ServerRoot/usr/share/collabd/server/sql/migra tions/68.sql

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [CSExecutionTimer.m:14 7db9d300 +2ms] TIMER: 3ms ---> migration #68

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [SchemaMigrator.m:116 7db9d300 +0ms] Executing migration block #160

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [CSExecutionTimer.m:14 7db9d300 +0ms] TIMER: 1ms ---> migration #160

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [SchemaMigrator.m:374 7db9d300 +0ms] Post-migration updates completed.

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [SchemaMigrator.m:379 7db9d300 +6ms] Performing a VACUUM FULL ANALYZE of user_activity

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [main.m:264 7db9d300 +39ms] Done

Dec 16 12:35:20 Micheles-iMac.local wikiadmin[1307] <Info>: [main.m:516 7db9d300 +0ms] Wikiadmin trying to stop PGCServer...

Dec 16 12:35:21 Micheles-iMac.local wikiadmin[1307] <Info>: [main.m:519 7db9d300 +130ms] PGCServer stopped.


Please help me

OS X Yosemite (10.10.1), OSX Server App ver 4

Posted on Dec 16, 2014 8:15 AM

Reply
5 replies

Dec 17, 2014 4:13 PM in response to micei

I have a bad 10.8 server, and what I did to rescue my WIKI

1- Listed users on old wiki server " dscacheutil -q user | grep -A 3 -B 2 -e uid:\ 5'[0-9][0-9]' ", I dont use open directory

2- Create an new 1.8.5 server

3- Create users on new server (keep an eye on order of creation ID is more important than username)

4- Turned on Wiki *Important starts up service for 1st time

5- Then followed these instuctions on: http://support.apple.com/en-us/HT5585

*Wiki worked

6 -Then Upgraded form 10-8-5 to Yosemithe server

ALL WORKS


*Note1: Apple's KB note has 10.6 to 8 migration which I did not use, try that before

*Note2: Clone new server each important step with CC or DiskUtil, step 5 trashed compleatly the server at one time, never knew what happened

Dec 18, 2014 2:49 AM in response to alebrijes

I'm doing about the same but migrating from 10.6 to 10.10 in a step.

I've two physical servers so I'm not upgrading the old one, just want to migrate wiki from the old server 10.6 to new 10.10.

The new server accesses the user of the old one by LDAP. I can access to the new wiki on the new server logging with all the users of the old server.


Do you think I should first migrate wiki to new server 10.8.5 and only later upgrade it to 10.10?

Any more suggestions?

Feb 3, 2015 8:47 AM in response to micei

I realize this is a couple of months old, but thought I would reply in case this is still an issue or if anyone else runs into this.


I've had this same issue while migrating wiki from 10.6 to 10.10, and was able to successfully migrate by using the path of the /Library/Collaboration directory on a Time Machine backup of the old server. On the new server (with the old server's Time Machine backup connected) run "sudo wikiadmin migrate -r /path-to-time-machine/Library/Collaboration/.


All pages and settings were transferred successfully.

wiki migration from 10.6.8 to 10.10 Server 4 no data loaded

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.