> For the complete documentation index, see [llms.txt](https://ohjeet.dataportaali.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ohjeet.dataportaali.com/version-upgrades/ckan.md).

# CKAN

Doing a CKAN version upgrade starts by changing the version number [here](https://github.com/6aika/sixodp/blob/master/ansible/roles/ckan-install/vars/main.yml). Next the developer should run the ansible playbook and check if it will succeed or not. Those [patch files](https://github.com/6aika/sixodp/tree/master/ansible/roles/ckan-install-patches/files/patches) that doesn't change anything should be removed and those that fail, should be ported to newer CKAN version.

If the playbook succeeds, the following list of features should be checked that they still work. There are no automated tests.

* Creating, modifying and deleting user
* Requesting password reset for user
* Creating, modifying and deleting dataset
* Setting a reminder date to dataset and checking that the reminder is actually sent
* Subscribing to dataset updates anonymously and checking that notifications are sent
* Creating, modifying and deleting organization
* Creating, modifying and deleting category (group in ckan terms)
* Creating, modifying and deleting showcase
* Creating, modifying and deleting collection
* Submitting dataset anonymously
* Submitting showcase anonymously
* Modifying different fields in dataset via mass editor
* Fetching google analytics data via paster cli command


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ohjeet.dataportaali.com/version-upgrades/ckan.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
