[horde] hoster changes from centOS 6 to centOS7

Frank Lienhard frank at mclien.de
Sat Nov 14 17:13:17 UTC 2020


sorry, stupid me..

php error logs when I try to open the index.php: (where <user> is the
user on the hosting server)

[14-Nov-2020 18:06:36] WARNING: [pool www] child 3638 said into stderr:
"[14-Nov-2020 18:06:36 Europe/Berlin] PHP Warning:
require_once(Horde/Autoloader/Default.php): failed to open stream: No
such file or directory in
/var/www/virtual/<user>/html/horde/lib/core.php on line 49"
[14-Nov-2020 18:06:36] WARNING: [pool www] child 3638 said into stderr:
"[14-Nov-2020 18:06:36 Europe/Berlin] PHP Fatal error:  require_once():
Failed opening required 'Horde/Autoloader/Default.php'
(include_path='/var/www/virtual/<user>/html/horde/lib:.:/opt/remi/php74/root/usr/share/pear:/opt/remi/php74/root/usr/share/php:/usr/share/pear:/usr/share/php')
in /var/www/virtual/<user>/html/horde/lib/core.php on line 49"

And: does horde need (f)cgi?

On 11/13/20 10:03 AM, Christoph Haas wrote:
> Hello Frank,
> 
> what did you tranfer from the old to the new server?
> 
> Just /var/www/html/horde or /srv/www/horde? This is not enough!
> 
> You have to transfer also the directories
> - /usr/share/php/Horde
> - /usr/share/php
> - /var/cache/horde
> - /var/log/horde
> - /tmp/.horde
> - /tmp/pear.
> 
> The above mentioned dirs are on a Debian Linux, but on a CentOS-system
> dirs should be similar.
> 
> BUT from my experience it is better to dump the database on the old
> system, look after all requirements (incl. php-pear ;-) ) on the new
> system and setup a fresh install of horde on the new system.
> 
> Then you should diff the contents of your Horde-config-files from the
> old and the new system and adjust the configs on the new one.
> 
> Afterwards you can import the dump and all should be up and running again!
> 
> Of course this requires shell-access on your systems. I don't know if
> this is the case on uberspace.de
> 
> Cheers from Stuttgart to Hannover
> Christoph.
> 
> 
> ----- Nachricht von Frank Lienhard <frank at mclien.de> ---------
>    Datum: Fri, 13 Nov 2020 08:06:50 +0100
>      Von: Frank Lienhard <frank at mclien.de>
> Betreff: Re: [horde] hoster changes from centOS 6 to centOS7
>       An: horde at lists.horde.org
> 
> 
>> Should that have been done before the move to the new server or will it
>> work afterwards, too?
>>
>> On 11/12/20 8:25 PM, Arto Saraniva wrote:
>>> Php-pear needs to be installed.
>>>
>>> -----Alkuperäinen viesti-----
>>> Lähettäjä: horde <horde-bounces at lists.horde.org> Puolesta Frank Lienhard
>>> Lähetetty: torstai 12. marraskuuta 2020 20.22
>>> Vastaanottaja: horde at lists.horde.org
>>> Aihe: [horde] hoster changes from centOS 6 to centOS7
>>>
>>> OK, I have to move my webserver, because my hoster is changing from
>>> centOS6 to 7.
>>>
>>> I use shared hosting (uberspace.de) and they provide some migration
>>> service.
>>>
>>> which means among other thing, that you have both instances available
>>> for some time.
>>> I've done the change and all the files where transfered.
>>>
>>> But the there is no version of pear installed on the new server.
>>> And the new server is running PHP 7  (7.2.  7.3./ 7.4.).
>>>
>>> I'm a bit lost how to get horde working again...
>>> -- 
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/ To unsubscribe,
>>> mail: horde-unsubscribe at lists.horde.org
>>>
>> -- 
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> 
> 
> ----- Ende der Nachricht von Frank Lienhard <frank at mclien.de> -----
> 
> 


More information about the horde mailing list