error reading settings in wiki and profile manager

I have just upgraded from Snow Leopard Server to Lion server.


I now have the following errors in server app:-


Wiki : message "Error Reading Settings"

Profile Manager: message "Error Reading Settings"


What do I do to get my wiki back!


When I visit my default ssl Wiki I get the following:-

Collaboration::PGCConnectionError in Sources#index

Showing /usr/share/collabd/coreclient/app/views/layouts/application.html.erb where line #5 raised:

FATAL:  role "collab" does not exist


Extracted source (around line #5):

2:      :user => @user,3:      :entity => @entity,4:      :owner => @owner,5:      :service_client => service_client,6:      :controller => controller7: }) %>8:



Rails.root: /usr/share/collabd/coreclient

Application Trace | Framework Trace | Full Trace

app/controllers/application_controller.rb:325:in `service_client'app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb___1616978790_2215846900_0'app/controllers/application_controller.rb:44:in `render_server_error'app/controllers/application_controller.rb:43:in `render_server_error'


Request

Parameters:

None


Show session dump

Show env dump

Response

Headers:

None



Please help

osx server, server

Posted on Jul 21, 2011 10:10 AM

Reply
33 replies

Sep 6, 2013 8:38 AM in response to er33

I've had the same issue where profile manager was not reading the settings. I ran the following script: /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/wipeDB. sh


When i went back into the server app and tried to enable device management, it's telling me "This computer is already a network directory server" and i can't continue.


Not sure what to do.

Sep 20, 2013 8:15 PM in response to er33

This problem is fixed for me after couple days of frustration.


The final things that fixed were the following

1) create a .bash_profile if it doesnt exist already in your ~/ folder (home folder)

save and reload by typing ". .bash_profile"

2) in this edit to add the following command

export PGHOST=localhost


3) Initialize postgres with

sudo -u _postgres /usr/bin/pg_ctl initdb -D /var/pgsql


4) sudo chown _postgres:_postgres /Library/Logs/PostgreSQL


5) Initialise all databases

run all the scripts found

/System/Library/ServerSetup/CommonExtras/PostgreSQLExtras


especially for the profile manager error that I was getting, the devicemgr_db did not exist in the right location. So running create_devicemgr_db.sh fixed it. Some of you may have issues with CalDAV or Webmail or CoreCollaboration. This solution will fix all of them, I believe.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

error reading settings in wiki and profile manager

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