2017-08-15 78 views
0

我在ubuntu 16.04.3上运行ckan实例。我从源代码安装了最新的ckan。我上传了几个XLSX文件成功,但是当我尝试在它不断加载的数据资源管理器来查看它们并没有显示出观点或使界面上此错误:未在数据资源管理器中显示Xlsx文件ckan

"This resource view is not available at the moment. Click here for more information. 

Could not load view: DataProxy returned an error (Please read the dataproxy API format documentation: https://github.com/okfn/dataproxy)" 

当我尝试上传文件到数据存储我得到的界面上出现以下错误:

Upload error: An Error occurred while sending the job: 403 Client Error: Forbidden for url: http://127.0.0.1:8800/job 

在datapusher.error.log我看到:

[authz_core:error] [pid 4296:tid 139631223842560] [client 127.0.0.1:36692] AH01630: client denied by server configuration: /etc/ckan/datapusher.wsgi 

而且我不能看到我的终端任何特定的错误,当我发球我的development.ini文件。如何成功查看数据资源管理器中的xlsx文件?

+1

您是否在服务器上通过nginx/Apache设置了HTTP身份验证?如果它有助于您的调试,那么发生的情况是CKAN作为外部服务访问datapusher,然后datapusher作为外部服务访问CKAN(尽管看起来没有那么远)。 另请参阅Office文档预览器:https://github.com/jqnatividad/ckanext-officedocs 如果预览是您主要关注的问题 –

回答

0

你是否已经在/etc/apache2/sites-enabled/datapusher.conf中将apache包含在datapusher.wsgi文件夹中?

<Directory /etc/ckan> 
    Options All 
    AllowOverride All 
    Require all granted 
</Directory> 
相关问题