Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:upgrade [2019/04/03 16:35] – [1.1 Unix / Linux Systems] admin | en:upgrade [2024/05/23 15:31] (current) – [3. Successfully Upgrade Check] admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Upgrade Guide ===== | ===== Upgrade Guide ===== | ||
- | Open eClass 3.7 | + | Open eClass 3.16 |
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. | ||
- | * Please ensure that during the platform' | + | < |
- | * Backup platform's database. | + | <p>Please ensure that during the platform' |
- | | + | </ |
- | * Keep in mind that there is no support for upgrading from versions 2.x | + | </ |
+ | |||
+ | < | ||
+ | <p>Also check the platform' | ||
+ | </ | ||
+ | </ | ||
+ | |||
---- | ---- | ||
- | ===== 1. Upgrade platform' | + | ==== 1. Upgrade platform' |
- | ==== 1.1 Unix / Linux Systems ==== | + | ==== 1.1 Linux Systems ==== |
- | (e.g. Solaris, | + | (e.g. Redhat, CentOS, Debian, Suse, Ubuntu etc) |
All operations presuppose you have the administrator' | All operations presuppose you have the administrator' | ||
- | Due to changes introduced by the new version | + | Due to changes introduced by the new version 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 |
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 43: | ||
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 '' |
- | tar xzvf / | + | tar xzvf / |
- | Then copy from the temporary directory / | + | Then copy from the temporary directory / |
- | cp -a / | + | cp -a / |
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 62: | ||
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 | + | Having completed the previous steps, you will have installed the new eClass version files successfully. Then, move on to the second step in order to upgrade the platform databases. |
- | ==== 1.2 Ms Windows Systems ==== | + | |
- | The following example assumes that eClass has already been installed to directory '' | + | ==== 1.2 MS Windows Systems ==== |
+ | The following example assumes that eClass has already been installed to directory '' | ||
- | For safety and security reasons, access to phpMyAdmin should be done through the browser' | ||
- | Due to changes introduced by the new version | + | Due to changes introduced by the new version 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. '' | * Move to the eClass installed folder. e.g. '' | ||
* Move the configuration file ('' | * Move the configuration file ('' | ||
* Go to the eclass folder (e.g. '' | * Go to the eclass folder (e.g. '' | ||
- | * Unzip openeclass-3.6.zip to a temporary folder on the desktop. e.g. '' | + | * Unzip openeclass-3.16.zip to a temporary folder on the desktop. e.g. '' |
* 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.6) 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 successfully. Then, follow the second step so as to upgrade the platform database. |
- | ===== 2. Database Upgrade ===== | + | |
- | For Unix/Linux systems only: | + | ==== 2. Database Upgrade ==== |
- | The process of platform database upgrade includes changes to config.php. | + | |
- | As a result, you will temporarily need to change your access rights | + | |
- | on the config.php file and the /config directory to read-write (chmod 664). | + | |
| | ||
Enter the following URL on your browser: | Enter the following URL on your browser: | ||
Line 86: | Line 88: | ||
In the opposite case (namely if error messages occur), then it is possible for a course not to be operating properly. Such error messages may occur if you have altered the structure of an eclass database table. Note (if possible) the accurate error message you saw. | In the opposite case (namely if error messages occur), then it is possible for a course not to be operating properly. Such error messages may occur if you have altered the structure of an eclass database table. Note (if possible) the accurate error message you saw. | ||
- | If you face any problems with any course after the upgrade, contact us (mailto: | + | If you face any problems with any course after the upgrade, contact us (mailto:'' |
- | ===== 3. Successfully Upgrade Check ===== | + | |
- | In order to make sure that the platform has been upgraded, login as administrator and click to "Admin tools" | + | ==== 3. Successfully Upgrade Check ==== |
+ | |||
+ | In order to make sure that the platform has been upgraded, login as administrator and click to "Admin tools" | ||
You are ready! The upgrade process has been completed successfully. | You are ready! The upgrade process has been completed successfully. | ||
- | Read forward | + | Keep on reading |
- | ===== 4. Optional Further Configuration ===== | + | |
- | If you want to modify any message of platform then proceed with the following actions: Create a file of type .php with name **english.inc.php** (or **greek.inc.php**) and place it in directory '' | + | ==== 4. Optional Further Configuration ==== |
+ | |||
+ | If you want to modify any message of platform then proceed with the following actions: Create a file of type .php with name '' | ||
<?php | <?php | ||
Line 103: | Line 107: | ||
This way, you will preserve custom messages in future upgrades of the platform. | This way, you will preserve custom messages in future upgrades of the platform. | ||
- | You can modify the names of the basic roles of the users of the platform by redefining in these files the message variables found in (eClass_path)/ | + | You can modify the names of the basic roles of the users of the platform by redefining in these files the message variables found in '' |
- | + | ||
- | You can add text (e.g. information, | + | |
- | + | ||
- | Open eClass supports mathematical symbols in the Exercises, Forums and Announcements subsystems. In Exercises you can add math symbols in the " | + | |
- | + | ||
- | [m]sqrt{x-1}[/ | + | |
- | + | ||
- | the square root of x-1 will appear. Mathematical symbols syntax can be found in the PhpMathPublisher help file. Older versions used the <m> and </m> which are still supported, although using the newer tags in brackets is recommended. | + | |
- | You can configure several options of platform. After logging as admin user, click in "Admin Tools" and after that, click in " | + | * You can add text (e.g. information, links, etc.) to the left and right sidebars of the platform homepage by assigning the variables '' |
- | By default platform supports uploading | + | * You can configure several options |
+ | * By default platform supports uploading of all the usual text, audio, video and image file types. If you desire to add a new file type, type its extension in ' |