[horde] Upgrading to 4 from Groupware 1.2.9
Brian Spraker
spraker at yahoo.com
Fri Oct 7 19:10:49 UTC 2011
>________________________________
>From: Vilius Šumskas <vilius at lnk.lt>
>To: "horde at lists.horde.org" <horde at lists.horde.org>
>Sent: Friday, October 7, 2011 1:47 PM
>Subject: Re: [horde] Upgrading to 4 from Groupware 1.2.9
>
>Sveiki,
>
>Friday, October 7, 2011, 9:25:28 PM, you wrote:
>
>
>
>
>
>
>
>> From: Vilius Šumskas <vilius at lnk.lt>
>> To: horde at lists.horde.org
>> Sent: Friday, October 7, 2011 12:38 PM
>> Subject: Re: [horde] Upgrading to 4 from Groupware 1.2.9
>
>> Sveiki,
>
>> Friday, October 7, 2011, 5:14:08 PM, you wrote:
>
>
>
>
>
>>> ________________________________
>>> 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
>
>> It seems that you are checking global pear configuration which
>> already has Horde 4 installed (?). As you can see in your output
>> horde_dir *is* set. However your shell rights probably doesn't allow
>> overwriting it.
>
>> Try installing into separate PEAR installations (there is an INSTALL
>> section about that), or try debuging why you don't have access. Have
>> you tried with root user? Are you running in chrooted environment?
>
>> P.S. Please set your email client to use symbol > or indentation on
>> quoted text. It is really hard to follow your replies.
>
>> --
>> Best regards,
>> Vilius
>
>> -----
>
>> Thank you Vilius. I just changed the Yahoo mail client to quote
>> e-mails.. so hopefully that will work.
>
>Not really. It is now in HTML :(
>
>> I have full root access to the servers as I own them - hardware and
>
>I still don't believe that you are running installations under root,
>because "pear config-show -c horde" should return:
>
>User Configuration File Filename /root/.pearrc
>
>But in your case it returns:
>
>User Configuration File Filename /home/brian/.pearrc
>
>> all - as I run a small hosting business. I don't know how Horde4
>> can be installed because it isn't anywhere on the system. I also
>> did a "grep" command to look and nothing. The default install
>> location must be set to /usr/share/php/www/horde - I'm not
>> completely sure - but is there a manual way that this could be
>> overwritten - as in this path being stored in a file somewhere?
>
>Yes, in .pearrc.
>
>
>--
>Best regards,
>Vilius
Vilius -
You are right, I was running it as "sudo" when doing the commands. Either way, the same errors occur - and here is the new read-out for the "pear config-show -c horde":
root at decatur:~# pear config-show -c horde
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 /root/.pearrc
System Configuration File Filename /etc/pear.conf
root at decatur:~# pear list-files horde/horde
`horde/horde' not installed
root at decatur:~# pear install horde/horde_role
downloading Horde_Role-1.0.0.tgz ...
Starting to download Horde_Role-1.0.0.tgz (2,304 bytes)
....done: 2,304 bytes
install ok: channel://pear.horde.org/Horde_Role-1.0.0
horde/Horde_Role has post-install scripts:
/usr/share/php/PEAR/Installer/Role/Horde/Role.php
Horde_Role: Use "pear run-scripts horde/Horde_Role" to finish setup.
DO NOT RUN SCRIPTS FROM UNTRUSTED SOURCES
root at decatur:~# pear run-scripts horde/Horde_Role
Including external post-installation script "/usr/share/php/PEAR/Installer/Role/Horde/Role.php" - any errors are in this script
Inclusion succeeded
running post-install script "Horde_Role_postinstall->init()"
init succeeded
Filesystem location for the base Horde application : /home/bsntech-com/www/webmail1
Could not save horde_dir configuration value to PEAR config.
Install scripts complete
Even running directly as root (instead of using sudo), same errors occur.
>
>--
>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