Koozali.org formerly Contribs.org

[Announce] How to install/upgrade to Horde 3.0

Offline mrjhb3

  • *
  • 1,179
    • John Bennett Services
[Announce] How to install/upgrade to Horde 3.0
« on: January 21, 2005, 04:55:11 AM »
Hello all,

I have created 2 howtos for installing the Horde 3.0 framework.  One for a new installation, and one for an upgrade.

None of this is official, but I have been using it for about 3 weeks now.  From my testing there are 2 things that don't work.  Kronolith reminders and Kronolith free/busy.  If anyone has time to investigate if it's possible to get these to work on SME, that would be great.

Thanks goes to Dan Brown for the original howto on CentOS.

Good Luck,

JB

[edit]I keep getting hits on my webserver so I removed the references to the two links I previously posted as they are outdated.  I keep upgrading the script and it is located at http://mirror.contribs.org/smeserver/contribs/jbennett

John
......

[Announce] How to install/upgrade to Horde 3.0
« Reply #1 on: January 24, 2005, 08:52:18 PM »
Looks good John, I like the upgrade instructions :)

I ran into the same problems you did with Dan Browns PHP 4.3.10 RPMS - some message like 'No version found - regenerate configuration' in horde stup and when you clicked on it, it either went nowhere using firefox, or to an error page using IE.  I did get it working with the 4.3.9 RPMS from Laurent Dinclaux.

A note about the fileinfo bit - you need to add/edit a custom template to add 'extension=fileinfo.so' in php.ini next to the others and restart httpd.  

Also from my experience following your upgrade instructions, you assume people have nag, mnemo and kronolith installed, where they may not - so you have to use the install .sql file, not the upgrade one.

Offline mrjhb3

  • *
  • 1,179
    • John Bennett Services
[Announce] How to install/upgrade to Horde 3.0
« Reply #2 on: January 25, 2005, 03:20:27 AM »
You are correct about that.  I'll adjust the instructions in the next few days.

I never got fileinfo to install for me as I didn't install the other RPM's.  Please tell me what the 'extension=fileinfo.so' in php.ini will do for me.  

Lastly, I know you already sent it to me, but send the the list of RPM's needed to get fileinfo installed and where I can find them.  I had some mail issues and lost that email.

thx,

JB
......

[Announce] How to install/upgrade to Horde 3.0
« Reply #3 on: January 25, 2005, 04:31:30 AM »
If you install fileinfo, but don't add 'extension=fileinfo.so' to php.ini, then if you check horde's test.php, it will say that fileinfo is not installed.  I guess addding that makes it available to php.

It was in the devinfo list that I posted the list of dev rpms needed.  But it is also now in the update script at the link below.

[Announce] How to install/upgrade to Horde 3.0
« Reply #4 on: January 25, 2005, 09:20:05 AM »
I also found you can avoid
Quote
...You will need to copy the generated config file and save it to...
by doing this first:
Code: [Select]
chown www:www -R /home/httpd/html/horde/config
chown www:www -R /home/httpd/html/horde/imp/config
chown www:www -R /home/httpd/html/horde/turba/config
chown www:www -R /home/httpd/html/horde/kronolith/config
chown www:www -R /home/httpd/html/horde/mnemo/config
chown www:www -R /home/httpd/html/horde/nag/config
chown www:www -R /home/httpd/html/horde/ingo/config

...then horde can save the conf.php files itself.

There is a script called set_perms.sh in /horde/scripts that can reset the recommended ownership/permissions later.

egerards

[Announce] How to install/upgrade to Horde 3.0
« Reply #5 on: January 25, 2005, 09:25:07 AM »
I tested the upgrade procedure as well as the new installation procedure.

At some point some settings on the Authentication tab of the Horde configuration need to be done. I noticed that if you change these settings to the required values while IMP configuration has not been done yet, you are unable to continue after that moment (authentication errors in browser).
My workaround was to postpone the settings in the Authentication tab until the IMP configuration was done.

At first the whole Horde suite seemed to work very fine. It's quite an improvement compared to the 2.x suite.
However at some point display of email messages got messed up: if I tried to view a message, the complete email headers were displayed (with all newline characters removed) on the location where you would expect the message body. So the actual message was not displayed at all anymore.
This strange phenomenon suddenly occured at all accounts. Believing that I played too much with global (horde/imp) settings, I restored original settings, however without any positive results.

I wonder whether some bug was bugging me or if I made some stupid mistake?? If so, I must have made it twice as I ran into this problem after the upgrade as well as after the new installation procedure.

Any ideas?

[Announce] How to install/upgrade to Horde 3.0
« Reply #6 on: January 25, 2005, 10:47:50 PM »
Quote from: "egerards"
At some point some settings on the Authentication tab of the Horde configuration need to be done. I noticed that if you change these settings to the required values while IMP configuration has not been done yet, you are unable to continue after that moment (authentication errors in browser).
My workaround was to postpone the settings in the Authentication tab until the IMP configuration was done.
I did get an error once, but just restored conf.php and was able to access the configuration again.  I don't think it was because of IMP though, it happened after I saved the logging settings in horde.


Quote from: "egerards"
However at some point display of email messages got messed up: if I tried to view a message, the complete email headers were displayed (with all newline characters removed) on the location where you would expect the message body. So the actual message was not displayed at all anymore.

How does your test.php page look for horde and for imp?  Any errors?

Offline mrjhb3

  • *
  • 1,179
    • John Bennett Services
[Announce] How to install/upgrade to Horde 3.0
« Reply #7 on: January 27, 2005, 03:33:39 AM »
Quote from: "gregswallow"
I also found you can avoid
Quote
...You will need to copy the generated config file and save it to...
by doing this first:
Code: [Select]
chown www:www -R /home/httpd/html/horde/config
chown www:www -R /home/httpd/html/horde/imp/config
chown www:www -R /home/httpd/html/horde/turba/config
chown www:www -R /home/httpd/html/horde/kronolith/config
chown www:www -R /home/httpd/html/horde/mnemo/config
chown www:www -R /home/httpd/html/horde/nag/config
chown www:www -R /home/httpd/html/horde/ingo/config

...then horde can save the conf.php files itself.

There is a script called set_perms.sh in /horde/scripts that can reset the recommended ownership/permissions later.


Yes, I saw all of that, but I just didn't investigate it.  I have now incorporated those changes in my howto.  Looks like you have moved on the 6.5B1 and are running into some issues.  I haven't tried to install this on 6.5B1 yet.  Thanks for your help and suggestions.

JB
......

egerards

[Announce] How to install/upgrade to Horde 3.0
« Reply #8 on: January 27, 2005, 08:15:54 AM »
Quote
How does your test.php page look for horde and for imp? Any errors?


To answer your question I reinstalled Horde 3.0 again (I did a back out to Horde 2.X). I examined the test.php page and didn't find any errors. Just a few warnings which didn't seem fatal at all.
As experienced before everything worked fine until suddenly (a few hours after the reinstall) display of messages got messed up again. Being sure I did not make any configuration changes, I was a bit confused at first...  :-?
I had a look at the test.php page again which didn't report anything strange and also had a look at the phpinfo() page to see if there was anything strange going on. While looking at this page I was reminded that some time ago I installed a php accelerator (turck-mmcache). I thought it to be not unlikely that turck-mmcache could be interfering with horde so I removed it.

And guess what: problem solved!  :-)

[Announce] How to install/upgrade to Horde 3.0
« Reply #9 on: January 27, 2005, 06:32:48 PM »
I read in the horde mailing list I think people were having problems with turk-mmcache - the developpers said it was a bug with turk, not horde.  Turck is not being developed anymore, but there is a replacement that is - http://eaccelerator.net/HomeUk

Or Mastersleepy has a turck rpm that you can enable or disable turck for certain ibays, but not sure about enabling/disabling for horde.

guest22

[Announce] How to install/upgrade to Horde 3.0
« Reply #10 on: January 28, 2005, 12:10:24 AM »
contribs.org is running that specific contrib ;-)

[Announce] How to install/upgrade to Horde 3.0
« Reply #11 on: January 28, 2005, 12:48:06 AM »
Quote from: "guest22"
contribs.org is running that specific contrib ;-)

I assume you mean MasterSleepy's rpm and not eaccelerator?  

Can you disable it (using the server-manager panel) from "accelerating" horde?

guest22

[Announce] How to install/upgrade to Horde 3.0
« Reply #12 on: January 28, 2005, 07:47:03 AM »
Nope, it's eaccelerator.

Mumm-Ra

[Announce] How to install/upgrade to Horde 3.0
« Reply #13 on: January 28, 2005, 03:57:41 PM »
mrjhb3,
you need to change the link to the rpm's that are downloaded in your how-to due to the release of beta2.
The link now need to be
Code: [Select]
wget -nc http://www.ibiblio.org/pub/linux/distributions/smeserver/releases/6.5beta2/os/e-smith/RPMS/ instead of
Code: [Select]
wget -nc http://www.ibiblio.org/pub/linux/distributions/smeserver/releases/6.5beta1/os/e-smith/RPMS

Also there's a new version of nag - nag-h3-2.0.1.tar.gz

Great how-to by the way.  Works perfectly on a test box so I'm going to give it a go on my main box.

Thanks

Howard

[Announce] How to install/upgrade to Horde 3.0
« Reply #14 on: January 28, 2005, 06:18:23 PM »
..and the dev rpms you list are for 6.5 - there are slight differences for 6.0.1.

Also, for some reason fileinfo doesn't seem to install on 6.5beta1 like it did on 6.0.1, but it is optional, not required.