• Resolved markseger

    (@markseger)


    I’m brand new to wordpress and at the same time trying our the updraftplus plugin. I think there are a lot of assumptions around a users knowledge being made and have several questions.

    First and foremost, updraft wouldn’t even upload until I added this

    define(‘FS_METHOD’,’direct’);

    to the bottom of my config file and then it at least got past that step.

    Next, the updraftplus plugin won’t install as it can’t write to the wp-content directory. Since there are no instructions about exactly what must be done, I just set the whole directory tree to 777, knowing this is a bad idea but lacking any other help had to do this to make progress.

    Finally I’m trying to enable/test swift and it’s failing. The page for for configuring it tells me to leave the region blank but when I do it tells me to run “User::setDefaultRegion and ::update()”, but I have no idea what that means, so I filled in the region.

    Now then I click on test it’s telling me I need V2 keystone authentication but I’m using V2, specifically this:

    https://region-b.geo-1.identity.hpcloudsvc.com:35357/v2.0/

    so I’m at standstill. For the record, I have defined OS_ style environment variables for my V2 credentials and the swift stat command works just fine so I know there are valid for V2.

    can someone please tell me what I’m doing wrong?

    -mark

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author David Anderson

    (@davidanderson)

    Hi Mark,

    You’re the guy that HP has assigned to look at testing the new OpenStack support in UD? This doesn’t really belong here – I will reply to you by email.

    Best wishes,
    David

    Thread Starter markseger

    (@markseger)

    ok so I guess my comments about v2 were a little confused. I didn’t realize that text about v2 is always there and not an error. sorry about that.

    anyhow I tried again and the error I am getting is this one:

    OpenStack settings test result: OpenStack authentication failed (OpenCloud\Common\Exceptions\EndpointError, No endpoints for service type [object-store], name [swift], region [region-b.geo-1] and urlType [publicURL])

    as I said, I can use my credential successfully with the swift client and so have no idea by updraft isn’t happy. I think if the error message could include the curl command being used it might help me figure out what’s wrong with updraft. Also, does this plug log errors anywhere I could check? I’ll keep slogging through this and may even get lucky.

    -mark

    Plugin Author David Anderson

    (@davidanderson)

    For what it’s worth, the OpenStack support is using Rackspace’s SDK: https://github.com/rackspace/php-opencloud

    And the code for interfacing with that in UpdraftPlus is in:
    https://plugins.svn.wordpress.org/updraftplus/trunk/methods/openstack2.php

    which extends this class:

    https://plugins.svn.wordpress.org/updraftplus/trunk/methods/openstack-base.php

    (The Rackspace Cloudfiles support also extends that class – since Cloudfiles is also built on Swift).

    At any point, if you want to log something, then you do stuff like:

    global $updraftplus;
    $updraftplus->log("blah blah blah");
    $updraftplus->log(serialize($my_object));

    If there’s a log file open, then it gets written to that; if not, then it gets shown on the dashboard in the ‘last log line’ display. Though, if you’re doing personal debugging, then of course you can just do file_put_contents(‘/tmp/myfile.log’, ‘Whatever…’), etc.

    David

    johnnyd85

    (@johnnyd85)

    Is this a gimmick so as to have to purchase the upgraded version? Each time I try to backup files it states incomplete with no explanation why.

    Plugin Author David Anderson

    (@davidanderson)

    Hi johnnyd85,

    Please check the topic “PLEASE READ: Support forum guideline” before you post… link: https://wordpress.org/support/topic/please-read-support-forum-guidelines

    Particularly, these items apply to your post:

    1. “Firstly, the WordPress general forum welcome. Note especially the paragraph “Where To Post”. (Do not post on other peoples’ threads).

    2. “Also, let’s all please be nice to each other. If something’s broken then it’s not because we hate you.” (if something does not work, it’s not because someone has come up with a cunning plan to con you).

    Many thanks,
    David

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘problems getting started with updraftplus’ is closed to new replies.