WordPress.org

Ready to get started?Download WordPress

Forums

DreamObjects Connection
[resolved] [closed] Plugin not working (17 posts)

  1. protohominid
    Member
    Posted 1 year ago #

    I have a client with two sites on which I have the plugin installed. I can't get either one to do anything. I successfully connect the plugin to her DreamObjects account, and the buckets are showing up, but when I click the "Backup ASAP" and wait a while, nothing is backed up AFAIK. I enabled logging on both sites and this is what I have on one of them:

    [2013/01/08 03:56:26] Scheduled ASAP backup.
    [2013/01/08 04:00:24] List of files added to the zip.
    [2013/01/08 04:00:29] SQL file created (1 MB).
    [2013/01/08 04:00:29] SQL filename added to zip.

    On the other site the log file is blank.

    Any ideas on troubleshooting? I contacted Dreamhost and exchanged several emails with their support, but they referred me to you. :-P

    Thanks in advance.

    http://wordpress.org/extend/plugins/dreamobjects/

  2. Ipstenu (Mika Epstein)
    Half-Elf Support Rogue & Mod
    Plugin Author

    Posted 1 year ago #

    Are you comfortable with command line?

    The wp-cli command 'wp dreamobjects backup' sometimes runs better.

    Also if the log stops at [2013/01/08 04:00:29] SQL filename added to zip. and doesn't go any further, then it's not copying the files up. That should throw an error when that happens. Can you add other files to those buckets?

  3. protohominid
    Member
    Posted 1 year ago #

    Hey Mika,

    I am somewhat comfortable with the command line, but I'd need some instructions on how to run the command you mention.

    I was able to manually upload a file to the bucket through the plugin's interface.

  4. Ipstenu (Mika Epstein)
    Half-Elf Support Rogue & Mod
    Plugin Author

    Posted 1 year ago #

    It's actually pretty simple. All DreamHost servers have WP-cli on them, which lets you run various WP commands.

    So you SSH into yr account, and go to your WP folder (if its in domain.com/blog, you type cd blog to change directories).

    Then you type wp dreamobjects backup and hit enter. It should run an ASAP backup on its own.

  5. protohominid
    Member
    Posted 1 year ago #

    Mika,
    I successfully ran a backup using the wp-cli command (thanks!), and it shows up when I go to the plugin's "Uploader" page... But not on the "Backups" page.
    What can I do to get the plugin to automatically run backups? I don't want to have to manually run this command every week on two sites...

    BTW, I noticed that the backup I just did via the command line was saved to the root dir of the bucket; however there is another backup created by DreamHost tech support last week that is in a subdirectory (titled with the site name), and that file IS showing up on the plugin's "Backups" page. Very confusing. :-P

  6. Ipstenu (Mika Epstein)
    Half-Elf Support Rogue & Mod
    Plugin Author

    Posted 1 year ago #

    I successfully ran a backup using the wp-cli command (thanks!), and it shows up when I go to the plugin's "Uploader" page... But not on the "Backups" page.

    That sounds like you don't have the backups 'bucket' selected correctly.

    BTW, I noticed that the backup I just did via the command line was saved to the root dir of the bucket;

    You are person #2 with that peculiar quirk. Are you changing the location of your home/site URLs in the wp-config.php file with defines?

    Also have you tried just doing an SQL backup? You may have multiple issues, one of which is that when you have a larger zip (i.e. 50+ megs), the combo of PHP and DHO code goes wonky with uploads. This isn't just a 'me' problem either, it happens on Amazon :/ I'm working with an engineer here on it, though.

  7. protohominid
    Member
    Posted 1 year ago #

    That sounds like you don't have the backups 'bucket' selected correctly.

    I'm not sure what else to do besides selecting the bucket in the plugin's "Backups" page. I create a bucket in DreamObjects, and then select it from the "Bucket Name" dropdown menu, and click "Update Options". What am I missing?

    You are person #2 with that peculiar quirk. Are you changing the location of your home/site URLs in the wp-config.php file with defines?

    I'm defining WP_HOME and WP_SITEURL with 'http://' . $_SERVER['HTTP_HOST']

    Also have you tried just doing an SQL backup?

    Do you mean using the DreamObjects plugin? Yes, I just tried deselecting "All Files" and ran a "Backup ASAP" and it worked. So there's something the plugin doesn't like about the non-mysql files...

  8. Ipstenu (Mika Epstein)
    Half-Elf Support Rogue & Mod
    Plugin Author

    Posted 1 year ago #

    I'm defining WP_HOME and WP_SITEURL with 'http://' . $_SERVER['HTTP_HOST']

    Okay. That makes two people, so I'm calling it officially a bug. Doing that makes the uploads go in weird places. I'm going to try changing a couple defines and see if I can make that behave better by coding it in a different place.

    Do you mean using the DreamObjects plugin? Yes, I just tried deselecting "All Files" and ran a "Backup ASAP" and it worked. So there's something the plugin doesn't like about the non-mysql files...

    I bet it's the size. I'm working with an engineer in house to see if we can split the uploads into smaller chunks.

  9. Ipstenu-DH
    DreamHost Rep
    Posted 1 year ago #

    Just so you know, I'm working on a new version, but likely it won't fix these problems.

    Working with engineering we found a separate 'quirk' that means the fix wouldn't work on all of our servers, which means I don't want to use it yet. Still, I'm prepping so that it'll be easier to fix the 'file is too large, you can't haz it!' problem.

    Now it's possible I've sorted out the Home/SiteURL mess with the changes, and I am testing it out as best I can. Fingers crossed.

  10. Ipstenu (Mika Epstein)
    Half-Elf Support Rogue & Mod
    Plugin Author

    Posted 1 year ago #

    I take that back.

    Beta version of 3.0b is up here:
    http://downloads.wordpress.org/plugin/dreamobjects.zip

    That SHOULD fix the 'file is too large, arrrrgh' errors. The formatting of the backups is weird (that is, you get the zip name, rather than a pretty name), and that's my last cleanup task, should the rest work. If you want to beta test, I would greatly appreciate it :)

  11. Michael
    Member
    Posted 1 year ago #

    Really appreciating all the effort Mika!

    Unfortunately mine still seems to be pooping out on the file zipping stage, deubg just says:

    [2013/01/16 04:24:05] Scheduled ASAP backup.
    [2013/01/16 04:24:24] Begining Backup.
    [2013/01/16 04:24:30] List of files added to the zip.
    [2013/01/16 04:24:32] SQL file created (4 MB).
    [2013/01/16 04:24:32] SQL filename added to zip.

    but nothing seems to make it to DreamObjects...

  12. protohominid
    Member
    Posted 1 year ago #

    I'm seeing the same thing as Michael. I schedule the ASAP backup, wait a while, but nothing happens. Same exact log file contents as above. :-(

  13. Ipstenu (Mika Epstein)
    Half-Elf Support Rogue & Mod
    Plugin Author

    Posted 1 year ago #

    Okay, it's 100% because of the WP_HOME and WP_SITEURL defines... I need to suss that out.

  14. Michael
    Member
    Posted 1 year ago #

    Sweet. In the meantime is there a work-around for how we should (or should not set WP_HOME / WP_SITEURL ?

  15. Ipstenu (Mika Epstein)
    Half-Elf Support Rogue & Mod
    Plugin Author

    Posted 1 year ago #

    I would say "don't set WP_HOME and WP_SITEURL" unless you have to anyway. I'm poking this with a sharp stick though. It's illogical!

  16. Michael
    Member
    Posted 1 year ago #

    Hmm, FWIW I don't think I'm setting them explicitly on either of the two sites I'm having trouble with.

  17. Ipstenu (Mika Epstein)
    Half-Elf Support Rogue & Mod
    Plugin Author

    Posted 1 year ago #

    Michael, if you want to email me at mika.epstein AT dreamhost.com with the two sites, I'll see if there's anything blaaaarghing on the server side. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.