0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[mastodon]v2.4.0→v2.4.1にアップデートした際のエラー

Last updated at Posted at 2019-04-15

※とりま備忘録的に書いてます+ markdown文法 模索中です

###環境
うちのmastdon
vps
docker
mastodon v2.4.0→v2.4.1

##v2.4.0→v2.4.1にアップデートした際に出たエラー

いつも通りに「docker-compose run --rm web rails db:migrate」とやっていたら、エラー吐いたので、対応模索する。

~/mstdntest$ docker-compose run --rm web rails db:migrate
Starting mstdntest_db_1    ... done
Starting mstdntest_redis_1 ... done
[FATAL tini (11)] exec rails failed: No such file or directory
~$ cd mstdntest/
~/mstdntest$ docker-compose run --rm web rails assets:precompile
Starting mstdntest_db_1    ... done
Starting mstdntest_redis_1 ... done
[FATAL tini (8)] exec rails failed: No such file or directory

「rails」が見つからん
と仰っているのでパスを付与する

~$ cd mstdntest/
~/mstdntest$ docker-compose run --rm web ./bin/rails db:migrate
Starting mstdntest_db_1    ... done
Starting mstdntest_redis_1 ... done
~/mstdntest$ docker-compose run --rm web ./bin/rails assets:precompile
Starting mstdntest_db_1 ... done
Starting mstdntest_redis_1 ... done
Webpacker is installed ? ?
Using /mastodon/config/webpacker.yml file for setting up webpack paths
Compiling…
Compiled all packs in /mastodon/public/packs
~/mstdntest$

※assets:precompileは、5分ぐらいかかった

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?