Summary | second IMP search doesn't work |
Queue | IMP |
Queue Version | Git master |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | |
Requester | l.kiraly (at) madalbal (dot) hu |
Created | 06/14/2013 (4381 days ago) |
Due | |
Updated | 12/07/2013 (4205 days ago) |
Assigned | |
Resolved | 06/20/2013 (4375 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
http://bugs.horde.org/ticket/12795#c8
So this is not a Horde bug.
In my failed attempt to update from 13.10 php 5.5.3 to 5.5.4 I noticed
only a few packages managed to update from the ondrej/php5 repository.
This fixed the problem.
I think I narrowed it down to php5-json being the issue. Debian /
ubuntu pulled it for some license problem. Seems the php5-json that
gets installed is the problem.
Repeated the above only this time only installing the php5.json still working.
Also tried just fresh install adding the ondrej to apt/sources.list
but ended up with php 5.5.5. Seems to work so far however.
Not sure what else to try here my knowledge is somewhat limited.
But then again I may be way off track here.
up with the one search only problem. Currently Fedora 19 is at 5.5.4
and we no longer have the one search issue.
using Fedora 19 and initially I had this same problem, only the
first search would work and you would have to log out and log back
in again to do another one. The updates to Fedora have now taken PHP
to 5.5.4 and I can confirm that our email searches work correctly.
FWIW, I can't currently test 5.5.4 on my current machine because it
doesn't compile correctly. And if that's not the definition of "not
stable", I'm not sure what is.
stable by now. Should I consider the next PHP version stable as of
version 5.6.9.9.9-fixed aswell as Horde as of
5.6.9-9-9-stable-as-the-website-stated-it-for-two-weeks?
point you are trying to make.
stable by now. Should I consider the next PHP version stable as of
version 5.6.9.9.9-fixed aswell as Horde as of
5.6.9-9-9-stable-as-the-website-stated-it-for-two-weeks?
using Fedora 19 and initially I had this same problem, only the first
search would work and you would have to log out and log back in again
to do another one. The updates to Fedora have now taken PHP to 5.5.4
and I can confirm that our email searches work correctly.
Cheers
Harvey
bug in PHP. There have been no BC changes from 5.4 -> 5.5. You
should track down the issue and provide a bug report to bugs.php.net.
And FWIW, PHP 5.5. is "stable" as in: "PHP has marked this branch
stable on their website". PHP 5.5 is most certainly NOT stable as in
"I, as a system administrator, trust PHP 5.5 to run my mission
critical applications."
If you care about stability, use 5.4. (5.4 didn't really become
stable until about 5.4.8 or so, so I would expect the same for 5.5).
The second or third doesn't give any result and in the syslog I get:
- HORDE: [imp] IMAP error reported by server. Mailbox doesn't exist:
impsearch"
- HORDE: [imp] Could not open mailbox "impsearch" ... on line 571
... imp/lib/Imap.php
I use dovecot 2.1.7.
IMAP as E-Mail backend.
as "stable". And 5.5.0 itself shouldn't be considered "stable"
either (the first few releases of 5.4 didn't work with anything
either).
Please consider to investigate on this bug, horde from debian depends
on php 5.4
as "stable". And 5.5.0 itself shouldn't be considered "stable" either
(the first few releases of 5.4 didn't work with anything either).
I downgraded php to 5.4.4-14+deb7u2 and now the search works perfectly.
And if this doesn't work in PHP 5.5, there is a bug in PHP 5.5. We
aren't currently using anything (at least in IMP) that is backwards
incompatible with 5.5.
If you not face the incompatibility things of 5.4 and 5.5 now, you
will in the future.
Yes 5.5 isn't stable now, but I think those incompatibilities (php 5.5
<> horde) will remain if php will stable too.
State ⇒ Not A Bug
And if this doesn't work in PHP 5.5, there is a bug in PHP 5.5. We
aren't currently using anything (at least in IMP) that is backwards
incompatible with 5.5.
search citeria and search again.
At the second time for me, the search gives nothing and doesn't change
the citeria in the yellow information box. If I reload the inbox it
works again but only for once. I don't think you have this problem in
your installation. I think it causes the difference of the environment
(php 5.5.0).
Meaning give me the list of clicks it takes to cause this to happen.
New Attachment: config.tar.bz2
Here is a debug log snippet when the search fails:
---
Jun 19 11:44:29 test HORDE: Load config file (conf.php; app: horde)
[pid 16870 on line 401 of
"/root/horde-git/framework/Core/lib/Horde.php"]
Jun 19 11:44:29 test HORDE: Connected to the following memcache
servers:localhost:11211 [pid 16870 on line 125 of
"/root/horde-git/framework/Memcache/lib/Horde/Memcache.php"]
Jun 19 11:44:29 test HORDE: Read session data (id =
bb4jft65k1domd0hdo2mlfabk5) [pid 16870]
Jun 19 11:44:29 test HORDE: Horde_Registry: retrieved app with cache
ID horde_registry|app|1369385914|102fa7b4647511685ecf6cf86dafefa9 [pid
16870 on line 1986 of
"/root/horde-git/framework/Core/lib/Horde/Registry.php"]
Jun 19 11:44:29 test HORDE: [imp] Load config file (conf.php; app:
imp) [pid 16870 on line 401 of
"/root/horde-git/framework/Core/lib/Horde.php"]
Jun 19 11:44:29 test dovecot: imap-login: Login: user=<l.kiraly>,
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=16924, secured,
session=<XeoQrX7fAgB/AAAB>
Jun 19 11:44:29 test HORDE: [imp] IMAP error reported by server.
Mailbox doesn't exist: impsearch [pid 16870 on line 571 of
"/root/horde-git/imp/lib/Imap.php"]
Jun 19 11:44:29 test HORDE: 1.
Horde_Core_Ajax_Application->doAction()
/root/horde-git/horde/services/ajax.php:58 2. call_user_func()
/root/horde-git/framework/Core/lib/Horde/Core/Ajax/Application.php:162
3. IMP_Ajax_Application_Handler_Common->viewPort() 4.
IMP_Ajax_Application->viewPortData()
/root/horde-git/imp/lib/Ajax/Application/Handler/Common.php:99 5.
IMP_Ajax_Application_ListMessages->listMessages()
/root/horde-git/imp/lib/Ajax/Application.php:246 6. count()
/root/horde-git/imp/lib/Ajax/Application/ListMessages.php:262 7.
IMP_Mailbox_List->count() 8. IMP_Mailbox_List->_buildMailbox()
/root/horde-git/imp/lib/Mailbox/List.php:889 9. IMP_Mailbox->__get()
/root/horde-git/imp/lib/Mailbox/List.php:363 10.
IMP_Mailbox->_getCacheID() /root/horde-git/imp/lib/Mailbox.php:396 11.
IMP_Imap->getCacheId() /root/horde-git/imp/lib/Mailbox.php:1562 12.
IMP_Imap->getSyncToken() /root/horde-git/imp/lib/Imap.php:462 13.
IMP_Imap->__call() /root/horde-git/imp/lib/Imap.php:462 14.
Horde_Core_Ajax_Application->do
Jun 19 11:44:29 test HORDE: [imp] Could not open mailbox "impsearch".
[pid 16870 on line 571 of "/root/horde-git/imp/lib/Imap.php"]
Jun 19 11:44:29 test HORDE: 1.
Horde_Core_Ajax_Application->doAction()
/root/horde-git/horde/services/ajax.php:58 2. call_user_func()
/root/horde-git/framework/Core/lib/Horde/Core/Ajax/Application.php:162
3. IMP_Ajax_Application_Handler_Common->viewPort() 4.
IMP_Ajax_Application->viewPortData()
/root/horde-git/imp/lib/Ajax/Application/Handler/Common.php:99 5.
IMP_Ajax_Application_ListMessages->listMessages()
/root/horde-git/imp/lib/Ajax/Application.php:246 6. count()
/root/horde-git/imp/lib/Ajax/Application/ListMessages.php:262 7.
IMP_Mailbox_List->count() 8. IMP_Mailbox_List->_buildMailbox()
/root/horde-git/imp/lib/Mailbox/List.php:889 9. IMP_Imap->search()
/root/horde-git/imp/lib/Mailbox/List.php:409 10. IMP_Imap->__call()
/root/horde-git/imp/lib/Mailbox/List.php:409 11.
Horde_Core_Ajax_Application->doAction()
/root/horde-git/horde/services/ajax.php:58 12. call_user_func()
/root/horde-git/framework/Core/lib/Horde/Core/Ajax/Application.php:162
13. IMP_Ajax_Application_Handler_Common->viewPort() 14.
Jun 19 11:44:29 test HORDE: [imp] Could not open mailbox "impsearch".
[pid 16870 on line 27 of
"/root/horde-git/framework/Core/lib/Horde/Core/Notification/Handler/Decorator/Hordelog.php"]
Jun 19 11:44:29 test HORDE: [imp] SQL (0,0006s) ^ISELECT alarm_id,
alarm_uid, alarm_start, alarm_end, alarm_methods, ^I alarm_params,
alarm_title, alarm_text, alarm_snooze, alarm_internal ^I FROM
horde_alarms WHERE alarm_dismissed = 0 AND ((alarm_snooze IS NULL ^I
AND alarm_start <= '2013-06-19T09:44:29') OR alarm_snooze <= ^I
'2013-06-19T09:44:29') AND (alarm_end IS NULL OR alarm_end >= ^I
'2013-06-19T09:44:29') AND (alarm_uid IS NULL OR alarm_uid = '' OR ^I
alarm_uid = 'l.kiraly') ORDER BY alarm_start, alarm_end [pid 16870 on
line 319 of
"/root/horde-git/framework/Db/lib/Horde/Db/Adapter/Mysqli.php"]
Jun 19 11:44:29 test dovecot: imap(l.kiraly): Disconnected: Logged out
in=137 out=505
Jun 19 11:44:29 test HORDE: [imp] Max memory usage: 2097152 bytes [pid
16870 on line 559 of
"/root/horde-git/framework/Core/lib/Horde/Registry.php"]
---
I also attached my imp and horde config files please try with this.
Maybe php version is problem too. Can you try to test with php 5.5.x ?
php --version
PHP 5.5.0RC3 (cli) (built: Jun 11 2013 10:43:18)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0-dev, Copyright (c) 1998-2013 Zend Technologies
with Zend OPcache v7.0.2-dev, Copyright (c) 1999-2013, by Zend
Technologies
Priority ⇒ 1. Low
combo of both) in dynamic view.
You need to provide a detailed description of how you can reproduce.
Priority ⇒ 3. High
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Summary ⇒ second IMP search doesn't work
Type ⇒ Bug
Queue ⇒ IMP
The second or third doesn't give any result and in the syslog I get:
- HORDE: [imp] IMAP error reported by server. Mailbox doesn't exist:
impsearch"
- HORDE: [imp] Could not open mailbox "impsearch" ... on line 571 ...
imp/lib/Imap.php
I use dovecot 2.1.7.