-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HELP (Not Launching/ Crashing)] #173
Comments
Don't run as sudo...
…On Sun, Nov 3, 2024, 4:17 PM DamianManelski ***@***.***> wrote:
Checklist
- I have given details of my install including Distribution, Wayland/
XOrg, Parameters Used, echo $XAUTHORITY, etc.
- I have provided logs showing any errors, if available (use DEBUG=1
zwift)
- I have filled out the issue template to the best of my ability.
- This issue only contains 1 issue (if you have multiple issues, open
one issue for each issue).
- This issue is not a duplicate issue of previous issue.
Describe the issue
Cannot run aftrer pulling zwift image on kubuntu.
chown: cannot access
'/home/user/.wine/drive_c/users/user/Documents/Zwift': No such file or
directory
Distribution Details
Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble
This is Kubuntu!
Reproduction steps
1.I have pull docker image to my newset kubuntu like: docker pull
netbrain/zwift
2.then i run image as "sudo docker run netbrain/zwift".
3. which gives me:
Screenshot_20241103_161226.png (view on web)
<https://github.com/user-attachments/assets/764a11cb-d8a9-4376-acde-d4a901ec58b1>
...
—
Reply to this email directly, view it on GitHub
<#173>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACTNCZC5ZDZU7HIFYB2PG3Z6Y5BNAVCNFSM6AAAAABRC2KOVCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZTCMRXGA2DSOA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
You probably need to delete the Zwift volume as it now probably is owned by root. Docker volume list should show a list of volumes. Try deleting the Zwift volume and let it be recreated when you run Zwift as a normal user |
@sHedC got any clue on why this could be happening? |
Yeh you are not passing the volume, if you have a look at zwift.sh you can see it does quite a lot of pre-work to define what to pass through to make it work. Once of the things is this: -v zwift-$USER:/home/user/.wine/drive_c/users/user/Documents/Zwift Which is what you are missing: This file: https://github.com/netbrain/zwift/blob/master/zwift.sh Recommended approach is to install it as per the readme, but you can just download it make it executable and run it or modify it if you feel brave. |
I am also getting the same error and I just installed following the
Upon running the container, I get the same error output log ending in:
I then had a co-worker run the same steps on his personal linux laptop and the container successfully launched for him. Because the command and actions were the same between the two of us, I am wondering if the error for me could be due to having a Linux username other than the default Happy to provide additional details to help troubleshoot this. I'm excited to get this up and running! |
|
I only have docker installed on my system. Here is the output from running that command:
|
So this is the important part:
From here i can see that it tries to mount a volume with the flag: So i suspect that it's failing to do this for some reason. Why don't you try setting this to
and see what happens? |
I ran the command (consolidated): And that gave me this output:
Following that, I attempted to add the So that seems to be a success. |
Exactly what system are you on? Os and docker? I don't think this has ever worked on docker desktop. So you should be using podman or docker-ce |
OS: Docker:
|
If I were you I'd try removing docker-desktop and then install docker-ce with
Afaik Zwift has never worked with docker desktop |
For point 2 I can only assume your memory is at fault as all image layers needs to be extracted after download. 👍 Glad you got it working. 🤗 |
Checklist
DEBUG=1 zwift
)Describe the issue
Cannot run aftrer pulling zwift image on kubuntu.
chown: cannot access '/home/user/.wine/drive_c/users/user/Documents/Zwift': No such file or directory
Distribution Details
Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble
This is Kubuntu!
Reproduction steps
1.I have pull docker image to my newset kubuntu like: docker pull netbrain/zwift

2.then i run image as "sudo docker run netbrain/zwift".
3. which gives me:
...
The text was updated successfully, but these errors were encountered: