[ckan-dev] Problem with CKAN in a non-root folder

Nigel Babu nigel.babu at okfn.org
Fri May 17 02:01:15 UTC 2013


Hi Jorge,

We've had someone have the same problem in the past and the new 2.0 docs
don't recommend mounting ckan in a non-root folder. I would recommend you
do that.

Nigel Babu

Developer  |  @nigelbabu <https://twitter.com/nigelbabu>

The Open Knowledge Foundation <http://okfn.org/>

Empowering through Open Knowledge

http://okfn.org/  |  @okfn <http://twitter.com/OKFN>  |  OKF on
Facebook<https://www.facebook.com/OKFNetwork> |
Blog <http://blog.okfn.org/>  |  Newsletter<http://okfn.org/about/newsletter>

 CKAN | http://ckan.org/ | @CKANproject
<http://twitter.com/CKANproject> |the world’s leading open-source data
portal platform


On 16 May 2013 21:42, Jorge Pantoja <jorgepantojam at gmail.com> wrote:

> Hello everyone,
>
> I’m new to ckan and I have installed the 2.0 version. It works well in a
> root folder, but I have two problems when I change the configuration in
> apache to use ckan in a non-root folder. I’ve changed the wsgiscriptalias
> in the apache config file: "WSGIScriptAlias /data
> /etc/ckan/default/apache.wsgi", using data as the new sub-folder.
>
> The problem is that the button to upload a file does not appear and the
> data preview is not working. The port 80 is redirected to /var/www and when
> I check the logs, I can see these errors: "File does not exist:
> /var/www/api" and "File does not exist: /var/www/images/icons".
>
> I’ve tested the api through /api/3/action/package_list and I’ve got the
> following answer: {"help": "Return a list of the names of the site's
> datasets (packages).\n\n :rtype: list of strings\n\n ", "success": true,
> "result": ["testdataupf2"]}
>
> Can you help me to solve the problem?
>
> Thanks for the help,
>
> Jorge
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130517/8f082a63/attachment-0001.html>


More information about the ckan-dev mailing list