uploads restore failing on bitnami

UpdraftPlus Home Forums Paid support forum – UpdraftPlus backup plugin uploads restore failing on bitnami

  • This topic has 2 replies, 2 voices, and was last updated 10 years ago by greg.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #52506
    greg
    Participant

    Trying to migrate a site from one bitnami server to another. Everything works except for the uploads.

    Original problem with size limits which I fixed in the php.ini. Now it looks like permissioning problems. Which is odd given that the db, plugins, others and themes all restored fine?

    Thanks

    0000.022 () Opened log file at time: Thu, 06 Nov 2014 20:59:45 +0000 on https://web2.c9tec.com
    0000.022 () UpdraftPlus WordPress backup plugin (https://updraftplus.com): 1.9.30 WP: 4.0 PHP: 5.4.32 (Linux ip-10-0-0-72 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014 x86_64) MySQL: 5.5.39 Server: Apache safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used: 27.2M | 28.3M) multisite: N mcrypt: Y LANG: ZipArchive::addFile: Y
    0000.022 () Free space on disk containing Updraft’s temporary directory: 7220.7 Mb
    0000.022 () Restore job started. Entities to restore: uploads
    0000.094 () Entity: uploads
    0000.094 () restore_backup(backup_file=backup_2014-11-06-1409_Cloud9_9ffcea5d73c8-uploads.zip, type=uploads, info=a:2:{s:4:”path”;s:53:”/opt/bitnami/apps/wordpress/htdocs/wp-content/uploads”;s:11:”description”;s:7:”Uploads”;}, last_one=1)
    0000.094 () Unpacking backup… (backup_2014-11-06-1409_Cloud9_9ffcea5d73c8-uploads.zip, 49.5 Mb)
    0009.922 () Moving old data: filesystem method / updraft_dir is potentially possible
    0009.925 () Moving old data: can potentially use wp_filesystem method / -old
    0009.925 () Moving old data out of the way…
    0009.929 () Moving unpacked backup into place…
    0010.045 () PHP event: code E_NOTICE: Undefined index: /opt/bitnami/apps/wordpress/htdocs/wp-content/uploads/ (line 191, wp-admin/includes/class-wp-filesystem-ftpext.php)
    0010.046 () PHP event: code E_WARNING: ftp_rename(): Rename failed. (line 209, wp-admin/includes/class-wp-filesystem-ftpext.php)
    0010.048 () Error message: Could not move the files into place. Check your file permissions.
    0010.048 () Error data (move_failed): /opt/bitnami/apps/wordpress/htdocs/wp-content/upgrade/e4249e45/uploads/2012 -> /opt/bitnami/apps/wordpress/htdocs/wp-content/uploads/2012
    0010.048 () Restore failed…
    0010.048 () Error message: Could not move the files into place. Check your file permissions.
    0010.048 () Error data (move_failed): /opt/bitnami/apps/wordpress/htdocs/wp-content/upgrade/e4249e45/uploads/2012 -> /opt/bitnami/apps/wordpress/htdocs/wp-content/uploads/2012
    0010.048 () Restore failed

    #52527
    udadmin
    Keymaster

    Hi Greg,

    I don’t have any Bitnami-specific knowledge… but, if you can’t find out any information on why Bitnami might have different permission on its uploads folder, you could just unzip the uploads zip manually. All the interesting stuff that UpdraftPlus does when migrating is with other entities. With the uploads, it literally just unzips the thing into wp-content/uploads. i.e. Get the “uploads” zip created on the source site, and unzip it, and you’ll have a folder “uploads” – place that folder in wp-content (instead of the existing one).

    Best wishes,
    David

    #52772
    greg
    Participant

    Thanks for the fast response David. We changed the permissioning on the directories and everything seems to work.

    Great Product.

    Greg

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘uploads restore failing on bitnami’ is closed to new replies.