Skip to content

Instantly share code, notes, and snippets.

@jcreed
Created March 28, 2024 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcreed/cd9eec63dca8bb54324a86989bb189fe to your computer and use it in GitHub Desktop.
Save jcreed/cd9eec63dca8bb54324a86989bb189fe to your computer and use it in GitHub Desktop.
res cas issue
Defaulted container "wa-app" out of: wa-app, init-sysctl (init), init (init)
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
Welcome to namespace 'nf-68387-offepic'
rake aborted!
Psych::SyntaxError: (<unknown>): did not find expected key while parsing a block mapping at line 1 column 1
/opt/app/config/application.rb:110:in `<class:Application>'
/opt/app/config/application.rb:30:in `<module:Webadmit>'
/opt/app/config/application.rb:29:in `<top (required)>'
/opt/app/Rakefile:6:in `require'
/opt/app/Rakefile:6:in `<top (required)>'
/home/app/bundle/ruby/3.3.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/home/app/bundle/bin/bundle:113:in `load'
/home/app/bundle/bin/bundle:113:in `<main>'
(See full trace by running task with --trace)
real 0m9.355s
user 0m6.200s
sys 0m3.078s
starting passenger
[passenger_native_support.so] trying to compile for the current user (app) and Ruby interpreter...
(set PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY=0 to disable)
Compilation successful. The logs are here:
/tmp/passenger_native_support-1piu0r2.log
[passenger_native_support.so] successfully loaded.
[ N 2024-03-28 14:09:28.9608 75/T1 age/Wat/WatchdogMain.cpp:1377 ]: Starting Passenger watchdog...
[ N 2024-03-28 14:09:28.9761 78/T1 age/Cor/CoreMain.cpp:1340 ]: Starting Passenger core...
[ N 2024-03-28 14:09:28.9762 78/T1 age/Cor/CoreMain.cpp:256 ]: Passenger core running in multi-application mode.
[ N 2024-03-28 14:09:29.0167 78/T1 age/Cor/CoreMain.cpp:1015 ]: Passenger core online, PID 78
=============== Phusion Passenger(R) Standalone web server started ===============
PID file: /opt/app/passenger.8080.pid
Log file: /dev/stdout
Environment: qa
Accessible via: http://0.0.0.0:8080/
You can stop Phusion Passenger(R) Standalone by pressing Ctrl-C.
Problems? Check https://www.phusionpassenger.com/library/admin/standalone/troubleshooting/
===============================================================================
[ N 2024-03-28 14:09:31.5141 78/T5 age/Cor/SecurityUpdateChecker.h:519 ]: Security update check: no update found (next check in 24 hours)
App 133 output: DEPRECATION WARNING: Calling silenced= on ActiveSupport::Deprecation is deprecated and will be removed from Rails (use Rails.application.deprecators.silenced= instead) (called from <class:Application> at /opt/app/config/application.rb:122)
App 133 output: Running Rails 7.1.2
App 133 output: Running Ruby 3.3.0
App 133 output: NOTICE: Your OS collation is set differently from production. This doesn't affect most features, but WebAdMIT does expect case-insensitive ordering. Find more information and work-around instructions here: https://liaison-intl.atlassian.net/wiki/display/S1/Collation
App 133 output:
App 133 output: Running PostgreSQL 13.2 (Debian 13.2-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
App 133 output: statement_timeout: 1h
App 133 output:
App 133 output: /opt/app/config/initializers/sidekiq.rb:5: warning: already initialized constant Sidekiq::BasicFetch::TIMEOUT
App 133 output: /home/app/bundle/ruby/3.3.0/gems/sidekiq-7.2.0/lib/sidekiq/fetch.rb:12: warning: previous definition of TIMEOUT was here
App 133 output: /home/app/bundle/ruby/3.3.0/bundler/gems/after_party-6ea2d03ac6b2/lib/after_party/models/task_recorder.rb:7: warning: already initialized constant AfterParty::TaskRecorder::FILE_MASK
App 133 output: /home/app/bundle/ruby/3.3.0/bundler/gems/after_party-6ea2d03ac6b2/lib/after_party/models/task_recorder.rb:7: warning: previous definition of FILE_MASK was here
Stopping web server...
[ N 2024-03-28 14:18:29.1241 78/T8 age/Cor/CoreMain.cpp:670 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ N 2024-03-28 14:18:29.1241 78/T1 age/Cor/CoreMain.cpp:1245 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
[ N 2024-03-28 14:18:29.1242 78/T1 age/Cor/CoreMain.cpp:1146 ]: Checking whether to disconnect long-running connections for process 184, application /opt/app (qa)
[ N 2024-03-28 14:18:29.1245 78/T1 age/Cor/CoreMain.cpp:1146 ]: Checking whether to disconnect long-running connections for process 209, application /opt/app (qa)
[ N 2024-03-28 14:18:29.1246 78/T1 age/Cor/CoreMain.cpp:1146 ]: Checking whether to disconnect long-running connections for process 231, application /opt/app (qa)
[ N 2024-03-28 14:18:29.1248 78/T1 age/Cor/CoreMain.cpp:1146 ]: Checking whether to disconnect long-running connections for process 253, application /opt/app (qa)
[ N 2024-03-28 14:18:29.1250 78/T1 age/Cor/CoreMain.cpp:1146 ]: Checking whether to disconnect long-running connections for process 275, application /opt/app (qa)
[ N 2024-03-28 14:18:29.1251 78/T1 age/Cor/CoreMain.cpp:1146 ]: Checking whether to disconnect long-running connections for process 297, application /opt/app (qa)
[ N 2024-03-28 14:18:29.1253 78/T8 Ser/Server.h:901 ]: [ServerThr.1] Freed 0 spare client objects
[ N 2024-03-28 14:18:29.1253 78/Ta Ser/Server.h:901 ]: [ServerThr.2] Freed 0 spare client objects
[ N 2024-03-28 14:18:29.1253 78/Te Ser/Server.h:901 ]: [ServerThr.4] Freed 0 spare client objects
[ N 2024-03-28 14:18:29.1254 78/Tc Ser/Server.h:901 ]: [ServerThr.3] Freed 0 spare client objects
[ N 2024-03-28 14:18:29.1254 78/T8 Ser/Server.h:558 ]: [ServerThr.1] Shutdown finished
[ N 2024-03-28 14:18:29.1254 78/Te Ser/Server.h:558 ]: [ServerThr.4] Shutdown finished
[ N 2024-03-28 14:18:29.1254 78/Tg Ser/Server.h:901 ]: [ServerThr.5] Freed 0 spare client objects
[ N 2024-03-28 14:18:29.1254 78/Ta Ser/Server.h:558 ]: [ServerThr.2] Shutdown finished
[ N 2024-03-28 14:18:29.1254 78/Ti Ser/Server.h:901 ]: [ServerThr.6] Freed 0 spare client objects
[ N 2024-03-28 14:18:29.1254 78/Tc Ser/Server.h:558 ]: [ServerThr.3] Shutdown finished
[ N 2024-03-28 14:18:29.1254 78/Tk Ser/Server.h:901 ]: [ServerThr.7] Freed 0 spare client objects
[ N 2024-03-28 14:18:29.1254 78/Tg Ser/Server.h:558 ]: [ServerThr.5] Shutdown finished
[ N 2024-03-28 14:18:29.1254 78/Tq Ser/Server.h:901 ]: [ServerThr.10] Freed 0 spare client objects
[ N 2024-03-28 14:18:29.1254 78/Tn Ser/Server.h:901 ]: [ServerThr.8] Freed 0 spare client objects
[ N 2024-03-28 14:18:29.1254 78/Ts Ser/Server.h:901 ]: [ServerThr.11] Freed 0 spare client objects
[ N 2024-03-28 14:18:29.1254 78/Tk Ser/Server.h:558 ]: [ServerThr.7] Shutdown finished
[ N 2024-03-28 14:18:29.1254 78/Tn Ser/Server.h:558 ]: [ServerThr.8] Shutdown finished
[ N 2024-03-28 14:18:29.1254 78/Tq Ser/Server.h:558 ]: [ServerThr.10] Shutdown finished
[ N 2024-03-28 14:18:29.1254 78/Ti Ser/Server.h:558 ]: [ServerThr.6] Shutdown finished
[ N 2024-03-28 14:18:29.1254 78/Tu Ser/Server.h:901 ]: [ServerThr.12] Freed 0 spare client objects
[ N 2024-03-28 14:18:29.1254 78/Ts Ser/Server.h:558 ]: [ServerThr.11] Shutdown finished
[ N 2024-03-28 14:18:29.1254 78/Tu Ser/Server.h:558 ]: [ServerThr.12] Shutdown finished
[ N 2024-03-28 14:18:29.1254 78/Tz Ser/Server.h:901 ]: [ServerThr.14] Freed 0 spare client objects
[ N 2024-03-28 14:18:29.1254 78/Tw Ser/Server.h:901 ]: [ServerThr.13] Freed 0 spare client objects
[ N 2024-03-28 14:18:29.1255 78/Tz Ser/Server.h:558 ]: [ServerThr.14] Shutdown finished
[ N 2024-03-28 14:18:29.1255 78/T12 Ser/Server.h:901 ]: [ServerThr.16] Freed 0 spare client objects
[ N 2024-03-28 14:18:29.1255 78/Tw Ser/Server.h:558 ]: [ServerThr.13] Shutdown finished
[ N 2024-03-28 14:18:29.1255 78/T12 Ser/Server.h:558 ]: [ServerThr.16] Shutdown finished
[ N 2024-03-28 14:18:29.1255 78/To Ser/Server.h:901 ]: [ServerThr.9] Freed 0 spare client objects
[ N 2024-03-28 14:18:29.1255 78/To Ser/Server.h:558 ]: [ServerThr.9] Shutdown finished
[ N 2024-03-28 14:18:29.1255 78/T10 Ser/Server.h:901 ]: [ServerThr.15] Freed 0 spare client objects
[ N 2024-03-28 14:18:29.1255 78/T10 Ser/Server.h:558 ]: [ServerThr.15] Shutdown finished
[ N 2024-03-28 14:18:29.1256 78/T14 Ser/Server.h:901 ]: [ApiServer] Freed 0 spare client objects
[ N 2024-03-28 14:18:29.1256 78/T14 Ser/Server.h:558 ]: [ApiServer] Shutdown finished
[ N 2024-03-28 14:18:29.1260 78/T1 age/Cor/CoreMain.cpp:1146 ]: Checking whether to disconnect long-running connections for process 184, application /opt/app (qa)
[ N 2024-03-28 14:18:29.1262 78/T1 age/Cor/CoreMain.cpp:1146 ]: Checking whether to disconnect long-running connections for process 209, application /opt/app (qa)
[ N 2024-03-28 14:18:29.1264 78/T1 age/Cor/CoreMain.cpp:1146 ]: Checking whether to disconnect long-running connections for process 231, application /opt/app (qa)
[ N 2024-03-28 14:18:29.1266 78/T1 age/Cor/CoreMain.cpp:1146 ]: Checking whether to disconnect long-running connections for process 253, application /opt/app (qa)
[ N 2024-03-28 14:18:29.1267 78/T1 age/Cor/CoreMain.cpp:1146 ]: Checking whether to disconnect long-running connections for process 275, application /opt/app (qa)
[ N 2024-03-28 14:18:29.1269 78/T1 age/Cor/CoreMain.cpp:1146 ]: Checking whether to disconnect long-running connections for process 297, application /opt/app (qa)
nginx: [error] open() "/opt/app/passenger.8080.pid" failed (2: No such file or directory)
bundler: failed to load command: passenger (/home/app/bundle/ruby/3.3.0/bin/passenger)
/home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller.rb:448:in `rescue in kill_daemon': Daemon 'Nginx' failed to start. (PhusionPassenger::DaemonController::StopError)
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller.rb:445:in `kill_daemon'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller.rb:304:in `block (2 levels) in stop'
from /usr/local/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout'
from /usr/local/lib/ruby/3.3.0/timeout.rb:193:in `timeout'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller.rb:303:in `block in stop'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/lock_file.rb:68:in `block in exclusive_lock'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/lock_file.rb:63:in `open'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/lock_file.rb:63:in `exclusive_lock'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller.rb:301:in `stop'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb:531:in `block in trapsafe_shutdown_and_cleanup'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb:528:in `synchronize'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb:528:in `trapsafe_shutdown_and_cleanup'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb:86:in `run'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/standalone/main.rb:51:in `run!'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/bin/passenger:45:in `<top (required)>'
from /home/app/bundle/ruby/3.3.0/bin/passenger:25:in `load'
from /home/app/bundle/ruby/3.3.0/bin/passenger:25:in `<top (required)>'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/cli/exec.rb:58:in `load'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/cli/exec.rb:58:in `kernel_load'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/cli/exec.rb:23:in `run'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/cli.rb:491:in `exec'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/cli.rb:34:in `dispatch'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/cli.rb:28:in `start'
from /usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.4.1/exe/bundle:45:in `block in <top (required)>'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/friendly_errors.rb:117:in `with_friendly_errors'
from /usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.4.1/exe/bundle:33:in `<top (required)>'
from /home/app/bundle/bin/bundle:113:in `load'
from /home/app/bundle/bin/bundle:113:in `<main>'
/home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller.rb:813:in `run_command_without_capturing_output': Daemon 'Nginx' failed to start. (PhusionPassenger::DaemonController::StartError)
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller.rb:619:in `run_command'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller.rb:446:in `kill_daemon'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller.rb:304:in `block (2 levels) in stop'
from /usr/local/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout'
from /usr/local/lib/ruby/3.3.0/timeout.rb:193:in `timeout'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller.rb:303:in `block in stop'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/lock_file.rb:68:in `block in exclusive_lock'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/lock_file.rb:63:in `open'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/lock_file.rb:63:in `exclusive_lock'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller.rb:301:in `stop'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb:531:in `block in trapsafe_shutdown_and_cleanup'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb:528:in `synchronize'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb:528:in `trapsafe_shutdown_and_cleanup'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb:86:in `run'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/standalone/main.rb:51:in `run!'
from /home/app/bundle/ruby/3.3.0/gems/passenger-6.0.20/bin/passenger:45:in `<top (required)>'
from /home/app/bundle/ruby/3.3.0/bin/passenger:25:in `load'
from /home/app/bundle/ruby/3.3.0/bin/passenger:25:in `<top (required)>'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/cli/exec.rb:58:in `load'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/cli/exec.rb:58:in `kernel_load'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/cli/exec.rb:23:in `run'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/cli.rb:491:in `exec'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/cli.rb:34:in `dispatch'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/cli.rb:28:in `start'
from /usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.4.1/exe/bundle:45:in `block in <top (required)>'
from /usr/local/lib/ruby/site_ruby/3.3.0/bundler/friendly_errors.rb:117:in `with_friendly_errors'
from /usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.4.1/exe/bundle:33:in `<top (required)>'
from /home/app/bundle/bin/bundle:113:in `load'
from /home/app/bundle/bin/bundle:113:in `<main>'
rpc error: code = NotFound desc = an error occurred when try to find container "b5f28519e379e0b130079d74268af862b866b1d0881918b4eab9d56ff559348f": not found%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment