Bobcares

WeSupport

Call Us! 1-800-383-5193
Call Us! 1-800-383-5193
Call Us! 1-800-383-5193

Need Help?

Emergency Response Time custom

Our experts have had an average response time of 11.06 minutes in March 2021 to fix urgent issues.

We will keep your servers stable, secure and fast at all times for one fixed price.

How to install Joomla in CloudPanel

by | May 11, 2021

Wondering how to install Joomla in CloudPanel? We can help you.

As part of our Server Management Services, we assist our customers with several installation queries.

Today, let us see how our Support Techs install Joomla.

How to install Joomla in CloudPanel

 

In this article, let us see how to install Joomla 3.9 with CloudPanel.

Here, we will setup Joomla under the domain www.domain.com.

 

Prerequisites

  • SSH access
  •  A database
  • A domain

When we add the domain, make sure to select the Joomla 3.9 Vhost Template and the right PHP Version.

 

To install Joomla, follow the steps given below:

1. Login via SSH to the server and navigate to the users tmp directory:

$ cd ~/tmp

2. Download and extract the latest Joomla 3.9 version.

$ mkdir ~/tmp/joomla-3.9 && curl -sL https://downloads.joomla.org/cms/joomla3/3-9-25/Joomla_3-9-25-Stable-Full_Package.tar.gz | tar xfz – -C ~/tmp/joomla-3.9/

3. Move files to the htdocs directory of the domain:

$ cp -R joomla-3.9/* /home/cloudpanel/htdocs/www.domain.com/

4. Reset permissions.

$ cd /home/cloudpanel/htdocs/
$ clpctl system:permissions:reset www.domain.com 775

5. Clean up the tmp directory.

$ rm -rf ~/tmp/*

6. Open the domain in the browser and go through the installation wizard.

We have installed Joomla 3.9 in CloudPanel.

 

Some common errors

  •  Firstly, an error has occurred. Copy failed /

This occurs when Joomla fails to copy a file/folder from the tmp folder to its destination. It is, most likely, generated by the fact that there are not enough write permissions set up for the destination folder.

To fix this, simply make sure that there are enough permissions set for the destination folder.

  • Secondly, unable to create the target folder

This error occurs when Joomla does not manage to create a folder.

Usually, setting up the correct permissions for the folders where the component is to be installed should resolve the issue.

If setting up the right permissions to known folders does not solve the problem, try the following:

In Joomla 3.x:

Then, edit the libraries/joomla/filesystem/folder.php file and look for the following code (around lines 149-152):

if (!@copy($sfid, $dfid))
{
throw new RuntimeException(‘Copy file failed’, -1);
}

Replace it with this one:

if (!@copy($sfid, $dfid))
{
throw new RuntimeException(‘Copy file failed’.’ ‘.$sfid.’ => ‘.$dfid, -1);
}

Basically, the code above will improve how the error message is displayed by adding the source and destination folders to it.

[Need any further assistance to fix CyberPanel errors? – We’re available 24*7]

Conclusion

In short, Joomla  is a free and open-source content management system for publishing web content on websites. Today, we saw how our Support techs assist with Joomla installation.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *