Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:upgrade [2019/04/03 16:37]
admin [3. Successfully Upgrade Check]
en:upgrade [2020/03/26 17:12] (current)
admin [3. Successfully Upgrade Check]
Line 1: Line 1:
 ===== Upgrade Guide ===== ===== Upgrade Guide =====
-Open eClass 3.7+Open eClass 3.8
  
 The new version of Open eClass retains backward compatibility (with previous versions). That is, you can upgrade an already installed platform from prior versions to the current one easily and quickly, following the upgrade instructions provided below. ​ The new version of Open eClass retains backward compatibility (with previous versions). That is, you can upgrade an already installed platform from prior versions to the current one easily and quickly, following the upgrade instructions provided below. ​
Line 6: Line 6:
   * Please ensure that during the platform'​s upgrade process there is no access to Open eClass courses by the platform'​s users and the platform'​s database is not accessible by anyone   * Please ensure that during the platform'​s upgrade process there is no access to Open eClass courses by the platform'​s users and the platform'​s database is not accessible by anyone
   * Backup platform'​s database.   * Backup platform'​s database.
-  * Also check the platform'​s version that is already installed in your server, by following the link '​Platform Identity'​ in the home page. In order to the upgrade process (which is described below) to be possible, the already installed platform should be either version >= 3.x. +  * Also check the platform'​s version that is already installed in your server, by following the link '​Platform Identity'​ in the home page. In order to the upgrade process (which is described below) to be possible, the already installed platform should be either version >= 3.8.
-  * Keep in mind that there is no support for upgrading from versions 2.x+
  
  
Line 19: Line 18:
 All operations presuppose you have the administrator'​s rights (root) on your computer. The following example presumes that the eClass platform is already installed on directory ''/​var/​www/​html''​. All operations presuppose you have the administrator'​s rights (root) on your computer. The following example presumes that the eClass platform is already installed on directory ''/​var/​www/​html''​.
  
-Due to changes introduced by the new version (3.7) you will have to delete the old and install the new one. To make sure that you old configuration remain intact you must do the following actions:+Due to changes introduced by the new version (3.8) you will have to delete the old and install the new one. To make sure that you old configuration remain intact you must do the following actions:
  
-We consider that you have downloaded openeclass-3.7.tar.gz on the /tmp directory.+We consider that you have downloaded openeclass-3.8.tar.gz on the /tmp directory.
  
 Go to the directory you have installed in eClass. e.g. Go to the directory you have installed in eClass. e.g.
Line 36: Line 35:
   rm -rf images/ include/ info/ install/ manuals/ template/ modules/ ​   rm -rf images/ include/ info/ install/ manuals/ template/ modules/ ​
  
-Unzip and untar openeclass-3.7.tar.gz in a temporary directory (/tmp) e.g.+Unzip and untar openeclass-3.8.tar.gz in a temporary directory (/tmp) e.g.
  
-  tar xzvf /​tmp/​openeclass-3.7.tar.gz+  tar xzvf /​tmp/​openeclass-3.8.tar.gz
  
-Then copy from the temporary directory /​tmp/​openeclass-3.all of its contents in the installation directory e.g.+Then copy from the temporary directory /​tmp/​openeclass-3.all of its contents in the installation directory e.g.
  
-  cp -a /​tmp/​openeclass-3.7/*  /​var/​www/​html/​eclass/​+  cp -a /​tmp/​openeclass-3.8/*  /​var/​www/​html/​eclass/​
  
 So with the above steps you have replaced directory eclass, with the new one. Then move file config.php to directory config. e.g. So with the above steps you have replaced directory eclass, with the new one. Then move file config.php to directory config. e.g.
Line 55: Line 54:
   find ./ -type d -exec chmod 775 {} \;   find ./ -type d -exec chmod 775 {} \;
  
-Having completed the previous steps, you will have installed the new eClass version (eClass 3.7) files successfully. Then, move on to the second step in order to upgrade the platform databases.+Having completed the previous steps, you will have installed the new eClass version (eClass 3.8) files successfully. Then, move on to the second step in order to upgrade the platform databases.
 ==== 1.2 MS Windows Systems ==== ==== 1.2 MS Windows Systems ====
  
-The following example assumes that eClass has already been installed to directory ''​C:​\Program Files\Apache\htdocs\''​ and that you have downloaded openeclass-3.7.zip.+The following example assumes that eClass has already been installed to directory ''​C:​\Program Files\Apache\htdocs\''​ and that you have downloaded openeclass-3.8.zip.
  
  
-Due to changes introduced by the new version (3.7) you will have to delete the old and install the new one. To make sure that you old configuration remain intact you must do the following actions:+Due to changes introduced by the new version (3.8) you will have to delete the old and install the new one. To make sure that you old configuration remain intact you must do the following actions:
  
   * Move to the eClass installed folder. e.g. ''​C:​\Program Files\Apache\htdocs''​   * Move to the eClass installed folder. e.g. ''​C:​\Program Files\Apache\htdocs''​
   * Move the configuration file (''​C:​\Program Files\Apache\htdocs\eclass\config\config.php''​) into another temporary folder in your desktop (e.g. from ''​C:​\Program Files\Apache\htdocs\eclass\config\''​ to ''​C:​\Documents and Settings\Administrator\Desktop\''​).   * Move the configuration file (''​C:​\Program Files\Apache\htdocs\eclass\config\config.php''​) into another temporary folder in your desktop (e.g. from ''​C:​\Program Files\Apache\htdocs\eclass\config\''​ to ''​C:​\Documents and Settings\Administrator\Desktop\''​).
   * Go to the eclass folder (e.g. ''​C:​\Program Files\Apache\htdocs\eclass\''​) and delete all folders except ''​courses'',​ ''​video''​ and ''​config''​.   * Go to the eclass folder (e.g. ''​C:​\Program Files\Apache\htdocs\eclass\''​) and delete all folders except ''​courses'',​ ''​video''​ and ''​config''​.
-  * Unzip openeclass-3.7.zip to a temporary folder on the desktop. e.g. ''​C:​\Documents and Settings\Administrator\Desktop\eclass37''​. After that, rename the temporary folder ''​eclass37''​ to eclass and copy it along with its contents (files and documents). Then, open the file that includes eClass installation,​ e.g. ''​C:​\Program Files\Apache\htdocs\''​ and paste it. In that way, the eclass files is replaced by the new ones.+  * Unzip openeclass-3.8.zip to a temporary folder on the desktop. e.g. ''​C:​\Documents and Settings\Administrator\Desktop\eclass37''​. After that, rename the temporary folder ''​eclass38''​ to eclass and copy it along with its contents (files and documents). Then, open the file that includes eClass installation,​ e.g. ''​C:​\Program Files\Apache\htdocs\''​ and paste it. In that way, the eclass files is replaced by the new ones.
   * Delete the desktop temporary folder.   * Delete the desktop temporary folder.
  
-As soon as the above have been completed, you will have installed the new eClass version files (eClass 3.7) successfully. Then, follow the second step so as to upgrade the platform database. ​+As soon as the above have been completed, you will have installed the new eClass version files (eClass 3.8) successfully. Then, follow the second step so as to upgrade the platform database. ​
 ===== 2. Database Upgrade ===== ===== 2. Database Upgrade =====
  
Line 87: Line 86:
 ===== 3. Successfully Upgrade Check ===== ===== 3. Successfully Upgrade Check =====
  
-In order to make sure that the platform has been upgraded, login as administrator and click to "Admin tools"​. Among other things, version 3.has to be indicated. You can alternatively click on the "​Platform Identity"​ link on the homepage. Version 3.of the platform will be indicated.+In order to make sure that the platform has been upgraded, login as administrator and click to "Admin tools"​. Among other things, version 3.has to be indicated. You can alternatively click on the "​Platform Identity"​ link on the homepage. Version 3.of the platform will be indicated.
  
 You are ready! The upgrade process has been completed successfully. You are ready! The upgrade process has been completed successfully.