question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Instructions for loading data in compose_setup no longer work

See original GitHub issue

Bug 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:closed
  • Created 4 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
coverbeckcommented, Dec 4, 2019

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 is was misleading (will update it right after this comment)

0reactions
melainalegaspicommented, Dec 23, 2019

done

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - Composer
Try clearing Composer's cache by running composer clear-cache . Ensure you're installing vendors straight from your composer.
Read more >
"Could not open input file: composer.phar" - Stack Overflow
run the installer, run the command CMD with Admin rights. At command promp run composer --version to make sure it is globally installed....
Read more >
Quick start | Jetpack Compose - Android Developers
In the Select a Project Template window, select Empty Compose Activity and click Next. In the Configure your project window, do the following:...
Read more >
Compose specification - Docker Documentation
We acknowledge that no Compose implementation is expected to support all ... by running the same container image (and configuration) one or more...
Read more >
GitLab Docker images
The recommended solution is to add an MTA (such as Postfix or Sendmail) running in a separate container. As another option, you can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found