[horde] Upgrade to webmail 5.0.5

Gary witscher at gmail.com
Sat Jun 1 03:11:14 UTC 2013


Quoting Steve Jelfs <steve at trolltec.co.uk>:

> Quoting "Mauricio Jose T. Tecles" <mtecles at biof.ufrj.br>:
>
>> ----- Mensagem de simon.buongiorno at gmail.com ---------
>>    Data: Thu, 30 May 2013 19:06:45 +0200
>>    De: Simon B <simon.buongiorno at gmail.com>
>> Assunto: Re: [horde] Upgrade to webmail 5.0.5
>>      Para: steve at jelfs.me
>>      Cc: horde at lists.horde.org
>>
>>> On 30 May 2013 18:51, "Steve Jelfs" <steve at trolltec.co.uk> wrote:
>>>> Quoting Jan Schneider <jan at horde.org>:
>>>>
>>>>> Zitat von Steve Jelfs <steve at trolltec.co.uk>:
>>>>>
>>>>>> Tried this today and this is the output.  I can't get a login page
> for
>>>>>> webmail anymore!
>>>>>>
>>>>>> adminuser at mail:~$ sudo pear upgrade -a -B horde/webmail
>>>>>> [sudo] password for adminuser:
>>>>>> WARNING: "pear/Console_Getopt" is deprecated in favor of
>>>>>> "pear/Console_GetoptPlus"
>>>>>> Failed to download pear/Date_Holidays within preferred state
> "stable",
>>>>>> latest release is version 0.21.8, stability "alpha", use
>>>>>> "channel://pear.php.net/Date_Holidays-0.21.8" to install
>>>>>> Unknown remote channel: pear.phpunit.de
>>>>>> horde/Horde_Test requires package "channel://pear.phpunit.de/PHPUnit"
>>>>>> (version >= 3.5.0)
>>>>>> downloading webmail-5.0.5.tgz ...
>>>>>> Starting to download webmail-5.0.5.tgz (111,826 bytes)
>>>>>> .........................done: 111,826 bytes
>>>>>> downloading horde-5.0.5.tgz ...
>>>>>> Starting to download horde-5.0.5.tgz (2,830,720 bytes)
>>>>>> ...done: 2,830,720 bytes
>>>>>> downloading imp-6.0.5.tgz ...
>>>>>> Starting to download imp-6.0.5.tgz (4,828,246 bytes)
>>>>>> ...done: 4,828,246 bytes
>>>>>> downloading ingo-3.0.4.tgz ...
>>>>>> Starting to download ingo-3.0.4.tgz (1,486,236 bytes)
>>>>>> ...done: 1,486,236 bytes
>>>>>> downloading kronolith-4.0.5.tgz ...
>>>>>> Starting to download kronolith-4.0.5.tgz (2,490,283 bytes)
>>>>>> ...done: 2,490,283 bytes
>>>>>> downloading nag-4.0.3.tgz ...
>>>>>> Starting to download nag-4.0.3.tgz (1,624,531 bytes)
>>>>>> ...done: 1,624,531 bytes
>>>>>> downloading turba-4.0.4.tgz ...
>>>>>> Starting to download turba-4.0.4.tgz (1,936,361 bytes)
>>>>>> ...done: 1,936,361 bytes
>>>>>> downloading Console_Getopt-1.3.1.tgz ...
>>>>>> Starting to download Console_Getopt-1.3.1.tgz (4,471 bytes)
>>>>>> ...done: 4,471 bytes
>>>>>> downloading Horde_Css_Parser-1.0.0.tgz ...
>>>>>> Starting to download Horde_Css_Parser-1.0.0.tgz (27,523 bytes)
>>>>>> ...done: 27,523 bytes
>>>>>> downloading Net_Socket-1.0.14.tgz ...
>>>>>> Starting to download Net_Socket-1.0.14.tgz (5,600 bytes)
>>>>>> ...done: 5,600 bytes
>>>>>> upgrade ok: channel://pear.horde.org/horde-5.0.5
>>>>>> upgrade ok: channel://pear.php.net/Console_Getopt-1.3.1
>>>>>> upgrade ok: channel://pear.horde.org/Horde_Css_Parser-1.0.0
>>>>>> upgrade ok: channel://pear.php.net/Net_Socket-1.0.14
>>>>>> upgrade ok: channel://pear.horde.org/imp-6.0.5
>>>>>> upgrade ok: channel://pear.horde.org/ingo-3.0.4
>>>>>> upgrade ok: channel://pear.horde.org/kronolith-4.0.5
>>>>>> upgrade ok: channel://pear.horde.org/nag-4.0.3
>>>>>> upgrade ok: channel://pear.horde.org/turba-4.0.4
>>>>>> upgrade ok: channel://pear.horde.org/webmail-5.0.5
>>>>>> adminuser at mail:~$ sudo service apache2 restart
>>>>>> * Restarting web server apache2
>>>>>> [ OK ]
>>>>>> adminuser at mail:~$ cd /var/www/horde
>>>>>> adminuser at mail:/var/www/horde$ ls
>>>>>> config  content  imp  ingo  js  kronolith  mnemo  nag  phptmp
>>>>>> timeobjects  turba
>>>>>
>>>>> Nothing to see here. "can't get a login page for webmail" is not a
>>>>> useful error description either.
>>>>
>>>> I dunno - how else would you describe using the url <mailserver>/horde
>>>
>>> just
>>>> creating a blank page or a directory listing?
>>>
>>> There are plenty of threads about a blank page on horde.  Especially if
>>> Google it with my name.  I believe there's even a faq entry
> hysterically
>>> called the the white screen of death...
>>>
>>> What does your apache log say?
>>>
>>> This is usually a permission error..
>>
>> I agree, even if this is not the only problem, you have just installed
>> new files with root permission.
>> The old Horde INSTALL doc used to instruct to change permission on Horde
>> directory to your webserver user (www or www.data[1], for example):
>>
>> chown -R www.data:www.data[2] /var/www/horde
>>
>> Restart your webserver, and try again!
>>
>> Mauricio
>>
>>> Simon
>
> Yes, I tried that.  But, if you look at the directory listing for
> /var/www/horde you'll see that there are no php files.  Anyway, I purged
> the horde installation and reinstalled and now everything is back working
> ok - not sure why they all disappeared on the upgrade though.
>
> Regards
>
> Steve
>

Deja vu. I've had a similar experience when upgrading my horde  
installation. I can't say for sure what the cause is, but I have  
strong suspicions. When installing, the installer writes the value for  
the "horde dir" in a config file. It writes it in the home dir. If you  
install using sudo that home dir is different than if you install  
using root. When one does an upgrade or installs added programs there  
is normally no need to redo that particular step in the installation,  
but without that info strange things happen (my php files  
"disappeared"). If the same happened to you, look in your  
/usr/share/php/www/horde dir and you will see everything installed  
there.

My solution was to copy the config file to my root dir, so that it  
existed both in my user's home dir and the /root dir. Just because I  
forget how I did the last install.

Anyway, just wanted to let you know you aren't the only one that has  
experienced this.

Gary



More information about the horde mailing list