WordPress.org

Forums

UpdraftPlus Backup and Restoration
[resolved] can't connect to any outside cloud service (13 posts)

  1. gregor3001
    Member
    Posted 1 year ago #

    I've first tried with google drive. read the instructions twice and even tried to use the old console but no matter what i get this:
    400. That’s an error.
    Error: redirect_uri_mismatch

    i've chekced the uri a lot of times. copied it and even tried typing it no matter what i get this error. the URI is correct.

    so i read some FAQ and noticed dropbox is easiest to setup. i created a dropbox account and clicked to authenticate. and this is what i get in dropbox:
    The request to link the app is invalid.

    while the plugin's settings page shows that "apparently i am already authenticated"
    i am not sure what i should do now. and how to create backups in external place instead of on alocated server.

    https://wordpress.org/plugins/updraftplus/

  2. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    Hi gregor,

    I'm not sure what to suggest about the Google one... it's Google that sends back that message, and it's very hard to imagine why they'd say it didn't match if it really did. The only thing you could do would be to talk to Google about that, since as I say it's them who send that message.

    For the Dropbox one, this thread seems similar: http://wordpress.org/support/topic/dropbox-the-request-to-link-the-app-is-invalid-1?replies=4

    Best wishes,
    David

  3. gregor3001
    Member
    Posted 12 months ago #

    We had to delete the whole WP directory anyway. We registered and then used the dropbox. It backed up the databases fine to dropbox but couldn't backup the rest of WP. Waiting now to see what it will do on next scheduled backup.

  4. gregor3001
    Member
    Posted 11 months ago #

    Dropbox now - the first time it succesfulyl uploaded the databse however now it keeps saying i need to authenticate with dropbox (not sure why thi sis again needed). bu twhen clickign the link i get this message in dropbox: The request to link the app is invalid.

    the log says:

    3264.556 (3) Dropbox reauthorisation needed; but we are running from cron, AJAX or the CLI, so this is not possible
    3264.557 (3) Dropbox Curl error: You need to re-authenticate with Dropbox, as your existing credentials are not working.
    3264.559 (3) 1407698311: this backup set remains non-empty (0/1); will retain in history
    3264.560 (3) Examining backup set with datestamp: 1407698243 (Aug 10 2014 19:17:23)
    3265.419 (3) Parameter not found: oauth_token - need to reauthenticate this site with Dropbox (if this fails, then you can also try wiping your settings from the Expert Settings section)
    3266.337 (3) Dropbox reauthorisation needed; but we are running from cron, AJAX or the CLI, so this is not possible
    3266.339 (3) Dropbox Curl error: You need to re-authenticate with Dropbox, as your existing credentials are not working.
    3266.340 (3) 1407698243: this backup set remains non-empty (1/0); will retain in history
    3266.341 (3) Examining backup set with datestamp: 1407093584 (Aug 03 2014 19:19:44)
    3266.342 (3) 1407093584: db: this set includes a database (backup_2014-08-03-2019_Tasty_Indonesian_Food_dfe1550bfdb2-db.gz); db count is now 2
    3267.224 (3) Parameter not found: oauth_token - need to reauthenticate this site with Dropbox (if this fails, then you can also try wiping your settings from the Expert Settings section)
  5. gregor3001
    Member
    Posted 11 months ago #

    note - this

    wiping your settings from the Expert Settings section
    did not work.

    the funny thing is it was succesfully authenticated before but when transfer is attempted....

  6. David Anderson
    Member
    Plugin Author

    Posted 11 months ago #

    Hi Gregor,

    wiping your settings from the Expert Settings section did not work.

    When you say it did not work, does that mean that no settings were wiped? Or that they were wiped, but then something else afterwards did not work? Can you explain this bit a bit more, so that I can get the fuller picture?

    Best wishes,
    David

  7. gregor3001
    Member
    Posted 11 months ago #

    The settings were wipped succesfully, but this had no effect. I get the same message after tryign to authenticate. Is it possible my host is blocking me somehow? Would i be able to see that in some log?

    While i do have Sucuri and wordfence security plugins installed i did not have them on my first attempt at this. And like i wrote in the first attempt the databases were backedup succesfully but not the files.

  8. David Anderson
    Member
    Plugin Author

    Posted 11 months ago #

    Hi Gregor,

    I'm not sure what to suggest - I've never seen a case before where wiping the settings and re-authenticating didn't achieve the desired result...

    David

  9. gregor3001
    Member
    Posted 11 months ago #

    i've somehow manager to re-authenticate the site. i immediatelly triggered a backup session to see if it will back it up to dropbox or not. nothing got uploaded. As far as i can tell only the first time i ran this plugin the database files were uploaded but nothing else. after that nothing get's uploaded not even database files.
    here is an excerpt from the log:

    17717.420 (8) Cloud backup selection: dropbox
    17717.429 (8) Beginning dispatch of backup to remote (dropbox)
    17717.430 (8) Dropbox: begin cloud upload
    17718.386 (8) Parameter not found: oauth_token - need to reauthenticate this site with Dropbox (if this fails, then you can also try wiping your settings from the Expert Settings section)
    17719.342 (8) Dropbox reauthorisation needed; but we are running from cron, AJAX or the CLI, so this is not possible
    17719.344 (8) Dropbox Curl error: You need to re-authenticate with Dropbox, as your existing credentials are not working.
    17719.347 (8) An error condition has occurred for the first time during this job
    17719.348 (8) Dropbox error when trying to gain access: You do not appear to be authenticated with Dropbox (line: 84, file: /home/mithrasi/public_html/wp/wp-content/plugins/updraftplus/methods/dropbox.php)

    could Sucuri or Wordfence security plugins be somehow stoping the plugin? Why do i not appear to be authenticated with Dropbox if i managed to authenticate myself and that line with this message was gone before i started to perform a backup? Is there actualyl another way to see if i am authenticated or not? if updraft plus is authenticated or now on dropbox?

  10. gregor3001
    Member
    Posted 11 months ago #

    I've now wiped all the settings. thn went to settings, set it to dropbox, saved, went back to settigns, clicked on the link to authenticate with dropbox and it went to dropbox immediatelly with this message there:

    The request to link the app is invalid.

  11. David Anderson
    Member
    Plugin Author

    Posted 11 months ago #

    Hi Gregor,

    I wish I had something useful to say... if you're using the "Wipe" button in the UpdraftPlus Expert/Debug tab, then that is a full reset. I've never before seen a case where things didn't work after that, so am not sure what to suggest. Does your site have a dedicated developer who'd be able to take a closer look?

    Best wishes,
    David

  12. gregor3001
    Member
    Posted 11 months ago #

    this kind of answer doesn't make me sleep at night :-) i am not ready to give up on updraft just yet. i like the interafce and i know it can do it as i saw it backup the database the first time i installed it.

    I have a programer i can contact. but before i do that - i was just watching a how to for another backup option. i noticed that they need a folder where token is saved (i am guessing from dropbox). is there something like that in this plugin? Because if it is i would probably need to manually add it (the folder) and give it at least temporary write permissions.

    after a hack i had to restore form old backup and then i hardened the site as much as i could and most folders are fully locked down now. if there is somehtign that dropbox is supposed to save in a plugin subfolder it probably can't do it now.

  13. David Anderson
    Member
    Plugin Author

    Posted 11 months ago #

    Dropbox uses an OAuth authentication flow, which involves two tokens; an access token and a refresh token. UpdraftPlus stores these in the WordPress database. Wiping removes them, and gets you back to the beginning, which is why it is puzzling that you then have the same problem again.

    Have you got a second Dropbox account you could try with? Perhaps the problem is in the Dropbox account.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • UpdraftPlus Backup and Restoration
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic