Koozali.org: home of the SME Server

[Announce] How to install/upgrade to Horde 3.0

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: How to install/upgrade to Horde 3.0 on SME6.01
« Reply #105 on: June 09, 2005, 02:36:07 AM »
Quote from: "EdelingF"
Most of you are talking about an upgrade to Horde 3.0 on SME6.5, but is there also an update-script for SME6.01?


The horde script I wrote, works quite nicely on 6.0, 6.01-01 and 6.5RC1.

JB
......

Offline EdelingF

  • ****
  • 215
  • +0/-0
script
« Reply #106 on: June 09, 2005, 07:54:27 AM »
Quote
The horde script I wrote, works quite nicely on 6.0, 6.01-01 and 6.5RC1.JB

Is this the http://mirror.contribs.org/smeserver/contribs/jbennett/install_horde30.sh script?

Freek
...

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: script
« Reply #107 on: June 09, 2005, 01:58:36 PM »
Quote from: "EdelingF"
Quote
The horde script I wrote, works quite nicely on 6.0, 6.01-01 and 6.5RC1.JB

Is this the http://mirror.contribs.org/smeserver/contribs/jbennett/install_horde30.sh script?

Freek


I wouldn't use that site.  I have not had good luck with the files from contribs.org replicating there.  The script is located at:

http://mirror.contribs.org/smeserver/contribs/jbennett/install_horde30.sh where you can download it

or
http://no.longer.valid/phpwiki/index.php/SME6.5Contribs - where you can copy and paste it.

If you do decide to get it from ibiblio I'd be interested to know if the install works for you.  That used to be my secondary site until I actually tried to install from it and the install did not work.

JB
......

Offline EdelingF

  • ****
  • 215
  • +0/-0
some errors
« Reply #108 on: June 09, 2005, 08:13:51 PM »
Install went farely well, had to manually upgrade PHP to  4.3.10 (Ergin's script) before I could login webmail. (got a white page)

For so far as I can see the only things that are not working properly are:

kronolith gives an error:


Fatal error
You need the domxml PHP extension to use the configuration tool.
[line 25 of /home/httpd/html/horde/admin/setup/config.php]


and I'm getting a reminder:
the ionCube PHP Accelerator requires Zend Engine API version 20021010.
The Zend Engine API version 20010710 which is installed, is outdated.

X-Powered-By: PHP/4.1.2

Content-type: text/html


and I can't add or change users

For the rest, it looks great!

Freek
...

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: some errors
« Reply #109 on: June 09, 2005, 09:03:04 PM »
Quote from: "EdelingF"
Install went farely well, had to manually upgrade PHP to  4.3.10 (Ergin's script) before I could login webmail. (got a white page)

For so far as I can see the only things that are not working properly are:

kronolith gives an error:


Fatal error
You need the domxml PHP extension to use the configuration tool.
[line 25 of /home/httpd/html/horde/admin/setup/config.php]



The script installs a specific version of php-4.3.10 that someone created and recommended.  The domxml module is one of them.  If you are using a different or newer version of php, then you will need to find the appropriate php-domxml rpm.

Quote from: "EdelingF"
and I'm getting a reminder:
the ionCube PHP Accelerator requires Zend Engine API version 20021010.
The Zend Engine API version 20010710 which is installed, is outdated.

X-Powered-By: PHP/4.1.2

Content-type: text/html


I don't know what the above error is referring to?  It looks like you are running php 4.1.2 and not 4.3.x.  I have only used the php 4.3.10 that the script installs.  You may have to research that error on the ioncube homepage.

Quote from: "EdelingF"

and I can't add or change users

For the rest, it looks great!

Freek


What do you mean here?  For SME you have to add users via the server-manager panel

JB
......

Offline EdelingF

  • ****
  • 215
  • +0/-0
update errors
« Reply #110 on: June 10, 2005, 10:48:00 AM »
I've mailed Ergin to ask him which RPM would be the right php-domxml rpm, he has several RPM's in his contribs/script area; I think I need php-domxml-4.3.10-3eo.i386.rpm

The reminder-email was send several times after installing, after a reinstall I didn't receive any reminders anymore

The thirt question was a stupid question I didn't actually asked  :hammer:
...

Offline frederikbay

  • **
  • 41
  • +0/-0
[Announce] How to install/upgrade to Horde 3.0
« Reply #111 on: June 11, 2005, 01:18:47 PM »
Installed the script on my 6.01-01, where I host a few sites and found that when logging in through a virtual domain, the user would be shown at the bottom of the page as if logged into my primary domain:

You are currently logged in as user@domain.xx

Have made a small hack that changes this so that the user is shown as:

You are currently logged in as user@virtualdomain.xx

------------------

(changes is in red)


pico /home/httpd/html/horde/templates/sme-common-header.inc



<?php

$vdomain = getenv('HTTP_HOST');

$vdomain = preg_replace('|^www.|i', '', $vdomain);

$vdomain = strtolower($vdomain);


/* Added by John H. Bennett III bennettj at thebennetthome.com */

echo "<font color=blue>";

echo "<p>";

echo "<b><center>You are currently logged in as ";

echo $imp['user']."@";

echo $vdomain;

echo "</center></b>";

echo "</font>";

?>



CTRL-X and save file

Hope it's usefull

Frederik

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
[Announce] How to install/upgrade to Horde 3.0
« Reply #112 on: June 11, 2005, 02:54:34 PM »
Quote from: "frederikbay"
Installed the script on my 6.01-01, where I host a few sites and found that when logging in through a virtual domain, the user would be shown at the bottom of the page as if logged into my primary domain:

You are currently logged in as user@domain.xx

Have made a small hack that changes this so that the user is shown as:

You are currently logged in as user@virtualdomain.xx

------------------

(changes is in red)


pico /home/httpd/html/horde/templates/sme-common-header.inc



<?php

$vdomain = getenv('HTTP_HOST');

$vdomain = preg_replace('|^www.|i', '', $vdomain);

$vdomain = strtolower($vdomain);


/* Added by John H. Bennett III bennettj at thebennetthome.com */

echo "<font color=blue>";

echo "<p>";

echo "<b><center>You are currently logged in as ";

echo $imp['user']."@";

echo $vdomain;

echo "</center></b>";

echo "</font>";

?>



CTRL-X and save file

Hope it's usefull

Frederik


Excellent, thank you for this update.

JB
......

Offline edb

  • *
  • 546
  • +0/-0
[Announce] How to install/upgrade to Horde 3.0
« Reply #113 on: June 27, 2005, 07:50:18 PM »
I'm running PHP 4.3.11 and MYSQL 4.1.11-standard

Will the upgrade script mentioned above for SME6.0.1 work with what I have installed or will I need to edit the script? If I would have to edit what should I edit? Thanks in advance

Ed
......

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
[Announce] How to install/upgrade to Horde 3.0
« Reply #114 on: June 27, 2005, 08:48:12 PM »
Quote from: "edb"
I'm running PHP 4.3.11 and MYSQL 4.1.11-standard

Will the upgrade script mentioned above for SME6.0.1 work with what I have installed or will I need to edit the script? If I would have to edit what should I edit? Thanks in advance

Ed


I have not personally used php 4.3.11.  Others have and have had success.  Some extra pear modules had to be installed.  I have also not testing anything with mysql 4.1.
......

Offline edb

  • *
  • 546
  • +0/-0
[Announce] How to install/upgrade to Horde 3.0
« Reply #115 on: June 27, 2005, 09:03:44 PM »
Thanks mrjhb3

If anyone else out there has successfully upgraded to Horde 3 with PHP 4.3.11 and MSQL 4.1.11 please jump in and let me know what you did.

Thanks to all for a great support forum!
......

Offline edb

  • *
  • 546
  • +0/-0
[Announce] How to install/upgrade to Horde 3.0
« Reply #116 on: June 27, 2005, 09:44:54 PM »
Ok, I tried installing after removing the references to PHP 4.3.10 and all seemed to go fine right until the end where it displayed the following message:

Installing base Horde configurations
Finishing up horde installation...


ERROR: No templates were found for /home/httpd/html/horde/kronolith/config/conf.
php.
 at /sbin/e-smith/expand-template line 49
Shutting down http: [   OK   ]
Starting httpd: [ FAILED ]
serviceControl: Couldn't system(/etc/rc.d/rc7.d/S85httpd-e-smith, restart):
Couldn't restart httpd-e-smith at /etc/e-smith/events/actions/restart-httpd-full
 line 45.
Stopping crond: [   OK   ]
Starting crond: [   OK   ]

Rebuilding Web Server Manager Left Panel Cache... Can take up to a minute.

Horde 3.0 Components have been successfully installed

Now since httpd will not restart I cannot access server manager or my websites.
Is this because of a pear module?
If so, which one/ones do I need to install?

Thanks again.
......

dashmore

ok dumb question from a newbee
« Reply #117 on: June 27, 2005, 09:44:59 PM »
How do you run the script?

Offline edb

  • *
  • 546
  • +0/-0
[Announce] How to install/upgrade to Horde 3.0
« Reply #118 on: June 27, 2005, 09:47:40 PM »
Just type "sh install_horde30.sh" at the server prompt in the directory where you saved the script file.
......

dashmore

Thanks
« Reply #119 on: June 27, 2005, 10:04:30 PM »
Thank you