Koozali.org: home of the SME Server

Horde Does not Load after Update from 7.4 to 7.5.1

Offline Hitman47

  • 4
  • +0/-0
Horde Does not Load after Update from 7.4 to 7.5.1
« on: October 07, 2011, 04:50:21 AM »
Hi guys, my server was outdated and was not automatically finding the updates. I didn't install any of the network and have never used SME Server, but have previous experience with Linux and most of the servers we use. So I did some research and found that the repo's might be outdated.. so I did the following:

Code: [Select]
yum update dbus dbus-glib smeserver-support smeserver-yum yum yum-plugin-fastest-mirror python-sqlite yum update dbus dbus-glib smeserver-support smeserver-yum yum yum-plugin-fastest-mirror python-sqlite
signal-event post-upgrade; signal-event reboot

The server did it's thing and I logged in. All the users seemed to be there and the server was updated to 7.5.1. Now I wanted to check if Horde still worked. mydomain.com/horde was the previous url. Upon loading the page I was greeted with the following error:

Quote
"you must configure a datatree backend to use shares"

I wasn't sure what to do so I started doing more research. One of the solutions given was to remove the IMP and HORDE packages, then reinstall them. I did and I saw that the Horde files were removed, then reinstalled. But now I cannot access them. It seems the document root for apache was reconfigured. I tried editting the templates to change the document root but that didn't seem to work, so I moved the web files to the current document root. At the moment all I get is white pages when I load the files.

Would appreciate any help or suggestions.. thank you.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Horde Does not Load after Update from 7.4 to 7.5.1
« Reply #1 on: October 07, 2011, 09:18:12 AM »
Code: [Select]
yum update dbus dbus-glib smeserver-support smeserver-yum yum yum-plugin-fastest-mirror python-sqlite yum update dbus dbus-glib smeserver-support smeserver-yum yum yum-plugin-fastest-mirror python-sqlite
signal-event post-upgrade; signal-event reboot
Where did you find this command and why did you execute it? This will only do a upgrade for the package you supplied on your update line. I think you will find you still have a lot of packages to update. What is the output of:
Code: [Select]
yum list updates
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline MSmith

  • *
  • 675
  • +0/-0
Re: Horde Does not Load after Update from 7.4 to 7.5.1
« Reply #2 on: October 07, 2011, 02:05:29 PM »
Here's the one you *should* have found and used:

http://wiki.contribs.org/Adding_Software#Restoring_Default_Yum_Repositories

After that, a simple "yum update" (or "yum update --enablerepo=smecontribs") will suffice.
...

Offline Hitman47

  • 4
  • +0/-0
Re: Horde Does not Load after Update from 7.4 to 7.5.1
« Reply #3 on: October 07, 2011, 09:21:32 PM »
It doesn't look like any updates are available. I figured the problem for being stuck at 7.4 was a common issue so I googled and found a command that updated the repos. (The basic yum commands didn't do anything for me)

Quote
[root@mail ~]# yum list updates
Loading "installonlyn" plugin
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Loading "protect-packages" plugin
Setting up repositories
smeaddons                 100% |=========================| 2.3 kB    00:00
smeextras                 100% |=========================| 2.3 kB    00:00
base                      100% |=========================| 1.1 kB    00:00
updates                   100% |=========================|  951 B    00:00
smeos                     100% |=========================| 1.9 kB    00:00
smeupdates                100% |=========================| 1.9 kB    00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 760 kB    00:01
sqlite cache needs updating, reading in metadata
updates   : ################################################## 1739/1739
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Updated Packages
xorg-x11-Mesa-libGL.i386                 6.8.2-1.EL.70          updates
xorg-x11-font-utils.i386                 6.8.2-1.EL.70          updates
xorg-x11-libs.i386                       6.8.2-1.EL.70          updates
xorg-x11-xfs.i386                        6.8.2-1.EL.70          updates

I will restore Yum repositories and see if there any more updates. After that though, I still have a feeling Horde won't work. I've got Horde placed at: /home/httpd/html/horde

while apache document root is: /home/e-smith/files/ibays/Primary/html

Before this update apache root was in where Horde was.. so I'm not sure why that changed. I've tried using the template system with no luck. Copying Horde over to apache's root also doesn't work.. although it should since it's just PHP scripts.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Horde Does not Load after Update from 7.4 to 7.5.1
« Reply #4 on: October 08, 2011, 12:46:26 AM »
Before this update apache root was in where Horde was.. so I'm not sure why that changed. I've tried using the template system with no luck. Copying Horde over to apache's root also doesn't work.. although it should since it's just PHP scripts.

If you have messed with templates and also copied horde files around it's maybe not surprising that you have problems. That's not how to administer an SME server.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Horde Does not Load after Update from 7.4 to 7.5.1
« Reply #5 on: October 08, 2011, 12:55:32 AM »
I will restore Yum repositories and see if there any more updates. After that though, I still have a feeling Horde won't work. I've got Horde placed at: /home/httpd/html/horde
It seems you already have the correct repositories enabled.

while apache document root is: /home/e-smith/files/ibays/Primary/html
So? The DoucmentRoot is not the only way to expose content under Apache.

Before this update apache root was in where Horde was.. so I'm not sure why that changed.
That is not the normal location, so you might have changed something, I guess the update corrected that and set everything back to default.

I've tried using the template system with no luck. Copying Horde over to apache's root also doesn't work.. although it should since it's just PHP scripts.
No, that is not true, you will also have to configure Apache correctly when you do so.

You should look at the various log files (/var/log/messages, /var/log/httpd/*error_log) for clues on what might be wrong, but the quickest way to a working server IMHO is a re-install and restore from backup.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Hitman47

  • 4
  • +0/-0
Re: Horde Does not Load after Update from 7.4 to 7.5.1
« Reply #6 on: October 08, 2011, 03:07:11 AM »
Thanks for the help. The problem is I took over the network from a previous IT guy who.. wasn't very organized. I first started learning SME Server by installing it in my VirtualBox but found that much of the "basic" form was quite different then what I've got. Everything seems to work except Horde after the updates. I will admit I screwed it up a little bit after the error message, but I don't think reinstalling from fresh is something I want to do at the moment - perhaps when 8.0 comes out.

Will play around more this weekend and see if I get anything going - thanks for the tips.

Offline Hitman47

  • 4
  • +0/-0
Re: Horde Does not Load after Update from 7.4 to 7.5.1
« Reply #7 on: October 09, 2011, 12:20:57 AM »
At the moment I'm getting the following errors from Horde:

Quote
Some of Horde's configuration files are missing or unreadable
prefs.php
This file controls the default preferences for Horde, and also controls which preferences users can alter.

conf.php
This is the main Horde configuration file. It contains paths and basic items that apply to the core framework and all Horde applications.

mime_drivers.php
This file controls the global set of MIME drivers for the Horde framework, allowing applications to make use of programs such as enscript or mswordview to render content into HTML for viewing in a browser.

nls.php
This file provides localisation support for the Horde framework.

registry.php
The registry is how Horde applications find out how to talk to each other. You should list any installed Horde applications that you have here.

Create these files from their .dist versions in /home/httpd/html/horde/config and change them according to your needs.

What could be causing this?
« Last Edit: October 09, 2011, 03:58:17 AM by Hitman47 »