WordPress.org

Ready to get started?Download WordPress

Forums

WP Clone by WP Academy
[resolved] Cannot find "temp" directory during restore (19 posts)

  1. webworks
    Member
    Posted 1 year ago #

    Hello, I hope you can help.

    During a restore, it gives me this error: The plugin encountered an error during the restore process,the following error message was returned:
    Error Message : Cannot find /home/username/public_html/wp-content/wpclone-temp/wpclone_backup_09th_Jun_2013_02-08PM_Gen_IAyXj4h9x0

    I try everything I read.... I've tried manually installing the wpclone plugin to make sure it's not permission error. I've temporarily changed wp-content to 777 (along with upload and every directory it seems to use) I've tried FTP'ing down the zip file from source site, and FTP'ing and changing the link to be the destination site. I've tried manually creating this "temp" directory which it cannot find and making this 777

    I have literally 2 weeks of failed clone attempts. It seems that this plugin has some resolved issues - can you resolve mine?

    Scratching my head :(

    Thank you in advance for your response,
    Heather

    http://wordpress.org/extend/plugins/wp-clone-by-wp-academy/

  2. WP Academy
    Member
    Plugin Author

    Posted 1 year ago #

    download the backup onto your computer and open it,can you see a folder named 'wpclone_backup'? (everything else should be inside it)
    were you asked to enter FTP details?
    by the way,did you try the 'alternate zip method'? (you can see it after clicking the 'advanced settings' link)

  3. webworks
    Member
    Posted 1 year ago #

    No, there is actually *not* a folder called wpclone_backup within the zip file.

    *Yes* I'm always asked to enter my FTP details. Once I put that password in, everything works (updates/installs/etc).

    Wow ---> I didn't even see that "advanced link" down there!

    What is your recommendation? I have a good feeling about this :)

  4. webworks
    Member
    Posted 1 year ago #

    I'm going to try the alternate zip method right now...

  5. webworks
    Member
    Posted 1 year ago #

    Same error with "alternate zip" selected under advanced settings. (By the way, I *only* selected the alternate checkbox and left everything else unchecked)

    Error Message : Cannot find /home/batonrou/public_html/wp-content/wpclone-temp/wpclone_backup_09th_Jun_2013_06-13PM_Gen_JkpQLxRIdH

    This time, I left the zip file where it was, and didn't change the link.

    Any other ways around this? Why does it keep looking for a folder that doesn't get generated by zip?

  6. webworks
    Member
    Posted 1 year ago #

    My apologies, as I mis-read your first question.

    Upon looking in the zip, *yes* there is a folder called wpclone_backup. That root file contains the database (about 3.7mg). Also is another folder, wp-content, which appears to have everything in that as well.

    The backup file is about 100 megs - not too big, I don't think.

    Any thoughts?

  7. WP Academy
    Member
    Plugin Author

    Posted 1 year ago #

    okay try this,rename the zip file to 'wpclone_backup',then place that inside 'wp-content/uploads/wp-clone/' and link it from there..
    by the way,could you send your php/apache error logs to support@wpacademy.com?

  8. webworks
    Member
    Posted 1 year ago #

    You got it. I'll put (webworks php/apache error logs) in the subject line.

    Stand by -
    Heather

  9. webworks
    Member
    Posted 1 year ago #

    I am *so* very excited to announce that I got past that error with your suggestion to rename.

    It said "Restore Successful"

    But what's very strange is, there is no .htaccess file in the public_html directory to make writable (to fix the permalinks). (Usually I type "-a" to see this file in WS-FTP, and I *do* see that the .htaccess file exists in the SOURCE site.

    I then noticed there is no content in wp-content. However, the new content *is* located under /wp-content/wpclone-temp/. I see my gallery directory and everything.

    I don't mind moving the files, if that's what fixes it. The htaccess file is puzzling me though.

  10. webworks
    Member
    Posted 1 year ago #

    Can I just make my own .htaccess file (by pasting what is suggested on the permalinks settings page?

    .....and then perhaps just move the files out of the temp?

    I really hope it's that simple :)

  11. WP Academy
    Member
    Plugin Author

    Posted 1 year ago #

    yeah it doesn't copy the htaccess file,but WP will create a new one of you re-save the permalinks.
    and,assuming that the database import went well,copying the content from '/wpclone-temp/wpclone_backup/wp-content/' to 'wp-content' should do the trick.

    anyhow,this doesn't make much sense to me,those files should've been copied,and even if that failed,the temp directory should've been deleted..

  12. webworks
    Member
    Posted 1 year ago #

    Unfortunately it won't allow me to move wp-content on the server, so I'm downloading the files manually, and then I'll replace it that way. (I guess because it's owned by "99")

    I see all of the pages, but for whatever reason, I have a blank website (no home page: http://www.batonrougeluxuryapartments.com/). ...even after save the permalinks, and created the htaccess.

    If you have any other ideas, please share. I wonder if I should do the restore again.

  13. webworks
    Member
    Posted 1 year ago #

    Do you have an alternate address? The error logs bounced. I checked and typed it accurately. The attachments are txt and gz.

  14. WP Academy
    Member
    Plugin Author

    Posted 1 year ago #

    probably because the theme is missing,it'll show up after you've moved the files *hopefully*
    by the way,who is the host?

  15. WP Academy
    Member
    Plugin Author

    Posted 1 year ago #

    ah darn it,send them to vidm@live.com

  16. webworks
    Member
    Posted 1 year ago #

    Here you go - I'll just delete these when you say. The text is the error log and the gz file is apache log, both from the *destination* site.

    I placed these on the source site, since I'm furiously downloading at the destination at the moment :) http://apartmentprofessionals.com/errors/

    Please check out the top of the error.txt file for additional notes.

    Thank you for reminding me about the theme---I'm relieved to hear that - must have been a duh moment :)

  17. WP Academy
    Member
    Plugin Author

    Posted 1 year ago #

    downloaded both of them,you can remove them now :)

  18. webworks
    Member
    Posted 1 year ago #

    Bravo!!! Finally - a successful clone! Thank you for this wonderful plugin.

    The only thing I have left is deleting the temp directory. FTP won't allow me to delete it. Do you have any ideas other than chown command in shell?

  19. WP Academy
    Member
    Plugin Author

    Posted 1 year ago #

    enter a URL that points to an image or something,that should cause an error during the unzip process and trigger a cleanup,probably won't work if the owners are different (which could happen if the files were extracted using the 'alternate zip method') but I suppose that it's worth a shot..

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic