Issue after upgrade

Moderator: Coursenligne

Issue after upgrade

Postby pascal@procompetence.ca » Sun Feb 05, 2012 5:32 pm

Hi,

We install upgrade our chamilio platform to the 1.8.8.4 version. During the upgrade process i have an issue to acces the database. I click next cause all the information were correct and now i have some issue with some pages that need to access the database.

How can i re-run the setup? Cause when i try to run it again i got this message : The system has already been installed. In order its content to be protected you are not allowed to start the installation script again.

I removed the install folder and copy it again and i got the same message.

Thanks for your help!
pascal@procompetence.ca
 
Posts: 8
Joined: Sun Feb 05, 2012 5:27 pm

Re: Issue after upgrade

Postby Coursenligne » Mon Feb 06, 2012 1:46 pm

Several answers here...
As you already had a previous version, are you sure about which database you accessed to (Prefix can be a clue).
Check your database, you may have use a different prefix which could explain the issue. Note this is not the ony source of issue...
If you do want to go from scratch, I imagine you kept the old Chamilo version as it was so you still can revert to previous step (initial environment/configuration).
If so, you then can gently remove the directory of the newer chamilo version (assuming you didn't put it in the same directory as previous revision).
After doing this, your chamilo may accept to reinstall.

An drastic overcome is to :
1- Save your entier databases
2- create a new database (e.g. cham1884)
3- install the new Chamilo version addressing cham1884 (or the name of the new database).
Note that you don't go for an update in such circumstances, but you can then export all your content ad import it in the new version, and do the same with user.

Depending on the database architecture, you may even be able to copy some info from older to newer version.

Last but not least, please, if you have another way to do it, please feel free to share it with us.
Coursenligne
 
Posts: 1300
Joined: Sat Apr 09, 2011 9:59 pm

Re: Issue after upgrade

Postby pascal@procompetence.ca » Wed Feb 08, 2012 1:05 am

Thanks for your answer Coursenligne, i create a new database and everything is working except my HotPotatoes quiz. When a user (not admin but student) want to open an hotpotatoes quiz, i have a message that said Document Portégé. (Protected Document) I attach a screen shot of the issue. If i run the quiz with an admin account everything works well.

Thanks again for your help.
Attachments
Screen Shot 2012-02-07 at 8.04.35 PM.png
Screen Shot 2012-02-07 at 8.04.35 PM.png (25.66 KiB) Viewed 919 times
pascal@procompetence.ca
 
Posts: 8
Joined: Sun Feb 05, 2012 5:27 pm

Re: Issue after upgrade

Postby Coursenligne » Wed Feb 08, 2012 11:29 am

OK, not to do all the time, but only as a tes. Document protégé sounds to me that the student doesn't have enough rights.
As you alreday knows, each course is created as a "unique database". If you go to the document folder, you may want (again as a test only purpose) to perfor a chmod -R.
A LOT OF CARE IS NEEDED!!! You must onlly do that from the "Root" of your document (may be a quiz if comes from HP), as you give full rights (even deleting) to all!

From this point you'll see if you have access. Again do this with a lot of care as you can gige full rights to everybody on a place you don't want to.
Coursenligne
 
Posts: 1300
Joined: Sat Apr 09, 2011 9:59 pm

Re: Issue after upgrade

Postby pascal@procompetence.ca » Wed Feb 08, 2012 12:12 pm

Hi Coursenligne,

I try the 777 (rwx) rights on the course folder and documents. And i had the same issue. Do you think i need to try with the chmod command ?

Thanks!
pascal@procompetence.ca
 
Posts: 8
Joined: Sun Feb 05, 2012 5:27 pm

Re: Issue after upgrade

Postby Coursenligne » Wed Feb 08, 2012 1:09 pm

Well, 777 is from the application itself. I would do it (assuming you are under Linux/Unix OS) manually to ensure the rights are applies. if you are under Windows, you may want to give full rights (contrôle total) to the course directory.
Coursenligne
 
Posts: 1300
Joined: Sat Apr 09, 2011 9:59 pm

Re: Issue after upgrade

Postby adeschenes » Thu Feb 09, 2012 12:29 pm

Hi gang,

In chmod, you have to distinguish two parameters, one for Folders and subfolders (777, 755 or 750) and one for Files (666, 655, 644)...

May be you will need to change both :!:

Good luck,

Alain
adeschenes
 
Posts: 452
Joined: Fri Mar 05, 2010 6:33 pm
Location: Québec, Canada

Re: Issue after upgrade

Postby pascal@procompetence.ca » Sun Feb 12, 2012 3:56 pm

Hi All,

We found the issue, in the /main/courses folder there is a file .htaccess that is not supposed to be there. I rename the file and all my quiz start to works!

Thanks all for your answer.

Have a nice day!
pascal@procompetence.ca
 
Posts: 8
Joined: Sun Feb 05, 2012 5:27 pm


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest

Issue after upgrade

Moderator: Coursenligne

Issue after upgrade

Postby pascal@procompetence.ca » Sun Feb 05, 2012 5:32 pm

Hi,

We install upgrade our chamilio platform to the 1.8.8.4 version. During the upgrade process i have an issue to acces the database. I click next cause all the information were correct and now i have some issue with some pages that need to access the database.

How can i re-run the setup? Cause when i try to run it again i got this message : The system has already been installed. In order its content to be protected you are not allowed to start the installation script again.

I removed the install folder and copy it again and i got the same message.

Thanks for your help!
pascal@procompetence.ca
 
Posts: 8
Joined: Sun Feb 05, 2012 5:27 pm

Re: Issue after upgrade

Postby Coursenligne » Mon Feb 06, 2012 1:46 pm

Several answers here...
As you already had a previous version, are you sure about which database you accessed to (Prefix can be a clue).
Check your database, you may have use a different prefix which could explain the issue. Note this is not the ony source of issue...
If you do want to go from scratch, I imagine you kept the old Chamilo version as it was so you still can revert to previous step (initial environment/configuration).
If so, you then can gently remove the directory of the newer chamilo version (assuming you didn't put it in the same directory as previous revision).
After doing this, your chamilo may accept to reinstall.

An drastic overcome is to :
1- Save your entier databases
2- create a new database (e.g. cham1884)
3- install the new Chamilo version addressing cham1884 (or the name of the new database).
Note that you don't go for an update in such circumstances, but you can then export all your content ad import it in the new version, and do the same with user.

Depending on the database architecture, you may even be able to copy some info from older to newer version.

Last but not least, please, if you have another way to do it, please feel free to share it with us.
Coursenligne
 
Posts: 1300
Joined: Sat Apr 09, 2011 9:59 pm

Re: Issue after upgrade

Postby pascal@procompetence.ca » Wed Feb 08, 2012 1:05 am

Thanks for your answer Coursenligne, i create a new database and everything is working except my HotPotatoes quiz. When a user (not admin but student) want to open an hotpotatoes quiz, i have a message that said Document Portégé. (Protected Document) I attach a screen shot of the issue. If i run the quiz with an admin account everything works well.

Thanks again for your help.
Attachments
Screen Shot 2012-02-07 at 8.04.35 PM.png
Screen Shot 2012-02-07 at 8.04.35 PM.png (25.66 KiB) Viewed 919 times
pascal@procompetence.ca
 
Posts: 8
Joined: Sun Feb 05, 2012 5:27 pm

Re: Issue after upgrade

Postby Coursenligne » Wed Feb 08, 2012 11:29 am

OK, not to do all the time, but only as a tes. Document protégé sounds to me that the student doesn't have enough rights.
As you alreday knows, each course is created as a "unique database". If you go to the document folder, you may want (again as a test only purpose) to perfor a chmod -R.
A LOT OF CARE IS NEEDED!!! You must onlly do that from the "Root" of your document (may be a quiz if comes from HP), as you give full rights (even deleting) to all!

From this point you'll see if you have access. Again do this with a lot of care as you can gige full rights to everybody on a place you don't want to.
Coursenligne
 
Posts: 1300
Joined: Sat Apr 09, 2011 9:59 pm

Re: Issue after upgrade

Postby pascal@procompetence.ca » Wed Feb 08, 2012 12:12 pm

Hi Coursenligne,

I try the 777 (rwx) rights on the course folder and documents. And i had the same issue. Do you think i need to try with the chmod command ?

Thanks!
pascal@procompetence.ca
 
Posts: 8
Joined: Sun Feb 05, 2012 5:27 pm

Re: Issue after upgrade

Postby Coursenligne » Wed Feb 08, 2012 1:09 pm

Well, 777 is from the application itself. I would do it (assuming you are under Linux/Unix OS) manually to ensure the rights are applies. if you are under Windows, you may want to give full rights (contrôle total) to the course directory.
Coursenligne
 
Posts: 1300
Joined: Sat Apr 09, 2011 9:59 pm

Re: Issue after upgrade

Postby adeschenes » Thu Feb 09, 2012 12:29 pm

Hi gang,

In chmod, you have to distinguish two parameters, one for Folders and subfolders (777, 755 or 750) and one for Files (666, 655, 644)...

May be you will need to change both :!:

Good luck,

Alain
adeschenes
 
Posts: 452
Joined: Fri Mar 05, 2010 6:33 pm
Location: Québec, Canada

Re: Issue after upgrade

Postby pascal@procompetence.ca » Sun Feb 12, 2012 3:56 pm

Hi All,

We found the issue, in the /main/courses folder there is a file .htaccess that is not supposed to be there. I rename the file and all my quiz start to works!

Thanks all for your answer.

Have a nice day!
pascal@procompetence.ca
 
Posts: 8
Joined: Sun Feb 05, 2012 5:27 pm


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