You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey guys I installed spree with the official method with the run "/bin/setup" script build web and worker images successfully but when I want to run containers with the "docker-compose up -d" command, web and worker containers failed wiht this logs:
web container logs:
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Buildnewresh packages...
Done in 27.30s.
yarn run v1.22.19
$ esbuild app/javascript/. --bundle --sourcemap --outdir=app/assets/builds
Done in 0.20s.
/bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv/environment.rb:17:in initialize': Is a directory @ io_fillbuf - fd:5 /app/.env (Errno::EISDIR) from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv/environment.rb:17:in open'
from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv/environment.rb:17:in read' from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv/environment.rb:13:in load'
from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv/environment.rb:9:in initialize' from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:16:in new'
from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:16:in block (2 levels) in load' from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:83:in ignoring_nonexistent_files'
from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:15:in block in load' from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:64:in block in with'
from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:63:in each' from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:63:in reduce'
from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:63:in with' from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:14:in load'
from /bundle/ruby/3.0.0/gems/dotenv-rails-2.7.6/lib/dotenv/rails.rb:41:in `load'
....
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hey guys I installed spree with the official method with the run "/bin/setup" script build web and worker images successfully but when I want to run containers with the "docker-compose up -d" command, web and worker containers failed wiht this logs:
web container logs:
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Buildnewresh packages...
Done in 27.30s.
yarn run v1.22.19
$ esbuild app/javascript/. --bundle --sourcemap --outdir=app/assets/builds
app/assets/builds/spree-dashboard.js 871.4kb
app/assets/builds/application.js 55b
app/assets/builds/spree-dashboard.js.map 1.2mb
app/assets/builds/application.js.map 93b
Done in 0.20s.
/bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv/environment.rb:17:in
initialize': Is a directory @ io_fillbuf - fd:5 /app/.env (Errno::EISDIR) from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv/environment.rb:17:in
open'from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv/environment.rb:17:in
read' from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv/environment.rb:13:in
load'from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv/environment.rb:9:in
initialize' from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:16:in
new'from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:16:in
block (2 levels) in load' from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:83:in
ignoring_nonexistent_files'from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:15:in
block in load' from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:64:in
block in with'from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:63:in
each' from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:63:in
reduce'from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:63:in
with' from /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:14:in
load'from /bundle/ruby/3.0.0/gems/dotenv-rails-2.7.6/lib/dotenv/rails.rb:41:in `load'
....
2022-07-07T19:08:23.091Z pid=1 tid=5u1 WARN: Errno::EISDIR: Is a directory @ io_fillbuf - fd:5 /app/.env
2022-07-07T19:08:23.092Z pid=1 tid=5u1 WARN: /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv/environment.rb:17:in
initialize' /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv/environment.rb:17:in
open'/bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv/environment.rb:17:in
read' /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv/environment.rb:13:in
load'/bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv/environment.rb:9:in
initialize' /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:16:in
new'/bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:16:in
block (2 levels) in load' /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:83:in
ignoring_nonexistent_files'/bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:15:in
block in load' /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:64:in
block in with'/bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:63:in
each' /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:63:in
reduce'/bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:63:in
with' /bundle/ruby/3.0.0/gems/dotenv-2.7.6/lib/dotenv.rb:14:in
load'/bundle/ruby/3.0.0/gems/dotenv-rails-2.7.6/lib/dotenv/rails.rb:41:in
load' /bundle/ruby/3.0.0/gems/dotenv-rails-2.7.6/lib/dotenv/rails.rb:61:in
load'....
how can I solve this problem? thanks
@damianlegawiec
Beta Was this translation helpful? Give feedback.
All reactions