netbrain / zwift

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

Zwift docker error: no Documents folder #1

Closed dumasl closed 2 years ago

dumasl commented 2 years ago

Hi,

First of all thank you for you contributions and help trying to give access to zwift for unix users !

I have recently tried running the app through one of your docker containers but I always run into this error:

There was an error accessing to your Documents folder. There was also an error trying to create a Zwift folder on your Desktop as a fall-back. This means Zwift can't save any files. Please contact Zwift Support.

I'm using ubuntu20.04. I've tried latest and 1.19.1 docker tags with no success.

Is it possible I'm facing a privilege kind of error here ? I assume I am missing something but can't find what so far. Maybe you will be able to help me resolving this issue.

Thank you for your help.

netbrain commented 2 years ago

Oh yes, you are probably going to need to chmod the mounted directory with the correct permissions.

It needs to be writable by user and group of 1000.

If that doesn't work then let me know the exact command you are executing. And I'll be happy to assist ☺️

On Sun, Jan 16, 2022, 15:02 dumasl @.***> wrote:

Hi,

First of all thank you for you contributions and help trying to give access to zwift for unix users !

I have recently tried running the app through one of your docker containers but I always run into this error:

There was an error accessing to your Documents folder. There was also an error trying to create a Zwift folder on your Desktop as a fall-back. This means Zwift can't save any files. Please contact Zwift Support.

I'm using ubuntu20.04. I've tried latest and 1.19.1 docker tags with no success.

Is it possible I'm facing a privilege kind of error here ? I assume I am missing something but can't find what so far. Maybe you will be able to help me resolving this issue.

Thank you for your help.

— Reply to this email directly, view it on GitHub <netbrain/zwift#1>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACTNCZPDS5Y3MNGYRAJITLUWLFXTANCNFSM5MCZWBCQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

dumasl commented 2 years ago

Sorry for the delay but I come here with great news since you spotted the problem perfectly !

The volume I mounted had the wrong goup and user ID. Setting them to 1000 solve the problem. This is just perfect.

Thank you for your help & contributions to this.

netbrain commented 2 years ago

Glad to help!

On Thu, Jan 20, 2022, 18:50 dumasl @.***> wrote:

Sorry for the delay but I come here with great news since you spotted the problem perfectly !

The volume I mounted had the wrong goup and user ID. Setting them to 1000 solve the problem. This is just perfect.

Thank you for your help & contributions to this.

— Reply to this email directly, view it on GitHub <netbrain/zwift#1>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACTNC6QDITGVBG5T4C2HJ3UXBDQBANCNFSM5MCZWBCQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

bigbuka commented 1 year ago

Read through this after having the same issue but not sure how to go about achieving this. What are the exact steps and commands?

netbrain commented 1 year ago

https://github.com/netbrain/zwift/issues/9#issue-1446280910