[horde] Install Horde4 from git
Michael Rubinsky
mrubinsk at horde.org
Thu Feb 3 16:53:00 UTC 2011
Quoting roman stachura <roman at stachura.ch>:
> Am 03.02.2011 17:35, schrieb lst_hoe02 at kwsoft.de:
>> Zitat von Michael Rubinsky <mrubinsk at horde.org>:
>>
>>> Quoting lst_hoe02 at kwsoft.de:
>>>
>>>> Zitat von Michael Rubinsky <mrubinsk at horde.org>:
>>>>
>>>>> Quoting lst_hoe02 at kwsoft.de:
>>>>>
>>>>>> Zitat von Jan Schneider <jan at horde.org>:
>>>>>>
>>>>>>> Zitat von lst_hoe02 at kwsoft.de:
>>>>>>>
>>>>>>>> Zitat von Vilius ?umskas <vilius at lnk.lt>:
>>>>>>>>
>>>>>>>>>> Hello
>>>>>>>>>>
>>>>>>>>>> I managed to get until the test.php script which now works
>>>>>>>>>> fine. Next
>>>>>>>>>> problem is that i can't find a sql script for creating the horde
>>>>>>>>>> tables. The only script located in scripts/sql try to create a first
>>>>>>>>>> user in a non existing table :-(
>>>>>>>>>>
>>>>>>>>>> Any help where i can get it?
>>>>>>>>>
>>>>>>>>> I was stuck on this step also :) Just run db_migrations
>>>>>>>>> script and it will create all needed tables according to
>>>>>>>>> your configuration.
>>>>>>>>
>>>>>>>> Thanks, that was my second thought but the script fails halfway with
>>>>>>>>
>>>>>>>> 2011-02-03T15:47:25+01:00 INFO: Migrating to
>>>>>>>> HordeLockUpgradeColumnTypes (2)
>>>>>>>> 2011-02-03T15:47:25+01:00 INFO: == 2
>>>>>>>> HordeLockUpgradeColumnTypes: migrating
>>>>>>>> ===================================
>>>>>>>> 2011-02-03T15:47:25+01:00 INFO: -- changeColumn(horde_locks,
>>>>>>>> lock_type, tinyint, array(null => false))
>>>>>>>> SQLSTATE[42704]: Undefined object: 7 ERROR: type "tinyint"
>>>>>>>> does not exist at character 61
>>>>>>>>
>>>>>>>>
>>>>>>>> "tinyint" is a MySQLism as far as i know so it should be
>>>>>>>> avoided. I will see if i can fix the script in question...
>>>>>>>
>>>>>>> Fixed.
>>>>>>
>>>>>> Thanks...
>>>>>>
>>>>>> Next one:
>>>>>> Horde is up and running but i don't get any application like
>>>>>> IMP. From what i can see in config/registry.php the apps
>>>>>> should all be active, but in the configuration page i only
>>>>>> get Horde listed. The tables for IMP are also missing despite
>>>>>> executing "db_migrate imp"
>>>>>
>>>>> Most likely, you didn't update registry.php to indicate the
>>>>> correct fileroot for the applications. This has to be done for
>>>>> git checkout installations installed via symlinks/dev_install.
>>>>> http://horde.org/source/git.php should indicate how to do this.
>>>>
>>>> Of course, i try to strictly using http://horde.org/source/git.php ...
>>>>
>>>> Listing of the webroot :
>>>
>>> You need to add the fileroot setting to the applications' entries
>>> in registry.php. This should be a FULL path to the fileroot of
>>> each application e.g, if you checked out the repo to
>>> /usr/local/horde this would be something like
>>> /usr/local/horde/imp. Full paths are needed since the relative
>>> paths break when using symlinks.
>>
>> Okay, will try this...
>> Any idea where the needed tables for the applications should come from?
> from db_migrations script:
>
> ./db_migrations kronolith
>
> etc..
The db_migrate script, without any parameters, should create all the
tables for all the active applications. When you ran it the first
time, it probably couldn't find all the applications because of the
fileroot error you described above. After that is fixed, rerun the
migration script and see if it fixes this for you.
--mike
The Horde Project (www.horde.org)
mrubinsk at horde.org
More information about the horde
mailing list