{{tag>mastodon gentoo}} # v1.5.0rc1 アップデートメモ (その2) 昨日の続き。 ## 続 assets:precompile 昨日はこんなエラーで落ちた。 ``` $ RAILS_ENV=production bundle exec rails assets:precompile Webpacker is installed ? ? 意sing /home/mastodon/live/config/webpacker.yml file for setting up webpack paths [Webpacker] Compiling assets ? [Webpacker] Compilation Failed yarn run v0.24.5 $ "/home/mastodon/live/node_modules/.bin/webpack" --config /home/mastodon/live/config/webpack/production.js info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. module.js:471 throw err; ^ Error: Cannot find module 'offline-plugin' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object. (/home/mastodon/live/config/webpack/production.js:8:23) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) error Command failed with exit code 1. ``` よくわかんないけど 'offline-plugin' とやらが見つからないらしい。 とりあえずもう1回 `yarn install` したら完走したので、ちゃんと見てなかったけどそっちがコケてたのかね……やっぱりよくわからんw ちなみに最終的にメモリを1GB以上食っていた……恐るべし。 ## 起動 もうゴリゴリ起動するだけ。 ``` # run_init /etc/init.d/mastodon-sidekiq start # run_init /etc/init.d/mastodon-streaming start # run_init /etc/init.d/mastodon-web start # run_init /etc/init.d/nginx start ``` どやぁ。 {{:blog:2017:150rc1.png?400|}}