# Cant log in in forest-rails 7.0.0-beta.5

**URL:** <https://community.forestadmin.com/t/cant-log-in-in-forest-rails-7-0-0-beta-5/2923>\
**Category:** Help me!\
**Created:** [July 16, 2021, 3:46pm UTC](https://community.forestadmin.com/t/cant-log-in-in-forest-rails-7-0-0-beta-5/2923 "2021-07-16T15:46:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lordmaylor](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/lordmaylor/32/2693_2.png) [@lordmaylor](https://community.forestadmin.com/u/lordmaylor)\
**Post date:** [July 16, 2021, 3:46pm UTC](https://community.forestadmin.com/t/cant-log-in-in-forest-rails-7-0-0-beta-5/2923/1 "2021-07-16T15:46:46Z")

</div>

## Expected behavior

I am able to log in with an email log in.

## Actual behavior

 ![Screen Shot 2021-07-15 at 3.29.09 PM](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/b/bc65cdda84639bccabf2df7e66aa8fdd0ba682fc.jpeg)

When I use any version \< 7 (I tried 3.3.0, 4.X, 5.X, 6.X. They were all incompatible)  
`api_1 | bundler: failed to load command: puma (/usr/local/bundle/bin/puma) api_1 | ! Unable to load application: TypeError: superclass mismatch for class Error api_1 | TypeError: superclass mismatch for class Error api_1 | /usr/local/bundle/gems/jsonapi-serializers-1.0.1/lib/jsonapi-serializers.rb:7:in <module:Serializer>' api_1 | /usr/local/bundle/gems/jsonapi-serializers-1.0.1/lib/jsonapi-serializers.rb:6:in <module:JSONAPI>' api_1 | /usr/local/bundle/gems/jsonapi-serializers-1.0.1/lib/jsonapi-serializers.rb:5:in <main>' api_1 | /usr/local/bundle/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in require' api_1 | /usr/local/bundle/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in block in require_with_bootsnap_lfi' api_1 | /usr/local/bundle/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in register' api_1 | /usr/local/bundle/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in require_with_bootsnap_lfi' api_1 | /usr/local/bundle/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in require' api_1 | /usr/local/bundle/gems/activesupport-6.1.3/lib/active_support/dependencies.rb:332:in block in require' api_1 | /usr/local/bundle/gems/activesupport-6.1.3/lib/active_support/dependencies.rb:299:in. load_dependency' api_1 | /usr/local/bundle/gems/activesupport-6.1.3/lib/active_support/dependencies.rb:332:in require' api_1 | /usr/local/bundle/gems/forest_liana-3.3.0/lib/forest_liana/engine.rb:2:in <main>'),`

When I use version 7:

`api_1 | (called from <top (required)> at /app/config/environment.rb:5) api_1 | * Listening on [http://0.0.0.0:3000](http://0.0.0.0:3000/) api_1 | Use Ctrl-C to stop api_1 | [ac73bada-fa18-4aa2-9c43-3ffc46492452] Started POST "/forest/sessions" for 172.18.0.1 at 2021-07-15 21:25:19 +0000 api_1 | [ac73bada-fa18-4aa2-9c43-3ffc46492452] Cannot render console from 172.18.0.1! Allowed networks: [127.0.0.0/127.255.255.255](http://127.0.0.0/127.255.255.255), ::1 api_1 | [ac73bada-fa18-4aa2-9c43-3ffc46492452] **(1.8ms)**  **SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC** api_1 | [2021-07-15 21:25:19] Forest ![🌳](https://mail.google.com/mail/e/1f333)![🌳](https://mail.google.com/mail/e/1f333)![🌳](https://mail.google.com/mail/e/1f333) No model found for collection sessions api_1 | [2021-07-15 21:25:19] Forest ![🌳](https://mail.google.com/mail/e/1f333)![🌳](https://mail.google.com/mail/e/1f333)![🌳](https://mail.google.com/mail/e/1f333) Routing error: Resource not found for collection sessions. api_1 | [2021-07-15 21:25:19] Forest ![🌳](https://mail.google.com/mail/e/1f333)![🌳](https://mail.google.com/mail/e/1f333)![🌳](https://mail.google.com/mail/e/1f333) If this is a Smart Collection, please ensure your Smart Collection routes are defined before the mounted ForestLiana::Engine? api_1 | [ac73bada-fa18-4aa2-9c43-3ffc46492452] Processing by ForestLiana::BaseController#route_not_found as */* api_1 | [ac73bada-fa18-4aa2-9c43-3ffc46492452] Parameters: {"email"=>"[redacted](mailto:redacted)", "password"=>"[FILTERED]", "token"=>"[FILTERED]", "twoFactorRegistration"=>false, "renderingId"=>"redacted", "projectId"=>"redacted", "collection"=>"sessions"} api_1 | [ac73bada-fa18-4aa2-9c43-3ffc46492452] Completed 404 Not Found in 572ms (ActiveRecord: 0.0ms | Allocations: 1061)`

## Failure Logs

Please include any relevant log snippets, if necessary.

## Context

Please provide any relevant information about your setup.

- Package Version: 7.0.0-beta.5

I included a snapshot from the UI that is telling me my agent is out of date. I am not sure why it thinks that.

---

<div class="post-metadata">

**Author:** ![anon94532230](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@anon94532230](https://community.forestadmin.com/u/anon94532230)\
**Post date:** [July 19, 2021, 8:43am UTC](https://community.forestadmin.com/t/cant-log-in-in-forest-rails-7-0-0-beta-5/2923/2 "2021-07-19T08:43:35Z")

</div>

Hi @lordmaylor !  
Did you follow the [documentation](https://docs.forestadmin.com/documentation/how-tos/maintain/upgrade-notes-rails/upgrade-to-v6) when upgrading your version ?  
Il you click on `learn more` you will have more information about the “out-of date” issue and how to resolve it (only for versions \< 6).

The beta version is not supported yet and brings new breaking changes that are not documented yet. I strongly suggest that you use the last main version `6.6.2`.

---

<div class="post-metadata">

**Author:** ![lordmaylor](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/lordmaylor/32/2693_2.png) [@lordmaylor](https://community.forestadmin.com/u/lordmaylor)\
**Post date:** [July 20, 2021, 10:30pm UTC](https://community.forestadmin.com/t/cant-log-in-in-forest-rails-7-0-0-beta-5/2923/3 "2021-07-20T22:30:31Z")

</div>

Ah, sorry i meant to include that versions \<=6 are incompatible. I tried 6.6.2 already, and it doesn’t boot up due to the included mismatch Error (just reconfirmed).

I saw that 7.0.0 came out of beta today, but I am still running into the same error (2nd one). Also my UI is still telling me i’m using an out of date agent.

 ![Screen Shot 2021-07-20 at 4.29.29 PM](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/2/21a56a8010d488ac9ec3cbe66bb3cc058bfbe3e6.jpeg)  
 ![Screen Shot 2021-07-20 at 4.22.27 PM](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/7/7f2fa17ca697e87f3edddd0c51570b56b8349878.jpeg)

---

<div class="post-metadata">

**Author:** ![lordmaylor](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/lordmaylor/32/2693_2.png) [@lordmaylor](https://community.forestadmin.com/u/lordmaylor)\
**Post date:** [July 20, 2021, 10:32pm UTC](https://community.forestadmin.com/t/cant-log-in-in-forest-rails-7-0-0-beta-5/2923/4 "2021-07-20T22:32:11Z")

</div>

Also I didn’t upgrade any versions. I started a new account with a different gmail address from my work one and followed instructions to install. This project didn’t have Forest installed beforehand. v8/v7 was the first one that would allow Rails server to start, but I still can’t log in.

---

<div class="post-metadata">

**Author:** ![anon94532230](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@anon94532230](https://community.forestadmin.com/u/anon94532230)\
**Post date:** [July 21, 2021, 7:31am UTC](https://community.forestadmin.com/t/cant-log-in-in-forest-rails-7-0-0-beta-5/2923/5 "2021-07-21T07:31:42Z")

</div>

From your screenshot, I can tell there is a problem with the forest-rails version, you should not have to enter your password on v6+.  
Cans you check in your gemfile ?

---

<div class="post-metadata">

**Author:** ![lordmaylor](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/lordmaylor/32/2693_2.png) [@lordmaylor](https://community.forestadmin.com/u/lordmaylor)\
**Post date:** [July 21, 2021, 12:50pm UTC](https://community.forestadmin.com/t/cant-log-in-in-forest-rails-7-0-0-beta-5/2923/6 "2021-07-21T12:50:16Z")

</div>

I duplicated the project into a different project, and it works now. (Still version 7.0.0). The original project is still returning the same Out of Date banner, but the newer project works. Thanks!
