[horde] trouble upgrading to webmail 5.1

Patrick Wolf pwolf at socorro.com
Tue Aug 20 04:22:17 UTC 2013


On 8/19/2013 7:49 AM, Patrick Wolf wrote:
>
> Quoting Gary <witscher at gmail.com>:
>
>> Quoting Patrick Wolf <pwolf at socorro.com>:
>>
>>> Hi,
>>>
>>> I'm currently running Horde Groupware Webmail Edition 5.0.4
>>>
>>> In searching for how to upgrade to the latest, I believe I did it 
>>> wrong.  I ran an install with
>>>
>>> pear install -a -B horde/webmail
>>> webmail-install
>>>
>>> When I restarted my webserver, I am still presented with the same 
>>> version 5.0.4.  So I searched a bit more and discovered that it 
>>> seems I should have run
>>>
>>> pear upgrade -a -B horde/webmail
>>>
>>> instead.
>>>
>>> So I ran that and get the response "Nothing to upgrade."
>>>
>>> I'm lost at how I resolve this and haven't been able to find any 
>>> help going through archived mailing list entries.
>>>
>>> Any suggestions would be appreciated.
>>>
>>> By the way, I'm running CentOS 6.4
>>>
>>> Pat
>>> -- 
>>
>> It might be that you have two separate installations. When you ran 
>> the latest install, you had to tell pear where to install horde. That 
>> location is then written in a config file and used for future update 
>> commands. If your original location was different, you could still be 
>> using it and not even see the latest location.
>>
>> Just an idea.
>>
>> Gary
>
> Makes sense.  However, when I ran the "pear install -a -B 
> horde/webmail" and then "webmail-install" I was not prompted for the 
> location to install horde.  I did see all the upgrade packages get 
> downloaded and saved to /tmp/pear/download where there now exists 60 
> some .tgz files.
>
> And as you suggest, my original location was uneffected and contains 
> all the files that were installed there during the original install of 
> 5.0.4 a few months back.
>
> Being a pear novice, I am at a loss as to reverse what I did.  Or can 
> I?  Should I just run an "uninstall" and start over?  Or is there a 
> way for me to tell pear that I  have version 5.0.4 instead of 5.1.1 so 
> I can run the update command?
>
> Thanks,
>
> Pat

Got it fixed.  Did the following

pear uninstall -r `pear list -c horde | tail -n +4 | awk '{ print 
"horde/"$1}'`
     (do not remove files, only register the packages as not installed)

pear install horde/horde_role
pear run-scripts horde/horde_role
     (command to tell system where my install goes)

pear install -r -a -B horde/webmail-5.0.4
     (do not install files, only register the package as installed)

then

pear upgrade -a -B horde/webmail

This did *most* of it but I still had several modules that showed as one 
version in Administration ->  Configuration within Horde but another 
version when I ran "pear list -c horde" .

So for those modules I ran (as example)

pear install -f -a -B horde/horde-5.1.2

to force install the horde-5.1.2 module even though "pear list -c horde" 
showed this was installed, but Horde -> Administration -> Configuration 
showed an older version.

Seems to all be functioning now with the latest versions.

Pat



More information about the horde mailing list