Cannot complete config process from command line for pCloud on OSX Catalina.
(1) Followed the example on the rclone pCloud config page.
(2) It opens up the web browser to get authorisation from pCloud. We are able to log into our pCLoud account: https://my.pcloud.com/oauth2/authorize?access_type=offline&client_id=
(3) The page then crashes and the error URL says: https://undefined/oauth2/authorize?client_id=
What is your rclone version (output from rclone version)
rclone v1.51.0
os/arch: darwin/amd64
go version: go1.13.7
Which OS you are using and how many bits (eg Windows 7, 64 bit)
OSX 64-bit Catalina
Which cloud storage system are you using? (eg Google Drive)
pCloud
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone config
The rclone config contents with secrets removed.
No config file yet - as process will not complete.
Hello and thanks for taking time to respond. Unfortunately, the older version had the same result (same error).
Everything else with pCloud is fine. We are able to rsync to the drive mount - but it is painfully slow.
Have attached a screenshot so you can see exactly the error. It may also help to know that we use two-factor authentication. This error happens after that second authentication has been approved.
Hmm, that looks like it is a bug with pcloud. You can see the redirect url "http://localhost:53682/" where it should be going but for some reason it doesn't get there...
Hello and thank you again. We looked into it and see that others are having the same issue. It appears to happen with those using two-factor-authentication. Others are stating it's a new issue. We tried the solutions in https://github.com/rclone/rclone/issues/4210#issuecomment-629680511 but it had the same result.
Even if we are logged in via the web, and attached to the pCloud Drive - we get the same error.
Here are some links that may help:
Thank you very much for the effort. Unfortunately we got that same result.
Note: We ran a test earlier while quickly disabling the two-factor authentication. The goal was to isolate further what is causing the issue. Without 2FA, we got farther through the rclone config process, but ended up on screen like mentioned in other posts:
Error: Auth state doesn't match
Description: Expecting " .secret stuff here" got ""
Thanks again for the effort. It is appreciated.
Hello and thanks - we dropped 2FA long enough to get the config file process completed. It worked. We then ran a quick sync to validate - it worked. Turned 2FA back on and all is working as expected.
Upzipped it and moved it into /usr/local/bin as the instructions (readme) say. It overwrote the copy of rclone installed by Homebrew (brew uninstall rclone may be needed).
Disabled 2FA on pCloud using the web interface and then rebooted the Mac.
Logged out of pCloud Drive.
Ran: /usr/local/bin/rclone config from the command line. Followed the prompts and after it said "success" on the screen, went back to the command shell to complete the config process.
After it completed, we have been able to use the beta reliably. Hope it helps!
Glad it helped! We found that we had to be logged out of everything pCloud and rclone (client/web) related before the config process completed properly. Everything is working fine with 2FA enabled after upgrading the entire config to the latest rclone, osxfuse and pCloud Drive app releases.
Note: we upgraded rclone using Homebrew and found that the linked files were an issue. That may be due to the manual move of the beta rclone file into /usr/local/bin.
Simple solution for us was to rm /usr/local/bin/rclone the rclone installed in /usr/local/bin, then brew uninstall rclone and brew install rclone. It setup the new version. We also uninstalled and reinstalled osxfuse using Homebrew ( brew uninstall osxfuse and brew install osxfuse). The 2FA config file for pCloud was not damaged by these upgrades (reinstalls). Now everything is easily updated using the brew upgrade command.
After testing multiple command line flags and settings, we are seeing the best pCloud Drive upload speeds using rclone sync to the pCloud Drive with: