502 Bad Gateway Nginx was working fine for 12 months, not sure how or what to restore
Added by Tom Coady almost 13 years ago
OK I think the subject says most of it. Let me know what information is needed to get this lovely redmine back up - I depend on it!
tom@ip-10-227-103-56:~$ curl -I http://localhost:7070 curl: (7) couldn't connect to host tom@ip-10-227-103-56:~$ curl -I http://localhost:8080 curl: (7) couldn't connect to host tom@ip-10-227-103-56:~$ ruby1.8 -v ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux] tom@ip-10-227-103-56:~$ rails --version Rails 3.0.0 tom@ip-10-227-103-56:~$ uname -a Linux ip-10-227-103-56 2.6.21.7-2.fc8xen-ec2-v1.0 #2 SMP Tue Sep 1 10:04:29 EDT 2009 i686 GNU/Linux tom@ip-10-227-103-56:~$ sudo mysql --version mysql Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2 tom@ip-10-227-103-56:~$ cd /var/www/redmine-1.0.2/ tom@ip-10-227-103-56:/var/www/redmine-1.0.2$ rake (in /var/www/redmine-1.0.2) /usr/bin/ruby1.8 -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/functional/journals_controller_test.rb" "test/functional/groups_controller_test.rb" "test/functional/previews_controller_test.rb" "test/functional/wikis_controller_test.rb" "test/functional/issue_relations_controller_test.rb" "test/functional/roles_controller_test.rb" "test/functional/account_controller_test.rb" "test/functional/repositories_mercurial_controller_test.rb" "test/functional/project_enumerations_controller_test.rb" "test/functional/auth_sources_controller_test.rb" "test/functional/timelog_controller_test.rb" "test/functional/admin_controller_test.rb" "test/functional/issues_controller_test.rb" "test/functional/issues_controller_transaction_test.rb" "test/functional/application_controller_test.rb" "test/functional/sys_controller_test.rb" "test/functional/repositories_bazaar_controller_test.rb" "test/functional/welcome_controller_test.rb" "test/functional/repositories_cvs_controller_test.rb" "test/functional/reports_controller_test.rb" "test/functional/issue_moves_controller_test.rb" "test/functional/news_controller_test.rb" "test/functional/search_controller_test.rb" "test/functional/wiki_controller_test.rb" "test/functional/context_menus_controller_test.rb" "test/functional/my_controller_test.rb" "test/functional/settings_controller_test.rb" "test/functional/repositories_darcs_controller_test.rb" "test/functional/issue_statuses_controller_test.rb" "test/functional/queries_controller_test.rb" "test/functional/enumerations_controller_test.rb" "test/functional/gantts_controller_test.rb" "test/functional/documents_controller_test.rb" "test/functional/issue_categories_controller_test.rb" "test/functional/trackers_controller_test.rb" "test/functional/projects_controller_test.rb" "test/functional/repositories_subversion_controller_test.rb" "test/functional/workflows_controller_test.rb" "test/functional/activities_controller_test.rb" "test/functional/custom_fields_controller_test.rb" "test/functional/attachments_controller_test.rb" "test/functional/mail_handler_controller_test.rb" "test/functional/repositories_git_controller_test.rb" "test/functional/members_controller_test.rb" "test/functional/watchers_controller_test.rb" "test/functional/calendars_controller_test.rb" "test/functional/users_controller_test.rb" "test/functional/files_controller_test.rb" "test/functional/boards_controller_test.rb" "test/functional/auto_completes_controller_test.rb" "test/functional/repositories_controller_test.rb" "test/functional/versions_controller_test.rb" "test/functional/messages_controller_test.rb" /var/www/redmine-1.0.2/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement Rails Error: Unable to access log file. Please ensure that /var/www/redmine-1.0.2/log/test.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed. Missing these required gems: shoulda ~> 2.10.3 edavis10-object_daddy mocha You're running: ruby 1.8.7.72 at /usr/bin/ruby1.8 rubygems 1.3.7 at /home/tom/.gem/ruby/1.8, /usr/lib/ruby/gems/1.8 Run `rake gems:install` to install the missing gems. /usr/bin/ruby1.8 -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/integration/routing_test.rb" "test/integration/issues_api_test.rb" "test/integration/disabled_rest_api_test.rb" "test/integration/projects_api_test.rb" "test/integration/api_token_login_test.rb" "test/integration/http_basic_login_with_api_token_test.rb" "test/integration/admin_test.rb" "test/integration/lib/redmine/menu_manager_test.rb" "test/integration/projects_test.rb" "test/integration/http_basic_login_test.rb" "test/integration/application_test.rb" "test/integration/issues_test.rb" "test/integration/account_test.rb" "test/integration/layout_test.rb" /var/www/redmine-1.0.2/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement Rails Error: Unable to access log file. Please ensure that /var/www/redmine-1.0.2/log/test.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed. Missing these required gems: shoulda ~> 2.10.3 edavis10-object_daddy mocha You're running: ruby 1.8.7.72 at /usr/bin/ruby1.8 rubygems 1.3.7 at /home/tom/.gem/ruby/1.8, /usr/lib/ruby/gems/1.8 Run `rake gems:install` to install the missing gems. Errors running test:units, test:functionals, and test:integration! tom@ip-10-227-103-56:/var/www/redmine-1.0.2$ sudo touch /var/www/redmine-1.0.2/log/test.log tom@ip-10-227-103-56:/var/www/redmine-1.0.2$ sudo chmod 666 /var/www/redmine-1.0.2/log/test.log tom@ip-10-227-103-56:/var/www/redmine-1.0.2$ rake (in /var/www/redmine-1.0.2) /usr/bin/ruby1.8 -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/functional/journals_controller_test.rb" "test/functional/groups_controller_test.rb" "test/functional/previews_controller_test.rb" "test/functional/wikis_controller_test.rb" "test/functional/issue_relations_controller_test.rb" "test/functional/roles_controller_test.rb" "test/functional/account_controller_test.rb" "test/functional/repositories_mercurial_controller_test.rb" "test/functional/project_enumerations_controller_test.rb" "test/functional/auth_sources_controller_test.rb" "test/functional/timelog_controller_test.rb" "test/functional/admin_controller_test.rb" "test/functional/issues_controller_test.rb" "test/functional/issues_controller_transaction_test.rb" "test/functional/application_controller_test.rb" "test/functional/sys_controller_test.rb" "test/functional/repositories_bazaar_controller_test.rb" "test/functional/welcome_controller_test.rb" "test/functional/repositories_cvs_controller_test.rb" "test/functional/reports_controller_test.rb" "test/functional/issue_moves_controller_test.rb" "test/functional/news_controller_test.rb" "test/functional/search_controller_test.rb" "test/functional/wiki_controller_test.rb" "test/functional/context_menus_controller_test.rb" "test/functional/my_controller_test.rb" "test/functional/settings_controller_test.rb" "test/functional/repositories_darcs_controller_test.rb" "test/functional/issue_statuses_controller_test.rb" "test/functional/queries_controller_test.rb" "test/functional/enumerations_controller_test.rb" "test/functional/gantts_controller_test.rb" "test/functional/documents_controller_test.rb" "test/functional/issue_categories_controller_test.rb" "test/functional/trackers_controller_test.rb" "test/functional/projects_controller_test.rb" "test/functional/repositories_subversion_controller_test.rb" "test/functional/workflows_controller_test.rb" "test/functional/activities_controller_test.rb" "test/functional/custom_fields_controller_test.rb" "test/functional/attachments_controller_test.rb" "test/functional/mail_handler_controller_test.rb" "test/functional/repositories_git_controller_test.rb" "test/functional/members_controller_test.rb" "test/functional/watchers_controller_test.rb" "test/functional/calendars_controller_test.rb" "test/functional/users_controller_test.rb" "test/functional/files_controller_test.rb" "test/functional/boards_controller_test.rb" "test/functional/auto_completes_controller_test.rb" "test/functional/repositories_controller_test.rb" "test/functional/versions_controller_test.rb" "test/functional/messages_controller_test.rb" /var/www/redmine-1.0.2/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement Missing these required gems: shoulda ~> 2.10.3 edavis10-object_daddy mocha You're running: ruby 1.8.7.72 at /usr/bin/ruby1.8 rubygems 1.3.7 at /home/tom/.gem/ruby/1.8, /usr/lib/ruby/gems/1.8 Run `rake gems:install` to install the missing gems. /usr/bin/ruby1.8 -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/integration/routing_test.rb" "test/integration/issues_api_test.rb" "test/integration/disabled_rest_api_test.rb" "test/integration/projects_api_test.rb" "test/integration/api_token_login_test.rb" "test/integration/http_basic_login_with_api_token_test.rb" "test/integration/admin_test.rb" "test/integration/lib/redmine/menu_manager_test.rb" "test/integration/projects_test.rb" "test/integration/http_basic_login_test.rb" "test/integration/application_test.rb" "test/integration/issues_test.rb" "test/integration/account_test.rb" "test/integration/layout_test.rb" /var/www/redmine-1.0.2/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement Missing these required gems: shoulda ~> 2.10.3 edavis10-object_daddy mocha You're running: ruby 1.8.7.72 at /usr/bin/ruby1.8 rubygems 1.3.7 at /home/tom/.gem/ruby/1.8, /usr/lib/ruby/gems/1.8 Run `rake gems:install` to install the missing gems. Errors running test:units, test:functionals, and test:integration! tom@ip-10-227-103-56:/var/www/redmine-1.0.2$ rake gems:install (in /var/www/redmine-1.0.2) tom@ip-10-227-103-56:/var/www/redmine-1.0.2$ sudo rake gems:install (in /var/www/redmine-1.0.2) tom@ip-10-227-103-56:/var/www/redmine-1.0.2$ sudo rake (in /var/www/redmine-1.0.2) /usr/bin/ruby1.8 -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/functional/journals_controller_test.rb" "test/functional/groups_controller_test.rb" "test/functional/previews_controller_test.rb" "test/functional/wikis_controller_test.rb" "test/functional/issue_relations_controller_test.rb" "test/functional/roles_controller_test.rb" "test/functional/account_controller_test.rb" "test/functional/repositories_mercurial_controller_test.rb" "test/functional/project_enumerations_controller_test.rb" "test/functional/auth_sources_controller_test.rb" "test/functional/timelog_controller_test.rb" "test/functional/admin_controller_test.rb" "test/functional/issues_controller_test.rb" "test/functional/issues_controller_transaction_test.rb" "test/functional/application_controller_test.rb" "test/functional/sys_controller_test.rb" "test/functional/repositories_bazaar_controller_test.rb" "test/functional/welcome_controller_test.rb" "test/functional/repositories_cvs_controller_test.rb" "test/functional/reports_controller_test.rb" "test/functional/issue_moves_controller_test.rb" "test/functional/news_controller_test.rb" "test/functional/search_controller_test.rb" "test/functional/wiki_controller_test.rb" "test/functional/context_menus_controller_test.rb" "test/functional/my_controller_test.rb" "test/functional/settings_controller_test.rb" "test/functional/repositories_darcs_controller_test.rb" "test/functional/issue_statuses_controller_test.rb" "test/functional/queries_controller_test.rb" "test/functional/enumerations_controller_test.rb" "test/functional/gantts_controller_test.rb" "test/functional/documents_controller_test.rb" "test/functional/issue_categories_controller_test.rb" "test/functional/trackers_controller_test.rb" "test/functional/projects_controller_test.rb" "test/functional/repositories_subversion_controller_test.rb" "test/functional/workflows_controller_test.rb" "test/functional/activities_controller_test.rb" "test/functional/custom_fields_controller_test.rb" "test/functional/attachments_controller_test.rb" "test/functional/mail_handler_controller_test.rb" "test/functional/repositories_git_controller_test.rb" "test/functional/members_controller_test.rb" "test/functional/watchers_controller_test.rb" "test/functional/calendars_controller_test.rb" "test/functional/users_controller_test.rb" "test/functional/files_controller_test.rb" "test/functional/boards_controller_test.rb" "test/functional/auto_completes_controller_test.rb" "test/functional/repositories_controller_test.rb" "test/functional/versions_controller_test.rb" "test/functional/messages_controller_test.rb" /var/www/redmine-1.0.2/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement Missing these required gems: shoulda ~> 2.10.3 edavis10-object_daddy mocha You're running: ruby 1.8.7.72 at /usr/bin/ruby1.8 rubygems 1.3.7 at /home/tom/.gem/ruby/1.8, /usr/lib/ruby/gems/1.8 Run `rake gems:install` to install the missing gems. /usr/bin/ruby1.8 -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/integration/routing_test.rb" "test/integration/issues_api_test.rb" "test/integration/disabled_rest_api_test.rb" "test/integration/projects_api_test.rb" "test/integration/api_token_login_test.rb" "test/integration/http_basic_login_with_api_token_test.rb" "test/integration/admin_test.rb" "test/integration/lib/redmine/menu_manager_test.rb" "test/integration/projects_test.rb" "test/integration/http_basic_login_test.rb" "test/integration/application_test.rb" "test/integration/issues_test.rb" "test/integration/account_test.rb" "test/integration/layout_test.rb" /var/www/redmine-1.0.2/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement Missing these required gems: shoulda ~> 2.10.3 edavis10-object_daddy mocha You're running: ruby 1.8.7.72 at /usr/bin/ruby1.8 rubygems 1.3.7 at /home/tom/.gem/ruby/1.8, /usr/lib/ruby/gems/1.8 Run `rake gems:install` to install the missing gems. Errors running test:units, test:functionals, and test:integration!