[horde] Horde 4.0 error: hordetree.js not found
Andreas Müller
andy at andreasmueller.net
Sat Mar 19 15:54:53 UTC 2011
Additionally I want to mention that there is a directory
# ll /usr/share/php/data/horde/
insgesamt 32
-rw-r--r-- 1 root root 23240 19. Mär 12:49 COPYING
-rw-r--r-- 1 root root 3460 19. Mär 12:49 README
drwxr-xr-x 5 root root 4096 19. Mär 12:49 scripts
with exactly the same time of creation as the web-directory
/var/www/web/horde4_beta
Could somebody please have a look at my pear configuration?
:/# pear config-show
Configuration (channel pear.php.net):
=====================================
Auto-discover new Channels auto_discover <not set>
Default Channel default_channel pear.php.net
HTTP Proxy Server Address http_proxy <not set>
PEAR server [DEPRECATED] master_server pear.php.net
Default Channel Mirror preferred_mirror pear.php.net
Remote Configuration File remote_config <not set>
PEAR executables directory bin_dir /usr/bin
PEAR documentation directory doc_dir /usr/share/php/doc
PHP extension directory ext_dir /usr/lib/php5/20090626
PEAR directory php_dir /usr/share/php
PEAR Installer cache directory cache_dir /tmp/pear/cache
PEAR configuration file cfg_dir /usr/share/php/cfg
directory
PEAR data directory data_dir /usr/share/php/data
PEAR Installer download download_dir
/tmp/buildd/php5-5.3.3/pear-build-download
directory
PHP CLI/CGI binary php_bin /usr/bin/php
php.ini location php_ini <not set>
--program-prefix passed to php_prefix <not set>
PHP's ./configure
--program-suffix passed to php_suffix <not set>
PHP's ./configure
PEAR Installer temp directory temp_dir /tmp/pear/temp
PEAR test directory test_dir /usr/share/php/test
PEAR www files directory www_dir /usr/share/php/htdocs
Cache TimeToLive cache_ttl 3600
Preferred Package State preferred_state stable
Unix file mask umask 22
Debug Log Level verbose 1
horde_dir <not set>
PEAR password (for password <not set>
maintainers)
Signature Handling Program sig_bin /usr/bin/gpg
Signature Key Directory sig_keydir /etc/pear/pearkeys
Signature Key Id sig_keyid <not set>
Package Signature Type sig_type gpg
PEAR username (for username <not set>
maintainers)
User Configuration File Filename /root/.pearrc
System Configuration File Filename /etc/pear/pear.conf
After installation of Horde-Beta there will be an additional line which
correctly points to my Horde webdirectory:
Base Horde directory horde_dir /var/www/web/horde4_beta
Another question: how can I restart from zero and how can I be sure
there is nothing on this box which has to do with Horde?
Andy
Am 19.03.2011 13:07, schrieb Andreas Müller:
> Hello list,
>
> now I did uninstall and reinstall the pear package (via apt). I
> removed all pear modules by uninstalling them with pear uninstall
> >packetname<.
>
> Then (or before?) I uninstalled Horde-Beta via pear uninstall
> horde/horde-beta and pear uninstall horde/horde_role-beta with
> "uninstall ok" as result.
>
> I deleted the horde4_beta Directory in my webdirectory.
>
> pear config-show has no more horde_dir. So far so good?
>
>
> After that I did the usual procedure:
>
> #pear install horde/horde_role-beta
> downloading Horde_Role-1.0.0beta1.tgz ...
> Starting to download Horde_Role-1.0.0beta1.tgz (2,209 bytes)
> ....done: 2,209 bytes
> install ok: channel://pear.horde.org/Horde_Role-1.0.0beta1
> horde/Horde_Role has post-install scripts:
> /usr/share/php/PEAR/Installer/Role/Horde/Role.php
> Horde_Role: Use "pear run-scripts horde/Horde_Role" to finish setup.
> DO NOT RUN SCRIPTS FROM UNTRUSTED SOURCES
>
> #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
> running post-install script "Horde_Role_postinstall->init()"
> init succeeded
> Filesystem location for the base Horde application :
> /var/www/web/horde4_beta
> Configuration successfully saved to PEAR config.
> Install scripts complete
>
> #pear install horde/horde-beta
> Did not download optional dependencies: horde/Horde_Feed,
> horde/Horde_Service_Facebook, horde/Horde_Service_Twitter, use
> --alldeps to download automatically
> horde/horde can optionally use package "horde/Horde_Feed" (version >=
> 1.0.0alpha1, version <= 2.0.0, excluded versions: 2.0.0)
> horde/horde can optionally use package "horde/Horde_Service_Facebook"
> (version >= 1.0.0alpha1, version <= 2.0.0, excluded versions: 2.0.0)
> horde/horde can optionally use package "horde/Horde_Service_Twitter"
> (version >= 1.0.0alpha1, version <= 2.0.0, excluded versions: 2.0.0)
> downloading horde-4.0.0beta1.tgz ...
> Starting to download horde-4.0.0beta1.tgz (3,447,091 bytes)
> .....done: 3,447,091 bytes
> install ok: channel://pear.horde.org/horde-4.0.0beta1
>
>
> pear config-show is:
> Base Horde directory horde_dir /var/www/web/horde4_beta
>
>
> So I change to /var/www/web/horde4_beta/config and do this to enable
> apache to write:
>
> cp conf.php.dist conf.php
> chown www:data conf.php
> chown -R www-data /var/www/web/horde4_beta/lib/../static
>
>
> Then I went to my webdirectory/horde4_beta. And still I get only the
> Horde-icon in left upper corner, I see that I am logged in as
> "Administrator" and I have the link to edit blocks on the portal site.
>
> No menu at left side, nothing to do. Strange.
>
> Apache error.log shows still:
>
> File does not exist: /var/www/web/horde4_beta, referer:
> http://[mydomain].net/horde4_beta/services/portal/index.php
>
>
> I have no clue where this comes from and what to do.
>
>
> Thanks
> Andy
>
>
>
>
>
> -
>
> Am 17.03.2011 22:46, schrieb Andreas Müller:
>> Am 17.03.2011 20:36, schrieb Gunnar Wrobel:
>>>
>>> Zitat von Andreas Müller <andy at andreasmueller.net>:
>>>
>>>> Am 17.03.2011 17:38, schrieb Jan Schneider:
>>>>> Zitat von Andreas Müller <andy at andreasmueller.net>:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> just tried several times to install Horde 4.0-beta according
>>>>>> these instructions:
>>>>>>
>>>>>> pear channel-discover pear.horde.org
>>>>>> pear install horde/horde_role-beta
>>>>>> pear run-scripts horde/horde_role
>>>>>>
>>>>>> pear install horde/horde-beta
>>>>>>
>>>>>> cd /var/www/horde/config/
>>>>>> cp conf.php.dist conf.php
>>>>>>
>>>>>> Went okay so far. But now when I go to my URL, there is no
>>>>>> sidebar at left, so I can't configure anything.
>>>>>>
>>>>>> Apache error-log throws this:
>>>>>>
>>>>>> [Thu Mar 17 15:45:50 2011] [error] [client 192.168.2.14] File
>>>>>> does not exist: /var/www/web/horde4-beta/js/hordetree.js,
>>>>>> referer: http://mydomain.tld/horde4-beta/services/portal/
>>>>>>
>>>>>> Indeed, there is no hordetree.js anywhere. Someone could give me
>>>>>> a hint, please?
>>>>>
>>>>> /var/www/horde or /var/www/web/horde4-beta? Only one is correct.
>>>>> And did you set the correct one running post-install scripts for
>>>>> horde_role?
>>>>> Check horde_dir in "pear config-show".
>>>>>
>>>>> Jan.
>>>>>
>>>>
>>>> The real path to my installation is /var/www/web/horde4-beta, the
>>>> above one is simply copied from instructions.
>>>>
>>>> When checking horde_dir in "pear config-show" it gives me this
>>>> strange path (that never existed):
>>>>
>>>> Base Horde directory horde_dir
>>>> /usr/share/php/www/horde
>>>>
>>>> I guess this were the path to standard horde packet installation
>>>> (this is Debian Squeeze). I now changed the horde_path to the real
>>>> path /var/www/web/horde4_beta, reinstalled this way:
>>>>
>>>> pear channel-discover pear.horde.org
>>>> pear install horde/horde_role-beta
>>>> pear run-scripts horde/horde_role
>>>
>>> Maybe I just misunderstand your description but it sounds a bit as
>>> if you are not entering the "/var/www/web/horde4_beta" path into the
>>> dialog you should see when running "pear run-scripts
>>> horde/horde_role". Is that the case?
>>>
>>> Cheers,
>>>
>>> Gunnar
>>>
>>>
>>
>> No, that's not the case, I entered it in the dialog. I just didn't
>> mention it above.
>>
>> Maybe there are other relevant things to know:
>>
>> - I installed all requirements per apt or pear(-cli) with
>> default_channel pear.php.net before installing Horde-Beta. Could it
>> be that therefore I installed some "wrong" packets? Test.php looks fine.
>>
>> - I now changed horde_dir to "var/www/web/horde4_beta" and entered it
>> in an new installation where being asked for the path. Something else
>> to look for?
>>
>> This machine is brandnew without having had anything Horde-related
>> before. Are there other things do do except to follow installation
>> rules (which are really simple)?
>>
>> Thank you
>> Andreas
>>
>>
>>
>>
>>
>
More information about the horde
mailing list