`

pentaho marketplace 无法显示插件列表的解决方法

阅读更多

原创文章,转载请注明出处: https://www.iteye.com/blog/qq85609655-2512523 

 

pentaho 安装插件,打开marketplace, 主要访问的是 http://marketplace.pentaho.com/marketplace-plugins.xml

这个链接地址自动跳转到https://raw.github.com/pentaho/marketplace-metadata/master/marketplace.xml

目前无法访问,通过链接,我们知道是github的pentaho/marketplace-metadata项目

尝试访问marketplace.xml,地址变为: https://raw.githubusercontent.com/pentaho/marketplace-metadata/master/marketplace.xml

还是无法访问,想办法越过墙,尝试访问保存marketplace.xml文件

 

修改pentaho-server\pentaho-solutions\system\karaf\etc\pentaho.marketplace.ba.cfg文件

# marketplace.site = http://marketplace.pentaho.com/marketplace-plugins.xml
# marketplace.site = https://raw.githubusercontent.com/pentaho/marketplace-metadata/master/marketplace.xml
marketplace.site = http://localhost/marketplace.xml

 这样就可以访问marketplace,安装插件了,过程涉及到安装静态服务器,可以用apacha或ngingx,童鞋自己查资料如何安装了。。。

 

下面是网上查的英文资料:

 

I got this to work. The key was putting the entire marketplace-metadata structure on a server:
1. clone https://github.com/pentaho/marketplace-metadata
2. make the marketplace.xml changes
3. marketplace-metadata to /var/www/html with apache running on my machine
4. changing marketplace.site to http://localhost/marketplace-metadata/marketplace.xml in data-integration/system/karaf/etc/pentaho.marketplace.di.cfg
5. running spoon, e.g. data-integration/spoon.sh
6. loading the marketplace. No error messages, plugins appear
7. found my new plugin as expected and loaded it

 

 

Use of docker in the 3rd step of @ahuston-hds makes it easier:
docker run -v /path/to/the/cloned/marketplace-metadata:/usr/share/nginx/html:ro -p 80:80 -d nginx

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics