[horde] Upgrading to 4 from Groupware 1.2.9
Brian Spraker
spraker at yahoo.com
Fri Oct 7 14:14:08 UTC 2011
________________________________
From: Simon Brereton <simon.brereton at buongiorno.com>
To: horde at lists.horde.org
Sent: Friday, October 7, 2011 8:52 AM
Subject: Re: [horde] Upgrading to 4 from Groupware 1.2.9
> -----Original Message-----
> From: Brian Spraker [mailto:spraker at yahoo.com]
> ________________________________
>
> From: Simon Brereton <simon.brereton at buongiorno.com>
> To: horde at lists.horde.org
> Sent: Tuesday, October 4, 2011 10:07 AM
> Subject: Re: [horde] Upgrading to 4 from Groupware 1.2.9
>
> > -----Original Message-----
> > From: Brian Spraker [mailto:spraker at yahoo.com]
> > ________________________________
> >
> > From: Simon Brereton <simon.brereton at buongiorno.com>
> > > -----Original Message-----
> > > From: horde-bounces at lists.horde.org [mailto:horde-
> > > bounces at lists.horde.org] On Behalf Of Jan Schneider Zitat von
> Brian
> > > Spraker <spraker at yahoo.com>:
> > >
> > > > Greetings all,
> > > >
> > > > I am looking to perform an upgrade of the Horde system from
> > > Groupware
> > > > 1.2.9 to the new system I've seen that appears to be stable and
> > > > working.
> > > >
> ---
>
> OK - I am attempting to update tonight - but it isn't working. I've
> ran through and am trying to do the 'run-scripts horde/Horde_Role'
> and put in the path. But each time I attempt to do so, I get error:
>
> Could not save horde_dir configuration value to PEAR config.
>
> The folder that I am using is in the web server path and exists.
> I've even attempted to do a pear install in that directory (which
> works successfully) and use that install - but it still returns the
> same error.
See http://wiki.horde.org/FAQ/Admin/Troubleshoot?version=73
Some classes cannot be found, even though I installed the package that should contain them.
These symptoms may be caused by two issues:
1. The installation failed and you didn't notice. Installing Horde through PEAR produces a lot of output, and it's too easy to miss the single error message that's buried in all that informational output. Search the output of the installation process carefully for any failed installations or required dependencies that cannot be installed.
2. The PEAR configuration setting "horde_dir" is not set correctly. If this configuration is not correctly set, or cannot be received from PEAR, then some files are not installed into the correct web root, or cannot be found there. This can be caused by any of:
* You didn't run the Horde_Role post-install script. One of the steps of installing Horde through PEAR is to install the Horde_Role package: http://www.horde.org/apps/horde/docs/INSTALL#installing-with-pear. You forgot to run pear run-scripts horde/horde_role.
* You ran the Horde_Role post-install script, but entered a wrong path. The path you need to enter there must be an existing directory on the filesystem inside the web root directory of your server (aliases and symlinks aside). If for example your web server's web root (http://www.example.com/) directory is /var/www, and you want Horde to be accessed through http://www.example.com/groupware/, you need to create the directory /var/www/groupware and enter exactly that when running the post-install script for Horde_Role.
* You have a correct horde_dir set (verify by running pear config-show -c horde), but it's not correct received when running Horde. This was reported to happen with some web server setups if the user that is running the web server has a local PEAR configuration, e.g. a .pearrc in his home directory. This local configuration is overriding the system-wide configuration for the horde_dir. Remove that configuration, or use it to set horde_dir manually.
I suspect your issue is the last one. The last person that reported this error message fixed it by correcting a typo (according to google).
Simon
----
I saw that response with Google - but they actually a stand-alone version of Pear.
-- I've checked the home directory for a .pearrc file and one does not exist
-- I fully uninstalled all of the horde packages through pear using a command I found in the Horde wiki
-- I re-installed the horde role (sudo pear install horde/horde_role)
-- I then attempted to update the directory (sudo pear run-scripts horde/Horde_Role
-- Entered the directory of "/home/bsntech-com/www/webmail1"
-- Same error is received "Could not save horde_dir configuration value to PEAR config."
-- Ran the "pear config-show -c horde" and it shows the following - what is interesting it is shows a .pearrc file, but one does not exist:
Configuration (channel pear.horde.org):
=======================================
Auto-discover new Channels auto_discover <not set>
Default Channel default_channel pear.php.net
HTTP Proxy Server Address http_proxy <not set>
PEAR server [DEPRECATED] master_server pear.php.net
Default Channel Mirror preferred_mirror pear.horde.org
Remote Configuration File remote_config <not set>
PEAR executables directory bin_dir /usr/bin
PEAR documentation directory doc_dir /usr/share/php/docs
PHP extension directory ext_dir /usr/lib/php5/20090626
Base Horde directory horde_dir /usr/share/php/www/horde
PEAR directory php_dir /usr/share/php
PEAR Installer cache directory cache_dir /tmp/pear/cache
PEAR configuration file cfg_dir /usr/share/php/cfg
directory
PEAR data directory data_dir /usr/share/php/data
PEAR Installer download download_dir /tmp/pear/download
directory
PHP CLI/CGI binary php_bin /usr/bin/php
php.ini location php_ini <not set>
--program-prefix passed to php_prefix <not set>
PHP's ./configure
--program-suffix passed to php_suffix <not set>
PHP's ./configure
PEAR Installer temp directory temp_dir /tmp/pear/temp
PEAR test directory test_dir /usr/share/php/tests
PEAR www files directory www_dir /usr/share/php/www
Cache TimeToLive cache_ttl 3600
Preferred Package State preferred_state stable
Unix file mask umask 22
Debug Log Level verbose 1
PEAR password (for password <not set>
maintainers)
Signature Handling Program sig_bin /usr/bin/gpg
Signature Key Directory sig_keydir /etc/pearkeys
Signature Key Id sig_keyid <not set>
Package Signature Type sig_type gpg
PEAR username (for username <not set>
maintainers)
User Configuration File Filename /home/brian/.pearrc
System Configuration File Filename /etc/pear.conf
System is an Ubuntu 10.04 system, 64-bit if it helps at all.
--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org
More information about the horde
mailing list