Follow up to #2962
Due to 2962 some users got into a bad state where they are unable to join Brave Rewards. We should fix users in this bad state so they can join Brave Rewards.
Additionally, some users reported unable to join Brave Rewards with https://github.com/brave/brave-browser/issues/2997 - I am unsure if this is the same root cause, but it would be nice to fix for them as well.
Steps copied from #2962
Note - was able to get into this bad state on 0.60.13 Dev and 0.59.25 Beta per comments on that issue.
Clicking on the BAT logo opts you into rewards, but your ledger_state file is missing values so you don't have a real wallet. Additionally, you may or may not see a wallet creation failed error on brave://rewards page when trying to opt in after getting into this bad state.
This issue should fix anyone currently in a bad state.
easily
0.60.13 Dev or 0.59.25 Beta
cc @NejcZdovc @kjozwiak
cc @mandar-brave
Thank you for providing all of the technical lingo & info for us laymen. It's greatly appreciated.
See also: #2649
@Liunkae - do you happen to know what the panel (when you click on BAT logo) shows when you're in this 'unable to create wallet' state from 2649?
@LaurenWags I'll get a screenshot once I get back to my computer in a few hours.
awesome, thanks @Liunkae !
Is there a value we can delete in a config file or some other location in the installed folder?
@LaurenWags Here is what the panel shows when I launch Brave:

After I go to brave://rewards/ and click Try again, the panel then shows this:

@dontezuma Until the underlying problem is found, the only way to fix this is to completely reset the browser profile. On macOS (it's different for each platform), you have to rename/delete ~/Library/Application Support/BraveSoftware/Brave-Browser.
The goal, of course, is to have one wallet associated with whatever device I'm using Brave on. I'm using Sync as a beta, and would hope that I could set up my wallet address on any instance of Brave associated with me.
Thanks for grabbing that screenshot @Liunkae - sounds exactly like a scenario I hope this issue will resolve.
@LaurenWags can you please add broken profile to this issue. Please point it to staging. Thank you
@NejcZdovc I couldn't reproduce on macOS, so here's a Windows profile
Brave-Browser-Beta-05925.zip
Verification passed on
Brave | 0.62.25 Chromium: 73.0.3683.67聽(Official Build)聽beta聽(64-bit)
-- | --
Revision | a83fd4f3207ae83412d329a9ca1239dd1e068345-refs/branch-heads/3683@{#760}
OS | Windows聽7 Service Pack 1 Build 7601.24312
Used staging profile provided by @LaurenWags : https://github.com/brave/brave-browser/issues/3046#issuecomment-459891243
If I go to brave://rewards I can join the rewards through Yes, I am in button, which was not possible before the fix(tested on 0.61.51).
I can still see the Brave Rewards is off message in Brave Panel, just like in https://github.com/brave/brave-browser/issues/2962
Logged https://github.com/brave/brave-browser/issues/3697
Verified passed with
Brave | 0.62.31 Chromium: 73.0.3683.75聽(Official Build)聽beta(64-bit)
-- | --
Revision | 909ee014fcea6828f9a610e6716145bc0b3ebf4a-refs/branch-heads/3683@{#803}
OS | Mac OS X
brave://rewards by using the Yes, I am in button, which was not possible before the fix. After joining Rewards via brave://rewards, the panel displayed as expected.Verification passed on
Brave | 0.62.26 Chromium: 73.0.3683.75 (Official Build) beta (64-bit)
-- | --
Revision | 909ee014fcea6828f9a610e6716145bc0b3ebf4a-refs/branch-heads/3683@{#803}
OS | Linux