Follow

【Dockerユーザ向け】v2.4.0へのアプデでつまったポイント 

<事象>
railsコマンドがエラーでこける
<エラーメッセージ>
[FATAL tini (5)] exec rails failed: No such file or directory
<対処>
railsコマンドの箇所を"./bin/rails"に変更する
(例)docker-compose run --rm web ./bin/rails db:migrate
※assets:precompileも同様に。

<参考にした情報>
github.com/tootsuite/mastodon/
qiita.com/jnchito/items/c5a084

[For #Docker #mastoadmin]
Possible issue with the #Mastodon v2.4.0 update. The rails command can fail with the error:

[FATAL tini (5)] exec rails failed: No such file or directory

Fix: Change the location of the rails command to bin/rails, e.g.

docker-compose run --rm web bin/rails db:migrate assets:precompile

References:
github.com/tootsuite/mastodon/
qiita.com/jnchito/items/c5a084
@mimoo omochi.xyz/@mimoo/100090759230

Sign in to participate in the conversation
MastodonOmochi

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!