Another Docker Issue (self-inflicted this time...) #406
Closed
jasonpaulso
started this conversation in
General
Replies: 2 comments 13 replies
-
Dang. I don't get a clear clue.
First I see "loading fixtures" in the output right before it hits an error.
You could try commenting out everything in "seeds.rb". But then, oddly, it
seems to proceed anyway and then I see "Done ensuring encryption is setup"
before the error a few times?
Then the clearest error I see is:
./bin/dev: line 17: 17 Trace/breakpoint trap exec overmind start -f
Procfile.dev "$@"
So is there an issue with overmind? You could switch the dev file back to
foreman, but then I see output that makes it look like overmind started.
It's very confusing output.
I think what I would do is: completely neuter bin/dev. Just make it: echo
"inside bin dev" and do nothing else. Will that start?
That would at least confirm that it's something to do with starting the
app. Assuming yes, then just uncomment "bundle install" and see if it
proceeds successfully. Then add bin/rails db:prepare, etc.
Then skip overmind and start adding each of the commands from within
Procfile.dev one at a time.
…On Tue, Jun 11, 2024 at 12:02 PM Jason Schulz ***@***.***> wrote:
I'm a bleeding-edge early adopter, so naturally I immediately installed
macOS 18! I've now got an issue with Hosted not running in Docker. It will
try a few times to use Rosetta for... *something*. Can you ascertain from
these logs where the issue lies? I'll note that I have ~10 other containers
that are running fine, including Hosted's PG container.
2024-06-11 12:34:18 ./bin/dev
2024-06-11 12:34:19 Installing overmind...
2024-06-11 12:34:20 Fetching overmind-2.5.1.gem
2024-06-11 12:34:20 Successfully installed overmind-2.5.1
2024-06-11 12:34:20 1 gem installed
2024-06-11 12:34:20
2024-06-11 12:34:20 A new release of RubyGems is available: 3.4.19 → 3.5.11!
2024-06-11 12:34:20 Run `gem update --system 3.5.11` to update your installation.
2024-06-11 12:34:20
2024-06-11 12:34:20 Bundle complete! 40 Gemfile dependencies, 150 gems now installed.
2024-06-11 12:34:20 Use `bundle info [gemname]` to see where a bundled gem is installed.
2024-06-11 12:34:20 1 installed gem you directly depend on is looking for funding.
2024-06-11 12:34:20 Run `bundle fund` for details
2024-06-11 12:34:22 Done ensuring encryption is setup
2024-06-11 12:34:23 Loading fixtures
2024-06-11 12:34:23 rosetta error: Rosetta is only intended to run on Apple Silicon with a macOS host using Virtualization.framework with Rosetta mode enabled
2024-06-11 12:34:23 ./bin/dev: line 17: 27 Trace/breakpoint trap exec overmind start -f Procfile.dev "$@"
2024-06-11 12:34:23 ./bin/dev
2024-06-11 12:34:23 Bundle complete! 40 Gemfile dependencies, 150 gems now installed.
2024-06-11 12:34:23 Use `bundle info [gemname]` to see where a bundled gem is installed.
2024-06-11 12:34:23 1 installed gem you directly depend on is looking for funding.
2024-06-11 12:34:23 Run `bundle fund` for details
2024-06-11 12:34:26 Done ensuring encryption is setup
2024-06-11 12:34:26 rosetta error: Rosetta is only intended to run on Apple Silicon with a macOS host using Virtualization.framework with Rosetta mode enabled
2024-06-11 12:34:26 ./bin/dev: line 17: 17 Trace/breakpoint trap exec overmind start -f Procfile.dev "$@"
2024-06-11 12:34:26 ./bin/dev
2024-06-11 12:34:27 Bundle complete! 40 Gemfile dependencies, 150 gems now installed.
2024-06-11 12:34:27 Use `bundle info [gemname]` to see where a bundled gem is installed.
2024-06-11 12:34:27 1 installed gem you directly depend on is looking for funding.
2024-06-11 12:34:27 Run `bundle fund` for details
2024-06-11 12:34:29 Done ensuring encryption is setup
2024-06-11 12:34:29 rosetta error: Rosetta is only intended to run on Apple Silicon with a macOS host using Virtualization.framework with Rosetta mode enabled
2024-06-11 12:34:29 ./bin/dev: line 17: 17 Trace/breakpoint trap exec overmind start -f Procfile.dev "$@"
2024-06-11 12:34:29 ./bin/dev
2024-06-11 12:34:30 Bundle complete! 40 Gemfile dependencies, 150 gems now installed.
2024-06-11 12:34:30 Use `bundle info [gemname]` to see where a bundled gem is installed.
2024-06-11 12:34:30 1 installed gem you directly depend on is looking for funding.
2024-06-11 12:34:30 Run `bundle fund` for details
2024-06-11 12:34:31 Done ensuring encryption is setup
2024-06-11 12:34:32 rosetta error: Rosetta is only intended to run on Apple Silicon with a macOS host using Virtualization.framework with Rosetta mode enabled
2024-06-11 12:34:32 ./bin/dev: line 17: 17 Trace/breakpoint trap exec overmind start -f Procfile.dev "$@"
2024-06-11 12:36:28 ./bin/dev
2024-06-11 12:36:29 Bundle complete! 40 Gemfile dependencies, 150 gems now installed.
2024-06-11 12:36:29 Use `bundle info [gemname]` to see where a bundled gem is installed.
2024-06-11 12:36:29 1 installed gem you directly depend on is looking for funding.
2024-06-11 12:36:29 Run `bundle fund` for details
2024-06-11 12:36:31 Done ensuring encryption is setup
2024-06-11 12:36:31 rosetta error: Rosetta is only intended to run on Apple Silicon with a macOS host using Virtualization.framework with Rosetta mode enabled
2024-06-11 12:36:31 ./bin/dev: line 17: 17 Trace/breakpoint trap exec overmind start -f Procfile.dev "$@"
2024-06-11 12:36:31 ./bin/dev
2024-06-11 12:36:31 Bundle complete! 40 Gemfile dependencies, 150 gems now installed.
2024-06-11 12:36:31 Use `bundle info [gemname]` to see where a bundled gem is installed.
2024-06-11 12:36:31 1 installed gem you directly depend on is looking for funding.
2024-06-11 12:36:31 Run `bundle fund` for details
2024-06-11 12:36:33 Done ensuring encryption is setup
2024-06-11 12:36:33 rosetta error: Rosetta is only intended to run on Apple Silicon with a macOS host using Virtualization.framework with Rosetta mode enabled
2024-06-11 12:36:33 ./bin/dev: line 17: 17 Trace/breakpoint trap exec overmind start -f Procfile.dev "$@"
2024-06-11 12:36:34 ./bin/dev
2024-06-11 12:36:34 Bundle complete! 40 Gemfile dependencies, 150 gems now installed.
2024-06-11 12:36:34 Use `bundle info [gemname]` to see where a bundled gem is installed.
2024-06-11 12:36:34 1 installed gem you directly depend on is looking for funding.
2024-06-11 12:36:34 Run `bundle fund` for details
2024-06-11 12:36:36 Done ensuring encryption is setup
2024-06-11 12:36:36 rosetta error: Rosetta is only intended to run on Apple Silicon with a macOS host using Virtualization.framework with Rosetta mode enabled
2024-06-11 12:36:36 ./bin/dev: line 17: 17 Trace/breakpoint trap exec overmind start -f Procfile.dev "$@"
2024-06-11 12:36:37 ./bin/dev
2024-06-11 12:36:37 Bundle complete! 40 Gemfile dependencies, 150 gems now installed.
2024-06-11 12:36:37 Use `bundle info [gemname]` to see where a bundled gem is installed.
2024-06-11 12:36:37 1 installed gem you directly depend on is looking for funding.
2024-06-11 12:36:37 Run `bundle fund` for details
2024-06-11 12:36:39 Done ensuring encryption is setup
2024-06-11 12:36:39 rosetta error: Rosetta is only intended to run on Apple Silicon with a macOS host using Virtualization.framework with Rosetta mode enabled
2024-06-11 12:36:39 ./bin/dev: line 17: 17 Trace/breakpoint trap exec overmind start -f Procfile.dev "$@"
2024-06-11 12:37:30 ./bin/dev
2024-06-11 12:37:31 Bundle complete! 40 Gemfile dependencies, 150 gems now installed.
2024-06-11 12:37:31 Use `bundle info [gemname]` to see where a bundled gem is installed.
2024-06-11 12:37:31 1 installed gem you directly depend on is looking for funding.
2024-06-11 12:37:31 Run `bundle fund` for details
2024-06-11 12:37:32 Done ensuring encryption is setup
2024-06-11 12:37:33 rosetta error: Rosetta is only intended to run on Apple Silicon with a macOS host using Virtualization.framework with Rosetta mode enabled
2024-06-11 12:37:33 ./bin/dev: line 17: 17 Trace/breakpoint trap exec overmind start -f Procfile.dev "$@"
2024-06-11 12:37:33 ./bin/dev
2024-06-11 12:37:33 Bundle complete! 40 Gemfile dependencies, 150 gems now installed.
2024-06-11 12:37:33 Use `bundle info [gemname]` to see where a bundled gem is installed.
2024-06-11 12:37:33 1 installed gem you directly depend on is looking for funding.
2024-06-11 12:37:33 Run `bundle fund` for details
2024-06-11 12:37:35 Done ensuring encryption is setup
2024-06-11 12:37:35 rosetta error: Rosetta is only intended to run on Apple Silicon with a macOS host using Virtualization.framework with Rosetta mode enabled
2024-06-11 12:37:35 ./bin/dev: line 17: 17 Trace/breakpoint trap exec overmind start -f Procfile.dev "$@"
2024-06-11 12:37:35 ./bin/dev
2024-06-11 12:37:36 Bundle complete! 40 Gemfile dependencies, 150 gems now installed.
2024-06-11 12:37:36 Use `bundle info [gemname]` to see where a bundled gem is installed.
2024-06-11 12:37:36 1 installed gem you directly depend on is looking for funding.
2024-06-11 12:37:36 Run `bundle fund` for details
2024-06-11 12:37:37 Done ensuring encryption is setup
2024-06-11 12:37:38 rosetta error: Rosetta is only intended to run on Apple Silicon with a macOS host using Virtualization.framework with Rosetta mode enabled
2024-06-11 12:37:38 ./bin/dev: line 17: 17 Trace/breakpoint trap exec overmind start -f Procfile.dev "$@"
2024-06-11 12:38:01 ./bin/dev
2024-06-11 12:38:01 Bundle complete! 40 Gemfile dependencies, 150 gems now installed.
2024-06-11 12:38:01 Use `bundle info [gemname]` to see where a bundled gem is installed.
2024-06-11 12:38:01 1 installed gem you directly depend on is looking for funding.
2024-06-11 12:38:01 Run `bundle fund` for details
2024-06-11 12:38:04 Done ensuring encryption is setup
2024-06-11 12:38:05 system | Tmux socket name: overmind-rails-PA_4HoEx7Esq94_hhD1sd
2024-06-11 12:38:05 system | Tmux session ID: rails
2024-06-11 12:38:05 system | Listening at ./.overmind.sock
2024-06-11 12:38:05 web | Started with pid 41...
2024-06-11 12:38:05 worker | Started with pid 44...
2024-06-11 12:38:05 tailwind | Started with pid 46...
2024-06-11 12:38:05 web | Interrupting...
2024-06-11 12:38:05 worker | Interrupting...
2024-06-11 12:38:05 tailwind | Interrupting...
2024-06-11 12:38:05 web | /usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/compile_cache/iseq.rb:53:in `load_from_binary': Interrupt
2024-06-11 12:38:05 web | from /usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/compile_cache/iseq.rb:53:in `storage_to_output'
2024-06-11 12:38:05 web | from /usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/compile_cache/iseq.rb:64:in `fetch'
2024-06-11 12:38:05 web | from /usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/compile_cache/iseq.rb:64:in `fetch'
2024-06-11 12:38:05 web | from /usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/compile_cache/iseq.rb:89:in `load_iseq'
2024-06-11 12:38:05 web | from /usr/local/bundle/gems/thor-1.3.1/lib/thor/shell/color.rb:1:in `require_relative'
2024-06-11 12:38:05 web | from /usr/local/bundle/gems/thor-1.3.1/lib/thor/shell/color.rb:1:in `<main>'
2024-06-11 12:38:05 web | from <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
2024-06-11 12:38:05 web | from <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
2024-06-11 12:38:05 web | from /usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
2024-06-11 12:38:05 web | from /usr/local/bundle/gems/thor-1.3.1/lib/thor/shell.rb:17:in `shell'
2024-06-11 12:38:05 web | from /usr/local/bundle/gems/thor-1.3.1/lib/thor/shell.rb:53:in `shell'
2024-06-11 12:38:05 web | from /usr/local/bundle/gems/thor-1.3.1/lib/thor/shell.rb:47:in `initialize'
2024-06-11 12:38:05 web | from /usr/local/bundle/gems/railties-7.1.3.2/lib/rails/command/environment_argument.rb:17:in `initialize'
2024-06-11 12:38:05 worker | rake aborted!
2024-06-11 12:38:05 worker | Interrupt: Interrupt
2024-06-11 12:38:05 worker | /usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/compile_cache/iseq.rb:53:in `load_from_binary'
2024-06-11 12:38:05 worker | /usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/compile_cache/iseq.rb:53:in `storage_to_output'
2024-06-11 12:38:05 worker | /usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/compile_cache/iseq.rb:64:in `fetch'
2024-06-11 12:38:05 worker | /usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/compile_cache/iseq.rb:64:in `fetch'
2024-06-11 12:38:05 worker | /usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/compile_cache/iseq.rb:89:in `load_iseq'
2024-06-11 12:38:05 worker | <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
2024-06-11 12:38:05 worker | <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
2024-06-11 12:38:05 worker | /usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
2024-06-11 12:38:05 worker | /usr/local/bundle/gems/activerecord-7.1.3.2/lib/active_record.rb:374:in `<module:ActiveRecord>'
2024-06-11 12:38:05 worker | /usr/local/bundle/gems/activerecord-7.1.3.2/lib/active_record.rb:38:in `<main>'
2024-06-11 12:38:05 worker | <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
2024-06-11 12:38:05 worker | <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
2024-06-11 12:38:05 worker | /usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
2024-06-11 12:38:05 worker | /usr/local/bundle/gems/activerecord-7.1.3.2/lib/active_record/railtie.rb:3:in `<main>'
2024-06-11 12:38:05 web | from /usr/local/bundle/gems/railties-7.1.3.2/lib/rails/commands/server/server_command.rb:126:in `initialize'
2024-06-11 12:38:05 web | from /usr/local/bundle/gems/thor-1.3.1/lib/thor.rb:523:in `new'
2024-06-11 12:38:05 web | from /usr/local/bundle/gems/thor-1.3.1/lib/thor.rb:523:in `dispatch'
2024-06-11 12:38:05 web | from /usr/local/bundle/gems/railties-7.1.3.2/lib/rails/command/base.rb:73:in `perform'
2024-06-11 12:38:05 web | from /usr/local/bundle/gems/railties-7.1.3.2/lib/rails/command.rb:71:in `block in invoke'
2024-06-11 12:38:05 web | from /usr/local/bundle/gems/railties-7.1.3.2/lib/rails/command.rb:149:in `with_argv'
2024-06-11 12:38:05 web | from /usr/local/bundle/gems/railties-7.1.3.2/lib/rails/command.rb:69:in `invoke'
2024-06-11 12:38:05 web | from /usr/local/bundle/gems/railties-7.1.3.2/lib/rails/commands.rb:18:in `<main>'
2024-06-11 12:38:05 web | from <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
2024-06-11 12:38:05 web | from <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
2024-06-11 12:38:05 worker | <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
2024-06-11 12:38:05 worker | <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
2024-06-11 12:38:05 worker | /usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
2024-06-11 12:38:05 worker | /usr/local/bundle/gems/railties-7.1.3.2/lib/rails/all.rb:20:in `block in <main>'
2024-06-11 12:38:05 worker | /usr/local/bundle/gems/railties-7.1.3.2/lib/rails/all.rb:18:in `each'
2024-06-11 12:38:05 worker | /usr/local/bundle/gems/railties-7.1.3.2/lib/rails/all.rb:18:in `<main>'
2024-06-11 12:38:05 worker | <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
2024-06-11 12:38:05 worker | <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
2024-06-11 12:38:05 worker | /usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
2024-06-11 12:38:05 worker | /rails/config/application.rb:3:in `<main>'
2024-06-11 12:38:05 web | from /usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
2024-06-11 12:38:05 web | from bin/rails:4:in `<main>'
2024-06-11 12:38:05 worker | /rails/rakefile:4:in `require_relative'
2024-06-11 12:38:05 worker | /rails/rakefile:4:in `<main>'
2024-06-11 12:38:05 worker | (See full trace by running task with --trace)
2024-06-11 12:38:05 tailwind | Exited with code 0
2024-06-11 12:38:05 worker | Exited with code 0
2024-06-11 12:38:05 web | Exited with code 0
2024-06-11 12:38:35 ./bin/dev
2024-06-11 12:38:35 Bundle complete! 40 Gemfile dependencies, 150 gems now installed.
2024-06-11 12:38:35 Use `bundle info [gemname]` to see where a bundled gem is installed.
2024-06-11 12:38:35 1 installed gem you directly depend on is looking for funding.
2024-06-11 12:38:35 Run `bundle fund` for details
2024-06-11 12:38:37 Done ensuring encryption is setup
2024-06-11 12:38:37 rosetta error: Rosetta is only intended to run on Apple Silicon with a macOS host using Virtualization.framework with Rosetta mode enabled
2024-06-11 12:38:37 ./bin/dev: line 17: 17 Trace/breakpoint trap exec overmind start -f Procfile.dev "$@"
2024-06-11 12:38:37 ./bin/dev
2024-06-11 12:38:38 Bundle complete! 40 Gemfile dependencies, 150 gems now installed.
2024-06-11 12:38:38 Use `bundle info [gemname]` to see where a bundled gem is installed.
2024-06-11 12:38:38 1 installed gem you directly depend on is looking for funding.
2024-06-11 12:38:38 Run `bundle fund` for details
2024-06-11 12:38:40 Done ensuring encryption is setup
2024-06-11 12:38:40 rosetta error: Rosetta is only intended to run on Apple Silicon with a macOS host using Virtualization.framework with Rosetta mode enabled
2024-06-11 12:38:40 ./bin/dev: line 17: 17 Trace/breakpoint trap exec overmind start -f Procfile.dev "$@"
2024-06-11 12:38:40 ./bin/dev
2024-06-11 12:38:40 Bundle complete! 40 Gemfile dependencies, 150 gems now installed.
2024-06-11 12:38:40 Use `bundle info [gemname]` to see where a bundled gem is installed.
2024-06-11 12:38:40 1 installed gem you directly depend on is looking for funding.
2024-06-11 12:38:40 Run `bundle fund` for details
2024-06-11 12:38:42 Done ensuring encryption is setup
2024-06-11 12:38:42 rosetta error: Rosetta is only intended to run on Apple Silicon with a macOS host using Virtualization.framework with Rosetta mode enabled
2024-06-11 12:38:42 ./bin/dev: line 17: 17 Trace/breakpoint trap exec overmind start -f Procfile.dev "$@"
2024-06-11 12:38:43 ./bin/dev
2024-06-11 12:38:43 Bundle complete! 40 Gemfile dependencies, 150 gems now installed.
2024-06-11 12:38:43 Use `bundle info [gemname]` to see where a bundled gem is installed.
2024-06-11 12:38:43 1 installed gem you directly depend on is looking for funding.
2024-06-11 12:38:43 Run `bundle fund` for details
2024-06-11 12:38:45 Done ensuring encryption is setup
2024-06-11 12:38:45 rosetta error: Rosetta is only intended to run on Apple Silicon with a macOS host using Virtualization.framework with Rosetta mode enabled
2024-06-11 12:38:45 ./bin/dev: line 17: 17 Trace/breakpoint trap exec overmind start -f Procfile.dev "$@"
—
Reply to this email directly, view it on GitHub
<#406>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAIR5L44UR7XCF2PFT7LTLZG4USXAVCNFSM6AAAAABJEXU332VHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWHAYDQOJQGU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
13 replies
-
By the way, I just needed to turn off the "Use Rosetta for x86_64/amd64 emulation on Apple Silicon" setting in Docker Desktop. All set now! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm a bleeding-edge early adopter, so naturally I immediately installed macOS 18! I've now got an issue with Hosted not running in Docker. It will try a few times to use Rosetta for... something. Can you ascertain from these logs where the issue lies? I'll note that I have ~10 other containers that are running fine, including Hosted's PG container.
Beta Was this translation helpful? Give feedback.
All reactions