CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Joomla upgrades simplified
Pages: [1]

Author Topic: Joomla upgrades simplified  (Read 1215 times)

rogerco

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 5
Joomla upgrades simplified
August 10, 2009, 07:30:59 am
As a matter of interest is there a reason why point upgrades (eg 2.2.7 to 2.2.8) which do not involve database schema changes require a complete uninstall and reinstall of the full package.

Wouldn't it be far simpler to have an upgrade package which just contained the changed files rather than overwriting everything?

Would mean we could have a much smaller install zip file and might be able to use the standard component installation.

Also looking in the package why do we end up with a second copy of TinyMCE when this is already included in Joomla. With a 12Mb zip file which has to be ftp'd up and then expanded to a 40Mb temp folder before the component installation makes a fresh copy of it in its final resting place you end up needing over 90Mb free disk space just to install. 'twould be neat if the install routine ended up by deleting the temporary unpackage (or at least giving you a message so that you don't forget). There seems to be quite a lot of possibly unnecessary stuff in there (is the joomla folder needed for drupal and vice versa?)

Guess who just ran out of disk space having forgotten to delete the unwanted stuff  :-[ :-[ :-[ :-[

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Joomla upgrades simplified
August 10, 2009, 01:05:27 pm

primarily because we could not get the upgrade code to work with the joomla installer (and yes, the joomla core devs also looked at the issue and could not debug it, seemed to be some wierd issue at least with macosx)

the unnecessary folders are relatively small compared to the size of the package. the savings will be minimal. However if you feel strongly about this, please contribute a tested patch to the distribution scripts (in the distmaker folder under svn)

since we ship civicrm for joomla/drupal/standalone, we ship a complete package and hence a copy of tinymce and fckeditor. its not the greatest of solutions, but it works and simplifies things for us

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

rogerco

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 5
Re: Joomla upgrades simplified
August 11, 2009, 02:55:20 am
Ok, that makes perfect sense. Probably not worth the effort now for the 2.2.x series but it would be good to fix it for 3.0.x and beyond so I'll have a play around at some point.

The 'component' I produced to control profile access worked fine as an upgrade to an existing installation - overwrites files and creates new ones as required. It also worked on macosx (mysql running on my laptop, not server version), so maybe the problem has gone away with a recent Joomla update.

Keeping it simple across D,J and standalone is good reason, but I do find it scary every time having to uninstall and reinstall to upgrade - seems to work though.

Cheers
RogerCO

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Joomla upgrades simplified

This forum was archived on 2017-11-26.