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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Upgrade from CiviCRM 2.1 Alpha 2 to Beta 4
Pages: [1]

Author Topic: Upgrade from CiviCRM 2.1 Alpha 2 to Beta 4  (Read 4308 times)

zzolo.ctc

  • Guest
Upgrade from CiviCRM 2.1 Alpha 2 to Beta 4
September 12, 2008, 09:20:40 am
Upgrade from CiviCRM 2.1 Alpha 2 to Beta 4 (wtih Drupal 6.4):

  • Removed old CiviCRM code at /path/to/modules/civicrm/
  • Put new code in the same place at /path/to/modules/civicrm/
  • Went to: http://mysite.org/path/to/modules/civicrm/install/upgrade.php

Then received this error:
Code: [Select]
Could not find valid configuration dir, best guess: /srv/gfb/htdocs/test/sites/default/modules/civicrm/../../sites

If this is a standalone installation (i.e. not a Drupal or Joomla module) and you'd like to re-initialize it, click here.

Looking into the code, it looks like there wouldn't be any upgrading going from Alpha to Beta, but when I go to: http://mysite.org/civicrm , I get the following error:
Code: [Select]
Fatal error: Uncaught exception 'Exception' with message 'Please make sure the IDS/tmp folder is writable' in /srv/gfb/htdocs/test/sites/default/modules/civicrm/packages/IDS/Monitor.php:187 Stack trace: #0 /srv/gfb/htdocs/test/sites/default/modules/civicrm/CRM/Core/IDS.php(113): IDS_Monitor->__construct(Array, Object(IDS_Init)) #1 /srv/gfb/htdocs/test/sites/default/modules/civicrm/CRM/Core/Invoke.php(74): CRM_Core_IDS->check(Array) #2 /srv/gfb/htdocs/test/sites/default/modules/civicrm/drupal/civicrm.module(315): CRM_Core_Invoke::invoke(Array) #3 [internal function]: civicrm_invoke() #4 /srv/gfb/htdocs/test/includes/menu.inc(346): call_user_func_array('civicrm_invoke', Array) #5 /srv/gfb/htdocs/test/index.php(18): menu_execute_active_handler() #6 {main} thrown in /srv/gfb/htdocs/test/sites/default/modules/civicrm/packages/IDS/Monitor.php on line 187

I tried various things to get this going, but to no avail.

Is there documentation on how to upgrade 2.1 betas/alphas that I may have missed.  Thanks for the help.

--
Zzolo

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Upgrade from CiviCRM 2.1 Alpha 2 to Beta 4
September 12, 2008, 09:24:59 am
Zzolo:

Currently we don't support alpha to beta upgrade, so i guess you will have to do fresh installation of CiviCRM v2.1 beta4.

Kurund
Found this reply helpful? Support CiviCRM

zzolo.ctc

  • Guest
Re: Upgrade from CiviCRM 2.1 Alpha 2 to Beta 4
September 12, 2008, 09:34:34 am
Understandable.

Unfortunately I had done a fair amount of work setting up Custom Data and Profiles and I would not like to have re-do that (as it is very time consuming).  Any suggestions on the best way to do this.

Fresh install, then restore old db over the fresh one?

Thanks,
Zzolo

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: Upgrade from CiviCRM 2.1 Alpha 2 to Beta 4
September 12, 2008, 10:34:07 am

i would do the foll:

a. dump civicrm_custom_* and civicrm_uf_{group,field} tables. Not sure if u used select/checkbox/radio butons, if so it becomes much more complicated

b. do a new install

c. load the old custom/uf data

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

zzolo.ctc

  • Guest
Re: Upgrade from CiviCRM 2.1 Alpha 2 to Beta 4
September 12, 2008, 10:46:16 am
Thanks.

A few questions:

1) Have there been schema changes between these versions?  If so, is there a way I can see those changes.
2) I do have a number of selects and yes/no fields.

--
Zzolo

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: Upgrade from CiviCRM 2.1 Alpha 2 to Beta 4
September 12, 2008, 11:34:23 am

1. yes there have been changes. we do not keep track of the changes, u can use fisheye: http://fisheye.civicrm.org/browse/CiviCRM-2-1 and try to reconstruct the changes (there have been changes both to data and schema, so a bit non-trivial)

2. That complicates things and you'll also have to migrate the specific option group/value records. i dont know of an easy way to do so. Thats the bad news :(

the good news is most likely we will build an xml import/export tool for the custom / profile groups/fields with the CiviCase consulting engagement. So will be easier in 2.2

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

zzolo.ctc

  • Guest
Re: Upgrade from CiviCRM 2.1 Alpha 2 to Beta 4
September 12, 2008, 12:22:39 pm
This is unfortunate but mostly by fault for doing so much work on an alpha.

So, my next questions, is there a clear path from the 2.1beta4 to the final release of 2.1?  Meaning is it worth putting work on the 2.1beta4 because there wont be schema changes or a clear path to upgrade?

I don't think there needs to be, just curious for the project I am working on.

Thanks for all the great work.

--
Zzolo

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: Upgrade from CiviCRM 2.1 Alpha 2 to Beta 4
September 12, 2008, 12:34:54 pm

our unwritten policy is: no schema changes after beta, unless it is  needed to fix a critical bug. If we do make a schema change we will provide a sql snippet to upgrade the beta releases that folks can apply manually

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

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: Upgrade from CiviCRM 2.1 Alpha 2 to Beta 4
September 15, 2008, 11:30:09 am

I just finished writing the code to import/export via XML custom group/field definitions in trunk. The code is here:

http://fisheye.civicrm.org/browse/CiviCRM/trunk/bin/ImportExport

Have not done any exhaustive testing, but does seem to have the right structure and framework. I'll add profile support later today

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Upgrade from CiviCRM 2.1 Alpha 2 to Beta 4

This forum was archived on 2017-11-26.