[horde] Horde5 Whitescreen

Simon Brereton simon.buongiorno at gmail.com
Tue Jul 10 23:11:59 UTC 2012


On 10 July 2012 18:28, Brent <impuser at bitrealm.com> wrote:
>
> Quoting Simon Brereton <simon.buongiorno at gmail.com>:
>
>> On 10 July 2012 17:21, Michael J Rubinsky <mrubinsk at horde.org> wrote:
>>>
>>>
>>> Quoting Simon Brereton <simon.buongiorno at gmail.com>:
>>>
>>>> On 10 July 2012 16:02, Jan Schneider <jan at horde.org> wrote:
>>>>>
>>>>>
>>>>>
>>>>> Zitat von Simon Brereton <simon.buongiorno at gmail.com>:
>>>>>
>>>>>>>> If I revert to 143, false login/authentication appears to succeed
>>>>>>>> because the url changes to
>>>>>>>> https://horde-beta.example.net/services/portal/index.php but I get a
>>>>>>>> whitescreen and I get these in the Apache log
>>>>>>>>
>>>>>>>> ==> /var/log/apache2/logs/horde-beta-error_log <==
>>>>>>>> [Tue Jul 10 14:56:01 2012] [error] [client 209.249.196.10] PHP Fatal
>>>>>>>> error:  Class 'DB' not found in
>>>>>>>> /usr/share/horde-beta/pear/php/Horde/Core/Factory/DbPear.php on line
>>>>>>>> 73, referer: https://horde-beta.example.net/login.php
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> You didn't install Horde properly. You have missing dependencies. No
>>>>>>> idea
>>>>>>> how you got so far.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Here's what I have in the Configuration page:
>>>>>> Application
>>>>>> Database                        Status
>>>>>> Address Book Address Book (turba) 4.0.0alpha1                   DB
>>>>>> schema
>>>>>> is
>>>>>> ready.          Application is ready.
>>>>>> Horde Horde (horde) 5.0.0alpha1
>>>>>> Application is ready.
>>>>>> Mail Mail (imp) 6.0.0alpha1
>>>>>> DB schema is ready.             Application is ready.
>>>>>> Horde_Activesync
>>>>>> DB schema is ready.
>>>>>> Horde_Alarm
>>>>>> DB schema is ready.
>>>>>> Horde_Auth
>>>>>> DB schema is ready.
>>>>>> Horde_Cache
>>>>>> DB schema is ready.
>>>>>> Horde_Core
>>>>>> DB schema is ready.
>>>>>> Horde_Group
>>>>>> DB schema is ready.
>>>>>> Horde_History
>>>>>> DB schema is ready.
>>>>>> Horde_Lock
>>>>>> DB schema is ready.
>>>>>> Horde_Perms
>>>>>> DB schema is ready.
>>>>>> Horde_Prefs
>>>>>> DB schema is ready.
>>>>>> Horde_Sessionhandler
>>>>>> DB schema is ready.
>>>>>> Horde_Syncml
>>>>>> DB schema is ready.
>>>>>> Horde_Token
>>>>>> DB schema is ready.
>>>>>> Horde_Vfs
>>>>>> DB schema is ready.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> That's not your package list.
>>>>
>>>>
>>>>
>>>> You're right, but I forgot about the pear list command (and we went
>>>> over this often enough when you released H4).
>>>>
>>>> mail:/usr/share/horde-beta# /usr/share/horde-beta/pear/pear -c
>>>> /usr/share/horde-beta/pear.conf list -a  | less -R
>>>> INSTALLED PACKAGES, CHANNEL PEAR.HORDE.ORG:
>>>> Horde_ActiveSync          2.0.0alpha1 alpha
>>>> Horde_Alarm               2.0.0alpha1 alpha
>>>> Horde_Argv                2.0.0alpha1 alpha
>>>> Horde_Auth                2.0.0alpha1 alpha
>>>> Horde_Autoloader          2.0.0alpha1 alpha
>>>> Horde_Browser             2.0.0alpha1 alpha
>>>> Horde_Cache               2.0.0alpha1 alpha
>>>> Horde_Cli                 2.0.0alpha1 alpha
>>>> Horde_Compress            2.0.0alpha1 alpha
>>>> Horde_Constraint          2.0.0alpha1 alpha
>>>> Horde_Controller          2.0.0alpha1 alpha
>>>> Horde_Core                2.0.0alpha1 alpha
>>>> Horde_Crypt               2.0.0alpha1 alpha
>>>> Horde_Data                2.0.0alpha1 alpha
>>>> Horde_Date                2.0.0alpha1 alpha
>>>> ***Horde_Db                  2.0.0alpha1 alpha ***
>>>> Horde_Editor              2.0.0alpha1 alpha
>>>> Horde_Exception           2.0.0alpha1 alpha
>>>> Horde_Form                2.0.0alpha1 alpha
>>>> Horde_Group               2.0.0alpha1 alpha
>>>> Horde_History             2.0.0alpha1 alpha
>>>> Horde_Http                2.0.0alpha1 alpha
>>>> Horde_Icalendar           2.0.0alpha1 alpha
>>>> Horde_Image               2.0.0alpha1 alpha
>>>> Horde_Imap_Client         2.0.0alpha1 alpha
>>>> Horde_Injector            2.0.0alpha1 alpha
>>>> Horde_Itip                2.0.0alpha1 alpha
>>>> Horde_ListHeaders         1.0.0alpha1 alpha
>>>> Horde_Lock                2.0.0alpha1 alpha
>>>> Horde_Log                 2.0.0alpha1 alpha
>>>> Horde_LoginTasks          2.0.0alpha1 alpha
>>>> Horde_Mail                2.0.0alpha1 alpha
>>>> Horde_Mime                2.0.0alpha1 alpha
>>>> Horde_Mime_Viewer         2.0.0alpha1 alpha
>>>> Horde_Nls                 2.0.0alpha1 alpha
>>>> Horde_Notification        2.0.0alpha1 alpha
>>>> Horde_Perms               2.0.0alpha1 alpha
>>>> Horde_Prefs               2.0.0alpha1 alpha
>>>> Horde_Role                1.0.0       stable
>>>> Horde_Rpc                 2.0.0alpha1 alpha
>>>> Horde_Secret              2.0.0alpha1 alpha
>>>> Horde_Serialize           2.0.0alpha1 alpha
>>>> Horde_SessionHandler      2.0.0alpha1 alpha
>>>> Horde_Share               2.0.0alpha1 alpha
>>>> Horde_SpellChecker        2.0.0alpha1 alpha
>>>> Horde_Stream_Filter       2.0.0alpha1 alpha
>>>> Horde_Stream_Wrapper      2.0.0alpha1 alpha
>>>> Horde_Support             2.0.0alpha1 alpha
>>>> Horde_SyncMl              2.0.0alpha1 alpha
>>>> Horde_Template            2.0.0alpha1 alpha
>>>> Horde_Text_Diff           2.0.0alpha1 alpha
>>>> Horde_Text_Filter         2.0.0alpha1 alpha
>>>> Horde_Text_Filter_Csstidy 2.0.0alpha1 alpha
>>>> Horde_Text_Flowed         2.0.0alpha1 alpha
>>>> Horde_Token               2.0.0alpha1 alpha
>>>> Horde_Translation         2.0.0alpha1 alpha
>>>> Horde_Tree                2.0.0alpha1 alpha
>>>> Horde_Url                 2.0.0alpha1 alpha
>>>> Horde_Util                2.0.0alpha1 alpha
>>>> Horde_Vfs                 2.0.0alpha1 alpha
>>>> Horde_View                2.0.0alpha1 alpha
>>>> Horde_Xml_Element         2.0.0alpha1 alpha
>>>> Horde_Xml_Wbxml           2.0.0alpha1 alpha
>>>> horde                     5.0.0alpha1 alpha
>>>> imp                       6.0.0alpha1 alpha
>>>> turba                     4.0.0alpha1 alpha
>>>>
>>>>
>>>>
>>>>>> Which dependencies am I missing?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> The DB package from PEAR.
>>>>
>>>>
>>>>
>>>> Funny that..
>>>>
>>>> mail:/usr/share/horde-beta# /usr/share/horde-beta/pear/pear -c
>>>> /usr/share/horde-beta/pear.conf install horde/Horde_Db
>>>> horde/Horde_Db is already installed and is the same as the released
>>>> version 2.0.0alpha1
>>>> install failed
>>>
>>>
>>>
>>> This is horde/Horde_Db, not PEAR DB.
>>
>>
>> Thanks Mike.
>>
>> The only pear module required (according to the docs I'm looking at)
>> is Crypt_Blowfish.  It's conceivable - relating to Jan's point - that
>> pear/DB isn't required because I imagine there are Horde installs out
>> there with no DB backend (although I can't imagine it's many).  In
>> addition, I don't see it in any of the errors/warnings I had when I
>> installed Horde..
>>
>> Did not download optional dependencies: pear/Net_DNS2,
>> pear/Services_Weather, horde/Horde_ActiveSync, horde/Horde_DataTree,
>> horde/Horde_Db, horde/Horde_Feed, horde/Horde_Oauth,
>> horde/Horde_Service_Facebook, horde/Horde_Service_Twitter,
>> horde/Horde_Service_Weather, horde/Horde_SyncMl, pear/Console_Table,
>> pear/File_Find, pear/SOAP, use --alldeps to download automatically
>> Did not download optional dependencies: horde/Horde_Db,
>> horde/Horde_Log, horde/Horde_Mail, horde/Horde_Mime,
>> horde/Horde_Notification, horde/Horde_Perms, horde/Horde_Prefs, use
>> --alldeps to download automatically
>> Did not download optional dependencies: horde/Horde_Db,
>> horde/Horde_History, horde/Horde_Lock, horde/Horde_Imap_Client,
>> horde/Horde_Kolab_Session, horde/Horde_Ldap, horde/Horde_Imsp,
>> horde/Horde_Http, pecl/pam, pecl/sasl, use --alldeps to download
>> automatically
>>
>>
>> Package "pear.horde.org/Horde_Core" dependency
>> "pear.horde.org/Horde_ElasticSearch" has no releases
>> Did not download optional dependencies: horde/Horde_Crypt,
>> horde/Horde_Db, horde/Horde_Editor, horde/Horde_ElasticSearch,
>> horde/Horde_Form, horde/Horde_Http, horde/Horde_Icalendar,
>> horde/Horde_Image, horde/Horde_Imap_Client, horde/Horde_Kolab_Server,
>> horde/Horde_Kolab_Session, horde/Horde_Kolab_Storage,
>> horde/Horde_Ldap, horde/Horde_Mail, horde/Horde_Nls,
>> horde/Horde_Oauth, horde/Horde_Routes, horde/Horde_Service_Twitter,
>> horde/Horde_SpellChecker, horde/Horde_Tree, horde/Horde_Vfs,
>> pear/Net_DNS2, pear/Text_CAPTCHA, pear/Text_Figlet,
>> pear/Text_LanguageDetect, pecl/lzf, use --alldeps to download
>> automatically
>> Did not download optional dependencies: horde/Horde_Icalendar, use
>> --alldeps to download automatically
>> Did not download optional dependencies: horde/Horde_Db,
>> horde/Horde_Ldap, use --alldeps to download automatically
>> Did not download optional dependencies: horde/Horde_Test, use
>> --alldeps to download automatically
>> Did not download optional dependencies: pear/XML_SVG, use --alldeps to
>> download automatically
>> Did not download optional dependencies: horde/Horde_Date, use
>> --alldeps to download automatically
>> Did not download optional dependencies: pear/Net_DNS2, pear/Net_SMTP,
>> use --alldeps to download automatically
>> Did not download optional dependencies: horde/Horde_Nls,
>> horde/Horde_Text_Filter, pear/Net_DNS2, pecl/idn, pecl/intl, use
>> --alldeps to download automatically
>> Did not download optional dependencies: pear/Net_DNS2, pecl/geoip, use
>> --alldeps to download automatically
>> Did not download optional dependencies: horde/Horde_DataTree,
>> horde/Horde_Tree, use --alldeps to download automatically
>> Did not download optional dependencies: horde/Horde_Autoloader,
>> horde/Horde_Db, horde/Horde_Image, horde/Horde_Imsp,
>> horde/Horde_Kolab_Storage, use --alldeps to download automatically
>> Did not download optional dependencies: horde/Horde_Http, use
>> --alldeps to download automatically
>> Did not download optional dependencies: horde/Horde_Imap_Client,
>> horde/Horde_Mime, pecl/lzf, use --alldeps to download automatically
>> Did not download optional dependencies: pecl/xdiff, use --alldeps to
>> download automatically
>> Did not download optional dependencies: horde/Horde_Db, use --alldeps
>> to download automatically
>> Did not download optional dependencies: horde/Horde_Text_Flowed,
>> horde/Horde_Translation, use --alldeps to download automatically
>> Did not download optional dependencies: horde/Horde_Imap_Client, use
>> --alldeps to download automatically
>> Did not download optional dependencies: horde/Horde_Controller,
>> horde/Horde_Routes, use --alldeps to download automatically
>> Did not download optional dependencies: horde/Horde_Auth,
>> horde/Horde_Core, horde/Horde_Db, horde/Horde_Kolab_Session,
>> horde/Horde_Mime, horde/Horde_Perms, pecl/ssh2, use --alldeps to
>> download automatically
>> Did not download optional dependencies: horde/Horde_Test, use
>> --alldeps to download automatically
>> Did not download optional dependencies: horde/Horde_Db, use --alldeps
>> to download automatically
>> Did not download optional dependencies: horde/Horde_Db,
>> horde/Horde_Log, horde/Horde_Memcache, pecl/APC, pecl/lzf, use
>> --alldeps to download automatically
>> Did not download optional dependencies: horde/Horde_Stream_Filter, use
>> --alldeps to download automatically
>> Did not download optional dependencies: horde/Horde_Db,
>> horde/Horde_Log, use --alldeps to download automatically
>>
>>
>> On that note - how serious is the warning:
>> Package "pear.horde.org/Horde_Core" dependency
>> "pear.horde.org/Horde_ElasticSearch" has no releases
>>
>
> So...run:
>
> /usr/share/horde-beta/pear/pear -c /usr/share/horde-beta/pear.conf install
> DB

I'm not sure how that relates to the Horde_Core/Horde_ElasticSearch
point, but I was hoping it would be obvious that by thanking Michael
for pointing out my error that I'd done that.

Since doing that, I can't now access the install at all.
The connection was reset
          The connection to the server was reset while the page was loading.

I have this in the logs:
2012-07-10T21:21:30+00:00 NOTICE: HORDE-BETA [horde] PHP ERROR:
Undefined index: always [pid 7930 on line 5 of
"/usr/share/horde-beta/templates/login/login.inc"]
2012-07-10T23:07:50+00:00 NOTICE: HORDE-BETA [horde] PHP ERROR:
Undefined index: always [pid 9614 on line 5 of
"/usr/share/horde-beta/templates/login/login.inc"]
2012-07-10T23:07:53+00:00 NOTICE: HORDE-BETA [horde] Login success for
simon at example.net [29.249.196.10] to horde. [pid 9625 on line 160 of
"/usr/share/horde-beta/login.php"]


Simon


More information about the horde mailing list