-
-
Notifications
You must be signed in to change notification settings - Fork 225
Description
OS & Hardware
Linux Mint 22.2
Version
0.34.2
Describe the bug
Using the docker-compose.yml file provided, and the Linux Terminal, on a newly installed docker, the first installation does not succeed: dawarich_app is considered in an unhealthy state and the install fails.
(I have attached the logs below; the error occurs in the Rail environment)
To Reproduce
Steps to reproduce the behavior:
- Download the content of the repository
- Unzip it
cdto the docker subfolder- execute
docker compose --verbose upin order to get more accurate debugging information - See error
Expected behavior
Being able to install and launch Dawarich on a fresh docker installation.
Logs
dawarich_app | => Booting Puma dawarich_app | => Rails 8.0.3 application starting in development dawarich_app | => Run bin/rails server --help for more startup options dawarich_app | [dotenv] Set OBJC_DISABLE_INITIALIZE_FORK_SAFETY dawarich_app | [dotenv] Loaded .env.development dawarich_app | [67] Puma starting in cluster mode... dawarich_app | [67] * Puma version: 7.1.0 ("Neon Witch") dawarich_app | [67] * Ruby version: ruby 3.4.6 (2025-09-16 revision dbd83256b1) +YJIT +PRISM [x86_64-linux] dawarich_app | [67] * Min threads: 5 dawarich_app | [67] * Max threads: 5 dawarich_app | [67] * Environment: development dawarich_app | [67] * Master PID: 67 dawarich_app | [67] * Workers: 2 dawarich_app | [67] * Restarts: (✔) hot (✖) phased (✖) refork dawarich_app | [67] * Preloading application dawarich_app | Exiting dawarich_app | bundler: failed to load command: bin/rails (bin/rails) dawarich_app | /var/app/vendor/bundle/ruby/3.4.0/gems/puma-7.1.0/lib/puma/binder.rb:344:in 'TCPServer#initialize': Address family not supported by protocol - socket(2) for "::" port 3000 (Errno::EAFNOSUPPORT) dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/puma-7.1.0/lib/puma/binder.rb:344:in 'IO.new' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/puma-7.1.0/lib/puma/binder.rb:344:in 'Puma::Binder#add_tcp_listener' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/puma-7.1.0/lib/puma/binder.rb:173:in 'block in Puma::Binder#parse' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/puma-7.1.0/lib/puma/binder.rb:156:in 'Array#each' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/puma-7.1.0/lib/puma/binder.rb:156:in 'Puma::Binder#parse' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/puma-7.1.0/lib/puma/runner.rb:166:in 'Puma::Runner#load_and_bind' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/puma-7.1.0/lib/puma/cluster.rb:381:in 'Puma::Cluster#run' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/puma-7.1.0/lib/puma/launcher.rb:207:in 'Puma::Launcher#run' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/puma-7.1.0/lib/rack/handler/puma.rb:79:in 'Puma::RackHandler#run' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/rackup-2.2.1/lib/rackup/server.rb:341:in 'Rackup::Server#start' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/railties-8.0.3/lib/rails/commands/server/server_command.rb:38:in 'Rails::Server#start' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/railties-8.0.3/lib/rails/commands/server/server_command.rb:145:in 'block in Rails::Command::ServerCommand#perform' dawarich_app | from <internal:kernel>:91:in 'Kernel#tap' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/railties-8.0.3/lib/rails/commands/server/server_command.rb:136:in 'Rails::Command::ServerCommand#perform' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/thor-1.4.0/lib/thor/command.rb:28:in 'Thor::Command#run' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/thor-1.4.0/lib/thor/invocation.rb:127:in 'Thor::Invocation#invoke_command' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/railties-8.0.3/lib/rails/command/base.rb:178:in 'Rails::Command::Base#invoke_command' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/thor-1.4.0/lib/thor.rb:538:in 'Thor.dispatch' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/railties-8.0.3/lib/rails/command/base.rb:73:in 'Rails::Command::Base.perform' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/railties-8.0.3/lib/rails/command.rb:65:in 'block in Rails::Command.invoke' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/railties-8.0.3/lib/rails/command.rb:143:in 'Rails::Command.with_argv' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/railties-8.0.3/lib/rails/command.rb:63:in 'Rails::Command.invoke' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/railties-8.0.3/lib/rails/commands.rb:18:in '<main>' dawarich_app | from /usr/local/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require' dawarich_app | from /usr/local/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require' dawarich_app | from /var/app/vendor/bundle/ruby/3.4.0/gems/bootsnap-1.18.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in 'Kernel#require' dawarich_app | from bin/rails:4:in '<top (required)>' dawarich_app | from /usr/local/bundle/gems/bundler-2.5.21/lib/bundler/cli/exec.rb:58:in 'Kernel.load' dawarich_app | from /usr/local/bundle/gems/bundler-2.5.21/lib/bundler/cli/exec.rb:58:in 'Bundler::CLI::Exec#kernel_load' dawarich_app | from /usr/local/bundle/gems/bundler-2.5.21/lib/bundler/cli/exec.rb:23:in 'Bundler::CLI::Exec#run' dawarich_app | from /usr/local/bundle/gems/bundler-2.5.21/lib/bundler/cli.rb:455:in 'Bundler::CLI#exec' dawarich_app | from /usr/local/bundle/gems/bundler-2.5.21/lib/bundler/vendor/thor/lib/thor/command.rb:28:in 'Bundler::Thor::Command#run' dawarich_app | from /usr/local/bundle/gems/bundler-2.5.21/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in 'Bundler::Thor::Invocation#invoke_command' dawarich_app | from /usr/local/bundle/gems/bundler-2.5.21/lib/bundler/vendor/thor/lib/thor.rb:527:in 'Bundler::Thor.dispatch' dawarich_app | from /usr/local/bundle/gems/bundler-2.5.21/lib/bundler/cli.rb:35:in 'Bundler::CLI.dispatch' dawarich_app | from /usr/local/bundle/gems/bundler-2.5.21/lib/bundler/vendor/thor/lib/thor/base.rb:584:in 'Bundler::Thor::Base::ClassMethods#start' dawarich_app | from /usr/local/bundle/gems/bundler-2.5.21/lib/bundler/cli.rb:29:in 'Bundler::CLI.start' dawarich_app | from /usr/local/bundle/gems/bundler-2.5.21/exe/bundle:28:in 'block in <top (required)>' dawarich_app | from /usr/local/bundle/gems/bundler-2.5.21/lib/bundler/friendly_errors.rb:117:in 'Bundler.with_friendly_errors' dawarich_app | from /usr/local/bundle/gems/bundler-2.5.21/exe/bundle:20:in '<top (required)>' dawarich_app | from /usr/local/bundle/bin/bundle:25:in 'Kernel#load' dawarich_app | from /usr/local/bundle/bin/bundle:25:in '<main>' DEBU[0017] container dawarich_app exited with code 1 dependency failed to start: container dawarich_app is unhealthy