cioraneanu / firefly-pico

A delightful Firefly III companion web app for effortless transaction tracking
GNU Affero General Public License v3.0
314 stars 15 forks source link

NaN appears on all the dashboard reports #89

Open phuchoang2603 opened 1 month ago

phuchoang2603 commented 1 month ago

Hi, I would like to understand how to resolve this issue. Presently, the app displays the total money I have, and all interactions with the app function quite well, except the small reports on the dashboard below do not show the correct numbers.

I'm wondering if this issue is related to my use of Firefly MariaDB instead of the recommended PostgreSQL in your setup guide. Additionally, I am using the Cloudflare tunnel for both the Firefly and Pico instances.

Please let me know if you need any further information. Thank you very much.

image

cioraneanu commented 1 month ago

Hi, the database and cloudflare tunnels should not be a factor.

To debug it you could try cloning the repository locally and starting up the frontend only. Then inside the UI -> App settings -> Pico Backend URL set it to your actual docker installation just like the production app. Info

A good place to start investigating would be the Total income

avee87 commented 1 month ago

Do you use some non-standard currencies? I can imagine this issue happening if you use currency conversion on the dashboard but there are no conversion rates for your currency.

phuchoang2603 commented 1 month ago

Do you use some non-standard currencies? I can imagine this issue happening if you use currency conversion on the dashboard but there are no conversion rates for your currency.

I’m curious if the Vietnamese Dong (VND) is considered a non-standard currency. From what I can see, there are conversion rates between USD and VND available on the extras tab.

IMG_0623

phuchoang2603 commented 1 month ago

Hi, the database and cloudflare tunnels should not be a factor.

To debug it you could try cloning the repository locally and starting up the frontend only. Then inside the UI -> App settings -> Pico Backend URL set it to your actual docker installation just like the production app. Info

A good place to start investigating would be the Total income

Yes, I’ve cloned it and I’m still waiting for the npm install to finish. I’m not sure why it’s taking so long—my computer has been stuck for about 2 hours now.