BirthdayResearch / defichain-app

DeFi Blockchain desktop app for Windows, Linux and Mac.
https://defichain.com
MIT License
157 stars 57 forks source link

App is not syncing properly #1051

Closed pasotrjim31 closed 2 years ago

pasotrjim31 commented 3 years ago

I was finally able to get the update to download and sync. This took a long long time. However, I cannot see any of my investments. When I go to https://www.defichain-income.com/ I can see all my investments there, but when I open the app none of them are there and the app is on the nonresponsive side. What do I do? I really want access to my investments.

app logs.zip .

defichain-bot commented 3 years ago

@pasotrjim31: Thanks for opening an issue, it is currently awaiting triage.

The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.

In the meantime, you can:

  1. Checkout DeFiChain’s Github issue page to see if your issue has already been reported
  2. Submit any logs if you have them, this will greatly expedite the process for us.
  3. You can also join our Telegram or Reddit community channels.
Details I am a bot created to help the [DeFiCh](https://github.com/DeFiCh) developers manage community feedback and contributions. You can check out my [manifest file](https://github.com/DeFiCh/app/blob/master/.github/governance.yml) to understand my behavior and what I can do. If you want to use this for your project, you can check out the [DeFiCh/oss-governance-bot](https://github.com/DeFiCh/oss-governance-bot) repository.
izzycsy commented 3 years ago

Hi @pasotrjim31 , may I know what OS are you using? Is your app synced to 100%?

pasotrjim31 commented 3 years ago

I am using macOS Big Sur 11.6

It was 100% synced then when I signed on this morning to my computer it said it has .04% more to sync now.

izzycsy commented 3 years ago

Hi @pasotrjim31 , yes the ~0.04% more to sync is expected since the blockchain is growing daily. Can you check that your timezone on your PC is set automatically to the current time? When it syncs to 100% does your balances appear?

pasotrjim31 commented 3 years ago

I checked the computer and it is set to the zone I am in (US). Also, no, the balance hasn't shown up. Now the sync says 100% however the block is stuck at 1274359 out of 1274366

pasotrjim31 commented 3 years ago

Good Evening, The wallet completely synced at block 1277320

However, it doesn't show any of my investments. Yet, when I go to the DefiChain Income Dashboard it shows all my investments present ....

How do I fix this?

izzycsy commented 3 years ago

Hi @pasotrjim31 , can you try:

  1. Reindex
  2. download snapshot (for faster syncing to 100%)
    • Ensure that your Mac's Energy Saver is switched to Never while you're reindexing so it does not interrupt the internet connection.
  3. Wait till 100% and see if your balances reflect
Menu bar   Re-index Wallet

————————————————————— If it still does not work, try this: https://github.com/DeFiCh/app/discussions/988

1. If you have not backup your wallet before, go to the menu bar and select backup wallet.

Menu bar   Backup Wallet

2. A pop up will appear for you to specify where to backup wallet

• By default, it'll be located in DeFi/wallets (Mac) & DeFi Blockchain\wallets (Win) respectively.

Select folder to backup wallet1

3. Give your wallet.dat a unique name and click save

4. Ensure app is 100% synchronized (green tick at bottom left hand corner), select Restore wallet via backup (wallet.dat)

Restore wallet from backup

5. A window should pop up, direct the app to your wallet.dat location

• In the wallets folder you'll likely see wallet-bak-123456789 as well, these are additional backups. • Select the wallet-bak-123456789 *Note: the wallets folder is a default location and should not be moved

Restore   Select folder of backup1

Does your balance show now?

pasotrjim31 commented 3 years ago

It didn't work :(

I am so concerned now ... what do I do next ... I can still see my money exists on the https://www.defichain-income.com/ website.

But it won't show in my wallet ... what do I do?

pasotrjim31 commented 3 years ago

OK! So, I hit the rescan button and it found all the missing addresses.

I have a new problem now. The system won't load my dex, liquidity pairs (to add or remove), or see transactions.

What is happening with that?

Would you like me to send a new set of logs?

izzycsy commented 3 years ago

Hi @pasotrjim31 , can you take a screenshot of the DEX screen? What are your environment parameters?

pasotrjim31 commented 3 years ago

Let me get that for you

MichaelStaa commented 3 years ago

Did you finds a solution, because I have the same expiriense with 2.6.5. on Mac OS 11.6

pasotrjim31 commented 3 years ago

I haven't found the solution yet -

I tied to resync - and it is taking forever to do so .... there was a point when it looked like it was going to work then everything started showing 0's again.

So, I am waiting for the last 3% to sync and see what happens

izzycsy commented 3 years ago

Hi @pasotrjim31 , you can use snapshot to speed up the synchronisation process.

pasotrjim31 commented 3 years ago

I am down to my last .7 % to sync. Fingers cross as I am hoping when it is completely synced that everything will show up ... right now I am seeing a lot of 000s with nothing else showing in the app...

pasotrjim31 commented 3 years ago

Another problem: The app sync has been stalled for a while... It has been stuck at 99.95% complete

izzycsy commented 3 years ago

Hi @pasotrjim31 , can you save & send me your app logs again for further investigation please. Thank you.

1 App log 2 Compress
izzycsy commented 3 years ago

Hi @pasotrjim31 , may I know what RAM and CPU are you operating with of your Mac? Could you a screenshot of your resource usage?

pasotrjim31 commented 3 years ago

Getting both for you right now

pasotrjim31 commented 3 years ago

app logs.log.zip

pasotrjim31 commented 3 years ago
Screen Shot 2021-11-01 at 10 58 14 AM
pasotrjim31 commented 3 years ago
Screen Shot 2021-11-02 at 12 01 53 AM
pasotrjim31 commented 3 years ago

The app is finally sync - but there isn't any of my pools showing nor is there any of my tokens showing.

The pic on the right is my holdings and shows you that it is still reading that the holdings are within my wallet even though the wallet doesn't show it

How do we fix this?

izzycsy commented 3 years ago

Hi @pasotrjim31 , please give us time to investigate. What you could do is backup your wallet.dat, and perhaps clear some memory in your Mac.

izzycsy commented 3 years ago

Hi @pasotrjim31 , in the mean time, can you double check in your defi.conf that;

spv=0
gen=0
defi conf gen0

If it's not, change it to 0 and save the file. Do not move the defi.conf out of it's original folder.

—————————————— To find the defi.conf on Mac, Go to Folder and search: /Users/username/Library/Application Support/DeFi/.defi/

Mac - Go To Folder Go to Folder   Defi
pasotrjim31 commented 3 years ago

They both were on 0 - I doubled checked them :)

thedoublejay commented 3 years ago

@pasotrjim31 can you try to type rpc gettokenbalances in the console from app (once synced to 100%)? And share the screenshot here

pasotrjim31 commented 3 years ago
Screen Shot 2021-11-08 at 4 29 32 PM Screen Shot 2021-11-08 at 4 48 03 PM Screen Shot 2021-11-08 at 4 48 39 PM
pasotrjim31 commented 3 years ago

I pulled up what you mentioned, but the first one didn't work. The second (minus the rpc) did. The bottom pic in black is from the Defichain website that tracks the wallet. I had set that up before the problems with the wallet. The last two days I have tried to remove myself from the liquidity pool and try to dex my holdings so I can move them to the cake site .... I believe I tried 4 different times ... none of them worked. ...

thedoublejay commented 2 years ago

@pasotrjim31 ok thanks for that. It seems that the issue is on display side since you have your balances just not displayed. Don't worry, your funds are safe. We'll release a test build later today, I'll let you know so you can check your funds there. Will keep you posted

izzycsy commented 2 years ago

Hi @pasotrjim31 , update v2.7.0 is out, this is a mandatory update. Kindly backup wallet before updating.
 Please read through the release notes before updating. This comment is to notify you about the update.

pasotrjim31 commented 2 years ago

Hey! I updated to 2.7

Still unable to remove liquidity, dex, or anything ... It showed some numbers then all of a sudden went to all 0's again :(

izzycsy commented 2 years ago

Hi @pasotrjim31 , update v2.7.1 is out, this is a mandatory update. Kindly backup wallet before updating.
 Please read through the release notes before updating. This comment is to notify you about the update.

pasotrjim31 commented 2 years ago

Everything is updated and it is all showing as 0's ... Also, it shows 0 pairs ... :(

izzycsy commented 2 years ago

Hi @pasotrjim31 , can you try updating to v2.7.2?

May I also check what RAM and CPU are you operating with of your Mac? Could you a screenshot of your Hardware Overview? You can check via System Information.

Screenshot 2021-11-26 at 3 59 12 PM

pasotrjim31 commented 2 years ago

Let me get that for you

pasotrjim31 commented 2 years ago
Screen Shot 2021-12-02 at 7 21 39 PM
izzycsy commented 2 years ago

Hi @pasotrjim31 , thanks for the screenshot, the latest version currently is v2.7.3. Can you try to update and see if you balances appear, I'm suspecting that it's due to hardware incompatibility with the desktop app; another user faced a similar issue: https://github.com/DeFiCh/app/issues/1053. If updating still does not work, you might need a better Mac.

Please save your wallets folder (inside would contain wallet.dat which you'll need to use to Restore Wallet) in a thumbdrive or somewhere only you've access to.

If you did not specify where you saved your wallet.dat, you may find it by default here; Mac — Go to Folder: /Users/<username>/Library/Application Support/Defi/wallets

The first half of this guide displays how to Backup Wallet: https://github.com/DeFiCh/app/discussions/988

If updating to v2.7.3 works, I would suggest for you to download DeFiChain Light Wallet on mobile, create wallet, transfer funds from desktop app to Light Wallet (since the 2 applications are built differently, you won't be able to use the same restore wallet method from desktop app on mobile app).

pasotrjim31 commented 2 years ago

Currently, I am trying to sync version 2.7.3

I will let you know if they appear.

However, I have a few questions

  1. I will save my wallet.dat Thank you for that advice

  2. I downloaded the Light Wallet on my phone. When I hit restore wallet, it asks me for the seed phrase - however, when I first opened the desktop wallet a year or so ago I was never given a seed phrase. I was only asked to create a sign-in password (which I did).

Is there a way to create a seed phrase for this wallet now? So I can transfer the funds.

In the app store there are two wallets - The first is the one requiring the seed thing

The second is saiive.live Defichain Wallet (Defichain Light Wallet) ...

Which one is correct?

izzycsy commented 2 years ago

Hi @pasotrjim31 , the latest version would be v2.8.1, you'll likely face syncing issues if you're on 2.7.3.

Regarding 2. the desktop app & mobile Light Wallet are not correlated when restoring wallet. Here's how you can transfer from desktop to mobile:

  1. Download DeFiChain Wallet on the App Store / Play Store
  2. Select Create Wallet button
  3. The mobile app will generate 24 recovery words (please write it down and keep it safe) & 6 digit pin for transactions approval purposes / to access your words again etc.
  4. Once your wallet is set up on mobile, you can send your funds from desktop app to your mobile app using the DeFiChain address which you have

Should you face any issues on DeFiChain Light Wallet, you mat post them here: https://github.com/DeFiCh/wallet/issues

Saiive.live is an application created by the community, you may choose to use theirs if you prefer. However, if you face issues regarding their application, you'll have to ask them instead.

izzycsy commented 2 years ago

Hi @pasotrjim31 , update v2.13.0 is out, this is a mandatory update. Kindly backup wallet and read through the release notes before updating. I'll be closing this issue in the mean time. You may reopen this issue if there's new information (include screenshots) and your app logs. Thank you.