Code Monkey home page Code Monkey logo

Comments (4)

JuanitoFatas avatar JuanitoFatas commented on August 16, 2024

Hi there, look into application logs could find the cause. And make sure ENVs are set. :)

from dasherize.

mkhorton avatar mkhorton commented on August 16, 2024

Hi @JuanitoFatas, thanks for the advice -- the ENVs WWW_HOSTNAME, GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET seem like they're set correctly.

Logs say this:

2017-10-13T17:15:20.155383+00:00 app[web.1]: Processing by HomeController#index as HTML
2017-10-13T17:15:20.176792+00:00 app[web.1]: Completed 500 Internal Server Error in 21ms (ActiveRecord: 2.4ms)
2017-10-13T17:15:20.179601+00:00 app[web.1]: 
2017-10-13T17:15:20.179603+00:00 app[web.1]: ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR:  relation "projects" does not exist
2017-10-13T17:15:20.179603+00:00 app[web.1]: LINE 5:                WHERE a.attrelid = '"projects"'::regclass
2017-10-13T17:15:20.179604+00:00 app[web.1]:                                           ^
2017-10-13T17:15:20.179605+00:00 app[web.1]: :               SELECT a.attname, format_type(a.atttypid, a.atttypmod),
2017-10-13T17:15:20.179605+00:00 app[web.1]:                      pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
2017-10-13T17:15:20.179606+00:00 app[web.1]:                 FROM pg_attribute a LEFT JOIN pg_attrdef d
2017-10-13T17:15:20.179607+00:00 app[web.1]:                   ON a.attrelid = d.adrelid AND a.attnum = d.adnum
2017-10-13T17:15:20.179607+00:00 app[web.1]:                WHERE a.attrelid = '"projects"'::regclass
2017-10-13T17:15:20.179607+00:00 app[web.1]:                  AND a.attnum > 0 AND NOT a.attisdropped
2017-10-13T17:15:20.179608+00:00 app[web.1]:                ORDER BY a.attnum
2017-10-13T17:15:20.179608+00:00 app[web.1]: ):
2017-10-13T17:15:20.179609+00:00 app[web.1]:   app/controllers/home_controller.rb:9:in `block in index'
2017-10-13T17:15:20.179609+00:00 app[web.1]:   app/controllers/home_controller.rb:7:in `index'
2017-10-13T17:15:20.179609+00:00 app[web.1]: 
2017-10-13T17:15:20.179610+00:00 app[web.1]: 
2017-10-13T17:15:20.181385+00:00 app[web.1]: Processing by ErrorsController#show as HTML
2017-10-13T17:15:20.181432+00:00 app[web.1]:   Parameters: {"code"=>"500"}

from dasherize.

mkhorton avatar mkhorton commented on August 16, 2024

By the way, why does Dasherize require such broad OAUTH permissions? Write access, including to private repos?

from dasherize.

winston avatar winston commented on August 16, 2024

@mkhorton Hmm. Is that a DB migration issue?

broad OAUTH permissions

That's GitHub's limitation. If you want to read Private repos, it's either all or none. :(

from dasherize.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.