このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
それはそれとして、Scoutを眺めるとだいぶホットスポットがなくなってきているのです。よきかなよきかな https://mastodon.zunda.ninja/media/H9jii6L296aG18VzPKQ
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
mastodon.zunda.ninjaでLTLを取得するクエリ · GitHub https://gist.github.com/zunda/bb7e974b03dd1849601182d43f7e36ba
しかし次に高いHeroku PostgresはCPUがバースタブルであんまり使いすぎるとある日突然遅くなるっていう罠があるのよねw それでもたぶんHobbyよりはだいぶ速いんだろうけど
Herokuのメトリクスダッシュボードで試しに99パーセンタイルのレスポンス時間を表示(左)してみたら大変つらい感じに。しゅ、趣味のインスタンスだし95パーセンタイルだけみて(右)過ごそうw https://mastodon.zunda.ninja/media/h0NBRyPNe9egOM-AlRI https://mastodon.zunda.ninja/media/_Y2L68PbarfZVji9Qwo
おおっと
ActionView::Template::Error: Can't find common.css in /tmp/build_…/zunda-mastodon-d5fb97a/public/packs/manifest.json. Is webpack still compiling?
https://github.com/tootsuite/mastodon/pull/5067 かなあ。ちょっと手元でビルドしてみなくちゃね
Dockerに環境荒らされるのつらい
-rw-rw-r-- 1 991 991 2150 Sep 23 19:30 /home/zunda/local/src/mastodon/public/assets/.sprockets-manifest-ac981295d7b76bd31493a109b52dd148.json
こんな感じ
Running: rake assets:precompile
:
Using …/config/webpacker.yml file for setting up webpack paths
:
[Webpacker] Compiled digests for all packs in …/app/javascript/packs:
{…"common.css"=>"/packs/common-259429ad8b3e5367c6ab.css", …}
rake aborted!
ActionView::Template::Error: Can't find common.css in …/public/packs/manifest.json. Is webpack still compiling?
:
Webpacker::FileLoader::NotFoundError: Can't find common.css in …/public/packs/manifest.json. Is webpack still compiling?
Installing nokogumbo 1.4.13 with native extensions
がんばれコンパイラ!
うん。heroku repo:purge_cacheしてまっさらからやりなおしても再現します。手元で再現したいなあと思うけどちと時間切れ。また後ほど。
やーんどの…
warning Your current version of Yarn is out of date. The latest version is "1.1.0" while you're on "1.0.2".
info To upgrade, run the following command:
$ sudo apt-get update && sudo apt-get install yarn
$ npm rebuild node-sass
手元でプリコンパイルしたら2回目に成功したようです
$ git pull
$ git clean -dxf
$ cp ../mastodon-dot.env.production .env.production
$ export RAILS_ENV=production
$ bundle install --path=vendor/bundle --without test development
$ yarn install
$ bundle exec rails assets:precompile
rails aborted!
ActionView::Template::Error: Can't find common.css in /home/zunda/local/src/mastodon/public/packs/manifest.json. Is webpack still compiling?
$ bundle exec rails assets:precompile
<成功>
1回目に失敗した後public/packs/manifest.jsonには既にcommon.cssが含まれている
"common.css": "/packs/common-259429ad8b3e5367c6ab.css",
よーっし。2回目に成功したあとでもpublic/packs/manifest.jsonを消してbundle exec rails assets:precompileすると同じエラーで失敗する
webpacker-2.0/lib/webpacker/manifest.rbを眺めてみてNODE_ENV=development bundle exec rails assets:precompileしてみたら1回目でも成功するなw
あー。lib/tasks/assets.rakeを改造してうまくデプロイできたと思ったら500.html無いじゃん。なんて手元と動作ちがうん