nopCommerce 升级

Upgrading nopCommerce

This chapter describes how to upgrade nopCommerce to the latest version. You might want to do this because you've seen a message at the nopCommerce news section of your dashboard telling you that a new release is available. nopCommerce doesn’t support automatic upgrades, you have to do it manually. Follow the next steps:

本章节描述了如何升级 nopCommerce系统到最新版本。每次新版本出来,大家最想做的就是升级系统了,那就必须按照以下步骤一步一步来:                                                                                                                  

1.  Get the latest nopCommerce package. 
    获取最新版本 nopCommerce包。

2.  Make a backup of everything in your site, including the database. This is extremely important so that you can roll back to a running site no matter what happens during migration.
   创建站点备份,包括数据库。这是非常重要的,以便升级出错时可以正常运行已有的系统。

3.  You have to upgrade stepwise. For example, if your current version is 2.00 and the latest available version is 2.30, then you have to upgrade to 2.10, then to 2.20, and then to 2.30. So download the required upgrade scripts from our Downloads page.
    升级必须逐步升级,不能跨越版本。比如,现有版本是2.00,最终版本是2.30,那么你必须先升级到2.10 然后在升级到2.20,最后升级到2.30。所以,从下载页面下载全部所需要的升级脚本。

4.  Once an upgrade script is downloaded, execute it over your database.
一旦一个升级脚本下载好,执行到你的数据库。

5.  Remove all files from the previous version. As you deploy, make sure that the target App_Data\Settings.txt and App_Data\InstalledPlugins.txt files aren't overwritten, so that the production site continues to point to the production database.
移除所有文件从先前版本,当你部署时,确保文件 App_Data\Settings.txt 和 App_Data\InstalledPlugins.txt 不要被覆盖,才可以让站点继续指向生成数据库。

6.  Upload the new site files
上传新版文件。

7.  Copy back Settings.txt and InstalledPlugins.txt files into App_Data directory
Settings.txt and  InstalledPlugins.txt 文件复制到 App_Data 文件夹

8.   Ensure that everything is OK
确保一切都正常。

Important note: As you deploy, make sure that the target Settings.txt and InstalledPlugins.txt files aren't overwritten, so that the production site continues to point to the production database.

重要提示:当你部署确保  Settings.txt 和 InstalledPlugins.txt 文件没有被改写覆盖,这样站点继续指向生成数据库

Note: If you stored your pictures on the file system, then also backup them (\Content\Images\) and copy back after upgrade.

提示:如果你在文件系统内存储有自己的图片,请先将他们备份 在 文件夹 (\Content\Images\)  ,升级完成在复制回去。

Note: You have to upgrade stepwise. For example, if your current version is 2.00 and the latest available version is 2.30, then you have to upgrade to 2.10, then to 2.20, and then to 2.30

提示:必须逐步升级,例如当前版本是2.00,提供的新版本是2.30,那么你必须升级到2.10,然后升级到2.20,最后才能升级到2.30!

Troubleshooting 

故障查找

If you experience problems after the upgrade, you can always restore your backup and replace the files with ones from your previous version. You can always post a question on our forums.

如果你升级后有问题,你可以恢复备份,替换回你已有的版本。可以到我们的论坛提出遇到的问题。

Note: If when doing advanced search you cannot find what you need, then try a Google search focused into nopCommerce site: [your search words site:nopcommerce.com]

提示:如果做了高级搜索扔不能发现你需要的,那么你可以再试试 用谷歌搜索 nopCommerce。

方法是 【输入要搜索 关键词 site:nopcommerce.com】

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值