Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sockets/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用命令行在Pentaho服务器中导入.prpt文件_Pentaho - Fatal编程技术网

使用命令行在Pentaho服务器中导入.prpt文件

使用命令行在Pentaho服务器中导入.prpt文件,pentaho,Pentaho,我想在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/Dai

我想在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服务器。但是,我得到以下错误:

CommandLineProcessor.ERROR_0001-缺少参数:文件路径


尽管我在上面的命令中有这个参数,为什么它会这样说。

我让它工作了。以下是对我有效的命令:

/import-export.sh--import--url=--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服务器上要上载报告的路径