Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: hellstern on August 28, 2005, 10:43:48 AM

Title: Kronolite install
Post by: hellstern on August 28, 2005, 10:43:48 AM
Hi,
I 'am trying to install the calender Kronolite on my SME ver. 7 server.

So fare I have done this;

Unpacked the installation file in;
   /home/httpd/html/horde/kronolith

I have run this in the config folder:
   for foo in *.dist; do cp $foo basename $foo .dist; done

I have run this sql script on the Horde database:
  kronolith.mysql.sql

In the webmail under Organizing I now have both the Address Book and Calendar. But the Calendar come up with this error message:

Some of Kronolith's configuration files are missing or unreadable
conf.php
This is the main Kronolith configuration file. It contains paths and options for the Kronolith scripts. You need to login as an administrator and create the file with the web frontend under "Administration => Configuration".
Create these files from their .dist versions in /home/httpd/html/horde/kronolith/config and change them according to your needs.

It looks like the conf.php is missing. I don't know how to create it with the web frontend. How do I get to the webfront end?

Regards
Tue
Title: Kronolite install
Post by: gregswallow on August 28, 2005, 06:38:32 PM
You could try the two rpms here.  I haven't tested them much though.  If there are changes needed to the config files, let me know here so I can update the rpm.

http://mirror.contribs.org/smeserver/contribs/gswallow/SME7-HordeApps/smeserver-kronolith-1.0.0-02.noarch.rpm
http://mirror.contribs.org/smeserver/contribs/gswallow/SME7-HordeApps/kronolith-h3-2.0.3-1sme02.noarch.rpm

After you install them, do 'signal-event post-upgrade' and reboot.
Title: Kronolite install
Post by: hellstern on August 28, 2005, 07:06:36 PM
Hi,
Thank for your answer :-)

I have installed the 2 rpm's

But I still get this error:

Some of Kronolith's configuration files are missing or unreadable
conf.php

This is the main Kronolith configuration file. It contains paths and options for the Kronolith scripts. You need to login as an administrator and create the file with the web frontend under "Administration => Configuration".
Create these files from their .dist versions in /home/httpd/html/horde/kronolith/config and change them according to your needs.


It still looks like there are a problem with the conf.php file.

/Tue
Title: Kronolite install
Post by: gregswallow on August 29, 2005, 06:19:51 AM
Did you post-upgrade and reboot?

If still not working try:
Code: [Select]
expand-template /home/httpd/html/horde/kronolith/conf.php
Title: Kronolite install
Post by: hellstern on August 29, 2005, 09:03:56 AM
Hi,
When I do:

expand-template /home/httpd/html/horde/kronolith/conf.php

I get this error:

ERROR: No templates were found for /home/httpd/html/horde/kronolith/conf.php.
 at /sbin/e-smith/expand-template line 45


After the install off the rpm's I dit:

'signal-event post-upgrade' and reboot.

/Tue
Title: Kronolite install
Post by: gregswallow on August 29, 2005, 08:42:31 PM
Sorry...typo - try:

Code: [Select]
expand-template /home/httpd/html/horde/kronolith/config/conf.php

It should have done that for you after doing post-upgrade and reboot, but I guess my rpm is not working in that sense.
Title: Kronolite install
Post by: hellstern on August 29, 2005, 09:08:24 PM
Hi,
Thanks a lot  :lol:
Now I can see the calendar, but I can't create a new appointment.
Nothing happens??

/Tue
Title: Kronolite install
Post by: gregswallow on August 29, 2005, 09:51:56 PM
Yah, the rpm isn't done yet.  I have to make it so it works with an upgrade or fresh install of kronolith.  Try this to create the tables for Kronolith in mysql:

Code: [Select]
mysql horde < /home/httpd/html/horde/kronolith/scripts/kronolith.mysql.sql

If you have to edit the conf.php file let me know so I can make changes to the rpm.  To permanantly edit it you need to edit the templates at /etc/e-smith/templates/home/httpd/html/horde/kronolith/config/conf.php/
Title: Kronolite install
Post by: hellstern on August 29, 2005, 10:30:15 PM
Hi,
I had to DROP 2 tables to run the script.
After that the the script run without any errors

But I still can't create a new appointment. Every thing else are working very fine.
I havent made any changes to the conf.php file.

The path to the scrip is;
/home/httpd/html/horde/kronolith/scripts/sql
You forgot the sql folder.

I hope you have a sugestion to this problem ;-)

/Tue
Title: Kronolite install
Post by: gregswallow on August 29, 2005, 11:29:01 PM
Yes, you are right.  Not having a good day for typo's...And you may have found a bug affecting  afew other things in SME7.

(all on one line - I don't get any error? - Try this again after the part below as well.)
Code: [Select]
mysql horde < /home/httpd/html/horde/kronolith/scripts/sql/kronolith.mysql.sql

...and then try this.  Kronolith needs to be able to create a table, and the horde@localhost user doesn't have the 'CREATE' permissions.

Code: [Select]
mysql
then... (all on one line)
Code: [Select]
GRANT SELECT , INSERT , UPDATE , DELETE , CREATE ON horde . * TO 'horde'@'localhost';

And it is working for me now.  Let me know.
Title: Kronolite install
Post by: hellstern on August 29, 2005, 11:45:16 PM
Hi agin,
Yes - Yes it is working ;-)

I did;
1. mysql
2. GRANT SELECT , INSERT , UPDATE , DELETE , CREATE ON horde . * TO 'horde'@'localhost';

I had done;
mysql horde < /home/httpd/html/horde/kronolith/scripts/sql/kronolith.mysql.sql

Before so that was ok.

Thank a lot for your help.

/Tue
Title: Kronolite install
Post by: gregswallow on August 30, 2005, 02:38:19 AM
No problem.  I will have to work all that into the rpm.  I had made the conf.php for what I thought was a good setup, but if there are changes that are needed, please let me know here.  I haven't tried Kronolith out yet really, but the ability to share your calendar, and set permissions for others to view/edit it looks cool.  

Which Horde app do you want next?  Mnemo, nag, ingo, gollem?  I am hoping to get those done into rpms as well.
Title: Kronolite install
Post by: brianr on August 31, 2005, 08:46:18 AM
Can I vote for the WAP access to email?

Cheers

Brian
Title: Kronolite install
Post by: hellstern on August 31, 2005, 10:03:05 PM
Hi,
I have now been testing Kronolite for the last couple off days.
It works very well ;-)
The next Horde application I would like to use is Nag and then Gollem.
If you need a beta tester, you can contact me and I will very much like to help.

Thanks again ;-)

Tue
Title: Ekstra question
Post by: hellstern on August 31, 2005, 10:06:09 PM
I have one more question regarding Kronolite.
Is it possible to start the week on Monday instead of Sunday.
I know that you start the week on Sunday but in Europe we normally start the week's on Monday.

/Tue
Title: Kronolite install
Post by: gregswallow on August 31, 2005, 11:31:32 PM
Starting on Monday sounds good to me too.  I'll do that as default for the next version.

The prefs.php file needs to be expanded.  But if you want to make the change, first edit /etc/e-smith/templates/home/httpd/html/horde/kronolith/config/prefs.php/150weekstartmonday and change the 'value' from 0 to 1.

Then do:
Code: [Select]
expand-template /home/httpd/html/horde/kronolith/config/prefs.php

Let me know if there's anything else.
Title: Kronolite install
Post by: hellstern on September 01, 2005, 08:03:46 AM
Thanks I now have Monday as start off the week.
Look great

/Tue  :lol:
Title: Kronolite install
Post by: gregswallow on September 06, 2005, 11:22:06 PM
Quote from: "hellstern"
The next Horde application I would like to use is Nag and then Gollem.


Nag, gollem, mnemo, mimp and chora rpms (so far to install files only, not configuration) are here:
http://mirror.contribs.org/smeserver/contribs/gswallow/wip/

To get into the administration, you have to edit horde/config/conf.php and edit the 'admins' line to be something like this:
Code: [Select]
$conf['auth']['admins'] = array('username@domain.com');
Then when you log in again as that username, you see Administration->Setup in the left menu.  It won't save the configuration for you because of file permissions, you'll have to copy and paste as it suggests.  

What I'd like is if you can let me know what the contents of your conf.php files are for gollem and nag, and if you had to change any other configuration files, what the changes were.

You might have to edit horde/config/registry.php and set some of those apps from inactve to active so they appear in the menu.  I'm going to patch the e-smith-horde rpm to enable them all soon.  

BTW, Ingo will be in the next beta, along with some inline viewers for MS Documents.
Title: Nag
Post by: hellstern on September 11, 2005, 08:00:15 PM
Hi,
I have now tried Nag:

1.Installed the rpm
2.edit the conf.php file line: $conf['auth']['admins'] = array('username@domain.com');
3.Locked in as that user
4.Created the cnof.php file
5.Manuel created the file in /nag/config/conf.php
6.Locked into MySql and run the nag.sql script

Every thing is working

/Tue
Title: correct rpm?
Post by: kirkf on December 03, 2005, 06:23:10 PM
Hi, Greg.  I'm playing around with your kronolith rpms, but I'm a little confused.  There are two rpms:

kronolith-h3-2.0.3-1sme01.noarch.rpm, dated Sept 6, 2005

kronolith-h3-2.0.3-1sme02.noarch.rpm, dated June 15, 2005

Is the sme02 version actually the more current?

Kirk