[horde] How to upgrade - was: Horde 5.0.0alpha1
Simon Brereton
simon.buongiorno at gmail.com
Mon Jul 9 15:02:57 UTC 2012
On 7 July 2012 13:03, Simon Brereton <simon.buongiorno at gmail.com> wrote:
>
> On Jul 7, 2012 7:05 AM, "Jan Schneider" <jan at horde.org> wrote:
>>
>>
>> Zitat von Simon Brereton <simon.buongiorno at gmail.com>:
>>
>>
>>> On 6 July 2012 11:47, Simon Brereton <simon.buongiorno at gmail.com> wrote:
>>>>
>>>> On 6 July 2012 11:34, Brent <impuser at bitrealm.com> wrote:
>>>>>
>>>>>
>>>>> Quoting Jan Schneider <jan at horde.org>:
>>>>>
>>>>>> Zitat von Brent <impuser at bitrealm.com>:
>>>>>>
>>>>>>> Quoting Jan Schneider <jan at horde.org>:
>>>>>>>
>>>>>>>> Zitat von Götz Reinicke <goetz.reinicke at filmakademie.de>:
>>>>>>>>
>>>>>>>>> Am 06.07.12 00:37, schrieb Jan Schneider:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> The Horde Team is pleased to announce the first alpha release of
>>>>>>>>>> the
>>>>>>>>>> Horde
>>>>>>>>>> Application Framework version 5.0.0.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> one more thing... is there also a plan for releasing an webmail
>>>>>>>>> edition?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Of course, but only after the apps have stabilized.
>>>>>>>>
>>>>>>>>> Or what would be the best practice solution for testing H5? (All
>>>>>>>>> Docs
>>>>>>>>> currently describe updating / installing up to H4.x)
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> The same rules apply.
>>>>>>>>
>>>>>>>>> I do have a H4 webmail installation up and running on a test system
>>>>>>>>> which could be blown up, so I can nearly do anything I like to.
>>>>>>>>>
>>>>>>>>> But an pear upgrade -a -B horde/webmail would be very nice ;)
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> pear -d preferred_state=alpha upgrade -a -B -c horde
>>>>>>>> --
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Anyway to have a parallel installation? I'd run it to a different
>>>>>>> mysql
>>>>>>> database since I assume there are many schema changes and I don't
>>>>>>> want to
>>>>>>> break the current version. I'd like to kick the tires on the new
>>>>>>> release
>>>>>>> but I don't have a spare system handy.
>>>>>>
>>>>>>
>>>>>>
>>>>>> You could do this if you are very experienced with Horde and you know
>>>>>> what
>>>>>> you are doing. We develop several versions on the same system at the
>>>>>> same
>>>>>> time. But without a spare system or trying that on a cloned VM, I
>>>>>> wouldn't
>>>>>> recommend it for less experienced users.
>>>>>> --
>>>>>> Jan Schneider
>>>>>
>>>>>
>>>>>
>>>>> Prior to the php install method, I had the beta and production versions
>>>>> installed, each pointing to their own mysql database. Wasn't hard at
>>>>> all.
>>>>> If there's a quickie "howto" somewhere, I'm sure I can figure it out.
>>>>> I
>>>>> assume you need a new php installation directory, or someway to install
>>>>> new
>>>>> horde php stuff without clobbering the production stuff. From there,
>>>>> just
>>>>> point the alpha horde to an imported copy of the production mysql, have
>>>>> it
>>>>> upgrade the db, then bob is your uncle. Set apache to the new horde
>>>>> directory and begin kicking tires.
>>>>
>>>>
>>>> I don't intend to convey laziness, but a short howto on how to run
>>>> this concurrently would a) be appreciated, b) mean I and other admins
>>>> can set it up and move some test users to it (whilst keeping the H4
>>>> production option, which would give the Horde community and devs
>>>> faster/better feedback on bugs/features/ERs/etc..
>>>
>>>
>>> Okay, here's what I did..
>>>
>>> PEAR
>>> pear config-create /path/to/horde-beta /path/to/horde-beta/pear.conf
>>> pear -c /path/to/horde-beta/pear.conf install pear
>>>
>>> PHP
>>> cp /path/to/horde4/.htaccess /path/to/horde-beta/
>>> vim /path/to/horde-beta/.htaccess
>>>
>>> Add
>>> php_value include_path /path/to/horde-beta/pear/php
>>> SetEnv PHP_PEAR_SYSCONF_DIR /path/to/horde-beta
>>>
>>>
>>> Install Horde5
>>> /path/to/horde-beta/pear/pear -c /path/to/horde-beta/pear.conf
>>> channel-discover pear.horde.org
>>> /path/to/horde-beta/pear/pear -c /path/to/horde-beta/pear.conf install
>>> horde/horde_role
>>> /path/to/horde-beta/pear/pear -c /path/to/horde-beta/pear.conf
>>> run-scripts horde/horde_role
>>> /path/to/horde-beta/pear/pear -c /path/to/horde-beta/pear.conf -d
>>> preferred_state=alpha install horde/horde
>>> /path/to/horde-beta/pear/pear -c /path/to/horde-beta/pear.conf -d
>>> preferred_state=alpha install horde/imp
>>> /path/to/horde-beta/pear/pear -c /path/to/horde-beta/pear.conf -d
>>> preferred_state=alpha install horde/turba
>>>
>>>
>>> And I get a white screen when going to
>>> horde-beta.example.net/admin/config
>>>
>>> test.php only says
>>> Required Configuration Files
>>>
>>> config/conf.php: No
>>> The file config/conf.php appears to be missing. You need to login
>>> to Horde as an administrator and create the initial configuration
>>> file.
>>>
>>> and
>>> Local File Permissions
>>>
>>> Is /path/to/horde-beta/lib/../static writable by the web server user?
>>> No
>>>
>>> I wish I knew what the ... was.
>>>
>>> http://wiki.horde.org/FAQ/Admin/Troubleshoot/ says to check the apache
>>> logs... Apache logs say:
>>> ==> /var/log/apache2/logs/example-horde-beta-error_log <==
>>> [Fri Jul 06 16:31:42 2012] [error] [client 209.249.196.10] PHP Notice:
>>> Undefined index: max_exec_time in /path/to/php/Horde/Registry.php on
>>> line 389
>>> [Fri Jul 06 16:31:42 2012] [error] [client 209.249.196.10] PHP Notice:
>>> Undefined index: debug_level in /path/to/php/Horde/Registry.php on
>>> line 394
>>> [Fri Jul 06 16:36:06 2012] [error] [client 209.249.196.10] PHP
>>> Warning: set_exception_handler() expects the argument
>>> (Horde_ErrorHandler::fatal) to be a valid callback in
>>> /path/to/horde-beta/lib/core.php on line 54
>>> [Fri Jul 06 16:36:06 2012] [error] [client 209.249.196.10] PHP
>>> Warning: set_error_handler() expects the argument
>>> (Horde_ErrorHandler::errorHandler) to be a valid callback in
>>> /path/to/horde-beta/lib/core.php on line 57
>>> [Fri Jul 06 16:36:06 2012] [error] [client 209.249.196.10] PHP Notice:
>>> Undefined index: max_exec_time in /path/to/php/Horde/Registry.php on
>>> line 389
>>> [Fri Jul 06 16:36:06 2012] [error] [client 209.249.196.10] PHP Notice:
>>> Undefined index: debug_level in /path/to/php/Horde/Registry.php on
>>> line 394
>>> [Fri Jul 06 16:40:39 2012] [error] [client 209.249.196.10] PHP
>>> Warning: set_exception_handler() expects the argument
>>> (Horde_ErrorHandler::fatal) to be a valid callback in
>>> /path/to/horde-beta/lib/core.php on line 54
>>> [Fri Jul 06 16:40:39 2012] [error] [client 209.249.196.10] PHP
>>> Warning: set_error_handler() expects the argument
>>> (Horde_ErrorHandler::errorHandler) to be a valid callback in
>>> /path/to/horde-beta/lib/core.php on line 57
>>> [Fri Jul 06 16:40:39 2012] [error] [client 209.249.196.10] PHP Notice:
>>> Undefined index: max_exec_time in /path/to/php/Horde/Registry.php on
>>> line 389
>>> [Fri Jul 06 16:40:39 2012] [error] [client 209.249.196.10] PHP Notice:
>>> Undefined index: debug_level in /path/to/php/Horde/Registry.php on
>>> line 394
>>>
>>> So where to here from here? I was hoping to put a step-by-step for
>>> idiots (namely me) and contribute it back.
>>
>>
>> The step-by-step guide already exists, and you only need to follow it. In
>> the correct order.
>
> With all due respect Jan, your step by step is written for you, by you, and
> doesn't inspire confidence - I would prefer something a little more
> complete. If no one but me benefits, week then sobeit.
>
>> Installing Horde has overwritten your .htaccess file.
>
> But as ever thank you for your response - on the mark as always. I reedited
> the .htaccess and reloaded. This time I got a server internal error, solved
> by changing AllowOverride directive in the vhost to all (I don't see why
> Authconfig and FileInfo won't work - I'll sorry that out later).
>
> Thanks for your help.
It's not required, but it is recommended to install the intl pecl
extension. However, I get an error and google did not help me - it
only pointed me to solutions that are 4 years old...
mail:/path/to/horde-beta# /path/to/horde-beta/pear/pecl -c
/path/to/horde-beta/pear.conf install intl
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl
channel-update pecl.php.net" to update
downloading intl-2.0.0.tgz ...
Starting to download intl-2.0.0.tgz (145,979 bytes)
.....................done: 145,979 bytes
111 source files, building
running: phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
Specify where ICU libraries and headers can be found [DEFAULT] :
ERROR: `/tmp/pear/temp/intl/configure --with-icu-dir=DEFAULT' failed
I'm running debian squeeze.
Simon
More information about the horde
mailing list