cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to install Magento 2- 403 Error on CloudPanel

Unable to install Magento 2- 403 Error on CloudPanel

Help plz. Unable to install Magento 2 on cloud panel, ultimately getting 403 error !
I followed this guide without any errors yet failed miserably. 

 

https://www.cloudpanel.io/docs/v2/php/applications/magento/

3 REPLIES 3

Re: Unable to install Magento 2- 403 Error on CloudPanel

Hello @tgsnuwan 

 

A 403 error means that you don't have permission to access the requested resource. There are several reasons why you might be experiencing this error while trying to install Magento 2 on a cloud panel. Here are a few things to check:

 

  • File permissions:
    • Please make sure that the file permissions are set correctly for all the files and directories that are part of the Magento installation. Typically, directories should have permissions set to 755 and files to 644.
  • Web server user:
    • Please ensure that the web server user has permission to access the Magento files. On Linux systems, the web server user is typically www-data or apache. You can check the user by running the command ps aux | egrep '(apache|httpd|nginx)'.
  • Document root:
    • Please verify that the document root is set to the correct directory. In most cases, the document root should be set to the pub directory within the Magento installation.
  • .htaccess file:
    • Please check if the .htaccess file is present in the Magento root directory. If it is, make sure that it's configured correctly.
  • Cloud panel settings:
    • Please check your cloud panel settings to ensure that the web server is properly configured and that your domain name is pointing to the correct IP address.

 

If you find our reply helpful, please give us kudos.

 

A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.

 

WebDesk Solution Support Team

Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789

Thank You,


WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789


Location: 150 King St. W. Toronto, ON M5H 1J9

Re: Unable to install Magento 2- 403 Error on CloudPanel

Thank you very much for your reply. i was able to resolve that issue. however i have a new issue.  Now stuck at "Two-Factor Authorization" because CloudPanel has no email

You need to configure Two-Factor Authorization in order to proceed to your store's admin area

An E-mail was sent to you with further instructions

Any help
Thank you in advance 

 

Re: Unable to install Magento 2- 403 Error on CloudPanel

Login your-site-file

For example:

cd ~/htdocs/www.domain.com/

Spoiler
Note: Replace ‘www.domain.com‘ with your real url.

Next, using the following command:

sudo php bin/magento module:disable Magento_AdminAdobeImsTwoFactorAuth Magento_TwoFactorAuth