Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I find what version of CKAN I am running

Tags:

ckan

How can I find what version of CKAN I am running? Preferably programatically or via some machine readable way?

Any suggestions?

like image 499
Rufus Pollock Avatar asked Jun 28 '13 10:06

Rufus Pollock


2 Answers

In later versions (testing 2.8.3) it is {{url}}/api/3/action/status_show

like image 116
Jaap Reitsma Avatar answered Oct 06 '22 23:10

Jaap Reitsma


Older versions of CKAN had the version displayed on the footer of the page. Starting from CKAN 2.0, the version number is displayed in the source code with the following tag:

<meta name="generator" content="ckan 2.0.1" />

Or you can make this API call:

http://demo.ckan.org/api/util/status

{
ckan_version: "2.0.1",
site_url: "http://demo.ckan.org",
site_description: "Demo",
site_title: "CKAN Demo",
error_emails_to: "root",
locale_default: "en",
extensions: [
"stats",
"social",
"demo",
"datastore",
"datastorer",
"resource_proxy",
"recline_preview",
"json_preview",
"pdf_preview",
"repo_info",
"spatial_metadata",
"spatial_query",
"geojson_preview"
]
}
like image 32
amercader Avatar answered Oct 07 '22 00:10

amercader