I'm having trouble getting createsequence.sql to run: https://github.com/pdurbin/dataverse-api-test-runner/commit/52c655c
I expected this to work:
psql -h localhost -U $DATAVERSE_DB_USER $DATAVERSE_DB_NAME -f doc/sphinx-guides/source/_static/util/createsequence.sql
But I got this:
psql: error: connection to server at "localhost" (::1), port 5432 failed: Connection refused
See https://github.com/pdurbin/dataverse-api-test-runner/actions/runs/5648925205/job/15302157873
https://github.com/pdurbin/dataverse-api-test-runner/commit/6cb1464 is getting me closer. Thanks, @Guillermo Portas !
I needed this fix too: https://github.com/pdurbin/dataverse-api-test-runner/commit/85a986e
All set. In short, ports instead of expose . And the env vars I was using were blank.
Bah. Spoke too soon. Next error is "psql:doc/sphinx-guides/source/_static/util/createsequence.sql:20: ERROR: role "dvnapp" does not exist"
Ok, fixed: https://github.com/pdurbin/dataverse-api-test-runner/commit/7711ff4
Last updated: Oct 30 2025 at 05:14 UTC