jovandeginste / workout-tracker

A workout tracking web application for personal use (or family, friends), geared towards running and other GPX-based activities
Other
945 stars 31 forks source link

Total statistics are empty #129

Closed Thovi98 closed 5 months ago

Thovi98 commented 5 months ago

Hey, thanks for this app! Works great!

I have an issue with the global statistics above, they are empty althought a track has been uploaded. Capture

By the way, were are stored the uploaded track on the server? I couldn’t find it in workout-tracker directory (but I can download it from the web interface).

Is there a way to choose a data directory (and set it as environment variable?). It would be useful for the package I made for Yunohost. Thanks!

wills106 commented 5 months ago

The workouts are stored in a Database in /data

If you used Docker did you map /data to a local folder?

Thovi98 commented 5 months ago

Thanks for your input! I forgot to say that I don’t use docker, I installed natively.

jovandeginste commented 5 months ago

The totals above default to running; you can change this in your profile settings (click on your username in the top menu)

The workouts are saved in the database. Natively, the database is stored in the location from where you run the binary (this is not per se the location where you saved the binary!)

Thovi98 commented 5 months ago

Thank you! Okay it works!

Si it would be nice to

Ne pressure tho 😇

And I understand now why I couldn't find uploaded files as it is in the database, thank you!

jovandeginste commented 5 months ago

I'll add some cue as to which totals are shown, and some kind of auto-logic to (default) show workout totals for workout type with highest count.