非常感谢 Giacomo,我能够通过您建议的方法进一步发展。所以我所做的是:
- 创建一个与目标版本匹配的香草测试实例(4.1)
- 将 Data.fs 和 blobstorage 文件夹从旧站点复制到我的测试实例。(与此同时,我意识到旧站点是 4.0,而不是 3.3,因此我也移动了整个 blobstorage 文件夹,否则进一步导出将无法正常工作)。
- 启动我的测试实例,并通过plone启动页面上的“升级”按钮升级存储
- 从 ZMI,将我的网站导出到 zexp 文件
- 将zexp文件上传到目标平台上的zinstance/var/instance/import
- 输入目标平台的ZMI,选择我映射到我的第二个站点的挂载点的文件夹,然后导入zexp文件
导入 zexp 的最后一步失败并出现以下错误:
Error Type: TypeError
Error Value: Blobs are not supported
Troubleshooting Suggestions
The URL may be incorrect.
The parameters passed to this resource may be incorrect.
A resource that this resource relies on may be encountering an error.
日志中对应于:
2011-10-05T12:49:27 ERROR Zope.SiteErrorLog 1317811767.860.405425857164 http://localhost:8080/mysecondsite/manage_importObject
Traceback (innermost last):
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module OFS.ObjectManager, line 619, in manage_importObject
Module OFS.ObjectManager, line 637, in _importObjectFromFile
Module ZODB.ExportImport, line 92, in importFile
Module transaction._transaction, line 260, in savepoint
Module transaction._transaction, line 257, in savepoint
Module transaction._transaction, line 690, in __init__
Module ZODB.Connection, line 1123, in savepoint
Module ZODB.Connection, line 587, in _commit
Module ZODB.ExportImport, line 181, in _importDuringCommit
Module ZODB.Connection, line 1302, in storeBlob
Module ZODB.Connection, line 1331, in _getBlobPath
Module ZODB.Connection, line 1344, in temporaryDirectory
Module ZODB.blob, line 686, in temporaryDirectory
Module ZODB.blob, line 492, in temp_dir
TypeError: Blobs are not supported
关于如何解决这个问题的任何线索?谢谢!西尔维奥