Take Control of OS X Server, Chapter 11: Wiki Services
For organizations large and small, wikis can be tremendously useful, since they make it so anyone (with permissions) can create and edit pages on a Web site without knowing HTML or needing special tools. In this chapter of “Take Control of OS X Server,” Charles Edge explains how to enable the Wiki service, create a wiki, and create and edit wiki pages. Plus, with the click of a single checkbox, any wiki created in OS X Server can have an associated blog. What’s not to like?
I like the constant improvements to the wiki serice.
One disappointment is that uploaded docs using the new iWork format do not give you a preview of the doc, the way iWork 9, pdf, word etc does - probably because of its zip format.
Someone from the iWork team should talk to the wiki team.
Can someone tell me how to migrate the wiki from Mavericks to Yosemite? The old "collaboration" folder seems to be gone, though we found a folder at /Library/Server/wiki.
Long story short...Mavericks server died, incomplete backup so we can't restore the entire HD, got a new Mini w/Yosemite installed and decided to keep it on Yosemite and redo all settings, but not sure how to "move" the wiki over. That's the "why" behind this question.
If you have access to the Collaboration folder on your old server you can use the wikiadmin command to migrate the wiki. Basically, copy the Collaboration folder to a known place (in the following example, /Volumes/Backup/Collaboration) and then use wikiadmin to bring them in:
sudo wikiadmin migrate -r /Volumes/Backup/Collaboration
Basically a lot of this should now be in SQL, so you can't just drop the folder in place and restart the service. Which is too bad, but it's faster the more of the data that gets moved into SQL.
Hope that helps and good luck!
Thanks Charles. The problem is, there doesn't seem to be such a thing as a "collaboration" folder in Mavericks. There's a /Library/Server/Wiki though. I tried the command with that folder after copying it over to the new server, but got a bunch of errors:
2014-10-28 13:11:36 XPG.33486: CTL Lock: '/Library/Server/Wiki/PostgresSocket/.xpg_ctl.pid'
2014-10-28 13:11:36 XPG.33486: CTL Lock Acquired: None
2014-10-28 13:11:36 XPG.33486: Control socket _not_ locked; connecting client.
2014-10-28 13:11:36 XPG.33486: Goodbye.
2014-10-28 13:11:38 XPG.33499: CTL Lock: '/Library/Server/Wiki/PostgresSocket/.xpg_ctl.pid'
2014-10-28 13:11:38 XPG.33499: CTL Lock Acquired: None
2014-10-28 13:11:38 XPG.33499: sending Decref message
2014-10-28 13:11:38 XPG.33499: Goodbye.
Any other suggestions?
I'm all out of suggestions. Maybe try a fresh install of Mavericks, clone the parts that you actually have backed up over the top of the fresh install indiscriminately and try an upgrade in place from that... I don't feel super confident, but all the data should be in /Library/Server so if you have that folder maybe try and call AppleCare. They're pretty good about figuring out weird stuff sometimes... Sorry I'm not more help.
FWIW, I found a suggestion to just copy /Library/Server/Wiki over and reboot and that seems to have sort of worked. (This seems to work for Mountain Lion and up because of their different folder structures)
move the existing /Library/Server/Wiki folder on the "current" server to a temp location
copy/move the "old" /Library/Server/Wiki folder to the current server
So far so good, except it seemed to have "lost" the links to any graphics embedded on any wiki pages.