Koozali.org: home of the SME Server

Kronolite install

hellstern

Kronolite install
« 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

Offline gregswallow

  • *
  • 651
  • +1/-0
Kronolite install
« Reply #1 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.

hellstern

Kronolite install
« Reply #2 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

Offline gregswallow

  • *
  • 651
  • +1/-0
Kronolite install
« Reply #3 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

hellstern

Kronolite install
« Reply #4 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

Offline gregswallow

  • *
  • 651
  • +1/-0
Kronolite install
« Reply #5 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.

hellstern

Kronolite install
« Reply #6 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

Offline gregswallow

  • *
  • 651
  • +1/-0
Kronolite install
« Reply #7 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/

hellstern

Kronolite install
« Reply #8 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

Offline gregswallow

  • *
  • 651
  • +1/-0
Kronolite install
« Reply #9 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.

hellstern

Kronolite install
« Reply #10 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

Offline gregswallow

  • *
  • 651
  • +1/-0
Kronolite install
« Reply #11 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.

Offline brianr

  • *
  • 988
  • +2/-0
Kronolite install
« Reply #12 on: August 31, 2005, 08:46:18 AM »
Can I vote for the WAP access to email?

Cheers

Brian
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

hellstern

Kronolite install
« Reply #13 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

hellstern

Ekstra question
« Reply #14 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