Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8621231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:46:28+00:00 2026-06-12T06:46:28+00:00

I’ve been at this for an hour or two, but can’t seem to figure

  • 0

I’ve been at this for an hour or two, but can’t seem to figure out what the problem may be.

I was using sqlite3 for dev but before pushing to heroku I decided to switch to pg (using ubuntu), and it works fine on my local dev environment.

then I pushed to Heroku I keep getting a blank bage with the follow:

We're sorry, but something went wrong.

‘this doesn’t really help. Is there a log file for production I can access via heroku?

Also my best guess is it has something to do with the bd, maybe it didn’t load properly. I checked my heroku account and click the following addon:

Heroku Postgres Dev :: Olive

now my db says size of 6mb but tables 0, which is concerning. However I don’t know how to query my db on heroku and there seems to be no interface on the site to view my db. Does db not automatically push with “git push heroku master”

Anyways, db is my best guess at the moment but I can’t be certain, I’m not sure what to do since I have no logs

EDIT:

I was able to check the db on heroku using:

heroku pg:psql

from https://devcenter.heroku.com/articles/heroku-postgresql
however, there are no enteries in my db, there are enteries in my dev db but apparently it did not transfer to heroku, is there a way to push (or overwrite) your heroku db with the one in your dev environment?

Kyle:
I tried the taps thing,Failed to connect to database:

  Sequel::DatabaseConnectionError -> PG::Error: FATAL:  password authentication fai
led for user "pc"
FATAL:  password authentication failed for user "pc" however I get the error:

pc us my username for pg on my ubuntu machine, however my password is ok since its working on my local machine

my database.yml file

development:
  adapter: postgresql
  encoding: utf8
  reconnect: false
  database: someapp_development
  pool: 5
  username: pc
  password: ***

# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
  adapter: postgresql
  encoding: utf8
  reconnect: false
  database: someapp_development
  pool: 5
  username: pc
  password: ***

production:
  adapter: postgresql
  encoding: utf8
  reconnect: false
  database: someapp_development
  pool: 5

EDIT: I checked the log and it is infact the db causing the problem, the enteries in my table aren’t being pushed into heroku and with an empty db my app is crashing (bad design I know)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T06:46:29+00:00Added an answer on June 12, 2026 at 6:46 am

    You may need to migrate your production database

    heroku run rake db:migrate
    heroku restart
    

    If you need the data imported to your heroku db, see this

     gem install taps   
     heroku db:push
    

    edit:
    try this alternative method:

    heroku db:push postgres://user:pass@localhost/dbname
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
This could be a duplicate question, but I have no idea what search terms
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I've tracked down a weird MySQL problem to the two different ways I was
I know there's a lot of other questions out there that deal with this
I have been unable to fix a problem with Java Unicode and encoding. The
Does anyone know how can I replace this 2 symbol below from the string
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
link Im having trouble converting the html entites into html characters, (&# 8217;) i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.