使用命令行在 Pentaho 服务器中导入 .prpt 文件
Import .prpt file in Pentaho Server using Command Line
我想在 Pentaho BI 服务器中上传 .prpt(Pentaho 报告文件)。我正在使用以下命令:
./import-export.sh --import --url=https://server/pentaho/ --username=user --password=pass --source=file-system --type=files --charset=UTF-8 --path=/public--file-path=/home/kishan/folder/Clients/abc/Daily_Reports/Prpt/xyz.prpt --logfile=/home/user/upload.log --permission=true --overwrite=true --retainOwnership=true
所以,我想提取位于上述文件路径值的文件,并将其上传到 BI 服务器的 public 文件夹中。但是,我收到以下错误:
CommandLineProcessor.ERROR_0001 - 缺少参数:文件路径
尽管我在上面的命令中有这个参数,为什么它会这样说。
我成功了。这是对我有用的命令:
./import-export.sh --import --url=http://localhost:8080/pentaho --username=admin --password=password --charset=UTF -8 --path=/public --file-path=/home/some_directoryN/Daily_Reports/Prpt/xyz.prpt --logfile=/home/kishan/upload.log --permission=true" + "--overwrite=true - -retainOwnership=true
因此,要使其正常工作,您需要服务器文件系统上的文件(文件路径参数),您要将文件上传到该文件。 path 参数是您要上传报表的 BI 服务器上的路径
我想在 Pentaho BI 服务器中上传 .prpt(Pentaho 报告文件)。我正在使用以下命令:
./import-export.sh --import --url=https://server/pentaho/ --username=user --password=pass --source=file-system --type=files --charset=UTF-8 --path=/public--file-path=/home/kishan/folder/Clients/abc/Daily_Reports/Prpt/xyz.prpt --logfile=/home/user/upload.log --permission=true --overwrite=true --retainOwnership=true
所以,我想提取位于上述文件路径值的文件,并将其上传到 BI 服务器的 public 文件夹中。但是,我收到以下错误:
CommandLineProcessor.ERROR_0001 - 缺少参数:文件路径
尽管我在上面的命令中有这个参数,为什么它会这样说。
我成功了。这是对我有用的命令:
./import-export.sh --import --url=http://localhost:8080/pentaho --username=admin --password=password --charset=UTF -8 --path=/public --file-path=/home/some_directoryN/Daily_Reports/Prpt/xyz.prpt --logfile=/home/kishan/upload.log --permission=true" + "--overwrite=true - -retainOwnership=true
因此,要使其正常工作,您需要服务器文件系统上的文件(文件路径参数),您要将文件上传到该文件。 path 参数是您要上传报表的 BI 服务器上的路径