Koozali.org formerly Contribs.org

eGroupware upgrade to 1.4

Offline smiit

eGroupware upgrade to 1.4
« Reply #45 on: July 26, 2007, 09:22:09 PM »
Well, after a couple of failed installs I managed to solve things by uninstalling, manually deleting the MYSQL egwuser left behind via phpmyadmin (not sure if it's a bug in the install process or my server setup) then re-installing once more.

Everything went clean this time and I was able to follow the rest of the instructions and log in my SME users as noted.

Cheers!  :D

eGroupware upgrade to 1.4
« Reply #46 on: July 27, 2007, 07:05:10 AM »
Anybody had made work the sitemgr? on the default site?

I want to make it work but i made it work in a Iframe, but i want to make it on the main server.

Offline jester

  • *
  • 496
Re: eGroupware upgrade to 1.4
« Reply #47 on: October 11, 2007, 03:29:33 PM »
There is an update for eGroupware (1.4.002) with quite some security and bug fixes. Has anyone performed an successful update that could give some pointers?!


Thanx!

Re: eGroupware upgrade to 1.4
« Reply #48 on: October 18, 2007, 03:10:57 PM »
HI all, I have an update problem which may be a bug. I tried to put it in the bug tracker but egroupware is not listed as a contrib component so I am asking for help here.  An update from 1.4-8 to 1.4-9 blew away the /opt/egroupware folder totally. (Running SME7.2 with latest updates)
This is what I did:

I installed egroupware 1.4-8 per instructions in the How To without any trouble.  I configured it and was using it without trouble.  Then I saw that the rpm was updated to 1.4-9 in the How To without any mentioned caveats so I decided to upgrade. 

Update steps:
downloaded the smeserver-egroupware1.4-9.noarch.rpm
at a command line typed "yum localinstall smeserver-egroupware1.4-9.noarch.rpm"
Yum checked things out and notified that 1 update would be applied.
I answered yes and the update went through.
I went to https://"myserver.mydomain"/egroupware and got a Forbidden access page.
I checked /opt/egroupware for its existence and discovered the /opt directory was EMPTY.
I further checked to see if it was somewhere else after running an updatedb and found it nowhere on the server!

What did I do wrong?  Surely the simple yum upgrade shouldn't blow away the whole app.  How is one to upgrade an existing installation on a production server if this happens?  A bit risky don't you think?
...

Re: eGroupware upgrade to 1.4
« Reply #49 on: October 19, 2007, 01:17:49 PM »
The RPM install is not for update...

Re: eGroupware upgrade to 1.4
« Reply #50 on: October 19, 2007, 03:21:17 PM »
I changed back to 1.4.001 because 1.4.002 has problems (duplicate entries) with syncml.


Offline jester

  • *
  • 496
Re: eGroupware upgrade to 1.4
« Reply #51 on: October 19, 2007, 04:13:45 PM »
Hmmm.... duplicates should be fixed according to the changelog. I can't seem to access the global categories in the admin panel though.

Re: eGroupware upgrade to 1.4
« Reply #52 on: October 19, 2007, 04:18:16 PM »
http://www.nabble.com/SyncML-Duplicates-on-Phone-tf4471288s3741.html

Seems to be fixed in trunk though. But I want to stay on stable, so I downgraded.
« Last Edit: October 19, 2007, 04:19:50 PM by kb-ohnemus »

Re: eGroupware upgrade to 1.4
« Reply #53 on: October 19, 2007, 05:11:39 PM »
The RPM install is not for update...

OK  :P  But shouldn't that be explained in the HOW TO?  Also, How does one update an existing install then? I am clueless.

Blowing away your current install is fairly serious and people should be warned/notified how to update.
...

Re: eGroupware upgrade to 1.4
« Reply #54 on: October 19, 2007, 05:22:11 PM »
OK  :P  But shouldn't that be explained in the HOW TO?  Also, How does one update an existing install then? I am clueless.

Blowing away your current install is fairly serious and people should be warned/notified how to update.
I agree 100%!!! It must be documented. So please report your succes howto here and once it's tested by others, update the Wiki :wink:
With this work/help, we can also improve the RPM... So help us to help you!

Offline raem

  • *
  • 3,972
Re: eGroupware upgrade to 1.4
« Reply #55 on: October 19, 2007, 06:39:57 PM »
uniqsys

Quote
But shouldn't that be explained in the HOW TO?  Also, How does one update an existing install then? I am clueless.

Go to the egroupware website and read their upgrade instructions.
http://www.egroupware.org/index.php?page_name=wiki&wikipage=ManualSetupUpdate

Please summarise them based on your experience upgrading (as applicable to sme server), then add them to the Wiki Contrib
http://wiki.contribs.org/Egroupware

« Last Edit: October 19, 2007, 06:43:50 PM by RayMitchell »
...

Offline raem

  • *
  • 3,972
Re: eGroupware upgrade to 1.4
« Reply #56 on: October 19, 2007, 06:47:23 PM »
uniqsys

Quote
An update from 1.4-8 to 1.4-9 blew away the /opt/egroupware folder totally.

By the way, you should ALWAYS do a backup before doing any upgrades. You can do a limited backup by copying the install folder and dumping or copying the associated mysql database.
...

Re: eGroupware upgrade to 1.4
« Reply #57 on: October 20, 2007, 03:28:29 PM »
Hi,


I'm working on a new RPM which will allow to update an old installation. I already found and corrected a few bugs.
If you have any suggestions before I build the final RPM, this is the right time to ask some new features!

A beta RPM is available here: http://mirror.contribs.org/smeserver/contribs/sgomez/contribs/egroupware/smeserver-egroupware-1.4.002-1.noarch.rpm
Because of a bug in the old RPM, YOU MUST UNINSTALL IT BEFORE WITH THE FOLLOWING COMMAND:
Code: [Select]
# rpm -e smeserver-egroupware --noscriptsThis will prevent the old RPM from deleting eGW installation files, MySQL DataBase and DB entries! 8-)
Then install with:
Code: [Select]
# rpm -Uvh smeserver-egroupware-1.4.002-1.noarch.rpm
Please make a backup before trying.
A backup will also be done at the install stage if the folder /opt/egroupware can be found. It will backup Files+MySQL DB in /opt/eGW_RPM_BACKUP
With this new version, the uninstall stage will not drop files and MySQL DataBase anymore. A script is provided to completely remove eGW.
Please remind this version CANNOT update eGW v1.2.x instalaltions. This is for v1.4.x only!



Please reports if it works/doesn't work!
Thanks
Sylvain

Re: eGroupware upgrade to 1.4
« Reply #58 on: October 21, 2007, 03:14:00 PM »
Hi again!

New RPM available, please read http://wiki.contribs.org/Egroupware to know how to update/upgrade from previous RPM version.
A few more bugs were fixed, update and upgrade are tested from different old RPM version. All should be OK.

Regards,
Sylvain

Re: eGroupware upgrade to 1.4
« Reply #59 on: October 22, 2007, 03:37:35 PM »
Hi again!

New RPM available, please read http://wiki.contribs.org/Egroupware to know how to update/upgrade from previous RPM version.
A few more bugs were fixed, update and upgrade are tested from different old RPM version. All should be OK.

Regards,
Sylvain

Thanks.  You are so quick I didn't get a chance to follow Ray Mitchell's test strategy.  I am glad this is improved.  Since I have 1.4-9 installed now, I will try your instructions and upgrade to 1.4.002.  I read them and am a little confused about your statement
Quote
If you were upgrading eGroupWare version (i.e.1.4.001 to 1.4.002) you must finish the upgrade at the Config-Admin Setup with your existing creditentials. Then click on upgrade..
but when I figure it out I will attempt to clarify the wiki.  Thanks for all your great work.

PS  If I have to, I will roll back to 1.4-8 to test this.  Thanks again.
...