ruby-on-rails - 如何解决heroku上的elasticsearch index not found错误?
问题描述
我正在尝试在heroku上推送我的rails应用程序,在应用程序中使用弹性搜索,所以在heroku上我添加了盆景插件,一切都在开发中运行,但是在heroku上,Application error
当我检查我发现的日志时,它给出了:
Bonsai: Initializing default Elasticsearch client with https://rppeji3zrn:FILTERED@redwood-5622314.us-east-1.bonsaisearch.net
2018-09-05T10:04:37.828500+00:00 app[web.1]: [!!!] Index does not exist (Elasticsearch::Transport::Transport::Errors::NotFound)
2018-09-05T10:04:37.875396+00:00 app[web.1]: [4] ! Unable to load application: Elasticsearch::Transport::Transport::Errors::Forbidden: [403] {"code":403,"message":"Updates to this cluster have been disabled. Please contact support@bonsai.io for further details."}
2018-09-05T10:04:37.875554+00:00 app[web.1]: bundler: failed to load command: puma (/app/vendor/bundle/ruby/2.4.0/bin/puma)
2018-09-05T10:04:37.875661+00:00 app[web.1]: Elasticsearch::Transport::Transport::Errors::Forbidden: [403] {"code":403,"message":"Updates to this cluster have been disabled. Please contact support@bonsai.io for further details."}
我对 Rails 很陌生,所以没有得到导致错误的原因,任何帮助将不胜感激。
解决方案
推荐阅读
- php - 如何使用 SplDoublyLinkedList 模仿这种双向链表动画?
- machine-learning - 多任务学习和多模型学习有什么区别?
- laravel - 在 Laravel 5.8 中安装 MDB Vue
- docker - 将 AdminApp 部署到 Websphere 9 Docker 时出现错误 401
- python - 尽管存在更快的互联网和元素,但 WebDriverWait 的超时异常
- python - 使用 Arcpy 从 ArcMap 导出向 PDF 添加边框
- python - 我目前正在尝试单击多个链接,这些链接将导致文件下载。但是我无法单击多个文件
- javascript - 我正在尝试运行脚本,但我采取的步骤不起作用。我哪里出错了?
- android - 为什么我的应用程序图标没有出现在模拟器或设备上?
- php - 为什么我的返回功能不起作用?