Questions tagged [ckan]

CKAN is an open-source data management system (DMS) to build data portals focused on open data. If your question is not closely related to programming, please consider asking your question on https://opendata.stackexchange.com.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

CKAN - About section - Translation with JSON format

I am using my custom theme for CKAN 2.10.1: https://github.com/perecanet/ckanext-stomallorca_theme. Also using fluent and scheming plugins, I've tried with also CKAN 2.9.9 and some other alternatives, ...
user1911's user avatar
  • 680
0 votes
0 answers
10 views

Save CKAN dataset / package extra fields in different tables other than package_extra

I am using CKAN 2.10.1 version and I would like to have the following relation tables as the picture below and also I've created an extension that implements the: IPackageController plugins.implements(...
Flavio Francisco's user avatar
0 votes
0 answers
13 views

Line breaks in CKAN markdown with HTML

We are seeing differences in the markdown rendering between two versions of CKAN. Using the following content in a description field. Note we have allow_html = True for the markdown renderer. ##Header ...
Mike's user avatar
  • 369
0 votes
0 answers
9 views

CKAN UI to consume CKAN API

I'm new to CKAN. There are two different CKAN with 2 different domain/IPs, CKAN-A and CKAN-B. I know there are CKAN-API for create/update package/ekstras. With postman, it's solved, just need to hit ...
bandungeuy's user avatar
0 votes
0 answers
9 views

Ckan 2.10, Create_Package Failing with Bad Request Error

Experiencing an issue calling Ckan RPC API using the simple urlopen approach. I receive an HTTPError 400 - Bad Request. I expect the headers are not formatted correctly. I also can't find the log file ...
MLaunch's user avatar
  • 41
0 votes
0 answers
23 views

How to install extension for ckan-docker (saml2auth)

I am trying to install saml2auth in my ckan docker 2.10 instance. I am quite new to the docker world, so I don't know if I am doing it correctly. I usually entered the bash console in the running ...
Alex's user avatar
  • 53
0 votes
0 answers
19 views

Python ckan get packages for organization

Using CKAN in Python, how can I get all packages for a given organization? I am not seeing this functionality here: https://docs.ckan.org/en/2.9/api/index.html
Software Dev's user avatar
0 votes
0 answers
19 views

How to replace date picker in ckan?

I’m currently working with ckan 2.10 and also I install ckanext-scheming extension. When we add a metadata field with date preset, it shows a date picker which is not a part of scheming extension and ...
nima's user avatar
  • 41
0 votes
0 answers
28 views

Creating a CKAN extension to display Page_View tracking summary for each dataset

def get_dataset_tracking_summary(self, dataset_id): context = {'ignore_auth': True, 'use_cache': False} result = get_action('package_show')(context, {'id': dataset_id}) tracking_summary = ...
Monika Kesarwani's user avatar
0 votes
0 answers
16 views

DCAT Input Support in CKAN via Plugin

I'm working on a project that requires integrating DCAT-formatted data into a CKAN instance. We need an efficient way to support this, ideally through the UI, where users can easily upload or input ...
Inderpal Singh's user avatar
0 votes
0 answers
9 views

add_public_directory in CKAN theme not work

I am writing a theme for CKAN. everything works but I can't set the public folder I use toolkit.add_public_directory(config, 'public') in my theme I have a dir named public with some image into i.e. ...
grptx's user avatar
  • 334
0 votes
0 answers
29 views

How to remove fields that have no value on the additional info page CKAN?

I'm using ckanext-scheming extension to configure and customize metadata schemas for CKAN. Is it possible to remove fields that do not have a value in additional info view page such as using the ...
Aryo Aditya's user avatar
0 votes
0 answers
70 views

Error while Configuring CKAN Fluent with ckanext-Scheming

I'm trying to configure CKAN Fluent with ckanext-Scheming to add extra language fields for datasets and names. The goal is to have multilingual support for dataset titles and resource names. However, ...
Vivek Kumar's user avatar
1 vote
1 answer
130 views

How to enable ckanext-scheming extension in CKAN

I am trying to have a custom form for Datasets in CKAN. I have installed ckanext-scheming extension and added the scheming plugin to the plugins like this: ckan.plugins = activity scheming_datasets I ...
Mohsen's user avatar
  • 990
0 votes
1 answer
30 views

Error uploading data to the DataStore in CKAN

I installed CKAN version 2.10 using package install and also installed the DataStore. According to the documentation, the DataPusher is already included in the installation, and it just needs ...
Bebiana Oliveira's user avatar
0 votes
0 answers
51 views

'HTTP ERROR 404 NOT Found' error when accessing 'localhost:8983/solr/ckan'

The connection to 'localhost:8983/solr' is successful. However, when I access 'localhost:8983/solr/ckan', I get 'HTTP ERROR 404 NOT Found' error. How can I solve this problem? The solr version is 8.11....
bbbbb's user avatar
  • 41
1 vote
1 answer
144 views

CKAN DataPusher "cannot import name 'Mapping' from 'collections'"

I want to run DataPusher with sudo python3 datapusher/main.py deployment/datapusher_settings.py I've been trying to change virtualenv with my own virtualenv, is still same, I do 'from collections ...
Ricko Tiaka's user avatar
0 votes
0 answers
35 views

CKAN's Data Api search with SQL is not working

CKAN API's are working fine for our data portal but the Data API's with SQL Queries are not working even the base one. https://data.tn.gov/api/action/datastore_search_sql?sql=SELECT * from "...
RaoCh's user avatar
  • 71
0 votes
0 answers
27 views

Serve Index Page for Public Directory in CKAN

In a custom CKAN extension (https://github.com/berlinonline/ckanext-berlin_dataset_schema), I serve some static files with documentation. The folder with the static files is included in the extension ...
Knud Möller's user avatar
0 votes
0 answers
53 views

Unable to create CKAN extension using ckan generate extension and cookiecutter - any solutions?

I'm having problems to create an extension in CKAN I have to customize the theme of a CKAN installation (footer, header, etc.). According to the CKAN documentation, I have to create an extension first,...
juan's user avatar
  • 23
0 votes
0 answers
43 views

CKAN translations not updating

Working with CKAN version 2.9.8 and trying to update language translation file in English to change default CKAN labels following: https://docs.ckan.org/en/2.9/contributing/i18n.html No error messages ...
user3870222's user avatar
0 votes
0 answers
43 views

Changing upper limit of the ckanapi to return all rows of data?

I want to get all rows of the data from ckanapi: https://github.com/ckan/ckanapi/blob/master/README.md#remoteckan https://github.com/ckan/ckanapi demo = ckanapi.RemoteCKAN('https://www.govdata.de/ckan'...
MNLP's user avatar
  • 1
0 votes
0 answers
62 views

How To Create A CKAN Dataset Resources Using Command Line API With Batch File Input

I am trying to create CKAN dataset resources using the command line API where the resource_create action and resource metadata are stored in a batch file in jsonl format and the resource files are ...
MalcolmF's user avatar
0 votes
0 answers
56 views

Ckan fails to render properly with custom theme and any URL route gives 404 error not found

Facing a weird issue when setting up ckan locally after installing custom theme which causes improper rendering of CSS/HTML pages. I'm using Ckan 2.9.5 with debian 10 running inside docker with http://...
vasudev's user avatar
0 votes
0 answers
64 views

ckam git clone related It is a distutils installed project and thus we cannot accurately determine

when i try to install the ckan git clone it sayis like on this image ERROR: Cannot uninstall 'blinker'. It is a distutils installed project and thus we cannot accurately determine which files belong ...
samuel megerssa's user avatar
0 votes
0 answers
69 views

ckan.plugins.core.PluginNotFoundException: pages Error

i tried every thing but am getting this error "ckan.plugins.core.PluginNotFoundException".   i do following steps in order;   i run 'source /usr/lib/ckan/default/bin/activate'  then i run '...
Aleyna Karabacakoğlu's user avatar
0 votes
1 answer
71 views

CKAN: How can I have public metadata on a private dataset?

I have created a ckan plugin that adds some extra functionality according to my team's needs. I would also like to do the following: Allow logged in users to view the metadata of private datasets, but ...
Theo Stefou's user avatar
0 votes
0 answers
70 views

Hide empty metadata field from display in CKAN

I want fields that are empty to be hidden from the metadata displayed in the frontend. How can I achieve this? I tried setting 'validator':if_empty 'display_property':null But it did not work. Please ...
CoderOj's user avatar
  • 23
0 votes
1 answer
35 views

Querying API for every unique resource in a package using R

I'm writing a script to download all unique excel files in a package from an open data site using CKAN. I'm currently trying to write a function that cycles through a list of the unique dataset IDs, ...
Nic's user avatar
  • 3
0 votes
0 answers
93 views

CKAN not loading resource view

I'm currently working on a python script to perform CRUD operations with datasets and resources using the CKAN API: https://docs.ckan.org/en/2.9/api/index.html#making-an-api-request. I'm able to ...
jimmyshoo's user avatar
1 vote
0 answers
228 views

Uploading files >2GB to CKAN results in Nginx 502 Bad Gateway

Using a CKAN production source install, I try to upload files via API or Web interface. The performance is good, and I successfully uploaded files up to around 2.5 GB. Now I need to upload a file that ...
FrostyFrog's user avatar
0 votes
1 answer
297 views

Search API in CKAN using a specific field

I want to use CKAN API to select a specific dataset using a specific field in my schema. The package search API does not work on specific dataset. Does anyone have a solution to this?
CoderOj's user avatar
  • 23
0 votes
1 answer
252 views

CKAN create API Token via CURL

Is it possible to create an API token via curl? I tried running something like this: curl -X POST -u username:password -H 'accept: application/json' -H 'cache-control: no-cache' -H 'content-type: ...
jason's user avatar
  • 3,523
0 votes
1 answer
89 views

How to extra visibility options in the dataset CKAN form?

I'm wondering if there is a straightforward way to change the CKAN dataset form. I would be interested in adding extra visibility options than public and private: that is to say; Public Private Sub ...
Namwanza Ronald's user avatar
0 votes
0 answers
55 views

ckan.plugins.core.PluginNotFoundException: Plugin_Name

I'm trying to import my custom CKAN theme into a fresh CKAN installation. I've installed CKAN on the virtual machine and cloned the repository to /usr/lib/ckan/default/src/ path. The path of the ...
rksh's user avatar
  • 3,960
0 votes
0 answers
77 views

How to connect CKAN Database (PostgreSQL) to Navicat (or any DBMS)

Hy everyone, i tried to connect CKAN database with Navicat but no table show up how can i open CKAN database via Database Management System? i tried to open CKAN Database via DBMS (Navicat in my case)
Hanhan Plentus's user avatar
0 votes
1 answer
89 views

How to remove registering and make only sysadmin add users in ckan?

I am trying to do some changes in my ckan plugin but I cant seem to get a hold of the signed in user sysadmin role, I am trying to do it with Jinja2 using: {% if user and if user_roles == "admin&...
miloshIra's user avatar
1 vote
1 answer
219 views

CKAN not starting from Docker Desktop

I am trying to deploy CKAN from Docker (using Docker Desktop). I run the docker setup file and all the containers get created (ckan, solr, redis, datapusher and db). All the containers are able to ...
jason's user avatar
  • 3,523
0 votes
1 answer
116 views

How create an organization in CKAN with an image through the API lik it's possible with web interface

In CKAN when creating an organization with the web interface, it's possible to provide an image_url or select a image on our local disk. With this 2nd choice, the image is uploaded and the ...
Philippe K's user avatar
0 votes
0 answers
81 views

while installing CKAN for development Unable to create CKAN config file

Unable to generate CKAN config file which can be edited I have run this command in my terminal ckan generate config /etc/ckan/default/ckan.ini but it is showing the following error Option ckan.plugins ...
Shirin Nasreen's user avatar
0 votes
1 answer
64 views

What are other options available to generate DOIs without using extensions in CKAN?

Well, I would like to know if there is any other options that I can use to generate DOIs for all or newly created datasets in CKAN if I am not using ckanext-doi extension. Can someone try to explain ...
Namwanza Ronald's user avatar
0 votes
0 answers
28 views

Need to integrate REST APIs (endpoints) for fetching Canadian Weather Station Data

We want to integrate CKAN REST APIs to fetch Canadian Weather Station Data as per the URL: https://climate.weather.gc.ca/ This is the data that we are looking for: Sample Data We have already gone ...
Mehtab Khan's user avatar
0 votes
0 answers
47 views

Change the number of CKAN Dataset views

In CKAN, in the process of deleting and reloading a dataset, I want to replace the number of views of the dataset before it was deleted with the number of views (i.e. instead of 0) after deleting and ...
ea23's user avatar
  • 61
0 votes
0 answers
50 views

CKAN not Loading at all

Recently when I loaded CKAN up it stayed on the black terminal , I re installed it but the problem persisted and I have no clue what to do I re-installed .NET but it did not work at all I also ...
harry james's user avatar
1 vote
1 answer
733 views

TrieIntField, TrieDateField deprecated to?

Clear Solr warnings and errors resulting from the deprecated classes below: TrieIntField Solr loaded a deprecated plugin/analysis class [solr.TrieIntField]. Please consult documentation how to ...
Namwanza Ronald's user avatar
0 votes
1 answer
94 views

CKAN: Get user object or id when a context object is not available in extension

When writing a CKAN extension, I can create a custom GET-able method, which automatically receives the context. e.g. @side_effect_free def custom_method(context, data_dict): # Do something with ...
Theo Stefou's user avatar
0 votes
1 answer
266 views

Solr: Setting defaultSearchField in schema not supported since Solr 7

Describe the bug When trying to add a Solr core with the CKAN schema.xml on Solr I get an error: Error CREATEing SolrCore 'new_core': Unable to create core [new_core] Caused by: Setting ...
Namwanza Ronald's user avatar
1 vote
0 answers
136 views

solr-6.5.1 org.apache.solr.common.SolrException: can not sort on a PointField without doc values: metadata_modified

I am a bit stuck with error org.apache.solr.common.SolrException: can not sort on a PointField without doc values: metadata_modified. org.apache.solr.common.SolrException: can not sort on a PointField ...
Namwanza Ronald's user avatar
0 votes
0 answers
31 views

Solr: stop words entirely stop the search, should just be disregarded

I have datasets in CKAN that have Titles like "Application for funding". If a search on "Application for funding" is entered, the results are returned. But if "Application for&...
Ryan Germann's user avatar
1 vote
0 answers
47 views

Upgrade PostGIS when not used as extension

I am trying to update a server containing CKAN software from Ubuntu 18 to Ubuntu 20. Due to this upgrade, Postgres is updated from version 10 with PostGIS 2.4 to version 12 with PostGIS 3. I read ...
J.B.'s user avatar
  • 195

1
2 3 4 5
17