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:module_manual:system_modules:module_installation [2013/05/21 08:12]
shixb
en:module_manual:system_modules:module_installation [2017/12/12 03:05] (current)
Line 1: Line 1:
-<note important>​安装模块必须使用系统管理员账号登陆</​note>​+On the left menu, go to the System Modules, open the page 
 + 
 +This page is used to upgrade the system, install modules, upgrade the module, uninstall the module 
 + 
 +{{:​en:​module_manual:​system_modules:​systemUpdate-1.jpg?​796|}} 
 + 
 +As above, you can see the version of system, installed modules and not install modules
    
- ​* ​系统管理员账号登陆 +**System Upgrade:** show the current version of system.If there are the new version, there will show the upgrade version. 
-  * 进入[[en:​module_manual:​system_modules:​module_installation]]+ 
 +**Installed Modules:** show the installed modules in the system.(the system upgrade to the next version,the installed modules will show the upgrade information if there is the upgrade) 
 + 
 +**Can Be Install Module:** show the modules which can be used to install in the system 
 + 
 +On the above picture,you can see the current version is 2.0-beta,​and next upgrade version is 2.0 
 + 
 +System upgrade step ,include 
 + 
 +  ​* ​Auto download the upgrade file in the system 
 +  * Download the upgrad file by manual(if there is no upgrade files in the system by auto) 
 + 
 +The system upgrade file need to put into /​var/​www/​html/​asterCC/​data/​_cache/​ .When there are the files,so reopen the `System Modules` page,you will see the `upgrade` button shown on behide,and click it will auto upgrade. 
 + 
 +{{:en:​module_manual:​system_modules:​systemUpdate-2.jpg?​796|}} 
 + 
 +  * System auto download the upgrade file 
 +    On System -> Settings page,under the `ADVANCED SETTINGS SYSTEM` menu,you can see the `Auto Download UpgradePack` parameter.If it is yes,then the system will auto download the upgrade package early in the morning.If you set this parameter to no,you need to download the upgrade file manually 
 +  * Manually download 
 +    If you see the upgrade information,​you can click the `download` button to download the upgrade package.Then you will see the picture,​like this: 
 +     
 +{{:​en:​module_manual:​system_modules:​systemUpdate-3.jpg?​796|}} 
 +     
 +Choose one to download,​After finishing it,you can upload the upgrade package to /​var/​www/​html/​asterCC/​data/​_cache/,​there are two pattern to upload 
 + 
 +  * Upload by FTP tools 
 +  * Upload by click the upload button on the page 
 + 
 +When click the upgrade button,it will show: 
 + 
 +{{:​en:​module_manual:​system_modules:​systemUpdate-6.jpg?​796|}} 
 + 
 +If you want to continue,​click ok,then it will upgrade 
 + 
 +{{:​en:​module_manual:​system_modules:​systemUpdate-9.jpg?​796|}} 
 + 
 + 
 +In the upgrade process,​there will disappear several problems: 
 + 
 +  * Upgrade package MD5 check error,like this: 
 + 
 +{{:​en:​module_manual:​system_modules:​systemUpdate-5.jpg?​796|}} 
 + 
 +  * Configure file error,like below: 
 + 
 +{{:​en:​module_manual:​system_modules:​systemUpdate-7.jpg?​796|}} 
 + 
 + 
 +<note tip>For above problems,​you can delete the upgrade file in /​var/​www/​html/​asterCC/​data/​_cache/,​ then re-download the upgrade package file and upgrade again</​note>​ 
 + 
 +  * Stop upgrade process 
 + 
 +{{:​en:​module_manual:​system_modules:​systemUpdate-8.jpg?​796|}} 
 + 
 +It doesn'​t have the system file's permision, so you can login the systen by SSH,then execute below code: 
 + 
 +chmod 777 /​var/​www/​html/​asterCC/​app/​app_controller.php 
 + 
 +let the app_controller.php file's permision to 777 
 + 
 +  * 413 Request Entity Too Large 
 + 
 +{{:​en:​module_manual:​system_modules:​systemUpdate-4.jpg?​796|}} 
 + 
 +Use SSH tool to login the system,then execute this code: 
 + 
 +vi /​etc/​php.ini 
 + 
 +open the PHP configure file,and find : 
 + 
 +upload_max_filesize = 20M  
 + 
 +change 20M to 80M(the value need to high the file size of upgrade package) 
 + 
 +upload_max_filesize = 80M 
 + 
 +and execute : 
 + 
 +vi /​usr/​local/​nginx/​conf/​nginx.conf 
 + 
 +open the nginx configure file,​find:​ 
 + 
 +client_max_body_size 20M; 
 + 
 +change 20M to 80M 
 + 
 +client_max_body_size 80M;
  
-{{:​en:​module_manual:​system_modules:​system_modules.jpg?​768|}}+save the change,then execute
  
-  * 选择需要安装的模块,点击后面的安装按钮+service nginx restart
  
-{{:​en:​module_manual:​system_modules:​system_modules_installation.jpg|}}+restart Nginx server, and upload again.
  
-{{:​en:​module_manual:​system_modules:​system_modules_installation_1.jpg|}} 
  
-  * 安装完毕后,在左侧栏能看到相应模块的管理菜单 
  
-{{:​en:​module_manual:​system_modules:​system_modules_1.jpg?​768|}} 
en/module_manual/system_modules/module_installation.1369123976.txt.gz · Last modified: 2017/12/12 03:11 (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki