LoginSignup
0
1

More than 5 years have passed since last update.

【エラー解決備忘録】Slack連携していたhubotが突然お亡くなりになる。

Last updated at Posted at 2017-11-30

同じようなエラーに出くわした人のために。

2017/11/30 とつぜんhubotがお亡くなりになる。

slack上でデプロイ作業を代行してもらっていたhubotさんが突然お亡くなりになる。
過労死か...。

herokuでアプリを再起動しても、Dynosを再起動してもつながらない。
コードも半年以上変更をしていない。ログ見てもherokuコンソール見ても埒があかない........。

1時間ぐらいごちゃごちゃした時に気づいた

$ heroku run bin/hubot
we-bot > ping
PONG

よ か っ た . . . 生 き て た ん だ ね

Slackにつながらないだけだった

$ heroku run bin/hubot --adapter slack

>> ログ
INFO Logged in as we-bot of XXXXXX, but not yet connected

どうやらSlackへの接続が上手く言っていなかった模様

結論

package.jsonでhubot-slack のバージョンを最新版に切り替えたらかえってきた。
https://www.npmjs.com/package/hubot-slack

https://gyazo.com/a454ef5b4a3e1f05e281ac47299d73aa

おかえりいいいい。

学び

パッケージのアップデートはこまめにしましょう。

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