Wiki migration from Mavericks to Yosemite Server
Hi all,
I'm migrating a wiki server from 10.9.5 with Sever 3.2.2 to 10.10.1 with Server 4.0.
i've done these steps :
- backup postgres database with :
/pg_dump -h "/Library/Server/Wiki/PostgresSocket" --format=c --compress=9 --blobs --username=collab --file=/Volumes/ServerHD/Users/admin/Desktop/collab.pgdump collab
Then on the Yosemite server, i've retore the wiki database:
First, in postgres :
psql -h "/Library/Server/Wiki/PostgresSocket" -U collab template1
template1=# SELECT pg_terminate_backend(pg_stat_activity.pid) FROM pg_stat_activity WHERE pg_stat_activity.datname = 'collab' AND pid <> pg_backend_pid();drop database "collab";create database "collab";
- then restore postgres database with :
pg_restore -h "/Library/Server/Wiki/PostgresSocket" -d collab -U collab --single-transaction /Volumes/ServerHD/Users/admin/Desktop/collab.pgdump
I've transfered FileData folder between the two servers, and fix rights via chown -R _teamsserver:_teamsserver for the FileData folder in /Library/Server/Wiki/
After that, i used two commands :
wikiadmin fixPermissions
wikiadmin resetQuicklooks
All the wikis are visible, and seems to work fine.
But, when i try to view or download an attached file from a wiki, server returns an error page indicating that wiki is not activated (!!??)
I think there's a new organisation for the attachments in the wiki part of Yosemite, but without any documentation, it's not easy to make it work.
Does anybody got this problem a have a solution?
Thanks a lot
Bertrand.
Mac Pro, OS X Yosemite (10.10.1), Server