Report this

What is the reason for this report?

Moving WordPress from Bluehost to Digital Ocean Ubuntu LEMP - need a little help...

Posted on February 22, 2015

OK…I started up an Ubuntu 14.04 server with LEMP, and I am trying to use Backupbuddy to move a site from Bluehost to Digital Ocean.

Then I [installed vsftpd] to enable FTP access - but it is just using root. Should I create a different account for vsftpd access?

Also, I was able to follow most of the instructions on How To Install WordPress with Nginx on Ubuntu 14.04 - but I skipped steps 2-4 because I would be using Backupbuddy to replace the files and database tables when I ran importbuddy.

I uploaded my Backupbuddy ZIP file and importbuddy.php to the /var/www/html root folder, but when I tried to run importbuddy.php on my new install I got “Error #224834. This directory, /var/www/html/, is not write enabled according to the server. Please verify proper write permissions to continue. If this persists, contact your web hosting provider and tell them that is_writable(”/var/www/html/“) returns FALSE in PHP.”

I am not sure how to proceed. Can you make the /var/www/html folder wite enabled and then revert to it’s current permissions? How would I find the current permissions?

Am I even going about this right? Is there a better way to do this move from Bluehost to Digital Ocean?

And what about the root leaving the “Welcome to nginx” page in there? Can I remove it?

Thanks for your help!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
  1. Should I create a different account for vsftpd access?
    Yes.
  2. Permissions
    Do ls -al then you will see permissions, owner, and group. Use chmod to change permissions and chown to change owner and group. If you did correctly, you don’t have to revert the process. Changing permission(+ owner&group) is crucial and it’s in step 4 of the tutorial you mentioned.
  3. “Welcome to nginx” page in there? Can I remove it?
    Yes. You can remove default from sites-enabled if you want. Or you can edit/delete index.html of the path.

For permission problem, you can fix it with this command :

sudo chown -R root:www-data /var/www/html/*

here root is as user, if you have created new user then replace it with root. you can check more here : bluehost to digitalocean migration

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.