User:Woozle/Mastodon/setup/take 3/paste-5

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< User:Woozle‎ | Mastodon‎ | setup‎ | take 3
Jump to navigation Jump to search

root@cloud4:/home/icmstdn/apps/mastodon# /home/icmstdn/.rbenv/shims/bundle exec puma -C config/puma.rb

[31587] Puma starting in cluster mode...
[31587] * Version 3.11.0 (ruby 2.4.2-p198), codename: Love Song
[31587] * Min threads: 5, max threads: 5
[31587] * Environment: development
[31587] * Process workers: 2
[31587] * Preloading application
[31587] ! Unable to load application: NameError: uninitialized constant ActiveRecordQueryTrace
bundler: failed to load command: puma (/home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/bin/puma)
NameError: uninitialized constant ActiveRecordQueryTrace
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:49:in `block in load_missing_constant'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:8:in `without_bootsnap_cache'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:49:in `rescue in load_missing_constant'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:43:in `load_missing_constant'
  /home/icmstdn/apps/mastodon/config/environments/development.rb:87:in `<top (required)>'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/engine.rb:600:in `block (2 levels) in <class:Engine>'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/engine.rb:599:in `each'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/engine.rb:599:in `block in <class:Engine>'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `instance_exec'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `run'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/initializable.rb:59:in `block in run_initializers'
  /home/icmstdn/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:228:in `block in tsort_each'
  /home/icmstdn/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
  /home/icmstdn/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
  /home/icmstdn/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:431:in `each_strongly_connected_component_from'
  /home/icmstdn/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/initializable.rb:48:in `each'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/initializable.rb:48:in `tsort_each_child'
  /home/icmstdn/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:415:in `call'
  /home/icmstdn/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:415:in `each_strongly_connected_component_from'
  /home/icmstdn/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:349:in `block in each_strongly_connected_component'
  /home/icmstdn/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:347:in `each'
  /home/icmstdn/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:347:in `call'
  /home/icmstdn/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:347:in `each_strongly_connected_component'
  /home/icmstdn/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:226:in `tsort_each'
  /home/icmstdn/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:205:in `tsort_each'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/initializable.rb:58:in `run_initializers'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/application.rb:353:in `initialize!'
  /home/icmstdn/apps/mastodon/config/environment.rb:5:in `<top (required)>'
  config.ru:4:in `require'
  config.ru:4:in `block in <main>'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/rack-2.0.3/lib/rack/builder.rb:55:in `instance_eval'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/rack-2.0.3/lib/rack/builder.rb:55:in `initialize'
  config.ru:in `new'
  config.ru:in `<main>'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/rack-2.0.3/lib/rack/builder.rb:49:in `eval'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/rack-2.0.3/lib/rack/builder.rb:49:in `new_from_string'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/rack-2.0.3/lib/rack/builder.rb:40:in `parse_file'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/puma-3.11.0/lib/puma/configuration.rb:318:in `load_rackup'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/puma-3.11.0/lib/puma/configuration.rb:243:in `app'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/puma-3.11.0/lib/puma/runner.rb:138:in `load_and_bind'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/puma-3.11.0/lib/puma/cluster.rb:397:in `run'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/puma-3.11.0/lib/puma/launcher.rb:183:in `run'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/puma-3.11.0/lib/puma/cli.rb:77:in `run'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/gems/puma-3.11.0/bin/puma:10:in `<top (required)>'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/bin/puma:23:in `load'
  /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/bin/puma:23:in `<top (required)>'

This line was highlighted in red:

bundler: failed to load command: puma (/home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/bin/puma)

Executing that directly returns this:

/usr/lib/ruby/2.3.0/rubygems/dependency.rb:319:in `to_specs': Could not find 'puma' (>= 0.a) among 103 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/root/.gem/ruby/2.3.0:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all', execute `gem env` for more information
	from /usr/lib/ruby/2.3.0/rubygems/dependency.rb:328:in `to_spec'
	from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:65:in `gem'
	from /home/icmstdn/apps/mastodon/vendor/bundle/ruby/2.4.0/bin/puma:25:in `<main>'

Maybe Puma isn't installed?

root@cloud4:/home/icmstdn/apps/mastodon# gem install puma
Fetching: puma-3.11.0.gem (100%)
Building native extensions.  This could take a while...
Successfully installed puma-3.11.0
Parsing documentation for puma-3.11.0
Installing ri documentation for puma-3.11.0
Done installing documentation for puma after 2 seconds
1 gem installed

So, uh, yeah, maybe it wasn't.