Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: bloodshoteye on November 24, 2008, 11:41:10 AM

Title: Horde troubles after upgrade to 7.4
Post by: bloodshoteye on November 24, 2008, 11:41:10 AM
Hi all,
Before filing a bug, may I ask if anyone is having issues with Horde, in particular user address books, after upgrading from 7.3 to 7.4?

I received this just after upgrading:
Quote
A fatal error has occurred. You must configure a DataTree backend to use Shares.
What does this mean?
Currently user address books are missing, but Local LDAP is available.

The only reference to this error message in the forums is this legacy thread:
Quote
http://forums.contribs.org/index.php/topic,35084.msg152675.html#msg152675
However, as opposed to the poster, we can access horde - it's the missing user address books that are the issue. This legacy link proposed first uninstalling them reinstalling imp and horde.

Regards,

Title: Re: Horde troubles after upgrade to 7.4
Post by: David Harper on November 24, 2008, 12:19:20 PM
Have you got any Horde contribs installed? If so, have you upgraded them to match the later version in 7.4?
Title: Re: Horde troubles after upgrade to 7.4
Post by: bloodshoteye on November 24, 2008, 01:17:26 PM
davidiwharper,

Yes, I did install Horde contribs in the past - Notes, Calendar & Todo.
However, I did this yesterday after the upgrade:
Quote
yum update --enablerepo=smecontribs
signal-event post-upgrade
signal-event reboot

The following from # yum list:
Quote
e-smith-horde.noarch          4.0.0-1.el4.sme        installed
horde.noarch                     3.2.2-1.el4.sme        installed

e-smith-turba.noarch          3.0.0-1.el4.sme        installed
turba-h3.noarch                 2.2.1-1.el4.sme        installed
e-smith-ingo.noarch            2.0.0-1.el4.sme        installed
ingo-h3.noarch                  1.2.1-1.el4.sme        installed                                     
mnemo-h3.noarch              2.2.1-1.el4.sme        installed       
smeserver-mnemo.noarch    2.2-2.el4.sme          installed       
kronolith-h3.noarch            2.2-1.el4.sme          installed
smeserver-kronolith.noarch  2.2-1.el4.sme          installed
e-smith-imp.noarch            5.0.0-1.el4.sme        installed
imp-h3.noarch                   4.2-1.el4.sme          installed
nag-h3.noarch                   2.2-1.el4.sme          installed
smeserver-nag.noarch         2.2-1.el4.sme          installed

Does the above indicate a problem? - forgive if I'm missing the answer, but I've not had to resolve this sort of thing with sme before.
Title: Re: Horde troubles after upgrade to 7.4
Post by: David Harper on November 24, 2008, 01:53:13 PM
Well, that is a bit outside my experience level then :-?

Sounds like one for the bug tracker, but be sure to post (in the tracker) the results of /etc/e-smith/audittools/newrpms.
Title: Re: Horde troubles after upgrade to 7.4
Post by: bloodshoteye on November 24, 2008, 02:27:43 PM
davidiwharper , sorry to correct, but that should be:
/sbin/e-smith/audittools/newrpms
Thanks for pointing that out.

Submitted a bug report, including the output of the above:
http://bugs.contribs.org/show_bug.cgi?id=4784#c0

Edit on 25 Nov 08
Bugzilla asked to split the issue into 3 bugs. See hereunder
1) "Horde troubles after upgrading from fully patched and working 7.3 to 7.4"
http://bugs.contribs.org/show_bug.cgi?id=4784
Note: 4784 has been resolved (for my client, I might add) by removing a custom template in Horde - it was intended to provide a "Global Address Book"
YMMV

2) "Horde Spell Check behaviour after 7.3 to 7.4 upgrade"
http://bugs.contribs.org/show_bug.cgi?id=4790

3) "Horde user Address Book  loss after 7.3 to 7.4 upgrade"
http://bugs.contribs.org/show_bug.cgi?id=4791
Title: Re: Horde troubles after upgrade to 7.4
Post by: David Harper on November 24, 2008, 02:50:32 PM
No problem, correct away 8)
Title: Re: Horde troubles after upgrade to 7.4
Post by: lucho115 on November 25, 2008, 01:20:53 PM
i have a similar problem, but my adress books are ok, the only symptom that i could see y a mail sended to the admin says this:
Quote
<html>
<head><title>Horde :: Fatal Error</title></head>
<body style="background:#fff; color:#000"><h1>A fatal error has occurred</h1><h3>You must configure a DataTree backend to use Shares.</h3><h3>Details have been logged for the administrator.</h3></body>
</html>
anybody can solve this or have an idea about whats the problem?
thanks
bye
Title: Re: Horde troubles after upgrade to 7.4
Post by: bloodshoteye on November 25, 2008, 01:55:49 PM
lucho115

Have you got any custom templates for Horde?

Bye,
Title: Re: Horde troubles after upgrade to 7.4
Post by: lucho115 on November 25, 2008, 02:48:48 PM
Nop, i had readed the bug report that you create but like a says before i have no problems with adress books and all seems to work fine but i still get this mail.
but i browse template-custom and find this :
Quote
templates-custom/home/httpd/html/horde/config/prefs.php/200personal
but i dont create this custom template, so i dont know whats do, editing this file seems like the default settings for all users, so you think thats maybe this custom template is the problem?
thanks
bye
Title: Re: Horde troubles after upgrade to 7.4
Post by: bloodshoteye on November 25, 2008, 04:28:31 PM
lucho115

I new to SME, so I don't know if what I now say is correct. I looked at another server where Horde is installed but not used. There are no custom templates at all.

On our box where we have an issue, there were also none originally, as far as I can recall. But I put a 200personal there - was trying to set default category colors. I'm might remove this also.

Bye,
Title: Re: Horde troubles after upgrade to 7.4
Post by: Stefano on November 25, 2008, 11:20:32 PM
@lucho115: try to see the result of

Code: [Select]
/sbin/e-smith/audittools/templates

you should be able to understand what's going on.. if not, please raise a bug.

Ciao
Stefano
Title: Re: Horde troubles after upgrade to 7.4
Post by: mrjhb3 on November 26, 2008, 03:46:21 AM
Nop, i had readed the bug report that you create but like a says before i have no problems with adress books and all seems to work fine but i still get this mail.
but i browse template-custom and find this :but i dont create this custom template, so i dont know whats do, editing this file seems like the default settings for all users, so you think thats maybe this custom template is the problem?
thanks
bye

You are correct about the prefs.php file.  Whatever you set in prefs.php are the default user settings.  If you still want to use that custom template, you should check to make sure that no items were added or removed from that section.  Whenever you see a datatree error, it always has something to do with one of the *.conf files.  The error should indicate which one it is.  When do you get this error? 

To me, this usually indicates that a signal-event post-upgrade ; signal-event reboot was not performed.  I'd do this, then come back to the forum or post a bug.

John
Title: Re: Horde troubles after upgrade to 7.4
Post by: lucho115 on November 26, 2008, 11:39:54 AM
@lucho115: try to see the result of

Code: [Select]
/sbin/e-smith/audittools/templates

you should be able to understand what's going on.. if not, please raise a bug.

Ciao
Stefano

OK, this is the out of /sbin/e-smith/audittools/templates
Quote
/etc/e-smith/templates-custom/home/e-smith/ssl.crt: MANUALLY_ADDED, OVERRIDE
/etc/e-smith/templates-custom/home/httpd/html/horde/config/prefs.php/200personal: MANUALLY_ADDED, OVERRIDE
/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/20LoadModule80mod_dav: MANUALLY_ADDED, OVERRIDE
/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/95AddModDav2ibays: MANUALLY_ADDED, ADDITION
/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/35DavLock: MANUALLY_ADDED, OVERRIDE
/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/75BrowserMatchMod_Dav: MANUALLY_ADDED, ADDITION

So its looks fine, or no?
any way if i want delete this template, just delete the file o r a have to run any command?
Title: Re: Horde troubles after upgrade to 7.4
Post by: lucho115 on November 26, 2008, 11:51:18 AM
ok john, but what meens this:
Quote
If you still want to use that custom template, you should check to make sure that no items were added or removed from that section
Yes i want to use it, so what things i have to check?
----------------
Quote
When do you get this error? 
When the server reboot when i do the upgrade to 7.4 i got 3 mails , one every 5 minutes, and i dont get any more of this emails but i wana know if there are problems.
-------------
Quote
To me, this usually indicates that a signal-event post-upgrade ; signal-event reboot was not performed
Its had to be done when i upgrade to 7.4, and then i doit manually when update smecontribs, and to be sure do it again 15 minutes ago, i dont get this email since the upgrade to 7.4, do you think that the smecontribs update fix it? how can i check that it is true?

thanks and sorry about my english
bye 

Title: Re: Horde troubles after upgrade to 7.4
Post by: mrjhb3 on November 26, 2008, 09:46:05 PM
ok john, but what meens this: Yes i want to use it, so what things i have to check?
----------------When the server reboot when i do the upgrade to 7.4 i got 3 mails , one every 5 minutes, and i dont get any more of this emails but i wana know if there are problems.
-------------Its had to be done when i upgrade to 7.4, and then i doit manually when update smecontribs, and to be sure do it again 15 minutes ago, i dont get this email since the upgrade to 7.4, do you think that the smecontribs update fix it? how can i check that it is true?

thanks and sorry about my english
bye

You need to check your custom-template versus what is in the template fragment.  Sometimes there are additions or deletions to the templates based on the horde releases.

The current horde add-ons will and do work for horde 3.2 and above.

Do you have the log from when you did the last post-upgrade ; reboot?  I'd like to see the mysql.init portion.  Please also check http://bugs.contribs.org/show_bug.cgi?id=4791, comments 9 and 10 and see if that applies to you.

I'm kind of getting lost in this thread, are you still getting errors about a datatree backend for shares?  If not, please re-post exactly what your issue is.

John
Title: Re: Horde troubles after upgrade to 7.4
Post by: lucho115 on November 28, 2008, 02:52:55 PM
Quote
You need to check your custom-template versus what is in the template fragment.  Sometimes there are additions or deletions to the templates based on the horde releases.
i had do it, and so i had to replace the old template for the new one.
Quote
Please also check http://bugs.contribs.org/show_bug.cgi?id=4791, comments 9 and 10 and see if that applies to you.
the url is wrong, can you give me the correct one?
Quote
I'm kind of getting lost in this thread, are you still getting errors about a datatree backend for shares?  If not, please re-post exactly what your issue is.
OK, the errors were fixed, i think, because i didnt get this hind of mail any more, thanks for all, but how can i sure that its all rigth?
thanks,bye
Title: Re: Horde troubles after upgrade to 7.4
Post by: mrjhb3 on November 28, 2008, 03:55:06 PM
the url is wrong, can you give me the correct one?OK, the errors were fixed, i think, because i didnt get this hind of mail any more, thanks for all, but how can i sure that its all rigth?
thanks,bye

Just take out the comma, the bug is 4791.  To be sure it's all right, you will need to redo the steps where you got the error and let us know if things are good.  Look at /var/log/messages while logging into webmail and doing things.
Title: Re: Horde troubles after upgrade to 7.4
Post by: calisun on November 29, 2008, 06:20:30 AM
I just did upgraded from 7.3 to 7.4 and my horde webmail is broken.
In the webmail, the whole menu on the left side is gone. I did updates to contribs:

yum update --enablerepo=smecontribs
signal-event post-upgrade
signal-event reboot

but that did not fix the problem. The menu on left side is still gone.
Title: Re: Horde troubles after upgrade to 7.4
Post by: cactus on November 29, 2008, 10:14:41 AM
I just did upgraded from 7.3 to 7.4 and my horde webmail is broken.
In the webmail, the whole menu on the left side is gone. I did updates to contribs:

yum update --enablerepo=smecontribs
signal-event post-upgrade
signal-event reboot

but that did not fix the problem. The menu on left side is still gone.
Updating contribs should not have anything to do with the horde menu. Please report this in the bugtracker.
Title: Re: Horde troubles after upgrade to 7.4
Post by: mrjhb3 on November 29, 2008, 03:35:50 PM
I just did upgraded from 7.3 to 7.4 and my horde webmail is broken.
In the webmail, the whole menu on the left side is gone. I did updates to contribs:

yum update --enablerepo=smecontribs
signal-event post-upgrade
signal-event reboot

but that did not fix the problem. The menu on left side is still gone.

What other horde add-ons do you have installed?  tailing /var/log/messages should give a hint as to what is wrong when you login.  If you are using trean, then you will need to remove that version as it's not compatible with horde 3.2.
Title: Re: Horde troubles after upgrade to 7.4
Post by: compsos on November 30, 2008, 03:03:17 AM
No Address book after Upgrade
I can confirm that it was solved with
signal-event post-upgrade; signal-event reboot
even though that had been done after upgrading and the "49turba_migrate_contacts:" log events were OK so still not sure why the address book was not there in the 1st case.

Maybe the turba modifications need a reload after being applied?
Title: Re: Horde troubles after upgrade to 7.4
Post by: mrjhb3 on November 30, 2008, 05:21:17 AM
No Address book after Upgrade
I can confirm that it was solved with
signal-event post-upgrade; signal-event reboot
even though that had been done after upgrading and the "49turba_migrate_contacts:" log events were OK so still not sure why the address book was not there in the 1st case.

Maybe the turba modifications need a reload after being applied?

No they don't and shouldn't have to be.  I've upgraded many times my pre 7.4 production horde tables and then added a lot more entries and everytime everything has come back successfully. 

On the first reboot after the upgrade as long as I see the turba fields being altered in the mysql.init portion of the log, every address book shows up on the first login.  On the times that I manually remove the 49 event, do I have issues with the address books.

If anyone can actually spot a trend that would be great as I have not be able to find one.

John
Title: Re: Horde troubles after upgrade to 7.4
Post by: compsos on November 30, 2008, 08:23:27 AM
John
Just for the record, this is what my message log showed (last few lines of turba_migrate_contacts) on 1st reboot after upgrade. No sign of problems there.

/var/log/messages.20081125085711:Nov 25 09:04:52 server 49turba_migrate_contacts: ESC[01;32m[   OK   ] ESC[0mContact name fields parsed.
/var/log/messages.20081125085711:Nov 25 09:04:52 server 49turba_migrate_contacts: ESC[01;32m[   OK   ] ESC[0mHome address fields parsed.
/var/log/messages.20081125085711:Nov 25 09:04:52 server 49turba_migrate_contacts: ESC[01;32m[   OK   ] ESC[0mWork address fields parsed.
/var/log/messages.20081125085711:Nov 25 09:04:53 server mysql.init: Loading 49turba_migrate_contacts into mysql succeeded
Title: Re: Horde troubles after upgrade to 7.4
Post by: calisun on November 30, 2008, 10:00:07 AM
John,
I have all your horde contribs: calendar, notes, to-do list, bookmarks, file manager

If memory serves me right, trean is a bookmark contribs. So if I need to remove it, is there a way to save my bookmarks before I remove it?
Title: Horde / Kronolith troubles after upgrade to 7.4
Post by: holck on November 30, 2008, 11:30:57 AM
I experienced a problem with Kronolith after upgrading to 7.4: Every 5 minutes I would get the message
Nov 30 00:10:04 myserver HORDE[5151]: [kronolith] Permission Denied [pid 5151 on line 229 of "/home/httpd/html/horde/lib/Horde/Alarm.php"]
in /var/log/messages

I seem to have solved this problem by adding admin as Horde administrator:
/sbin/e-smith/config setprop horde Administration enabled
/sbin/e-smith/signal-event email-update

Title: Re: Horde troubles after upgrade to 7.4
Post by: mrjhb3 on November 30, 2008, 11:37:45 AM
John,
I have all your horde contribs: calendar, notes, to-do list, bookmarks, file manager

If memory serves me right, trean is a bookmark contribs. So if I need to remove it, is there a way to save my bookmarks before I remove it?

Your bookmarks are already saved in mysql, you just won't be able to see them until you upgrade trean.  Trean has not been officially released by the horde developers, but I do have a CVS snapshot of trean that is working if you want to use it. 

To remove trean, edit /etc/e-smith/templates/home/httpd/html/horde/config/registry.php/260AppRegistryTrean and change status to inactive.

signal-event email-update

login to webmail.

John
Title: Re: Horde troubles after upgrade to 7.4
Post by: daniel on December 01, 2008, 04:09:54 AM
I'm also having some issues after the 7.4 update and horde.  When I logout of Horde, I get this message 
"This request cannot be completed because the link you followed or the form you submitted was only valid for minutes"

and it never goes back to the login screen.  Plus the URL at that point is https://www.charton-mgmt.com/horde/login.php?horde_logout_token=c0d91df5ebf873b4a7bdc09bbdc80e6c&app=horde&logout_reason=logout.  Any suggestions?

BTW - I love the feature of renaming horde to whatever I need it...whoever did that coding, THANK YOU.
Title: Re: Horde troubles after upgrade to 7.4
Post by: calisun on December 01, 2008, 07:34:16 AM
John,
That worked, menu is back after making trean inactive. Please let me know when updated trean is available and I will report back if there are any other problems.


danielr, how do you rename horde? Where do you go to do that?
Title: Re: Horde troubles after upgrade to 7.4
Post by: daniel on December 01, 2008, 12:44:14 PM
I found it in the announcement for 7.4  http://forums.contribs.org/index.php/topic,42674.0.html

It says
- The name of the webmail installation is now configurable.
  To use - config setprop horde Name xxxx ; signal-event email-update.

I replaced xxxx with WebMail
Title: Re: Horde troubles after upgrade to 7.4
Post by: bloodshoteye on December 04, 2008, 10:20:50 AM
Hi all

As the OP, my issue has been solved, but I'm not marking this thread as "resolved" - too many other comments. Unless a moderator feels otherwise, of course.

All thanks to mrjhb3 (John) for his efforts to help us all. We have some very grateful staff who now have their multiple address books back again  :grin:

For those who need to see what was required, head over to:
Quote
http://bugs.contribs.org/show_bug.cgi?id=4791

Once again, John (mrjhb3) thanks   :cool:
Title: Re: Horde / Kronolith troubles after upgrade to 7.4
Post by: thomasch on December 05, 2008, 10:45:12 AM
I experienced a problem with Kronolith after upgrading to 7.4: Every 5 minutes I would get the message
Nov 30 00:10:04 myserver HORDE[5151]: [kronolith] Permission Denied [pid 5151 on line 229 of "/home/httpd/html/horde/lib/Horde/Alarm.php"]
in /var/log/messages

I seem to have solved this problem by adding admin as Horde administrator:
/sbin/e-smith/config setprop horde Administration enabled
/sbin/e-smith/signal-event email-update


This bug hit me too. Raised a bug. Track here  http://bugs.contribs.org/show_bug.cgi?id=4827

thomas

Title: Re: Horde / Kronolith troubles after upgrade to 7.4
Post by: mrjhb3 on December 06, 2008, 12:08:09 AM
This bug hit me too. Raised a bug. Track here  http://bugs.contribs.org/show_bug.cgi?id=4827

thomas

This is not a bug!  How reminders are sent has changed in horde 3.2.  Please read /home/httpd/html/horde/docs/INSTALL.  This should explain it all.

John