-
Reference Issue: #1557 Compose command:
I see, it recognized the verbose command but not the later. Do I have the commands correct in my compose? Here is the log when I start the container.
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
@Rathna-K
Firstly, The second one is essentially how you have interpreted the documentation and prior questions+answers regarding the use of this option. What you have done is literally follow the documentation - without substituting the items with the actual items required as per the documentation. The
The contents of these files need to be, for example: authURLFile
The application will write the Authentication URL to this file - you do not need to add the content in there - but the path to where this file exists must exist so that the URL can be written to this file. You then can use this URL, from this file and grab the response. responseUrlFile
This file should contain your actual authentication response from OneDrive when you use the authentication URL above. The application will wait for the existence of the |
Beta Was this translation helpful? Give feedback.
-
Here is my full compose file:
I also have created two folders in my home dir: conf and data and two files inside conf: authUrl, responseUrl When a new container is spun up without doing anything else , here is the console output :
I think the option may not get properly parsed or maybe I am missing something here ? |
Beta Was this translation helpful? Give feedback.
-
As per the Docker documentation, to correctly use https://github.com/abraunegg/onedrive/blob/master/docs/Docker.md#environment-variables So for your Docker compose file needs to be updated to something similar to below:
|
Beta Was this translation helpful? Give feedback.
-
@addohm |
Beta Was this translation helpful? Give feedback.
@Rathna-K
So there are a number of issues here.
Unrecognized option --auth-files
authUrl:responseUrl
Firstly,
--auth-files
should be a recognised option. How are you building your Docker container and from what source? You need to consume the Docker container from https://hub.docker.com/r/driveone/onedrive and nowhere else. If your Docker container is not understanding this option, you are not using the correct Docker container.The second one is essentially how you have interpreted the documentation and prior questions+answers regarding the use of this option.
What you have done is literally follow the documentation - without substituting the items with the actual items required as per…