[horde] Horde4: How to create the database

Paul van der Vlis paul at vandervlis.nl
Sat Aug 27 18:37:05 UTC 2011


Op 27-08-11 15:49, Jan Schneider schreef:
> 
> Zitat von Paul van der Vlis <paul at vandervlis.nl>:
> 
>> Op 26-08-11 18:57, Jan Schneider schreef:
>>>
>>> Zitat von Paul van der Vlis <paul at vandervlis.nl>:
>>>
>>>> Op 26-08-11 14:29, Vilius ?umskas schreef:
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> I've tried to install horde4, but after configuring via the
>>>>>>>> webinterface
>>>>>>>> I get an error about the database what does not exist and the
>>>>>>>> webinterface is broken.
>>>>>>>>
>>>>>>>> The manual says:
>>>>>>>> Go to Administration => Configuration. Click ``Update All DB
>>>>>>>> Schemas``.
>>>>>>>> But how can I do that when the webinterface is broken because
>>>>>>>> there is
>>>>>>>> no database?
>>>>>>>>
>>>>>>>> ( In my opinion the configuration of Horde is not-nice. The
>>>>>>>> problem is
>>>>>>>> that Horde tries to make it easy with a (complex) webinterface. If
>>>>>>>> you
>>>>>>>> make a mistake in the 1000 options, or you miss a dependency, the
>>>>>>>> webinterface does not work anymore and you can start the
>>>>>>>> configuration
>>>>>>>> from the beginning. )
>>>>>>>
>>>>>>> Try "horde-db-migrate" in the console.
>>>>>>
>>>>>> Thanks for your help!
>>>>>>
>>>>>> I have searched for horde-db-migrate and found it in
>>>>>> /var/www/horde/pear/ But when I execute it, it gives only errors:
>>>>>> ----------
>>>>>> pvdv at machine2:/var/www/horde$ pear/horde-db-migrate
>>>>>> PHP Warning:  set_exception_handler() expects the argument
>>>>>> (Horde::fatal) to be a valid callback in
>>>>>> /var/www/horde/lib/core.php on
>>>>>> line 52
>>>>>> PHP Warning:  set_error_handler() expects the argument
>>>>>> (Horde::errorHandler) to be a valid callback in
>>>>>> /var/www/horde/lib/core.php on line 55
>>>>>> PHP Fatal error:  Class 'Horde_Registry_Application' not found in
>>>>>> /var/www/horde/lib/Application.php on line 21
>>>>>
>>>>> Your horde is not in the include_path under PHP CLI.
>>>>
>>>> I've tried to add an include_path for Horde in PHP CLI, but I did not
>>>> succeed. I would prefer not to change the global php.ini file.
>>>
>>> You installed Horde with a separate PEAR but you don't tell PHP to use
>>> it.
>>
>> I did tell it to PHP using .htaccess (but not to PHP CLI).
>>
>>> Use should really use the global PEAR installation unless you have a
>>> very good reason not to do so,
>>
>> The reason is, that I normally use the Debian packaging system, and not
>> the packaging system of pear. I would like that the other PHP
>> applications on the server don't see the packages installed by pear.
>>
>>> know what your are doing and why, and
>>> accept the fact that installation and upgrading is *not* plain forward.
>>> That being said, see the installation docs how to call scripts while
>>> using a separate PEAR.
>>
>> So far I have seen, there is no information in the installation docs
>> about PHP CLI commands (with or without a seperate PEAR).
>> That's the reason I ask it here.
>>
>> When I read the installation docs it looks like I don't need PHP CLI
>> commands. And I don't need to make a database and database user.
> 
> http://www.horde.org/apps/webmail/docs/INSTALL#finishing-installation

Thanks for your answer, but in this manual I am asked to run a script
called "webmail-install". I don't have such a script because I try to
install Horde without webmail (only a calendar and a address book).

With regards,
Paul van der Vlis.



-- 
Paul van der Vlis Linux systeembeheer, Groningen
http://www.vandervlis.nl


More information about the horde mailing list