Koozali.org: home of the SME Server

Problems after instal Zarafa

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Problems after instal Zarafa
« Reply #15 on: November 25, 2009, 10:53:53 PM »
Thanks, that did it. :D
Posted a bug in buggzilla

please post here the reference, thank you

Offline Gert

  • *****
  • 208
  • +0/-0
    • http://www.huge.co.za
Re: Problems after instal Zarafa
« Reply #16 on: November 26, 2009, 06:02:39 AM »
Do you get the same error? Did you remove the file as per my instructions?

Offline EdelingF

  • *****
  • 215
  • +0/-0
Re: Problems after instal Zarafa
« Reply #17 on: November 26, 2009, 08:24:00 AM »
Yes I did.
I was able to see Zarafa in the server manager, but I couldn't add users and the configuration-tab was blank.

This is the reference in BugZilla from the first install: http://bugs.contribs.org/show_bug.cgi?id=5601
...

Offline Gert

  • *****
  • 208
  • +0/-0
    • http://www.huge.co.za
Re: Problems after instal Zarafa
« Reply #18 on: November 26, 2009, 11:20:37 PM »
Ok, here's what you need to do:

Uninstall and remove everything so we can start from scratch.

Download v 6.30.4 here: http://download.zarafa.com/zarafa/drupal/ondemand.php?version=6.30.4&distro=rhel&distroversion=4&arch=i386&type=1
(DO NOT USE 6.30.5, its not working on SME Server (yet?))

Copy the file to your server and extract: tar -xzvf zarafa-6.30.4-rhel4-i386.tar.gz

install all the rpms with:
yum localinstall *.rpm

Enable InnoDB engine with:
db configuration setprop mysqld InnoDB enabled
expand-template /etc/my.cnf
sv t /service/mysqld

download this file: http://netkeeper.huge.co.za/smeserver-zarafa-0.9-4a.noarch.rpm
and install:
rpm -Uvh smeserver-zarafa-0.9-4a.noarch.rpm

Then do:
/etc/e-smith/events/actions/zarafa-install
signal-event post-upgrade; signal-event reboot

and zarafa is installed!

to create a new user do:
/etc/e-smith/events/actions/zarafa-create-user

use the zarafa-admin command to list and manage users.

Let me know if this worked for you, im sure it will.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Problems after instal Zarafa
« Reply #19 on: November 26, 2009, 11:48:50 PM »
Quote
Then do:
/etc/e-smith/events/actions/zarafa-install
signal-event post-upgrade; signal-event reboot

and zarafa is installed!

to create a new user do:
/etc/e-smith/events/actions/zarafa-create-user

you forgot to say that user will be prompted to choose the plugin (unix, db..) and that the last command is valid only if you choose db plugin ;-)

my 2c

Offline Gert

  • *****
  • 208
  • +0/-0
    • http://www.huge.co.za
Re: Problems after instal Zarafa
« Reply #20 on: November 27, 2009, 12:02:07 AM »
Nope, smeserver-zarafa-0.9-4a.noarch.rpm will not prompt you. it chooses db by default. ;-)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Problems after instal Zarafa
« Reply #21 on: November 27, 2009, 12:12:57 AM »
ok

is it in smetest repo?

Offline Gert

  • *****
  • 208
  • +0/-0
    • http://www.huge.co.za
Re: Problems after instal Zarafa
« Reply #22 on: November 27, 2009, 06:23:25 AM »
smeserver-zarafa-0.9-4a.noarch.rpm is the older version so I don't think it is anymore, but it is working perfectly.

Offline EdelingF

  • *****
  • 215
  • +0/-0
Re: Problems after instal Zarafa
« Reply #23 on: November 27, 2009, 11:10:08 PM »
YES!
That did it and no errors. Made a test-user and it runs ok.
Thanks!

Is there a way to import the existing SME-users?
"db accounts setprop $USERNAME zarafa enabled" doesn't seem to work
...

Offline johnp

  • *****
  • 312
  • +0/-0
Re: Problems after instal Zarafa
« Reply #24 on: November 28, 2009, 08:21:30 AM »
I think your problem is with the webmail alias. I personally don't think Zarafa should try to use it. You may try to make a custom template without the webmail alias to see if it works for you.

Thats how I'm running my production server to support both Horde and Zarafa. Surely, YMMV

Offline Gert

  • *****
  • 208
  • +0/-0
    • http://www.huge.co.za
Re: Problems after instal Zarafa
« Reply #25 on: November 29, 2009, 04:46:42 AM »
It is the webmail alias that causes a problem. It could have been resolved by disabling webmail in Server Manager (Real stupid). I agree that Zarafa should not use it.

To migrate a user to Zarafa install http://wiki.contribs.org/Imapsync

I have created http://netkeeper.huge.co.za/migrate.sh by using the example at the bottom of the Imapsync page
Create the zarafa user with the same password as the sme user then do
./sh migrate $USERNAME $PASSWORD

Offline girkers

  • *
  • 296
  • +0/-0
    • gk computer services
Re: Problems after instal Zarafa
« Reply #26 on: December 15, 2009, 10:34:11 AM »
To migrate a user to Zarafa install http://wiki.contribs.org/Imapsync

I have created http://netkeeper.huge.co.za/migrate.sh by using the example at the bottom of the Imapsync page
Create the zarafa user with the same password as the sme user then do
./sh migrate $USERNAME $PASSWORD

Perhaps you could add this to the wiki as it would be a great help to most people.

Offline Gert

  • *****
  • 208
  • +0/-0
    • http://www.huge.co.za
Re: Problems after instal Zarafa
« Reply #27 on: December 15, 2009, 12:19:21 PM »
You are welcome to add it to the wiki. I have moved the file to a permanent location on my webserver.

http://dl.huge.co.za/migrate.sh

Offline shawnbishop

  • *****
  • 298
  • +0/-0
Re: Problems after instal Zarafa
« Reply #28 on: October 28, 2010, 02:46:13 PM »
This should be added to the wiki..great script

Offline Gert

  • *****
  • 208
  • +0/-0
    • http://www.huge.co.za
Re: Problems after instal Zarafa
« Reply #29 on: October 28, 2010, 05:04:56 PM »


The script should be altered for the new (current) version of zarafa. the scripts assumes zarafa's imap server to run on port 144 as in the past but zarafa's default imap port is now 8143. Just edit the dile and change 144 to 8143 and it will word with the current version of zarafa.