[ckan-dev] Fanstatic Assets Path broken [CKAN 2.8.3]

Stefanie Taepke stefanie.taepke at liip.ch
Fri Aug 2 13:00:25 UTC 2019


Hello once again,

we debugged a couple hours more and haven’t gotten any closer to get it working or find the error.

We finally created a CKAN-Issue if anyone feels like following along :P

https://github.com/ckan/ckan/issues/4934 <https://github.com/ckan/ckan/issues/4934>

(btw. ANY hints are highly appreciated)

Thank you,
Steffi

> On 31 Jul 2019, at 15:50, Stefanie Taepke <stefanie.taepke at liip.ch> wrote:
> 
> Hello again,
> 
> so I got a little further as in realising, that the url should be correct (or looks correct), as when I compare it to the vendor-bundle it does indeed work correctly as in bundling and importing. (and the URL is built very similar.)
> 
> That leaves me assuming that the bundling does not work for the ckan-group (the path that is built with all requirements found in the resource.config under ckan) is not accessible, hence all those resources are missing on the page. I have no clue what to do here. Does anyone have the slightest hint what could be going on here?
> 
> Best regards,
> Steffi
> 
> On Wed, Jul 31, 2019 at 10:17 AM Stefanie Taepke <stefanie.taepke at liip.ch <mailto:stefanie.taepke at liip.ch>> wrote:
> Hey community,
> 
> I am struggling with setting up CKAN 2.8.3 to our Ubuntu-Server. I have set up a source-install on Apache2 (without Nginx).
> 
> CKAN is working mostly but the fanstatic Assets aren’t loaded correctly. The requested path looks like this:
> 
> GET https://{OUR_CKAN_SITE_URL}/fanstatic/base/:version:2019-07-30T18:01:11.24/:bundle:plugins/jquery.inherit.min.js;plugins/jquery.proxy-all.min.js;plugins/jquery.url-helpers.min.js;plugins/jquery.date-helpers.min.js;plugins/jquery.slug.min.js;plugins/jquery.slug-preview.min.js;plugins/jquery.truncator.min.js;plugins/jquery.masonry.min.js;plugins/jquery.form-warning.min.js;plugins/jquery.images-loaded.min.js;sandbox.min.js;module.min.js;pubsub.min.js;client.min.js;notify.min.js;i18n.min.js;main.min.js;modules/select-switch.min.js;modules/slug-preview.min.js;modules/basic-form.min.js;modules/confirm-action.min.js;modules/api-info.min.js;modules/autocomplete.min.js;modules/custom-fields.min.js;modules/data-viewer.min.js;modules/table-selectable-rows.min.js;modules/resource-form.min.js;modules/resource-upload-field.min.js;modules/resource-reorder.min.js;modules/resource-view-reorder.min.js;modules/follow.min.js;modules/activity-stream.min.js;modules/dashboard.min.js;modules/resource-view-embed.min.js;view-filters.min.js;modules/resource-view-filters-form.min.js;modules/resource-view-filters.min.js;modules/table-toggle-more.min.js;modules/dataset-visibility.min.js;modules/media-grid.min.js;modules/image-upload.min.js;modules/followers-counter.min.js net::ERR_EMPTY_RESPONSE
> 
> It just seems to queue all paths from the fanstatic resource.config one after another, so no wonder we are getting a 500 on that. The resources themselves are available though:
> https://{OUR_CKAN_SITE_URL}/fanstatic/base/:version:2019-07-30T18:01:11.24/:bundle:plugins/jquery.inherit.min.js
> 
> I am out of ideas on how to solve this as the same code-base works fine locally in our Docker-Machine.
> The closest issue to this I found is this one: https://github.com/ckan/ckan/issues/3618 <https://github.com/ckan/ckan/issues/3618>
> This seems to be solved in our CKAN version (I also checked the code on the server, if we really have that version and we do)
> 
> Any hint on which direction to debug would be helpful. I am a rookie when it comes to setting up servers so it could definitely be the reason of our issue, so please don’t be shy to call me out on that :P
> 
> 
> Thank you in advance,
> Steffi
> 
> 
> -- 
> --
> Stefanie Taepke, Software Developer
> liip.ch <http://www.liip.ch/>  // Follow us on  Facebook  <https://www.facebook.com/liipag/> /  Twitter  <https://twitter.com/liip> /  Instagram  <https://www.instagram.com/liip_ch/>
> Liip AG // Digital Progress // Limmatstrasse 183 // CH-8005 Zürich
> Tel +41 43 500 39 80 // blog.liip.ch <http://blog.liip.ch/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190802/15c0f059/attachment.html>


More information about the ckan-dev mailing list