Support

Akeeba Backup for Joomla!

#32096 new Akeeba Backup 7 : pCloud not working

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by on Wednesday, 08 January 2020 17:17 CST

woluweb
Hi,

I was quite excited to test pCloud as "post-processing engine".
But it seems the configuration does not go through.
See this animated gif :
https://twitter.com/woluweb/status/1202317996003340288

Txs,

Marc

Note : I do use Amazon S3 for my real Cloud backups, so this ticket is not urgent as such. I am not stuck in any way. Just that I wanted to give a try to pCloud. And if the issue is more general than my own case, then I'm happy to help !

nicholas
Akeeba Staff
Manager
Unfortunately this is a bug in pCloud's OAuth2 implementation, namely the oauth2_token callback. While we pass back the client_id and client_secret they provided us in their web interface their OAuth2 server does not recognize the client_secret and throws the error you are experiencing.

It looks like their OAuth2 server only works correctly when requesting permissions for the same pCloud account you used to create the OAuth2 application. That's why I didn't catch that in development. It was as unexpected as a car exploding when anyone but the registered owner sits in the driver's seat and turns the key in the ignition. It's something that shouldn't happen and you don't check as a consumer.

Unfortunately, this means that we do not have any way to get an authentication token to pCloud which makes it impossible to use their API. Therefore I will have to remove the pCloud integration and move it to our "we'll never implement" list. Sorry. I was just as excited about this feature as you were – I have a lifetime subscription to them. But if they can't be bothered to implement their OAuth2 server correctly it doesn't quite fill me with confidence so I might have to shop around for a different cloud provider, again. Sigh. I almost miss the days I was using rewritable CD-ROMs...

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

woluweb
Txs for looking into this so quickly.
Don't delete pCloud immediately, I will draw their attention to this.
I have just posted a Tweet about this : https://twitter.com/woluweb/status/1202891730640617472

Hopefully they can fix this :)

nicholas
Akeeba Staff
Manager
I had to remove it since I'm about to release beta 2. I can't have a broken feature in a release with an unclear resolution timeline (if ever).

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

woluweb
OK, sure.
But I simply meant "don't drop the idea of reintroducing it if pCloud does its duty" ;)

nicholas
Akeeba Staff
Manager
I gave them an account on a test site of mine so they can figure out what's going on. I know that they logged in this morning, meaning that they are looking into it. When I have more news I'll share. If we have no news until January 7th we will ship the stable without pCloud support and keep the code in reserve for another 2-3 months.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

woluweb
Txs Nicholas for the follow-up.
I hope the issue will be solved sooner or later :)
In the meantime, enjoy the joys of end of December :)

nicholas
Akeeba Staff
Manager
Thank you :)

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!