Error H10 when add forest env

Hi all,

I have a problem with the implementation of forest in staging environnement.

Locally all works perfectly but when i try to connect “empty” rails app host on heroku in staging this appear :

In forest panel :
It looks like the URL is not responding:
Not https://*********** ?

In rails console:

/app/vendor/bundle/ruby/3.0.0/gems/forest_liana-7.2.2/lib/forest_liana/bootstrapper.rb:53:in get_action': undefined method actions’ for nil:NilClass (NoMethodError)

In heroku logs:

2021-10-08T13:52:21.239534+00:00 heroku[router]: at=error code=H10 desc=“App crashed” method=GET path="/forest" host=*********** request_id=07fe8806-aeb8-4186-a981-1e638b8eb775 fwd=“” dyno= connect= service= status=503 bytes= protocol=https

It’s just after edit env and that crash my server.
If i delete forest env, my server works again.

Hello @Alexandre_S. Welcome to our community :tada: :confetti_ball:

Do you use the gem Devise ?

If it’s the case we are already aware of the bug. Here a link to the PR fix: avoid attaching smart action hooks on pre-defined smart actions by jeffladiray · Pull Request #526 · ForestAdmin/forest-rails · GitHub

Thanks in advance

Thank you ! I forgot to create my migration file (Procfile) which caused the empty collection error.

Have a good day !

1 Like

No problem. Prefect if you’re fine now.

Have a nice day.

Kind regards,