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

Question:

Question: 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

Reply
Question marked as Helpful

Jul 21, 2011 1:12 PM in response to er33 In response to er33

I don't know about the Wiki, but my Profile Manager also had the Error Reading Settings error.

I found a shell script named wipeDB and ran it. It now works again, though my profiles are gone of course.


I ran the following in terminal; sh /usr/share/devicemgr/backend/wipeDB.sh

It'll empty the db and the error was gone for me.

There’s more to the conversation

Read all replies
Question marked as Helpful

Jul 21, 2011 1:12 PM in response to er33 In response to er33

I don't know about the Wiki, but my Profile Manager also had the Error Reading Settings error.

I found a shell script named wipeDB and ran it. It now works again, though my profiles are gone of course.


I ran the following in terminal; sh /usr/share/devicemgr/backend/wipeDB.sh

It'll empty the db and the error was gone for me.

Jul 21, 2011 1:12 PM

Reply Helpful (1)

Jul 22, 2011 1:35 AM in response to er33 In response to er33

Unfortunately I had to do a full Time Machine restore to get back to the more reliable 10.6.


The reason..........


1. No wiki service due to the error message. I prefer to manage the web service in Server admin. I think the Server app is rubbish due to lack of configuration options, when you have an error!

2. No profile manager due to the same error message.

3. Address and ical service would not start in Server app.

3. All of a sudden DHCP and DNS services would not start.


I repaired disk permissions before I moved to Lion, and did full backups of Open directory, Server Settings and System Profile as advised in this forum.


My conculsion is that Apple may well have a product that is ready for a clean install etc, however the upgrade path is full of bugs. I imported my open directory from 10.6 and I think that is where all these bugs cam from. However this is the only way to upgrade!


When I upgraded from 10.6 the Lion server software took 4 hours to install and crashed right at the end it was importing or configuring existing services from 10.6.


I need someone else to fix the upgrade bugs. It does not "Just work". Steve!

Jul 22, 2011 1:35 AM

Reply Helpful

Aug 8, 2011 10:35 PM in response to er33 In response to er33

samething here,


Collaboration::PGCConnectionError in Sources#index

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



no chance to recover wiki is just nor working, wondering if Apple could fix that I like the old server much more


Olaf!

Aug 8, 2011 10:35 PM

Reply Helpful

Sep 10, 2011 6:06 AM in response to er33 In response to er33

I agree with @e33. I don't think Lion Server is ready. I have a clean install and like you I have these issues, expect I can't move to 10.6. I have the Wiki and Profile Manager errors, and despite a Lion reinstall, disk wipe, restore from a back up I can't get these services to work.


This is the first real trouble I've ever had from a Mac product. It's a real shame.


Thoughts anyone on what I could do next?

Sep 10, 2011 6:06 AM

Reply Helpful

Sep 10, 2011 7:23 AM in response to MDallimore In response to MDallimore

Sorry it didn't work, and I can relate about Lion Server being frustrating. If I wanted to play scavenger hunt through obscure read me files and Internet forum posts to get things working right I would have gone with Linux instead of with Lion.

Sep 10, 2011 7:23 AM

Reply Helpful

Oct 11, 2011 2:28 AM in response to er33 In response to er33

I have also had the 'Error reading settings' problem in Profile Manager, despite trying everything in the discussions and clean reinstalls (which work for a little while only).


It seems that various different fixes work for some people but not others; and the underlying cause of the problem has not been resolved.


There are now numerous threads on this problem (there are yet others with similar problems):


https://discussions.apple.com/thread/3189397

https://discussions.apple.com/thread/3195100

https://discussions.apple.com/thread/3212015

https://discussions.apple.com/thread/3208533

https://discussions.apple.com/thread/3249062

https://discussions.apple.com/thread/3199734

https://discussions.apple.com/thread/3212304


I have posted this in each to try and pull things together a bit.


Does anyone know if Apple has acknowledged the issue and offered an official response?

Oct 11, 2011 2:28 AM

Reply Helpful

Oct 31, 2011 4:24 PM in response to andrew2011 In response to andrew2011

I have contacted apple support about my problem with services "error reading settings" and they said my issue was due to me changing my IP address after the initial setup screen. So I have had to reinstall yet again, fingers crossed the issue doesn't persist now! His advice was to image a 'virgin' copy of Lion so I don't have to re-download again if I'm still having trouble. What I don't get is when you do change the IP the server app tells you and give you the option to recover/reset the services??


Hope this helps others too

Oct 31, 2011 4:24 PM

Reply Helpful

Nov 3, 2011 9:34 PM in response to er33 In response to er33

I did a clean install of Lion/Lion Server, but I ran ino the same problem too with "Error Reading Settings" for both the profile manager and the wiki.


INVESTIGATION: I checked to see if the postgres database (which I presumed was were the settings were being read from).



# sudo serveradmin fullstatus postgres

postgres:dataDirHasBeenInitialized = yes

postgres:PG_VERSION = "9.0.4"

postgres:dataDir = "/var/pgsql"

postgres:postgresIsResponding = no # !!! why isn't it responding???

postgres:dataDirIsDirectory = yes

postgres:PGserverVersion = 0

postgres:dataDirExists = yes

postgres:setStateVersion = 1

postgres:state = "RUNNING"



PROBLEM: The postgres service hadn't been started properly; I found this by doing the following:



# sudo serveradmin stop postgres

postgres:state = "STOPPED"

# sudo serveradmin start postgres

postgres:error = "CANNOT_START_SERVICE_TIMEOUT_ERR"



FIX: The postgres service couldn't create the log file because it didn't have permission. I did this to fix it, then simply restarted it and all was well:



# sudo chmod 777 /Library/Logs/

# sudo serveradmin start postgres

postgres:state = "RUNNING"



I hope this helps someone. 🙂

Nov 3, 2011 9:34 PM

Reply Helpful

Dec 17, 2011 7:26 AM in response to bloofish47 In response to bloofish47

Like many others, I have been annoyed by "Error Reading Setings" for profile manager and wiki. I have tried many solutions without success unless I reinstaled Kion and Server from scratch - what a waste of time. Today I tried bloofish47's solution of 3 Nov. It worked! I am back to normal.... for now anyway. Thank you!


Let's hope Apple sort out a fix. Lion Server really is a dumbed down piece of software - can I use my Snow leopard Server with Lion? Itw as so much more flexible and reliable. What's going wrong with Apple's quality? More and more issues arising on so many fronts as they introduce poorly tested systems and software.

Dec 17, 2011 7:26 AM

Reply Helpful
User profile for user: er33

Question: error reading settings in wiki and profile manager