vagrant up がboxのダウンロードでエラーになる
マストドンインスタンスをバージョンアップ(v2.1.3 => v2.3.3)させるためにVagrantなローカル環境で最新コードにてコンフリクト修正したり諸々コマンド入力したりした後、 foreman start してブラウザで確認したらRedis::CommandError in HomeController#index
のエラーが。
調べてみると以下の情報が。
https://github.com/tootsuite/mastodon/issues/6399
なるほど、boxが新しくなってるのねということで、vagrant destroyしてvagrant upしたら今度は以下のエラーに。
The box 'ubuntu/xenial64' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:
URL: ["https://atlas.hashicorp.com/ubuntu/xenial64"]
Error: The requested URL returned error: 404 Not Found
調べてみるとVagrantについてるcurlではダメだという情報があったので
sudo rm /opt/vagrant/embedded/bin/curl
してみたけど変わらず。Vagrantをアップデート(1.9.2 => 2.0.3)したらOKでした。
余談ですがVagrantアップデート後
vagrant plugin repair
しました。