• Resolved chrisgriffith

    (@chrisgriffith)


    I am desperately wanting to restore my encrypted SQL database in my WordPress installation backed up with UpdraftPlus on my Synology NAS box. I get the error message “Your web server’s PHP installation has these functions disabled: gzopen, gzread.” I have had problems trying to decrypt this .gz backed up database with other tools such as 7Zip & WinRAR. I didn’t realise that UpdraftPlus uses this encryption method for backups which is making me worried about getting my website up and running again. I have been backing up on UpdraftPlus for ages without knowing it may not be suited to websites on these NAS boxes. Is there a work around for this? Thank you very much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support pbevanudp

    (@pbevanudp)

    Hello,

    I am sorry to hear you are having problems with this. It would be necessary to enable these functions. Here are some further instructions from the Synology knowledgebase on how to do this.

    If you have attempted to do this previously without success, I would suggest contacting their support to ask them for further guidance.

    Thread Starter chrisgriffith

    (@chrisgriffith)

    Fixing the missing gzopen() and gzread() function errors in WordPress on a Synology NAS when restoring using UpdraftPlus was simpler than I thought, which is great news as it would have taken me months to fully rebuild my entire website https://chrisgriffith.com – which may not have been possible. I will explain the fix for the benefit of other Synology/Wordpress users, many of whom have encountered the same problem in other posts.

    Go to the NAS menu, load the “Web Station” app, and select “script language settings” in the left hand column. Click on the current PHP version you are using in WordPress, select the “Extensions” column, tick the “zlib” option found at the bottom of the list, click save and you’re good to go.

    Zlib is a library that enables reading and writing of gzip files used by the WordPress database.

    Frankly, I am somewhat miffed that Updraft does not make it more prominently clear that it uses external libraries to compress and decompress the WordPress database, as there is some risk that users who have backed up their files for years may not have access to that library when restoring. Zlib is usually associated with Unix.

    It would have been a huge loss not being able to restore my (journalists’) website, given the work I had put into it.

    Activating those functions also solve a problem I was having with backups which would stall when trying to write the plugins or themes files. That works efficiently now.

    I’d say to users that they should attempt a trial restore when they look at using a backup plugin so that they know it works and they won’t have the anxious time believing my website was gone for good, which I had thought was the case.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘UpdraftPlus won’t restore WordPress SQL database on my NAS box’ is closed to new replies.