Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Teviot on August 07, 2005, 06:24:42 AM

Title: Upgrading to Horde 3
Post by: Teviot on August 07, 2005, 06:24:42 AM
Hi Everybody

I have recently tried to update to Horde 3 using http://mirror.contribs.org/smeserver/contribs/jbennett/install_horde30.sh

the upgrade didn't work. I got the following response
Quote
[root@gateway root]# sh install_horde30.sh

========================================================
= Horde 3.0 Framework Installation Script              =
=                                                      =
= This script will install or upgrade to the latest    =
= stable versions of the Horde 3.0 framework.          =
= Currently Horde 3.0.4, Imp 4.0.3, Turba 2.0.2        =
= Kronolith 2.0.3, Mnemo 2.0.1, Nag 2.0.1, Ingo 1.0.1, =
= and early releases of accounts and mimp.             =
=                                                      =
= No express or implied warranties are provided and    =
= its usage is at your own risk.                       =
=                                                      =
= If you feel comfortable with the above then this     =
= script will continue after 30 seconds.               =
= If not, press Ctrl+C to abort the installation, now  =
========================================================


































Downloading files from http://mirror.contribs.org/smeserver/contribs/jbennett/horde30




Installing Horde 3.0 on SME 6.0.....

Preparing...                ########################################### [100%]
   1:cpp                    ########################################### [ 25%]
   2:glibc-kernheaders      ########################################### [ 50%]
   3:glibc-devel            ########################################### [ 75%]
   4:gcc                    ########################################### [100%]

Upgrading to PHP-4.3.10

Preparing...                ########################################### [100%]
package php-4.4.0-1eo (which is newer than php-4.3.10-3eo) is already installed
package php-devel-4.4.0-1eo (which is newer than php-devel-4.3.10-3eo) is already installed
package php-imap-4.4.0-1eo (which is newer than php-imap-4.3.10-3eo) is already installed
package php-ldap-4.4.0-1eo (which is newer than php-ldap-4.3.10-3eo) is already installed
package php-mysql-4.4.0-1eo (which is newer than php-mysql-4.3.10-3eo) is already installed
package php-odbc-4.4.0-1eo (which is newer than php-odbc-4.3.10-3eo) is already installed
package php-snmp-4.4.0-1eo (which is newer than php-snmp-4.3.10-3eo) is already installed
Package 'Log' already installed, skipping
Package 'Date' already installed, skipping
Package 'File' already installed, skipping
Package 'Mail' already installed, skipping
downloading Services_Weather-1.3.2.tgz ...
Starting to download Services_Weather-1.3.2.tgz (44,849 bytes)
............done: 44,849 bytes
downloading Cache-1.5.5RC3.tgz ...
Starting to download Cache-1.5.5RC3.tgz (31,784 bytes)
...done: 31,784 bytes
downloading HTTP_Request-1.2.4.tgz ...
Starting to download HTTP_Request-1.2.4.tgz (13,212 bytes)
...done: 13,212 bytes
downloading SOAP-0.9.1.tgz ...
Starting to download SOAP-0.9.1.tgz (69,454 bytes)
...done: 69,454 bytes
downloading XML_Serializer-0.16.0.tgz ...
Starting to download XML_Serializer-0.16.0.tgz (19,621 bytes)
...done: 19,621 bytes
downloading Net_URL-1.0.14.tgz ...
Starting to download Net_URL-1.0.14.tgz (5,173 bytes)
...done: 5,173 bytes
downloading XML_Util-1.1.1.tgz ...
Starting to download XML_Util-1.1.1.tgz (8,358 bytes)
...done: 8,358 bytes
install ok: Net_URL 1.0.14
install ok: SOAP 0.9.1
install ok: XML_Util 1.1.1
Optional dependencies:
package HTTP_Request' is recommended to utilize some features.
install ok: Cache 1.5.5RC3
install ok: XML_Serializer 0.16.0
install ok: HTTP_Request 1.2.4
install ok: Services_Weather 1.3.2

Downloading Horde Components

Uncompressing and moving horde components

tar (child): horde-3.0.4.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
tar (child): turba-h3-2.0.2.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
tar (child): nag-h3-2.0.1.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat horde-3.0.4': No such file or directory
mv: cannot create directory /home/httpd/html/horde/imp': No such file or directory
mv: cannot stat turba-h3-2.0.2': No such file or directory
mv: cannot create directory /home/httpd/html/horde/kronolith': No such file or directory
mv: cannot create directory /home/httpd/html/horde/mnemo': No such file or directory
mv: cannot stat nag-h3-2.0.1': No such file or directory
mv: cannot create directory /home/httpd/html/horde/ingo': No such file or directory
mv: cannot create directory /home/httpd/html/horde/accounts': No such file or directory
mv: cannot create directory /home/httpd/html/horde/mimp': No such file or directory
Upgrading Horde 2.0 to Horde 3.0 Framework

install_horde30.sh: cd: /home/httpd/html/horde/scripts/upgrades: No such file or directory
install_horde30.sh: 2.2_to_3.0.mysql.sql: No such file or directory
install_horde30.sh: cd: /home/httpd/html/horde/config: No such file or directory
cp: copying multiple files, but last argument y' is not a directory
Try cp --help' for more information.
rm: cannot remove hooks.php': No such file or directory
install_horde30.sh: cd: /home/httpd/html/horde/imp/config: No such file or directory
cp: copying multiple files, but last argument y' is not a directory
Try cp --help' for more information.
rm: cannot remove trailer.txt': No such file or directory
install_horde30.sh: cd: /home/httpd/html/horde/turba/config: No such file or directory
cp: copying multiple files, but last argument y' is not a directory
Try cp --help' for more information.

Upgrading Turba tables
install_horde30.sh: cd: /home/httpd/html/horde/turba/scripts/upgrades: No such file or directory
install_horde30.sh: 1.2_to_2.0.mysql.sql: No such file or directory
install_horde30.sh: cd: /home/httpd/html/horde/kronolith/config: No such file or directory
cp: copying multiple files, but last argument y' is not a directory
Try cp --help' for more information.
Upgrading Kronolith tables
install_horde30.sh: cd: /home/httpd/html/horde/kronolith/scripts/upgrades: No such file or directory
install_horde30.sh: 1.1_to_2.0.mysql.sql: No such file or directory
install_horde30.sh: cd: /home/httpd/html/horde/mnemo/config: No such file or directory
cp: copying multiple files, but last argument y' is not a directory
Try cp --help' for more information.
Upgrading Mnemo tables
install_horde30.sh: cd: /home/httpd/html/horde/mnemo/scripts/upgrades: No such file or directory
install_horde30.sh: 1.1_to_2.0.mysql.sql: No such file or directory
install_horde30.sh: cd: /home/httpd/html/horde/nag/config: No such file or directory
cp: copying multiple files, but last argument y' is not a directory
Try cp --help' for more information.
Upgrading Nag tables
install_horde30.sh: cd: /home/httpd/html/horde/nag/scripts/upgrades: No such file or directory
install_horde30.sh: 1.1_to_2.0.mysql.sql: No such file or directory
install_horde30.sh: cd: /home/httpd/html/horde/ingo/config: No such file or directory
cp: copying multiple files, but last argument y' is not a directory
Try cp --help' for more information.
install_horde30.sh: cd: /home/httpd/html/horde/mimp/config: No such file or directory
cp: copying multiple files, but last argument y' is not a directory
Try cp --help' for more information.
rm: cannot remove trailer.txt': No such file or directory

Installing base Horde configurations
mv: cannot stat /home/httpd/html/horde/config/registry.php': No such file or directory
cp: cannot create regular file /home/httpd/html/horde/config/registry.php': No such file or directory
cp: cannot create regular file /home/httpd/html/horde/config/prefs.php': No such file or directory
cp: cannot create regular file /home/httpd/html/horde/imp/config/conf.php': No such file or directory
cp: cannot create regular file /home/httpd/html/horde/scripts/set_horde_perms.sh': No such file or directory
mv: cannot stat /home/httpd/html/horde/imp/login.php': No such file or directory
cp: cannot create regular file /home/httpd/html/horde/imp/login.php': No such file or directory
mv: cannot create regular file /home/httpd/html/horde/imp/config/mime_drivers.php': No such file or directory
cp: cannot create regular file /home/httpd/html/horde/turba/config/conf.php': No such file or directory
cp: cannot create regular file /home/httpd/html/horde/mnemo/config/conf.php': No such file or directory
cp: cannot create regular file /home/httpd/html/horde/nag/config/conf.php': No such file or directory
cp: cannot create regular file /home/httpd/html/horde/ingo/config/conf.php': No such file or directory
cp: cannot create regular file /home/httpd/html/horde/accounts/config/conf.php': No such file or directory
cp: cannot create regular file /home/httpd/html/horde/mimp/config/conf.php': No such file or directory
cp: cannot stat /home/httpd/html/horde/accounts/templates/main/main.inc': No such file or directory
mv: cannot create regular file /home/httpd/html/horde/templates': No such file or directory
install_horde30.sh: /home/httpd/html/horde/imp/mailbox.php: No such file or directory
install_horde30.sh: /home/httpd/html/horde/turba/index.php: No such file or directory
install_horde30.sh: /home/httpd/html/horde/kronolith/index.php: No such file or directory
install_horde30.sh: /home/httpd/html/horde/mnemo/index.php: No such file or directory
install_horde30.sh: /home/httpd/html/horde/nag/index.php: No such file or directory
install_horde30.sh: /home/httpd/html/horde/ingo/index.php: No such file or directory
install_horde30.sh: /home/httpd/html/horde/accounts/index.php: No such file or directory
install_horde30.sh: /home/httpd/html/horde/services/prefs.php: No such file or directory
cp: cannot create regular file /home/httpd/html/horde/themes/graphics/smeserver_logo.gif': No such file or directory
Finishing up horde installation...


ERROR: Cannot create output file //home/httpd/html/horde/config/conf.php.12252 No such file or directory
 at /sbin/e-smith/expand-template line 49
ERROR: Cannot create output file //home/httpd/html/horde/imp/config/servers.php.12253 No such file or directory
 at /sbin/e-smith/expand-template line 49
ERROR: Cannot create output file //home/httpd/html/horde/imp/config/motd.php.12254 No such file or directory
 at /sbin/e-smith/expand-template line 49
ERROR: Cannot create output file //home/httpd/html/horde/turba/config/sources.php.12255 No such file or directory
 at /sbin/e-smith/expand-template line 49
ERROR: Cannot create output file //home/httpd/html/horde/kronolith/config/conf.php.12256 No such file or directory
 at /sbin/e-smith/expand-template line 49
ERROR: Cannot create output file //home/httpd/html/horde/accounts/templates/main/main.inc.12257 No such file or directory
 at /sbin/e-smith/expand-template line 49
ERROR: Cannot create output file //home/httpd/html/horde/mimp/config/servers.php.12258 No such file or directory
 at /sbin/e-smith/expand-template line 49
Shutting down http: [   OK   ]
Starting httpd: [   OK   ]
Stopping crond: [   OK   ]
Starting crond: [   OK   ]
cp: cannot stat /home/httpd/html/horde/config/*.php': No such file or directory
cp: cannot stat /home/httpd/html/horde/imp/config/*.php': No such file or directory
cp: cannot stat /home/httpd/html/horde/turba/config/*.php': No such file or directory
cp: cannot stat /home/httpd/html/horde/kronolith/config/*.php': No such file or directory
cp: cannot stat /home/httpd/html/horde/mnemo/config/*.php': No such file or directory
cp: cannot stat /home/httpd/html/horde/nag/config/*.php': No such file or directory
cp: cannot stat /home/httpd/html/horde/ingo/config/*.php': No such file or directory
cp: cannot stat /home/httpd/html/horde/accounts/config/*.php': No such file or directory
cp: cannot stat /home/httpd/html/horde/mimp/config/*.php': No such file or directory
/home/httpd/html/horde/scripts/set_horde_perms.sh: /home/httpd/html/horde/scripts/set_horde_perms.sh: No such file or directory

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

Horde 3.0 Components have been successfully installed

[root@gateway root]#


Can anyone help me please?
Regards
Adrian
Title: Upgrading to Horde 3
Post by: mrjhb3 on August 07, 2005, 06:43:11 AM
Don't use that site or any other mirror site.  They don't work, as you now know.  For some reason when the files are being mirrored something is getting broke during the transfer.  Do this, wget http://mirror.contribs.org/smeserver/contribs/jbennett/install_horde30.sh.  Then run the upgrade script.  You may have an old upgrade script that listed ibiblio as the secondary site.  I have changed many things since then.  The site I gave you above has the most current version of the script.

Good Luck,

John Bennett
Title: Upgrading to Horde 3
Post by: Teviot on August 07, 2005, 07:25:48 AM
mrjhb3

I used the script your suggested and got the followin error if you can call them all errors.

Quote
the ionCube PHP Accelerator requires Zend Engine API version 20021010.
The Zend Engine API version 20050606 which is installed, is newer.
Contact Nick Lindridge at http://www.php-accelerator.co.uk for a later version of the ionCube PHP Accelerator.



I also got an email about this

Quote
the ionCube PHP Accelerator requires Zend Engine API version 20021010.
The Zend Engine API version 20050606 which is installed, is newer.
Contact Nick Lindridge at http://www.php-accelerator.co.uk for a later version of the ionCube PHP Accelerator.


A fatal error has occurred

Unable to load the definition of Kronolith_Driver_.

Details have been logged for the administrator.


and

Quote
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



How do I fix this?

Adrian
Title: Upgrading to Horde 3
Post by: mrjhb3 on August 07, 2005, 08:10:22 AM
Quote from: "teviot"
mrjhb3

I used the script your suggested and got the following error if you can call them all errors.

Quote
the ionCube PHP Accelerator requires Zend Engine API version 20021010.
The Zend Engine API version 20050606 which is installed, is newer.
Contact Nick Lindridge at http://www.php-accelerator.co.uk for a later version of the ionCube PHP Accelerator.


What version of php are you using?  The script is written to run php-4.3.10-3eo created by Ergin Ă–zdemir (rpm -qa | grep php).  I haven't tested this with any other php versions.


Quote
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


You should have 2 files in /etc/e-smith/templates-custom/home/httpd/httpd/html/kronolith/config/conf.php. 10AllKronolith  template-begin  If you don't have these, then you will probably need to pull them down manually, then re-expand the template.

Adrian
Quote
the ionCube PHP Accelerator requires Zend Engine API version 20021010.
The Zend Engine API version 20050606 which is installed, is newer.
Contact Nick Lindridge at http://www.php-accelerator.co.uk for a later version of the ionCube PHP Accelerator.


A fatal error has occurred

Unable to load the definition of Kronolith_Driver_.

Details have been logged for the administrator.


Do a php -v to show some info about php and zend
[root@test65 conf.php]# php -v
PHP 4.3.10 (cli) (built: Mar  1 2005 08:30:27)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    with the ionCube PHP Accelerator v1.3.3r2, Copyright (c) 2001-2002, by Nick Lindridge

For the kronolith stuff, since you ran the previous script and it failed, I am thinking that all of the horde tables were not upgraded.  If you are upgrading from horde 2.0 to 3.0, then change to the various horde directory scripts/upgrades and manually upgrade the tables.  i.e - cd/ home/httpd/html/horde/kronolith/scripts/upgrades/
mysql horde < 1.1_to_2.0.mysql.sql

If you get any duplicate errors that just means that the DB already contains the necessary tables.

You also might run into some other issues since the first attempt failed.  The symlinks that are used for horde 2.0 may not have all been removed.  So, if the above works for you, I'd copy the horde/config/conf.php file, then open server-manager/e-mail and save your settings.  Look at the horde/config/conf.php again and see if it has changed.  If it has, then that will tell you the symlinks are still in place.  Then you have 2 choices, either run the horde20-restore.sh script to revert back to 2.0.  Check to make sure you can login to webmail, then run the upgrade script again.

JB
Title: Upgrading to Horde 3
Post by: Teviot on August 07, 2005, 08:36:03 AM
mrjhb3

Can I email you direct?

Adrian
Title: Upgrading to Horde 3
Post by: Teviot on August 07, 2005, 08:41:02 AM
Quote
[root@gateway root]# php -v
the ionCube PHP Accelerator requires Zend Engine API version 20021010.
The Zend Engine API version 20050606 which is installed, is newer.
Contact Nick Lindridge at http://www.php-accelerator.co.uk for a later version of the ionCube PHP Accelerator.

PHP 4.4.1-dev (cli) (built: Jul 19 2005 17:06:07)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
Title: Upgrading to Horde 3
Post by: mrjhb3 on August 07, 2005, 05:51:17 PM
Quote from: "teviot"
mrjhb3

Can I email you direct?

Adrian


Sure, but I don't know how much help I will be since you are running php 4.4.1.  It may be better to leave it in this thread so that someone else could possibly benefit.  Or, one of us could just post a summary of what the issue was and how it hopefully got resolved.  Others have had success with php 4.3.11, but had to install some additional modules to get it to work.  Where did you get the 4.4.1 php rpm's at?

JB
Title: Upgrading to Horde 3
Post by: bubbers214 on August 11, 2005, 11:19:22 PM
mrjhb3,

I just thought I would let you know, the install script you have on the site currently does not work because there are 3 updated packages that are stored in your directory now.  Horde, Turba and Nag have been updated but your script still tries to wget the old version.  Just FYI.
Title: Upgrading to Horde 3
Post by: mrjhb3 on August 12, 2005, 01:34:12 AM
Quote from: "bubbers214"
mrjhb3,

I just thought I would let you know, the install script you have on the site currently does not work because there are 3 updated packages that are stored in your directory now.  Horde, Turba and Nag have been updated but your script still tries to wget the old version.  Just FYI.


Yes, it does work.  I just ran it 2 times from contribs.org 2 days ago.  Make sure you are not behind a proxy caching server that is serving you up the old file.  I ran into this a long while back.  Try going to mirror.contribs.org/smeserver/contribs/jbennett, then ctrl-F5 (IE) to refresh, then download the file and see if that helps.  I also just did a wget http://mirror.contribs.org/smeserver/contribs/jbennett/install_horde30.sh and the most current version of the script was pulled down.

[root@test65 root]# wget http://mirror.contribs.org/smeserver/contribs/jbennett/install_horde30.sh
--18:26:25--  http://mirror.contribs.org/smeserver/contribs/jbennett/install_horde30.sh
           => install_horde30.sh'
Resolving www.contribs.org... done.
Connecting to www.contribs.org[216.17.211.37]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25,959 [application/x-sh]

100%[========================================================================================>] 25,959         3.42K/s    ETA 00:00

18:26:34 (3.42 KB/s) - install_horde30.sh' saved [25959/25959]

[root@test65 root]# pico -w install_horde30.sh

This line shows me it's the new file

# August 5, 2005:       Added Horde 3.0.5, Turba 2.0.3, Nag 2.0.2

JB