如何将plone 4.2从Debian squeez迁移到Wheezy [英] How to migrate plone 4.2 from debian squeez to wheezy

查看:114
本文介绍了如何将plone 4.2从Debian squeez迁移到Wheezy的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在debian挤压中有一个plone 4.2实例.现在,我正在尝试将其迁移到运行wheezy的新服务器:将plone目录从squeeze复制到wheezy->运行'plonectl start'.失败并显示错误:找不到克隆"用户.

I have a plone 4.2 instance in debian squeeze. Now I am trying to migrate it to a new server running wheezy: copy the plone directory from squeeze to wheezy--> run 'plonectl start'. It fails and error is shown : can not find 'plone' user.

我应该怎么做才能迁移它?只是添加用户和组克隆"?这会影响plone 4.3中的plone_buildout和plone_group吗?

What should I do to migrate it? Just to add user and group 'plone'? Will this affect plone_buildout and plone_group in plone 4.3?

推荐答案

通过复制文件,几乎无法将大型软件包从一台计算机移动到另一台计算机.例如,在这种情况下,将Plone安装设置为以特定的系统用户"plone"运行,而您在新计算机上没有该用户ID.

You can nearly never move a large software package from one machine to another by simply copying the files. In this case, for example, the Plone installation is set up to run as a particular system user, "plone", and you don't have that user ID on the new machine.

相反,请在新计算机上全新安装Plone,然后复制数据和自定义项.顺序可能应该是:

Instead, do a fresh install of Plone on the new machine, then copy over the data and customizations. The order should probably be:

1)在新机器上进行全新安装,并尽可能在旧机器上建模;测试一下;

1) Do a fresh install on the new machine, modeled as closely as possible on the old; test it;

2)复制实例.cfg文件以及./src中的任何内容;测试;

2) Copy the instance .cfg files and anything in ./src; test it;

3)注意您的资源的所有权和权限;焦油在目标机器上打开包装;检查所有权和权限;进行测试.

3) Note the ownership and permissions of your sources; tar it; unpack on the destination machine; check ownership and permissions; test it.

如果您要从一个Plone版本迁移到另一个版本,您不应该简单地复制.cfg文件.而是从您的egg =和develop =列表转移自定义项.测试以查看是否有任何自定义设置破坏了新的Plone.有关详细信息,请参阅升级指南.包迁移.传输数据时,请匹配目标(而非源)的所有权和权限.为安装中的每个Plone实例运行Plone迁移过程. 4.2-> 4.3是一个非常轻松的升级.

If you are migrating from one Plone version to another, you should not simply copy the .cfg files. Instead, transfer customizations from your eggs= and develop= lists. Test to see if any customizations break the new Plone. Consult the upgrade guide for details on package migration. When transferring your data, match the ownership and permissions from the target, not the source. Run the Plone migration process for each Plone instance in your install. 4.2 -> 4.3 is a largely painless upgrade.

这篇关于如何将plone 4.2从Debian squeez迁移到Wheezy的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆