module - MarkLogic 内容泵 (MLCP) 错误 - 无法更新目录 URI 的服务器维护属性
问题描述
我正在运行 MLCP 将代码复制到模块数据库中,并收到以下“无法更新服务器维护的属性”错误:
21/05/20 12:17:12 错误 contentpump.DatabaseContentWriter:为 / 设置文档属性时出错:无法更新服务器维护的属性
21/05/20 12:17:12 错误 contentpump.DatabaseContentWriter:为 /marklogic.rest.resource/status/assets/ 设置文档属性时出错:无法更新服务器维护的属性
21/05/20 12:17:12 错误 contentpump.DatabaseContentWriter:为 /marklogic.rest.resource/addProject/assets/ 设置文档属性时出错:无法更新服务器维护的属性
21/05/20 12:17:12 错误 contentpump.DatabaseContentWriter:为 /marklogic.rest.resource/integrityCheck/ 设置文档属性时出错:无法更新服务器维护的属性
21/05/20 12:17:12 错误 contentpump.DatabaseContentWriter:为 /Default/ 设置文档属性时出错:无法更新服务器维护的属性
21/05/20 12:17:12 错误 contentpump.DatabaseContentWriter:为 /marklogic.rest.resource/docInventory/assets/ 设置文档属性时出错:无法更新服务器维护的属性
21/05/20 12:17:12 错误 contentpump.DatabaseContentWriter:为 /marklogic.rest.resource/addDoc/assets/ 设置文档属性时出错:无法更新服务器维护的属性
21/05/20 12:17:12 错误 contentpump.DatabaseContentWriter:为 /marklogic.rest.resource/deleteProject/ 设置文档属性时出错:无法更新服务器维护的属性
21/05/20 12:17:12 错误 contentpump.DatabaseContentWriter:为 /Default/rts-doc-api2/rest-api/options/ 设置文档属性时出错:无法更新服务器维护的属性
模块实际上已安装,因此看起来这是创建目录 URI 的问题。
上次修改的维护和上次修改的维护目录设置为 false,我不愿意设置-copy_properties false
,-copy_permissions false
因为我不想为实际模块删除这些。
mlcp 脚本如下所示:
./mlcp.sh import -host localhost -port 8000 -username ___ -password ___ -mode local -database api-modules -input_file_path /backups/api-modules -input_file_type archive -input_compressed
解决方案
推荐阅读
- javascript - 如何在加载 fetch 之前显示加载消息
- automated-tests - 我不想使用 Xpath 来映射 Label 元素
- python - 无法使用 pyodbc 连接到远程 SQL 数据库
- c++ - 二维字符数组到一维字符串数组
- wordpress - 将支票付款方式插入 WooCommerce 订阅续订的正确方法
- r - 如何为单个变量制作具有多个数据点的点图?
- java - 使用 thymeleaf 和 springboot MVC 访问多个 bean
- python - 无法使用 Selenium python 打印带有 href 的标签
- arrays - 如何在matlab中创建水平添加单元格的矩阵
- ios - Firestore 查询不返回基于 searchText 的数据