Previous 1 2 3 Next 33 Replies Latest reply: Sep 20, 2013 8:15 PM by jugalbandi
er33 Level 1 Level 1

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
Reply by Alexander Weiss on Jul 21, 2011 1:12 PM Helpful
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.shIt'll empty the db and the error was gone for me.

All replies

  • Alexander Weiss Level 1 Level 1

    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.

  • er33 Level 1 Level 1

    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!

  • coolspider88 Level 1 Level 1

    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!

  • Spinland Level 1 Level 1
    expertise.macosx
    Mac OS X

    After running all fo the scripts in the directory mentioned in the following thread my similar problems went away:

     

    https://discussions.apple.com/message/15758486#15758486

  • rickblackdog Level 1 Level 1

    Had to fight with this myself, after running the wipeDB.sh I ran this...

     

    sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.servermgrd.plist

     

    All sorted.

  • MDallimore Level 1 Level 1

    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?

  • Spinland Level 1 Level 1
    expertise.macosx
    Mac OS X

    Have you tried running the setup scripts described in the thread I linked above?

  • Spinland Level 1 Level 1
    expertise.macosx
    Mac OS X

    Note there are some dependencies. If a script gives you errors skip it and try again at the last.

  • MDallimore Level 1 Level 1

    Hi Spinland I have tried everything.......as you can tell get a little fustrated. Machine is under one week old....

     

     

  • Spinland Level 1 Level 1
    expertise.macosx
    Mac OS X

    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.

  • hendogg02 Level 1 Level 1

    I ran Disk Repair Permissions in Disk Utility and it fixed everything locally until I tried to access it remotely with the Server App and then it became corrupt again. Not sure why it worked momentarily.

  • andrew2011 Level 1 Level 1

    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?

  • biolayer Level 1 Level 1

    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

  • bloofish47 Level 1 Level 1

    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.

Previous 1 2 3 Next