Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CKAN Inventory DB clear #1287

Open
jbrown-xentity opened this issue Jan 13, 2020 · 1 comment
Open

CKAN Inventory DB clear #1287

jbrown-xentity opened this issue Jan 13, 2020 · 1 comment
Labels
bug Software defect or bug component/inventory Inventory playbooks/roles

Comments

@jbrown-xentity
Copy link
Contributor

On the CKAN inventory (at least in development environment), the CKAN command for clearing the database crashes the command console and never finishes. No error logs are noted.

How to reproduce

  1. Pull and run make up-with-data for the inventory
  2. Get onto the app docker image: docker-compose exec app /bin/bash
  3. Run /usr/lib/ckan/bin/paster --plugin=ckan db clean

Expected behavior

CKAN DB should be cleared of all relevant data (the command /usr/lib/ckan/bin/paster --plugin=ckan db init would need to be run to re-initialize the DB structure)

Actual behavior

Command never ends/releases, DB is left in an unworkable state.

@jbrown-xentity jbrown-xentity added component/inventory Inventory playbooks/roles bug Software defect or bug labels Jan 13, 2020
@adborden
Copy link
Contributor

I wonder if this is related to #961 and the version of psycopg2 installed.

@btylerburton btylerburton moved this from 📥 Queue to 🧊 Icebox in data.gov team board Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Software defect or bug component/inventory Inventory playbooks/roles
Projects
Status: 🧊 Icebox
Development

No branches or pull requests

2 participants