Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Adding account errors out in self-hosted version #1766

Open
1 task done
salman1993 opened this issue Feb 1, 2025 · 5 comments
Open
1 task done

Bug: Adding account errors out in self-hosted version #1766

salman1993 opened this issue Feb 1, 2025 · 5 comments

Comments

@salman1993
Copy link

salman1993 commented Feb 1, 2025

Where did this bug occur? (required)

  • I am a self-hosted user reporting a bug from my self hosted app

Describe the bug
I am self hosting the app using Docker. I couldn't add an account. I attached a screenshot of the error I get in console (no errors in docker container) when I try to add an account. My country is set to Canada & I don't have Synth setup (not sure if its related).

To Reproduce

  1. Self host using Docker
  2. Create user in Canada
  3. Try to add account

Expected behavior
Would have expected some form to open up to add the account details. Its my first time using it so not totally sure.

Screenshots / Recordings
Image

@berkayermis
Copy link

same, it was working before but i tried to self-host it again and having trouble the same issue.

@alexkreidler
Copy link

Same issue here. Here are my logs from the backend running in Docker:

app-1       | I, [2025-02-02T00:55:35.449372 #1]  INFO -- : [1fb10dfa-5ae8-47cb-87a3-af7539edaca4] Started GET "/depositories/new?step=method_select" for 192.168.147.1 at 2025-02-02 00:55:35 +0000
app-1       | I, [2025-02-02T00:55:35.450706 #1]  INFO -- : [1fb10dfa-5ae8-47cb-87a3-af7539edaca4] Processing by DepositoriesController#new as HTML
app-1       | I, [2025-02-02T00:55:35.450816 #1]  INFO -- : [1fb10dfa-5ae8-47cb-87a3-af7539edaca4]   Parameters: {"step" => "method_select"}
app-1       | I, [2025-02-02T00:55:35.457617 #1]  INFO -- : [1fb10dfa-5ae8-47cb-87a3-af7539edaca4] Completed 500 Internal Server Error in 7ms (ActiveRecord: 1.0ms (4 queries, 0 cached) | GC: 0.6ms)
app-1       | E, [2025-02-02T00:55:35.459320 #1] ERROR -- : [1fb10dfa-5ae8-47cb-87a3-af7539edaca4]
app-1       | [1fb10dfa-5ae8-47cb-87a3-af7539edaca4] NoMethodError (undefined method 'get_link_token' for nil):
app-1       | [1fb10dfa-5ae8-47cb-87a3-af7539edaca4]
app-1       | [1fb10dfa-5ae8-47cb-87a3-af7539edaca4] app/models/family.rb:66:in 'Family#get_link_token'
app-1       | [1fb10dfa-5ae8-47cb-87a3-af7539edaca4] app/controllers/concerns/accountable_resource.rb:55:in 'AccountableResource#set_link_token'
app-1       | [1fb10dfa-5ae8-47cb-87a3-af7539edaca4] app/controllers/concerns/localize.rb:17:in 'Localize#switch_timezone'
app-1       | [1fb10dfa-5ae8-47cb-87a3-af7539edaca4] app/controllers/concerns/localize.rb:12:in 'Localize#switch_locale'

@salman1993
Copy link
Author

i updated the image in compose.yml and that fixed it

image: ghcr.io/maybe-finance/maybe:stable

@F2210
Copy link
Contributor

F2210 commented Feb 2, 2025

For now, this will fix the issue. However, you are just rolling back to the latest stable version.

i updated the image in compose.yml and that fixed it

image: ghcr.io/maybe-finance/maybe:stable

This will fix the issue for now until a new stable is released without fixing the actual problem. The actual problem is:

It seems that the removal of this line has blocked adding accounts on the self-hosted application since self-hosted applications don't have plaid.

Originally posted by @F2210 in 53f4b32

F2210 added a commit to F2210/maybe that referenced this issue Feb 2, 2025
Fix for: maybe-finance#1766

Signed-off-by: Jacco Broeren <[email protected]>
zachgoll pushed a commit that referenced this issue Feb 3, 2025
* Update family.rb

Fix for: #1766

Signed-off-by: Jacco Broeren <[email protected]>

* Update family.rb

Add commenting.

Signed-off-by: Jacco Broeren <[email protected]>

---------

Signed-off-by: Jacco Broeren <[email protected]>
@zachgoll
Copy link
Collaborator

zachgoll commented Feb 3, 2025

@F2210 thanks for the fix on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants