[horde] GIT questions..
Michael M Slusarz
slusarz at horde.org
Thu Mar 7 20:40:31 UTC 2013
Quoting Simon Brereton <simon.buongiorno at gmail.com>:
> On 7 March 2013 21:07, Michael J Rubinsky <mrubinsk at horde.org> wrote:
>> Quoting Simon Brereton <simon.buongiorno at gmail.com>> On 7 March 2013 20:12,
>> Michael J Rubinsky <mrubinsk at horde.org> wrote:
>>>>
>>>>
>>>> Quoting Simon Brereton <simon.buongiorno at gmail.com>:
>>>>
>>>>> On 7 March 2013 02:48, Michael M Slusarz <slusarz at horde.org> wrote:
>>>>>>
>>>>>>
>>>>>> Quoting Simon Brereton <simon.buongiorno at gmail.com>:
>>>>>>
>>>>>>> For clarification, my git-repository is /usr/share/git-horde5/ and my
>>>>>>> $web_dir = '/usr/share/horde-beta'; I'm not sure if the $app_fileroot
>>>>>>> should be the git repository or the web-root. Essentially, it
>>>>>>> shouldn't matter because the web_root is just a symlink to the git
>>>>>>> repository, no?
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> $app_fileroot only deals with the physical location on the disk. It
>>>>>> has
>>>>>> nothing to do with web location/availability.
>>>>>>
>>>>>> Your registry.local.php should contain ONLY (at least at this point)
>>>>>>
>>>>>> <?php
>>>>>> $app_fileroot = [Horde location on disk];
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>> I do have the horde.local.phps though, so that means the install_dev
>>>>>>> script worked because it's only in the apps I specified.
>>>>>>> mail:/usr/share/git-horde5# find . -type f -name horde.local.php
>>>>>>> ./imp/config/horde.local.php
>>>>>>> ./kronolith/config/horde.local.php
>>>>>>> ./mnemo/config/horde.local.php
>>>>>>> ./passwd/config/horde.local.php
>>>>>>> ./nag/config/horde.local.php
>>>>>>> ./horde/config/horde.local.php
>>>>>>> ./turba/config/horde.local.php
>>>>>>>
>>>>>>>
>>>>>>> What I don't have is any apps showing - still..
>>>>>>>
>>>>>>> 2013-03-06T23:26:26+00:00 DEBUG: HORDE-BETA Setting imp inactive
>>>>>>> because the fileroot does not exist or the application is not
>>>>>>> configured yet. [pid 27221 on line 683 of
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> One of these tests is failing:
>>>>>>
>>>>>> $app_fileroot/imp doesn't exist
>>>>>> $app_fileroot/imp/config/conf.xml exists but conf.php doesn't
>>>>>
>>>>>
>>>>>
>>>>> (the value in ../imp/config/horde.local.php and the value of $web_dir)
>>>>
>>>>
>>>>
>>>> Not sure what what you means by that.
>>>>
>>>> What you should have in imp/config/horde.local.php is a define for
>>>> HORDE_BASE. This is automatically generated by the install_dev script and
>>>> should point to an ABSOLUTE PHYSICAL path on your file system to the root
>>>> of
>>>> your web-accessible horde directory. E.g, /var/www/html/horde.
>>>
>>>
>>> This is the first problem, I had that pointing to the DocumentRoot for
>>> the vhost (but that is also the directory created by the install_dev).
>>> When I corrected that, I got a little further along and ran into the
>>> second problem.
>>>
>>>> Additionally, horde/config/horde.local.php should contain the same
>>>> define,
>>>> but updates the include_path to contain the ABSOLUTE PHYSICAL path to
>>>> your
>>>> horde/libs directory (again, created by the install_dev script).
>>>
>>>
>>> This is the second problem. my *config/horde.local.php files only
>>> contain one line (see problem 1) and it doesn't point to horde/libs.
>>>
>>>> In horde/config/registry.local.php you would put your $app_fileroot and
>>>> $app_webroot definitions. E.g.,
>>>> $app_fileroot = '/var/www/html/horde' and $app_webroot = '/horde';
>>>>
>>>> The really important thing to remember here about $app_fileroot is that
>>>> it
>>>> MUST be a real physical path on your filesystem it CANNOT be a symlinks.
>>>
>>>
>>> So, to the repository, then. Sadly in the course of trying to fix it,
>>> I've managed to foobar the entire git (and of course I hadn't
>>> committed any of the changes yet), so I will have to start from
>>> scratch.
>>>
>>> Thanks.
>>>
>>> Simon
>>>
>> No not the repository, the web accessible directory for horde.
>
>
> But the web accessible directory is the one with the sym-links in it
> created by the dev_install. And you said not to put it in the one
> with symlinks.
registry.local.php ($app_fileroot) and install_dev.conf ($web_root) -
these can point to the directory generated by install_dev (i.e. the
dir with the symlinks)
install_dev.conf ($horde_git) -
this must point to the actual physical disk location of the horde git repo
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the horde
mailing list