I am running rclone gui from a Docker container. I can browse configs fine. I am trying to add one for Google Drive and I am getting a 500 error. It creates the config but never finishes the creation process. It should open a new window so I can auth the Google Drive but it never opens that window.
Run the command 'rclone version' and share the full output of the command.
@ncw Hi. I am sorry to tag you like this but do you have any idea what could be wrong? I opened an issue in GitHub but no traction their either.
Through the CLI I know the code opens a browser to finish the config auth. It works the same if you add config through the GUI. But if you have rclone running in a Docker container then it won't open the 2nd step auth window.
I tried to find the relevant part of the code but no luck....
I don't use dockers but if you want to create a config elsewhere or run headless, that's probably an easier option.
It's nothing rclone related per se as the docker part obfuscates a lot of things and oAauth flows require localhost access properly or it will not work well.
It's not that it doesn't open a 2nd auth window as rclone wants to open a browser window and that is something you can't do as you are contained in a docker. You'd have to install a browser in your container an expose that somehow which is well beyond me.
It doesn't get much traction here as it's not really a rclone question but a docker question.
It is a Docker thing but it is specific to how rclone implemented auth. I've been looking at the code and I see what is wrong. I just can't find the relevant parts in in the rclone source for how to fix it.