Summary | Keeps asking for maintenance |
Queue | Horde Base |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 3. High |
Owners | chuck (at) horde (dot) org |
Requester | franke (at) bethzur (dot) com |
Created | 03/13/2007 (6673 days ago) |
Due | |
Updated | 08/05/2007 (6528 days ago) |
Assigned | 04/18/2007 (6637 days ago) |
Resolved | 08/05/2007 (6528 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Assigned to Chuck Hagenbuch
Taken from
Taken from Michael Slusarz
State ⇒ Resolved
reference issue. It's fixed now.
I had once the same problem and it resolved for me to open IMP
preferences and to resave them. This also fixed some odd errors where
php complained about missing keys anywhere to me.
Maybe you want to give it a try?
Michael
code it is failing in PHP 4 (vs. PHP 5)? That was what I was asking -
and my question was directed more towards the other devs.
maintenance code in at least 2 years so none of this looks familiar
to me.
code in at least 2 years so none of this looks familiar to me.
Version ⇒ HEAD
Queue ⇒ Horde Base
Assigned to Michael Slusarz
attachments every time I log in. I checked the last_maintenance value
for my user, and it is NOT changing when maintenance is performed. So,
it keeps asking. Previously, I removed all values from horde_prefs
where pref_name = last_maintenance, and that fixed it for 30 days.
However, 30 days later, it seems to be back. Any idea why the
last_maintenance is never updated only inserted?
A little more information. /usr/share/php/Horde/Maintenance.php, which
is where framework/Maintenance/Maintenance.php gets installed, has a
function _doMaintenanceTasks(). In there, it seems that
count($this->_tasklist->getList()) is never zero. The
delete_attachments_monthly element in the array is never removed. This
is because if ($val['newpage']) is true (1), and it breaks out of the
loop without removing the entry.
I have no idea what this should be doing, but that's what's happening.
If I either purge this attribute from horde_prefs or modify the source
to always update the date (basically assume all tasks compelted), then
it doesn't keep asking. Somehow it doesn't think the maintenance task
completed.
This happens in every browser (IE, FF and Safari).
State ⇒ Resolved
that prevented it from updating correctly. I'm not entirely sure why
this would happen, but it makes sense that just resetting the values
would fix it.
have fixed it:
delete from horde_prefs where pref_name='last_maintenance';
decide when it needs to pop up this question?
horde_prefs table exists and contains data. This problem didn't happen
until a few weeks ago when I updated to the latest from CVS. I
experience this problem whether or not the user has a
delete_attachments_monthly value or not.
I also have a vfs setup via the database as well.
State ⇒ Feedback
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Queue ⇒ IMP
Summary ⇒ Keeps asking for maintenance
Type ⇒ Bug
every time I log in (via IMP to a SMTP server), it wants to do
maintanance, spepcifically, "all old attachments more than 6 months
old will be deleted." It keeps showing up no matter how many times I
click "Perform Maintenance Operations".
Oddly, if I put some bogus code in delete_attachments_monthly.php in
doMaintenance(), it never seems to get an error. Maybe it's not being
called?