All posts by Genesis

HestiaCP up close and personal ….

So finally I’ve been forced to embrace HestiaCP.  For a few months  I was able to get away with using the WordPress Dashboard to update and maintain my Website.  But woe behold when after an absence of about five months I had issues with my WP site.  It started with a WP login page that was  very crude and missing CSS.  And then a post text box that was unresponsive. I thought to remedy this with a brand-new installation of WordPress.

Alas, this remedy didn’t work.  With the first new installation the CSS issue was even worse than with the old deleted installation.  I found myself battling with all kinds of challenges over and above learning the little quirks of HestiaCP workings.

Finally after about 4 attempts of loading WordPress, I get a new post text box that worked.  Initially I had thought it was a HestiaCP issue, but am now more inclined to blame this on an incompatibility with php 8.0.  WordPress is known to be not quite ready yet for php 8.0 with 7.4 recommended as more ideal.  Another possibility may have been the updated Block Editor of the new WP Version 6.0.  However, I had no problem with this with the WordPress installations on my VPS.  So php 8.0 is the only difference with my VPS.  I have php 7.3 installed on my VPS.

Back to my learning experience with HestiaCP, the first challenge was getting into HestiaCP when my user name and password didn’t want to work.  When it finally worked I found HestiaCP automatically logging me out with each new step I took which meant I was unable to create a new database.  I then submitted a ticket to KuJoe, who fixed the problem for me by editing the security settings.  So after a few hours I could finally reinstall WordPress.  Then followed all kinds of challenges until after my fourth try, finally, for the first time the installation seemed to come up with normal WordPress CSS.

So here are some of the lessons I learned with my first use of the HestiaCP User Panel.

HestiaCP has a very solid File Manager, however if one navigates in it, the UNZIP tool is not in the tool menu.  When this happened to me the first time round I used FileZilla to upload the files, but that took ages to do and was horribly time consuming.  However after some research with Google I discovered that instead of ticking the box next to the zipped folder to bring up the menu where the UNZIP tool was missing, one is supposed to rightclick over the zipped folder, which would then bring up a list of tools including the UNZIP tool.  Compared with FileZilla the unzip experience was as fast as lightning.  I see the File Manager definitely as an improvement over VestaCP.

Speed Up – Clean WP new plugin: One of the issues with creating new posts was a pop up note that a min.js file could not be found.  Resulting in an unresponsive text box as well as inability to edit posts.  I then did some research to see whether there was a plugin that could solve the problem and the WordPress.org Speed-Up-Clean-WP plugin worked like magic.  It completely solved the problem with new posts and the text box was back to its former responsive self.  The pop up message didn’t appear again. When I did research on the plugin one of the reviews said it broke her WP installation.  Hopefully that will not happen, so time will tell.  At least I now know to aim at optimizing WP plugins for solving the problem.

Classic Widgets plugin:  Two other big issues were the widgets page and the customize function were not working.  Both pages came up blank.  Apparently this had to do with the new WP 6.0 release Block Editor which took over these two functions.  Again, when I did research I discovered the wordpress.org Classic Widgets plugin. I was most relieved to get the customize function back as well as the ability to edit the widgets of my Twenty Thirteen WordPress theme.

In conclusion and so far, I think HestiaCP User Panel is a bit simpler than VestaCP.  Once I got it working and KuJoe helped with resetting some of the security settings I was able to install WordPress fairly effortlessly.  All of the frustrations were mostly due to WP’s conflicts with php 8.0 and conflicts with the Block Editor of the new WP 6.0 version.

HestiaCP but not quite yet!

So checking in at KuJoe’s https://discord.com/invite/x8ev3NQ Discord Channel, looks like he has been getting a handle on HestiaCP.  This hosting account is now operating successfully on a Hestia CP.  But not quite yet as I’m unable to access my HestiaCP account.  When I enter my user name the interface is unresponsive.  WordPress works though.  I’m able to access it easily and update everything.

So again thank you to KuJoe’s for looking after the free hosting after all of this time from 2016 to date.  I’m almost sure if he had created his own fork of VestaCP it would have been an improvement over HestiaCP, but I guess looking after those pesky updates must be very time consuming.  So yes, if he can make HestiaCP work, then it is power to all of us.

I’m still a fan of Dpeca’s VestaCP fork for Debian however.  Just for the simple fact that Dpeca is currently administrating several servers with VestaCP for Debian.  So has a vested and professional interest for the script to work safely, securely and effortlessly.  I still have more trust in it than in HestiaCP, however, possibly should check HestiaCP out once again to see whether it is working better than it did a couple of years ago when I first tried it out.

MyVestaCP for Debian Fork!

So I can heartily recommend the Debian Fork of MyVestaCP.

For those folks who have gone off VestaCP, they had good reason.  The owner of VestaCP was not updating the script at all.  And it became a bad security threat during 2019.  Currently there aren’t that many serious hosts using this script, particularly if one judges by the attendance of staff (none available any longer) at the VestaCP Discussion Forum.

Since it was such a good panel script – excellent in fact – there were staff and members who went out to develop working forks for VestaCP.  One was a Belgian Fork, which would have been ideal for me since it was using CentOS, however, too much JavaScript was involved, and I wasn’t comfortable with the security angle of JavaScript.  A large number of the original VestaCP staff opted for creating a new script altogether called Hestia CP.  It may well be OK now, but last I used it it was not that user friendly.  The reception of the new CP that was discussed at post4vps.com was also negative.

So eventually I gravitated to the second VestaCP fork, which was a fork that works with Debian only.  This meant that I had to change my preferred distribution from CentOS to Debian, which in the end was one of the best things that could have happened to me.  I found Debian just so much more logical and stream lined to work with, CentOS appearing almost chaotic and bulky in comparison.  So my recommendation for VestaCP fans, like I still am after all of these years, is the VestaCP Fork with MyVestaCP.

The owner of MyVestaCP is a former staff member of VestaCP with the user name dpeca.  According to dpeca in his last posts at VestaCP he said he was responsible for the administration of a large number of servers, all of which were using VestaCP.  So it was in his interest to have an up to date and secure panel.  Since it’s much too much work to update the script for all of the Linux distributions, he decided to focus on Debian only.  That impressed me a lot.  So in the end I’m benefiting from his dedication to Debian as a distribution and his keeping the VestaCP script up to date through his fork at MyVestaCP.

Indeed my greatest appreciation to dpeca and MyVestaCP!  Also to the owner of afreecloud.com.  I’ve been hosted by KuJoe with VestaCP user hosting at afreecloud.com since 2016 and haven’t experienced any down time during all of that period.  I notice the free hosting is no longer offered “for now” as KuJoe is trying to update the VestaCP script.

VestaCP still my Panel of Choice!

So noticed I haven’t posted in a while.  Mostly because my learning curve for VestaCP has plato-ed a bit.

Learning curve wise.  Although Softaculous was a great experience with VestaCP, problem is that I’ve been using VestaCP exclusively for VPS.  And the life of a VPS compared with a server is much less stable.  For example, the VPS may melt down, or the VPS business may fold, etc etc which means VestaCP will be deleted and all of the content of the VPS moved elsewhere.  Softaculous is not very portable.  Websites created with Softaculous may have serious issues if you want to move them to the next VPS where a fresh installation of VestaCP will have to be loaded.

So I let go of my Softaculous licenses, and am installing my WordPress sites from the command line only.  No more Softaculous.

Issue wise for cPanel.  If one checks the Forum, which in essence is where all inquiries are dealt with for free and one can find a VestaCP solution very easy, it’s VERY quiet.  If one checks through discussions it would seem the bulk of the staff that supported the Panel Script have moved on to HestiaCP.  And last I heard there are now bugs in the panel.  So there’s that.  There are also a couple or more members in the Forum who have created forks of VestaCP, some that are apparently very good.  I’m still sticking with the VestaCP that is provided from the download page including creating a bash script as it is working.  Also the owner gave the assurance VestaCP is well supported.  So not sure whether I completely believe it, but for now I’m good with this.

Softaculous Success At Last!

So, another success for both Softaculous and VestaCP when VestaCP added Softaculous as an App to its panel during December 2017.  When one adds Softaculous to the VestaCP install script it installs a free version of Softaculous.  The free version of course is very limited and excludes the more popular regularly used scripts like WordPress and myBB:

https://www.softaculous.com/softaculous/scripts_in_free

I thought the 12 US$ per year for a Softaculous License for a VPS was doable as an experiment to see how VestaCP can deal with the scripts.  Only problem was when I tried to subscribe for the premium version, Softaculous identified the free license number as belonging to a dedicated server – premium license of which was double the price.  I then created a Softaculous ticket that was answered very promptly by an Admin who changed the license number so I could get the 12 US$ price.  He asked that I go back into my VestaCP Admin Panel and that’s really when the fun started, as all of a sudden I was no longer able to access my apps in the VestaCP Panel.  Then learned that in order for that to happen I first needed to add Ioncube.

Ioncube is for the protection of Softaculous php scripts.  I soon learned that it’s very difficult to install as first one has to load Zend Guard in a million and one steps.  And then Ion Cube.  After a few hours of checking out a great number of tutorials I got it successfully loaded on my VPS – accept, the VestaCP Apps page was still unavailable and asking for Ioncube to be loaded.  Next I made an inquiry at the VestaCP Forum and after a few hours one of the Admin provided me with a miracle one line command that worked instantly:

/usr/local/vesta/ioncube/ioncube.sh

I finally was able to get into my VestaCP Softaculous App page and change the settings of the server to VPS.  Then clicked on the license link to make it premium and successfully subscribed.  Am now ready to try out some of the scripts.  Think I’ll start with myBB as with my last myBB installation from the command line it took hours and many commands to install in comparison with WordPress that is effortless and fast on the command line.  So let’s see how this goes.

 

VestaCP Adds Softaculous

So since my last post at genesis.clouded.us, have used VestaCP many times.  Am happy to report that VestaCP seems to have worked through all of its bugs, and it is effortless to install it these days.  Previously there had been some issues with phpmyadmin and databases, but now I’m not worrying about that anymore.  All I need to do when I install VestaCP is to get the installation bash command script from VestaCP installation page and everything else is in place.

With my most recent installation of VestaCP I discovered the option of including Softaculous.  I hesitated a little, but then thought to include it in my bash command script so that I could check it out.

Looks like there are some free scripts offered, but the most popular ones like WordPress and myBB one needs to be subscribed for.  Subscription is not very expensive for a VPS.  12 US$ per year.  So I may just try it out one of these days.  I checked out the panel a little and it’s basically the same as for cPanel.  I probably don’t really need it, but want to try it out at least once to see how it works.

Note:  So last night (19 January 2018) decided to try out a subscription of Softaculous with my HostUS VPS VestaCP.  I was all set to subscribe for the reduced VPS rate of 12 US$ a year.  Yet unfortunately the installation of Softaculous must have produced a license number for a dedicated server.  Which is double the rate.  So thought of leaving that for now.   I don’t really need Softaculous and feel more secure with creating installations at the command line.  I’ve got WordPress down to four commands.  Just myBB I’ve got to find an easier way to install from the command line.  Last myBB installation was a struggle.

VestaCP Update – October 2017

This Website was started in July 2016 and one year later I can notice how much VestaCP has improved.  With previous installations phpmyadmin was almost impossible to sort out.  I had to search for solutions and usually after using a script that was recommended at the VestaCP Forum by one of the Admin, I more or less got it functional.  But for the greater part it was a real headache.  Roll on to July 2017 and there is no issue whatsoever.  Installation of VestaCP is fast, seamless and all one has to do is go into the panel and set up the users and domains.

Another mile stone that VestaCP reached was to incorporate the Let’s Encrypt free SSL certificates.  It’s still buggy though as not everyone has had success with the installation of this tool, whereas with cPanel this works awesome.  Better yet, cPanel has installed its own brand of SSL certificates that one can choose to automatically be set up for all new hosting accounts.

cPanel is still the better Control Panel by far, however of course much bulkier and slower.  VestaCP is lightweight and lightning fast in comparison.  For a small VPS VestaCP is definitely the recommended option though.  I’m quite happy with it – it’s getting easier and easier to install.  WordPress installation from the command line has also got easier too.

This WordPress site is built on a hosting account that works with VestaCP and I can feel the speed when I work with WordPress.  It’s still the fastest of all of my hosting accounts.  Hats off to the owner of afreecloud and a warm appreciation for providing this free hosting account.  It’s only been a pleasure so far.

Installing WP with command line

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

cd /home/admin/web/domain.com/public_html/

Step 2: Download WordPress Script

wget http://wordpress.org/latest.zip

Step 3: Unzip WordPress Script

unzip latest unzip

Step 4: Move content of WordPress folder up one folder into public_html

cd wordpress
mv * .[^.]* ..

Step 5: Remove empty WordPress folder and index.html file

rmdir wordpress
rm index.html

Step 6: Edit WP-Config.php file

mv wp-config-sample.php wp-config.php
nano wp-config.php

Save (Ctrl+O) and Exit (Ctrl+X)

SSH FileZilla Zip and UnZip Challenge

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.

VestaCP 502 Bad Gateway!

So this was an interesting experience.  I’d been away from dhsites.net too long.  Then tried to get VestaCP up and it came up with this error:

502 Bad Gateway
Nginx

This was a completely new experience to me.  My WP site worked.  Even my phpmyadmin worked, but I couldn’t get the VestCP login to work.

So I went to the VestaCP Forum – and posted my problem.  Then started searching on it, and found the solution quite easy:

service vesta restart

This is the thread that sorted it out for me – Imperio to the rescue!

VESTA Forum – Imperio to the Rescue

The VestaCP Forum is  a great source of documentation for VestaCP and it really works. Plenty of solutions there and looks as though this Nginx problem is one that is quite common. Glad it got resolved!