[horde] SOLVED: Re: Transfer of Horde

Ralph Ballier ballier at mail.schule.de
Fri Sep 22 19:40:12 UTC 2017


  ----- Nachricht von Jan Schneider <jan at horde.org> ---------
  Datum: Thu, 21 Sep 2017 08:17:05 +0000
    Von: Jan Schneider <jan at horde.org>
Betreff: Re: [horde] SOLVED: Re: Transfer of Horde
     An: horde at lists.horde.org

> Zitat von Ralph Ballier <ballier at mail.schule.de>:
>
>> ----- Nachricht von Jan Schneider <jan at horde.org> ---------
>>   Datum: Mon, 18 Sep 2017 20:21:49 +0000
>>     Von: Jan Schneider <jan at horde.org>
>> Betreff: Re: [horde] SOLVED: Re: Transfer of Horde
>>      An: horde at lists.horde.org
>>
>>> Zitat von Ralph Ballier <ballier at mail.schule.de>:
>>>
>>>> ----- Nachricht von Jan Schneider <jan at horde.org> ---------
>>>>   Datum: Mon, 18 Sep 2017 12:26:05 +0000
>>>>     Von: Jan Schneider <jan at horde.org>
>>>> Betreff: Re: [horde] SOLVED: Re: Transfer of Horde
>>>>      An: horde at lists.horde.org
>>>>
>>>>> Zitat von Ralph Ballier <ballier at mail.schule.de>:
>>>>>
>>>>>> ----- Nachricht von Ralph Ballier <ballier at mail.schule.de> ---------
>>>>>>   Datum: Sun, 17 Sep 2017 15:36:40 +0200
>>>>>>     Von: Ralph Ballier <ballier at mail.schule.de>
>>>>>> Betreff: Re: [horde] Transfer of Horde
>>>>>>      An: horde at lists.horde.org
>>>>>>
>>>>>>> ----- Nachricht von Grouchy Sysadmin  
>>>>>>> <sysadmin at grouchysysadmin.com> ---------
>>>>>>>      Datum: Sun, 17 Sep 2017 07:10:32 -0500
>>>>>>>        Von: Grouchy Sysadmin <sysadmin at grouchysysadmin.com>
>>>>>>> Antwort an: sysadmin at i.grouchysysadmin.com
>>>>>>>    Betreff: Re: [horde] Transfer of Horde
>>>>>>>         An: horde at lists.horde.org
>>>>>>>
>>>>>>>> On 09/17/2017 06:21 AM, Ralph Ballier wrote:
>>>>>>>>>  ----- Nachricht von Ralph Ballier <ballier at mail.schule.de> ---------
>>>>>>>>>   Datum: Sun, 17 Sep 2017 11:06:33 +0200
>>>>>>>>>     Von: Ralph Ballier <ballier at mail.schule.de>
>>>>>>>>> Betreff: Re: [horde] Transfer of Horde
>>>>>>>>>      An: horde at lists.horde.org
>>>>>>>>>
>>>>>>>>>> ----- Nachricht von Ralph Ballier <ballier at mail.schule.de> ---------
>>>>>>>>>>   Datum: Sat, 16 Sep 2017 23:47:14 +0200
>>>>>>>>>>     Von: Ralph Ballier <ballier at mail.schule.de>
>>>>>>>>>> Betreff: Re: [horde] Transfer of Horde
>>>>>>>>>>      An: horde at lists.horde.org
>>>>>>>>>>
>>>>>>>>>>> ----- Nachricht von Ralph Ballier <ballier at mail.schule.de>  
>>>>>>>>>>> ---------
>>>>>>>>>>>   Datum: Sat, 16 Sep 2017 22:21:38 +0200
>>>>>>>>>>>     Von: Ralph Ballier <ballier at mail.schule.de>
>>>>>>>>>>> Betreff: Re: [horde] Transfer of Horde
>>>>>>>>>>>      An: horde at lists.horde.org
>>>>>>>>>>>
>>>>>>>>>>>> ----- Nachricht von Jan Schneider <jan at horde.org> ---------
>>>>>>>>>>>>   Datum: Fri, 15 Sep 2017 08:00:16 +0000
>>>>>>>>>>>>     Von: Jan Schneider <jan at horde.org>
>>>>>>>>>>>> Betreff: Re: [horde] Transfer of Horde
>>>>>>>>>>>>      An: horde at lists.horde.org
>>>>>>>>>>>>
>>>>>>>>>>>>> Zitat von Ralph Ballier <ballier at mail.schule.de>:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>> I have horde from an old Linux server under Slackware  
>>>>>>>>>>>>>> to a server under Ubuntu 16.04.3 LTS transfer. Also the  
>>>>>>>>>>>>>> database should run on the new server.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> So far I have proceeded as follows:
>>>>>>>>>>>>>> - On the new server: apt install horde (I think that was ok)
>>>>>>>>>>>>>> - On the old server I have with phpMyAdmin the whole  
>>>>>>>>>>>>>> database exported except the table horde_vfs (since  
>>>>>>>>>>>>>> there was a problem with the later import)
>>>>>>>>>>>>>> - On the new server I have imported the exported database again
>>>>>>>>>>>>>> - I have the entire old directory /www/htdocs/horde  
>>>>>>>>>>>>>> transferred and some data in config/conf.php adjusted
>>>>>>>>>>>>>> - When I called afterwards with the webbrowser Horde,  
>>>>>>>>>>>>>> the error message "PHP Fatal error: Can not use  
>>>>>>>>>>>>>> 'string' as classname as it is reserved in  
>>>>>>>>>>>>>> /usr/share/php/Horde/Css/Parser/vendor/sabberworm/php  
>>>>>>>>>>>>>> -css-parser/lib/Sabberworm/CSS/Value /String.php on  
>>>>>>>>>>>>>> line 5 "
>>>>>>>>>>>>>> What should I do? Or should I proceed quite differently?
>>>>>>>>>>>>>
>>>>>>>>>>>>> You are running an old Horde version on a server with a  
>>>>>>>>>>>>> much newer PHP version. You need to update Horde too.
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Jan Schneider
>>>>>>>>>>>>> The Horde Project
>>>>>>>>>>>>
>>>>>>>>>>>> Now I tried a new installation, but it does not work.  
>>>>>>>>>>>> Either files are missing or there are other error  
>>>>>>>>>>>> messages.For this I see the following tworeasons: - The  
>>>>>>>>>>>> server is running php7.0 - I have tried to install with  
>>>>>>>>>>>> both "apt-get install ..." and "pear install ...." and  
>>>>>>>>>>>> also mmit "pear install -f ...". Maybe this is not good?  
>>>>>>>>>>>> How can I start all over again? Or is it not at all  
>>>>>>>>>>>> because of php7.0?
>>>>>>>>>>>> --
>>>>>>>>>>>
>>>>>>>>>>> I now managed to install with "webmail-install"  
>>>>>>>>>>> error-free. But after the first call, the message "Class  
>>>>>>>>>>> Content_Tagger is not found. Please make sure the content  
>>>>>>>>>>> application is installed."
>>>>>>>>>>> What can I do?
>>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>>> also the "content" problem is now fixed.
>>>>>>>>>>
>>>>>>>>>> Because of some error messages I have deleted the database,  
>>>>>>>>>> which I had taken from the old server, again. The program  
>>>>>>>>>> "webmail-install" thus completely re-created the database.
>>>>>>>>>>
>>>>>>>>>> If I call: http://horde.xxxxx.de, then the login screen  
>>>>>>>>>> appears and above: "The e-mail server is not available at  
>>>>>>>>>> the moment." This is clear because I have not configured  
>>>>>>>>>> the mailserver. But which user should I enter and with  
>>>>>>>>>> which password? In the old system we had an LDAP query, but  
>>>>>>>>>> here I have not configured this yet.
>>>>>>>>>>
>>>>>>>>>> My first installation is a long time ago. As far as I can  
>>>>>>>>>> remember, I have configured a screen with many tabs. But I  
>>>>>>>>>> can not get there.
>>>>>>>>>
>>>>>>>>> Excuse me for the many mails, but I try again and again, to  
>>>>>>>>> go further.
>>>>>>>>>  Now I am so far that I can call as Admin the configuration  
>>>>>>>>> menu. LDAP also works. Now I am looking in vain for the  
>>>>>>>>> place where I can enter the standard IMAP server. I can not  
>>>>>>>>> find the place, even if I go through the configuration files  
>>>>>>>>> of our previous installation.
>>>>>>>>>
>>>>>>>>>  Unfortunately, Java still does not exist or is not  
>>>>>>>>> activated. What to do?
>>>>>>>>
>>>>>>>> The IMAP server is setup in the backends.local.php  
>>>>>>>> configuration file under the imp/config folder. See the  
>>>>>>>> backends.php file for an example.
>>>>>>>
>>>>>>> Thanks for the hint. I had not searched for "localhost", but  
>>>>>>> for the correct name of the mail server. Now the contact to  
>>>>>>> the mail server works.
>>>>>>>
>>>>>>> Java still does not work. In the instructions is that you  
>>>>>>> should examine everything exactly for error messages.
>>>>>>>
>>>>>>> I've found:
>>>>>>> "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"
>>>>>>>
>>>>>>> Perhaps the errors are the reason?
>>>>>>>  
>>>>>>
>>>>>> The problem is solved.
>>>>>>
>>>>>> During the reinstallation, there were only a few javascript  
>>>>>> files in the directory horde/js. These were probably only the  
>>>>>> new or changed files. I then just took the javascript files of  
>>>>>> the old installation and the new files overplayed. Now there  
>>>>>> are no error messages.
>>>>>>
>>>>>> But why have not all javascript files been installed during a  
>>>>>> new installation?
>>>>>
>>>>> They have, but probably not in the location you expected. You  
>>>>> need to fix this properly, because now you have files from two  
>>>>> different versions mixed.
>>>>> See https://wiki.horde.org/FAQ/Admin/Troubleshoot#toc9
>>>>>
>>>>> --
>>>>> Jan Schneider
>>>>
>>>> because I copied the new files over the old, it would have gone well.   
>>>> I had already mentioned above from the error message
>>>> "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 "
>>>>  
>>>> Can this be the reason? How can I determine the errors?
>>>
>>> This just a general warning *before* running the script. Did you  
>>> actually run it? Did it produce any errors.
>>>  
>>>> A different installation directory had been given for remote  
>>>> installation attempts. Is it possible that this entry is still  
>>>> somewhere?
>>>
>>> I'm not sure what you mean.
>>>  
>>
>> I expressed it badly. Therefore, now in detail.
>>
>> I tried to install Horde several weeks ago. For this I have used  
>> both "pear install ..." and "apt install ...". In addition I have  
>> the installation path "/usr/share/horde" specified. After some  
>> problems I have "apt remove ..." the packages uninstalled and  
>> re-started. Now I have specified as path "/var/www/html/horde".  
>> Maybe the old path is still somewhere
>>
>> Where can I find the installation path on the computer? I have  
>> entered: "pear config-show", but there is nothing to be found.
>
> Try also "pear config-show -c horde", and try to run it with and  
> withouth the -c flags as different users (root, sudo, web server).
>  

su www-data -c "pear config-show -c horde" | egrep -i horde  results:
Base Horde directory           horde_dir        /usr/share/php/www/horde
This is FALSE

su root -c "pear config-show -c horde" | egrep -i horde results:
Base Horde directory           horde_dir        /var/www/html/horde
This ist CORRECT

What can I do?

Ralph


More information about the horde mailing list