[OGo-Users] Re: [OGo-Users-DE] Some OGo Installation FAQs

Christian Schnelle christian.schnelle@opengroupware.org
Sat, 12 Jul 2003 18:08:27 +0200


Hi,

i got a lot of questions about OGo installation which i will put
together here:

Q: How do i get OGo to connect to postgres

A: There are two requirements at all:
1. You need your postgres to set up that tcp connection is allowed.
     You can patch this at postgresql.conf by setting tcpip_socket = true
     Older postgres versions need to start with option -i

2. You have to patch your pg_hba.conf to allow tcp host connections
      for example like this:
      --snip--
local  all         all                   					  trust
host  all        all         127.0.0.1         255.255.255.0    trust
host  all        all         0.0.0.0           255.255.255.255  reject
      --snap--
  If you want get more security replace trust by password, md5 or.
  something...depends on postgres version

  Don't forget to restart postgres after this settings.


  Q: What does "The SKYRIX application server could not connect to the
database server !" mean?

  A: Your OGo configuration is not complete. Use the following statements:
       'Defaults write NSGlobalDomain LSAdaptor PostgreSQL72'
       'Defaults write NSGlobalDomain LSModelName \
OpenGroupware.org_PostgreSQL'


  Q: Which user has to start the app?

  A: You need to start OGo as user 'opengroupware'


  Q: What does it mean? Cannot find adaptor bundle 'RunSetup'

  A: look at Question "What does "The SKYRIX application server could not
  connect to the database server !" mean?"


Q: Why there are no pictures?

  A: You need to set a link
       'ln -s ~opengroupware/WebServerResources \
       ~opengroupware/WOApps/OpenGroupware.woa'


Q: What is this /home/siteadm/attachments path ogo is trying to write to?

A: This is the OGo LSAttachmentPath wich should setuped like this:
      'Defaults write NSGlobalDomain LSAttachmentPath \
       /usr/lib/opengroupware.org/documents'
      for rpm systems like this:
      'Defaults write NSGlobalDomain LSAttachmentPath \
      /opt/opengroupware.org/documents'


Q: What does the Message: ERROR: did not find bundle for model
OpenGroupware.org_PostgreSQL (type=EOModels) mean?

A: Your NGBundlePath isn't set uped. Use
      'Defaults write NSGlobalDomain  NGBundlePath \
      /usr/lib/opengroupware.org/Library/OpenGroupware.org' for Debian
       and
      'Defaults write NSGlobalDomain  NGBundlePath \
      /opt/opengroupware.org/Library/OpenGroupware.org' for rpm Installation


Q: I got some error messages like this: ERROR: did not find bundle
'LSModel' (type=model) required by bundle. What can i do?

  A: Edit the file:
   ~opengroupware/Library/OpenGroupware.org/LSBase.cmd/bundle-info.plist
      and change LSModel.model to OGo.model.
      --snip--
            { name = OGo; type = model; }
     --snap--

      With new packages this will be fixed.


Q: How do I log in under a different user ?

A: You have to set a password for root, else root is logged in automagically
      Thx to julien_ on icr.freenode.org #OGo


Q: How do I setup a password for user root?

A: Use the 'Pref' link in the top of the right hand side. You'll find an
      'edit' button which you should click ;)
     On the bottom of the next page is the 'change password' button


Q: How can I start OGo?

A: Execute as User 'opengroupware"
      WOApps/OpenGroupware.woa/ix86/linux-gnu/gnu-fd-nil/OpenGroupware \
      -WOPort 20000 -WOHttpAllowHost localhost


Q: Where can i access the webinterface

A: http://localhost:20000/OpenGroupware


Q: I get the error message:  <<Main>>D component has no template
(rm=<<class LSWResourceManager>[0x0821CEA4]: path=<nil>>).
      What can I do?

A: Start the App from ~opengroupware UserRoot like this:
      WOApps/OpenGroupware.woa/ix86/linux-gnu/gnu-fd-nil/OpenGroupware \
      -WOPort 20000 -WOResourcePrefix http://localhost:20000

Q: I got error messages like this:
     LSDBObjectCommandException  reason: userdefaults::write failed: 
Couldn`t write User-Defaults
     What is to do?

A: You need to change the permission of the ~opengroupware/documents 
directory
      to the 'opengroupware' user
      chown -R opengroupware ~opengroupware/documents