Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Upgrade from 2.2.6 to 3.7.2

migration

Hi there,

I am considering upgrading Gemini, so I am applying the upgrade first to a test.

I managed to install the Web Application & fully upgrade the Database. 

I can see the users, I can see the projects but I cannot see the issues.
If I go into one of the projects, all the counters are set to 0.

I tried figuring out what could be the issue but seems like I'm missing something.

Would you be so kind in pointing me in the right direction please?

Also, I'm doing this on a test database.  How possible is it to be able to then transfer all groups and permissions to the live database?  I would like to minimize downtime/inconveniences as much as possible, so it is important for me to set the permissions before hand.

Thanks.

BuZz
· 1
BuZz
Replies (8)
helpful
0
not helpful

Buzz,

How about a GotoMeeting next week to help you with this?

If you can do this, then send email to "support"!


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

Hi Harvey,

Thanks for your offer, but it seems I have got the hang of it and all migrated data is working.
However I only have one issue now, the permissions.

As it is well explained, user access rights & groups are not migrated to the new Gemini.  I have a test Gemini instance running now with a two-day old database backup of the live Gemini.  I now have to create the user mapping from scratch, however I would like this to be prepared before the actual upgrade, rather than upgrading, and then doing the access rights all over again.  Is it possible to migrate user access rights from a 3.7.2 to another 3.7.2 please?

Thanks.


BuZz
· 1
BuZz
helpful
0
not helpful

You can backup the security related tables and re-insert the data as all user ids will be the same after migration. So all you have to do is save your global and project groups (and memebrship) and the security scheme(s).


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Could you explain this further please?

Thanks.


BuZz
· 1
BuZz
helpful
0
not helpful

For example, backup the groups tables:

select * into bkgeminiglobalgroups from geminiglobalgroups
select * into bk
geminiglobalgroupmembership from geminiglobalgroupmembership
select * into bkgeminiprojectgroups from geminiprojectgroups
select * into bk
geminiprojectgroupmembership from geminiprojectgroupmembership

After the upgrade truncate those tables:

delete from geminiglobalgroupmembership
delete from gemini
globalgroups
delete from geminiprojectgroupmembership
delete from gemini
projectgroups

Insert the data:
SET IDENTITYINSERT geminiglobalgroups ON
INSERT INTO geminiglobalgroups(globalgroupid, globalgroupname, globalgroupdesc, globalgroupsystem)
SELECT globalgroupid, globalgroupname, globalgroupdesc, globalgroupsystem FROM bk
geminiglobalgroups
SET IDENTITY
INSERT geminiglobalgroups OFF

SET IDENTITY
INSERT geminiprojectgroups ON
INSERT INTO gemini
projectgroups(projectgroupid, projectgroupname, projectgroupdesc)
SELECT projectgroupid, projectgroupname, projectgroupdesc FROM bkgeminiprojectgroups
SET IDENTITYINSERT geminiprojectgroups OFF

INSERT INTO geminiglobalgroupmembership(globalgroupid, userid)
SELECT globalgroupid, userid FROM bk
geminiglobalgroupmembership

INSERT INTO gemini
projectgroupmembership(projectgroupid, projectid, userid)
SELECT projectgroupid, projectid, userid FROM bkgeminiprojectgroupmembership


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I will try it out and get back to you.  Many thanks.


BuZz
· 1
BuZz
helpful
0
not helpful

Hi again,

I have managed to migrate the data with the code you have provided, however I also added globalsecurityschemes & globalsecurityschemeroles to successfully transfer all applied permissions.

One question left, I am quite sure I have retained the tables from 2.2.6.  Is it possible to drop all tables that are not used by 3.7.2 please?


BuZz
· 1
BuZz
helpful
0
not helpful

Sure, the Upgradev3-0-Step3Optional.sql script is for that purpose.


Mark Wing
· 9108
Mark Wing