I wish to ask if you guys could help me out with the following error, please.
I installed the Virtualmin Pro and Magento 2.4.6-p3. The other websites such as WordPress are working fine on the same server sit in different subfolders. Except the Magento website. The Magento website doesnt load when I open the website.
The Magento was installed in the folder /public_html/project. The frontend error shows as follow when accessed from the URL www.https://example.com/project:
Not Found
The requested URL was not found on this server.
There is no error in Apache_error_log though.
The Magento installation seems to be successful as I could put the Magento into different modes and run different command successful by using bin/magento.
I am guessing if the .htaccess plays an important role in my case and the installation did not generate the configuration correctly.
Thanks Stefan. You’re very kind to look into this for me.
The Magento install script in Virtualmin Pro did not work for me either. So I first upgraded the PHP 8.1.25 with all the required PHP extensions loaded. Then followed the installation guide from Quick start on-premises installation | Adobe Commerce.
The installation process said it was successful. But the Magento did not work for me, unfortunately. I am now stuck with this as I do wish to use Virtualmin to partition my other Magento instances.
Did the script errored like mine?
Hopefully you just switch php versions via the docs, upgrades worries me https://www.virtualmin.com/documentation/web/multiplephp/
I had 8.1 on the test server. Did you get the error?
I just notice this when I tried reinstalling.
I had the same error as you did when it came to the Elasticsearch module. But I installed the opensearch beforehand and tested it was working. Then use the following installation options:
composer create-project --repository-url=h t t p s://repo.magento.com/ magento/project-community-edition /home/examplecom/public_html
cd /var/www/html/
find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} +
find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} +
chmod u+x bin/magento
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Thats right. There is a page there. But only has two hyperlinks of Terms and Agreement, and Getting Started. Other than that, nothing else allows me to continue.
We have another server uses another control panel and its install script works very well. But we want to set up a dedicated ecommerce server for different Magento instances. But the Virtualmin install script seems to be troublesome. I am sorry to say that.
We would really appreciate if you guys can help, please.
I also changed the path, but the problem remained (with clearing cache etc…).
But your suggestion reminded me that Magento 2.4.6-p3 did not allow me to install in subfolder when I used another control panel. However, I did not think of this when we installed Magento from command line on our Virtualmin server.
I will set up a new Virtualmin server with multiple php versions and start from scratch and install it from root folder to see if it will make any difference.