So when FileZilla created havoc with the file permissions of my WP script, and VestaCP doesn’t have a File Manager or a script installer, I went for installing WP with the command line instead.
I thought I would record the steps I followed here in case this will be the route I follow in future.
Step 1: Change directory to public_html
Step 2: Download WordPress Script
Step 3: Unzip WordPress Script
unzip latest unzip
Step 4: Move content of WordPress folder up one folder into public_html
mv * .[^.]* ..
Step 5: Remove empty WordPress folder and index.html file
Step 6: Edit WP-Config.php file
mv wp-config-sample.php wp-config.php
Save (Ctrl+O) and Exit (Ctrl+X)
So learned through really hard experience that if one uploaded individual files of a script from a local computer to a server with FileZilla that it creates a problem with the file permissions. Previously, on shared hosting, I had used FileManager in cPanel to upload zipped scripts to the File Directory. With VestaCP and Webuzo I’m using SSH with FileZilla instead. Felt quite good about using it, until I realized that it was creating a problem with my WordPress script. I’d get the white screen of death when I used it.
How I discovered this is that when I was using Webuzo CP a few days ago on another server, I used FileZilla to upload a WP script with individual files vs zipped. I then received the white screen of death. Later on I used the softaculous installer in WordPress to upload the script. And it then worked perfect. At the time I concluded Webuzo was the problem. Then more recently when I started a new server with VestaCP exactly the same thing happened. I tried to upload an unzipped WP script with FileZilla SSH and the very same thing happened. White screen of death. This time round I installed WordPress using the command line. And it worked. Refer my post about how to install WordPress with using the command line.
So now we have a nice challenge on hand. How to zip and unzip files while using FileZilla OR where can one find a free FTP client that has a zip and unzip capability? I’ve done extensive searches and found nothing so far. Think I may now explore the possibility of adding a File Manager of VestaCP instead. Only negative of course is that the script is paid. I’ll check also with Webuzo whether the FileManager has a Zip and Unzip tool.