Created
April 13, 2016 16:36
-
-
Save stbenjam/c182ff0b1fe99bef6680ea4463f1f156 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[vagrant@centos7-bats migrate]$ sudo foreman-rake db:migrate:down VERSION=20160404074723 | |
/opt/theforeman/tfm/root/usr/share/gems/gems/docker-api-1.17.0/lib/docker.rb:103: warning: circular argument reference - connection | |
== 20160404074723 DowncaseDisplayTypes: reverting ============================= | |
== 20160404074723 DowncaseDisplayTypes: reverted (0.0000s) ==================== | |
[vagrant@centos7-bats migrate]$ sudo systemctl restart httpd foreman-tasks | |
And after trying to visit the URL you get this error in the logs: | |
2016-04-13 12:34:12 [app] [I] Started HEAD "/" for 127.0.0.1 at 2016-04-13 12:34:12 -0400 | |
2016-04-13 12:34:12 [app] [F] | |
| ActiveRecord::PendingMigrationError ( | |
| | |
| Migrations are pending. To resolve this issue, run: | |
| | |
| bin/rake db:migrate RAILS_ENV=production | |
| | |
| ): | |
| activerecord (4.1.5) lib/active_record/migration.rb:389:in `check_pending!' | |
| activerecord (4.1.5) lib/active_record/migration.rb:377:in `call' | |
| actionpack (4.1.5) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' | |
| activesupport (4.1.5) lib/active_support/callbacks.rb:82:in `run_callbacks' | |
| actionpack (4.1.5) lib/action_dispatch/middleware/callbacks.rb:27:in `call' | |
| actionpack (4.1.5) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' | |
| actionpack (4.1.5) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' | |
| actionpack (4.1.5) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' | |
| railties (4.1.5) lib/rails/rack/logger.rb:38:in `call_app' | |
| railties (4.1.5) lib/rails/rack/logger.rb:22:in `call' | |
| actionpack (4.1.5) lib/action_dispatch/middleware/request_id.rb:21:in `call' | |
| rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' | |
| rack (1.5.2) lib/rack/runtime.rb:17:in `call' | |
| activesupport (4.1.5) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' | |
| actionpack (4.1.5) lib/action_dispatch/middleware/static.rb:64:in `call' | |
| rack (1.5.2) lib/rack/sendfile.rb:112:in `call' | |
| railties (4.1.5) lib/rails/engine.rb:514:in `call' | |
| railties (4.1.5) lib/rails/application.rb:144:in `call' | |
| railties (4.1.5) lib/rails/railtie.rb:194:in `public_send' | |
| railties (4.1.5) lib/rails/railtie.rb:194:in `method_missing' | |
| rack (1.5.2) lib/rack/builder.rb:138:in `call' | |
| rack (1.5.2) lib/rack/urlmap.rb:65:in `block in call' | |
| rack (1.5.2) lib/rack/urlmap.rb:50:in `each' | |
| rack (1.5.2) lib/rack/urlmap.rb:50:in `call' | |
| /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' | |
| /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' | |
| /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' | |
| /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' | |
| logging (1.8.2) lib/logging/diagnostic_context.rb:323:in `call' | |
| logging (1.8.2) lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context' | |
| |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment