Instructions for loading data in compose_setup no longer work
See original GitHub issueBug Report
The Loading up a database section no longer works for after the relinquish migrations have been run.
su - postgres
psql -f /tmp/fix.sql
leads to the data being created with the user postgres
being the owner of all tables. However the webservice is now configured for the user dockstore
to be the owner, and so when the webservice launches it does not have permission to access the tables.
You’d think changing the psql command to something like psql -f /tmp/fix.sql -U dockstore -d ...
would fix it, but when I tried it on staging, I got errors. I was trying to get staging back up, so I did not save them (should have), but I’m guessing the dockstore user doesn’t have permission to execute all the commands in our psql file.
See first comment for probable solution.
┆Issue is synchronized with this Jira Story ┆Fix Versions: Dockstore 1.8 ┆Issue Number: DOCK-1080 ┆Sprint: Backlog ┆Issue Type: Story
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (5 by maintainers)
Top GitHub Comments
Ah right… I think I didn’t fully understand the problem when I created the issue, having run into it when deploying 1.7 to staging after 1.8 had already been deployed there, and so the description
iswas misleading (will update it right after this comment)done