netbrain / zwift

Easily zwift on linux
The Unlicense
241 stars 27 forks source link

How to recover a partial ride? #39

Closed evesdropper closed 9 months ago

evesdropper commented 10 months ago

Zwift froze midway through a ride, losing my progress; where can I look to find the log files? Thanks!

netbrain commented 10 months ago
docker volume list

DRIVER    VOLUME NAME
....
local     zwift-netbrain

docker volume inspect zwift-netbrain
[
    {
        "CreatedAt": "2023-09-18T07:41:36+02:00",
        "Driver": "local",
        "Labels": null,
        "Mountpoint": "/var/lib/docker/volumes/zwift-netbrain/_data",
        "Name": "zwift-netbrain",
        "Options": null,
        "Scope": "local"
    }
]

sudo ls /var/lib/docker/volumes/zwift-netbrain/_data

Or you can mount the volume in a container and do your investigating there:

 docker run -it --rm -v zwift-netbrain:/data busybox
 ls /data

You need to change your zwift volume name to the format zwift-$USER for it to be applicable for your system.

the volume contains a Logs folder which should house your previous ride i guess.

gallais commented 10 months ago

Btw @evesdropper I experienced similar crashes a couple of times (after ~20 & ~40 minutes respectively) and the solution was to turn off video screenshots in the in-game config just like advised in #26. I've been free of crashes since then!

As for the missing fit files, I got them from the user feed on the zwift website (at https://www.zwift.com/feed, click on the activity in question & then on the toothed wheel icon to access the download option) and manually uploaded them to strava.