Comments (4)
The LINE 1: SELECT NULL AS "nil" FROM "schema_migrations" LIMIT 1
is normal and expected. The database adapter just logs when a table is not found, and in a new database, the schema_migrations won't be found.
The real error is uninitialized constant PactBroker::Api::Resources::BaseResource (NameError)
which I cannot reproduce for the life of me! But I know how to fix it, so I've just released 2.23.1-1
. Closing this issue now. Please reopen if you have further issues.
from pact_broker-docker.
Its working fine now. Thank you for the quick fix.
from pact_broker-docker.
@bethesque still not working for me, not sure why. I've tried these three tags: latest
, 2.23.1-1
, and 2.23.2-1
. Output is below for all three:
broker_app_1 | [ E 2018-06-26 15:00:05.5803 31/Tq age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /home/app/pact_broker: An error occurred while starting up the preloader.
broker_app_1 | Error ID: 7962b170
broker_app_1 | Error details saved to: /tmp/passenger-error-Zpx43p.html
broker_app_1 | Message from application: uninitialized constant PactBroker::Api::Resources::BaseResource (NameError)
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/api/resources/verification_triggered_webhooks.rb:6:in `<module:Resources>'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/api/resources/verification_triggered_webhooks.rb:5:in `<module:Api>'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/api/resources/verification_triggered_webhooks.rb:4:in `<module:PactBroker>'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/api/resources/verification_triggered_webhooks.rb:3:in `<top (required)>'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/api/resources.rb:9:in `require'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/api/resources.rb:9:in `block in <top (required)>'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/api/resources.rb:8:in `glob'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/api/resources.rb:8:in `<top (required)>'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/api.rb:2:in `require'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/api.rb:2:in `<top (required)>'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/app.rb:137:in `require'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/app.rb:137:in `build_api'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/app.rb:103:in `prepare_app'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/app.rb:32:in `initialize'
broker_app_1 | config.ru:12:in `new'
broker_app_1 | config.ru:12:in `block in <main>'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/builder.rb:55:in `instance_eval'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/builder.rb:55:in `initialize'
broker_app_1 | config.ru:1:in `new'
broker_app_1 | config.ru:1:in `<main>'
broker_app_1 | /usr/share/passenger/helper-scripts/rack-preloader.rb:110:in `eval'
broker_app_1 | /usr/share/passenger/helper-scripts/rack-preloader.rb:110:in `preload_app'
broker_app_1 | /usr/share/passenger/helper-scripts/rack-preloader.rb:156:in `<module:App>'
broker_app_1 | /usr/share/passenger/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
broker_app_1 | /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<main>'
broker_app_1 |
broker_app_1 |
broker_app_1 | [ E 2018-06-26 15:00:05.5863 31/T8 age/Cor/Con/CheckoutSession.cpp:285 ]: [Client 1-1] Cannot checkout session because a spawning error occurred. The identifier of the error is 7962b170. Please see earlier logs for details about the error.
broker_app_1 | App 496 stdout:
broker_app_1 | App 496 stderr:
broker_app_1 | App 496 stderr: Warning: PATH set to RVM ruby but GEM_HOME and/or GEM_PATH not set, see:
broker_app_1 | App 496 stderr: https://github.com/rvm/rvm/issues/3212
broker_app_1 | App 496 stderr:
broker_app_1 | App 496 stdout:
broker_app_1 | [ E 2018-06-26 15:00:08.1053 31/Tt age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /home/app/pact_broker: An error occurred while starting up the preloader.
broker_app_1 | Error ID: 7680129f
broker_app_1 | Error details saved to: /tmp/passenger-error-9YmlI8.html
broker_app_1 | Message from application: uninitialized constant PactBroker::Api::Resources::BaseResource (NameError)
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/api/resources/verification_triggered_webhooks.rb:6:in `<module:Resources>'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/api/resources/verification_triggered_webhooks.rb:5:in `<module:Api>'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/api/resources/verification_triggered_webhooks.rb:4:in `<module:PactBroker>'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/api/resources/verification_triggered_webhooks.rb:3:in `<top (required)>'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/api/resources.rb:9:in `require'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/api/resources.rb:9:in `block in <top (required)>'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/api/resources.rb:8:in `glob'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/api/resources.rb:8:in `<top (required)>'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/api.rb:2:in `require'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/api.rb:2:in `<top (required)>'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/app.rb:137:in `require'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/app.rb:137:in `build_api'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/app.rb:103:in `prepare_app'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/pact_broker-2.23.2/lib/pact_broker/app.rb:32:in `initialize'
broker_app_1 | config.ru:12:in `new'
broker_app_1 | config.ru:12:in `block in <main>'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/builder.rb:55:in `instance_eval'
broker_app_1 | /home/app/pact_broker/vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/builder.rb:55:in `initialize'
broker_app_1 | config.ru:1:in `new'
broker_app_1 | config.ru:1:in `<main>'
broker_app_1 | /usr/share/passenger/helper-scripts/rack-preloader.rb:110:in `eval'
broker_app_1 | /usr/share/passenger/helper-scripts/rack-preloader.rb:110:in `preload_app'
broker_app_1 | /usr/share/passenger/helper-scripts/rack-preloader.rb:156:in `<module:App>'
broker_app_1 | /usr/share/passenger/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
broker_app_1 | /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<main>'
from pact_broker-docker.
As mentioned in related issue, this is fixed.
from pact_broker-docker.
Related Issues (20)
- Pact Broker fails to connect to Aurora PostgreSQL database HOT 5
- docker image does not create/seed sqlite database out of the box HOT 3
- Chore: migrate away from TravisCI
- Multiple vulnerabilities present in dius/pact-broker image v2.68.1.0 HOT 7
- version 2.88.0.0 doesn't use value of PACT_BROKER_DATABASE_PORT HOT 4
- What volumes should I mount on my docker-compose to persist data HOT 12
- Document how to configure the pact broker HOT 3
- Pact Broker SSL Certificates for Webhooks HOT 8
- Webhook Execution Status not visible HOT 1
- ERROR: for pact_broker_app_1 Cannot start service broker_app: driver failed programming external connectivity on endpoint pact_broker_app_1 HOT 2
- Example `docker-compose up` does not start successfully due to passenger/RVM. HOT 3
- Run application as app user instead of root user? HOT 13
- runit daemon is shut down after passenger starts & connects to db HOT 1
- [question] How to define PostgreSQL slave / failover? HOT 2
- Webhook not triggered with multiple providers after deleting one webhook HOT 2
- Large pacts over 1mb are rejected by nginx config HOT 6
- Cloud Foundry Push dockerized image HOT 4
- Expose postgres sslmode via environment variable
- Upgrade to latest version of Ruby Passenger docker image
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pact_broker-docker.