upgrading from 1.8.8.4 to 1.9

Moderator: Coursenligne

upgrading from 1.8.8.4 to 1.9

Postby sspicer » Wed Aug 22, 2012 1:09 pm

Hi,

I followed the upgrade instructions by copying the new files over the old. ran setup. selected update. but the installation sticks on the last page saying 'please wait'.
any ideas?

Sam
sspicer
 
Posts: 7
Joined: Mon Jan 23, 2012 10:25 pm

Re: upgrading from 1.8.8.4 to 1.9

Postby jand » Fri Aug 24, 2012 7:49 pm

Idea: Start with a new install of 1.9 and copy course data.
jand
 
Posts: 31
Joined: Mon Jan 18, 2010 11:00 pm

Re: upgrading from 1.8.8.4 to 1.9

Postby sspicer » Fri Aug 24, 2012 8:26 pm

hi Jand,

thanks for the reply. just tried this and it now installs and advises it has installed correctly. but then upon trying to view the main page it loads a webpage with a 'unexpected server error'.
i can post screen shots if this would help?
sspicer
 
Posts: 7
Joined: Mon Jan 23, 2012 10:25 pm

Re: upgrading from 1.8.8.4 to 1.9

Postby fjandrade » Mon Sep 10, 2012 6:00 pm

I have had a lot of problems doing the upgrade.
In the directory $CHAMILOHOME/main/install there's an error_log archive that you should read carefully.

First of all I got a version problem with php, chamilo 1.9 needs php 5.3; then there was a module issue for a misconfiguration on the server over a php.ini archive and now I got problems with editing the courses so mi guess is that my migration isn't successful still.
fjandrade
 
Posts: 6
Joined: Mon Sep 10, 2012 5:52 pm

Re: upgrading from 1.8.8.4 to 1.9

Postby athenasoft » Sat Sep 15, 2012 4:13 pm

Also having issues upgrading from 1.8.8.4 to 1.9.0. I followed the instructions and I checked all prerequisites are OK. The new version is unusable after the upgrade.

Anybody does have a proven solution. yet?

Thanks!
athenasoft
 
Posts: 20
Joined: Fri Mar 19, 2010 1:42 pm

Re: upgrading from 1.8.8.4 to 1.9

Postby Coursenligne » Mon Sep 17, 2012 7:34 am

Yes!

And already given somewhere else, but I don't remember.

Here is my overcme (not the best, but working!)
-Insatll (new install no upgrade) 1.9.x
-from database, save (export using sql format) the 'user' table from the 1.8
-from database, table 'user' for 1.9.x, remove the 2 accounts (admin and John Doe)
- from database, import 'user' table you just saved in 1.9

At this point you have a brand new 1.9 version tha has ALL the user you had, with their password!

Now you have to export each course (from Maintenance in the course) from 1.8 and import them, then register your trainees.
I know it's not as easy as upgrading the 1.8, but it's efficient :)

Good luck
Coursenligne
 
Posts: 1258
Joined: Sat Apr 09, 2011 9:59 pm

Re: upgrading from 1.8.8.4 to 1.9

Postby athenasoft » Mon Sep 17, 2012 12:28 pm

Hi Coursenligne,

Thank you for taking the time to rewrite that.

However, I thing for me that solution is not a practical one. For one thing, all the customizations in the configurations will be lost and need to be redone. And for another thing, I'd have 53 courses to deal with... That is a ton of work!!

Now I wonder if the Chamilo developers team will come up with an upgrade from 1.8.8.4 that works. Maybe for the next 1.9 release? When would that be?

Thanks!
athenasoft
 
Posts: 20
Joined: Fri Mar 19, 2010 1:42 pm

Re: upgrading from 1.8.8.4 to 1.9

Postby Coursenligne » Mon Sep 17, 2012 2:03 pm

Next 1.9 should be very soon :)

Then, for upgrade, I really don't know, I did the overcome I mentionned because I couldn't get the upgrade working as I wished. I however didn't spend a long time for this....

Sorry I would have been pleased to give you a very easy and handy way to do this, I bet development team would have a look on it as they know some 1.8 platform are under production :)
Coursenligne
 
Posts: 1258
Joined: Sat Apr 09, 2011 9:59 pm

Re: upgrading from 1.8.8.4 to 1.9

Postby athenasoft » Mon Sep 17, 2012 2:19 pm

I'm in the process of following your recipe. I decided to give it a try!

First issue I encountered is the default encryption in 1.9 is sha1 while in 1.8 was md5, so you must make sure you pick md5 when installing 1.9, so the recovered passwords in the users table match.

As for your comment about *some* Chamilo 1.8 being in production, my understanding is *most* Chamilos out there in production are 1.8! So I really don't understand how come there is not an automatic, working upgrade.

Thanks!
athenasoft
 
Posts: 20
Joined: Fri Mar 19, 2010 1:42 pm

Re: upgrading from 1.8.8.4 to 1.9

Postby Coursenligne » Tue Sep 18, 2012 3:36 pm

For password recovery, I didn't mention it but this is true you have to have the same encryption. I do always use the same, that's the habit issue.. Sorry!

For upgrade, I didn't take the whole time to test and, as I couldn't do it easily (due to my specific environment), I did my overcome.

Why is not so simple the migration from 1.8 to 1.9 ? Indeed 1.8 works on multi-database way (even if you choosed to install it as mono-base), 1.9 is a true mono-base platform.

The SQL version can be different (even if not the case), meaning 1.8 could use some way to manage the database that is not done the same way due to newer SQL revision.

I think we could write a lot of pages about the differences that could explain why it's tricky to migrate from one system to the other, the most important one is the encryption method you are using :)

I found an acceptable overcome, the good news is that from 1.9.0, it's VERY easy to upgrade into 1.9.2. I hope 1.10 revision will be as well :)
Coursenligne
 
Posts: 1258
Joined: Sat Apr 09, 2011 9:59 pm

Next

Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest

upgrading from 1.8.8.4 to 1.9

Moderator: Coursenligne

upgrading from 1.8.8.4 to 1.9

Postby sspicer » Wed Aug 22, 2012 1:09 pm

Hi,

I followed the upgrade instructions by copying the new files over the old. ran setup. selected update. but the installation sticks on the last page saying 'please wait'.
any ideas?

Sam
sspicer
 
Posts: 7
Joined: Mon Jan 23, 2012 10:25 pm

Re: upgrading from 1.8.8.4 to 1.9

Postby jand » Fri Aug 24, 2012 7:49 pm

Idea: Start with a new install of 1.9 and copy course data.
jand
 
Posts: 31
Joined: Mon Jan 18, 2010 11:00 pm

Re: upgrading from 1.8.8.4 to 1.9

Postby sspicer » Fri Aug 24, 2012 8:26 pm

hi Jand,

thanks for the reply. just tried this and it now installs and advises it has installed correctly. but then upon trying to view the main page it loads a webpage with a 'unexpected server error'.
i can post screen shots if this would help?
sspicer
 
Posts: 7
Joined: Mon Jan 23, 2012 10:25 pm

Re: upgrading from 1.8.8.4 to 1.9

Postby fjandrade » Mon Sep 10, 2012 6:00 pm

I have had a lot of problems doing the upgrade.
In the directory $CHAMILOHOME/main/install there's an error_log archive that you should read carefully.

First of all I got a version problem with php, chamilo 1.9 needs php 5.3; then there was a module issue for a misconfiguration on the server over a php.ini archive and now I got problems with editing the courses so mi guess is that my migration isn't successful still.
fjandrade
 
Posts: 6
Joined: Mon Sep 10, 2012 5:52 pm

Re: upgrading from 1.8.8.4 to 1.9

Postby athenasoft » Sat Sep 15, 2012 4:13 pm

Also having issues upgrading from 1.8.8.4 to 1.9.0. I followed the instructions and I checked all prerequisites are OK. The new version is unusable after the upgrade.

Anybody does have a proven solution. yet?

Thanks!
athenasoft
 
Posts: 20
Joined: Fri Mar 19, 2010 1:42 pm

Re: upgrading from 1.8.8.4 to 1.9

Postby Coursenligne » Mon Sep 17, 2012 7:34 am

Yes!

And already given somewhere else, but I don't remember.

Here is my overcme (not the best, but working!)
-Insatll (new install no upgrade) 1.9.x
-from database, save (export using sql format) the 'user' table from the 1.8
-from database, table 'user' for 1.9.x, remove the 2 accounts (admin and John Doe)
- from database, import 'user' table you just saved in 1.9

At this point you have a brand new 1.9 version tha has ALL the user you had, with their password!

Now you have to export each course (from Maintenance in the course) from 1.8 and import them, then register your trainees.
I know it's not as easy as upgrading the 1.8, but it's efficient :)

Good luck
Coursenligne
 
Posts: 1258
Joined: Sat Apr 09, 2011 9:59 pm

Re: upgrading from 1.8.8.4 to 1.9

Postby athenasoft » Mon Sep 17, 2012 12:28 pm

Hi Coursenligne,

Thank you for taking the time to rewrite that.

However, I thing for me that solution is not a practical one. For one thing, all the customizations in the configurations will be lost and need to be redone. And for another thing, I'd have 53 courses to deal with... That is a ton of work!!

Now I wonder if the Chamilo developers team will come up with an upgrade from 1.8.8.4 that works. Maybe for the next 1.9 release? When would that be?

Thanks!
athenasoft
 
Posts: 20
Joined: Fri Mar 19, 2010 1:42 pm

Re: upgrading from 1.8.8.4 to 1.9

Postby Coursenligne » Mon Sep 17, 2012 2:03 pm

Next 1.9 should be very soon :)

Then, for upgrade, I really don't know, I did the overcome I mentionned because I couldn't get the upgrade working as I wished. I however didn't spend a long time for this....

Sorry I would have been pleased to give you a very easy and handy way to do this, I bet development team would have a look on it as they know some 1.8 platform are under production :)
Coursenligne
 
Posts: 1258
Joined: Sat Apr 09, 2011 9:59 pm

Re: upgrading from 1.8.8.4 to 1.9

Postby athenasoft » Mon Sep 17, 2012 2:19 pm

I'm in the process of following your recipe. I decided to give it a try!

First issue I encountered is the default encryption in 1.9 is sha1 while in 1.8 was md5, so you must make sure you pick md5 when installing 1.9, so the recovered passwords in the users table match.

As for your comment about *some* Chamilo 1.8 being in production, my understanding is *most* Chamilos out there in production are 1.8! So I really don't understand how come there is not an automatic, working upgrade.

Thanks!
athenasoft
 
Posts: 20
Joined: Fri Mar 19, 2010 1:42 pm

Re: upgrading from 1.8.8.4 to 1.9

Postby Coursenligne » Tue Sep 18, 2012 3:36 pm

For password recovery, I didn't mention it but this is true you have to have the same encryption. I do always use the same, that's the habit issue.. Sorry!

For upgrade, I didn't take the whole time to test and, as I couldn't do it easily (due to my specific environment), I did my overcome.

Why is not so simple the migration from 1.8 to 1.9 ? Indeed 1.8 works on multi-database way (even if you choosed to install it as mono-base), 1.9 is a true mono-base platform.

The SQL version can be different (even if not the case), meaning 1.8 could use some way to manage the database that is not done the same way due to newer SQL revision.

I think we could write a lot of pages about the differences that could explain why it's tricky to migrate from one system to the other, the most important one is the encryption method you are using :)

I found an acceptable overcome, the good news is that from 1.9.0, it's VERY easy to upgrade into 1.9.2. I hope 1.10 revision will be as well :)
Coursenligne
 
Posts: 1258
Joined: Sat Apr 09, 2011 9:59 pm

Next

Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest

Social network

Youtube

Subscribe to our newsletter

Leave us your e-mail in the box below, then make sure you approve the confirmation e-mail you will receive

 


 

Upcoming events