I have never had any issues with fresh install of magento before 2.4.1. I have a new Linux VM machine (Ubuntu server 18.04).
Installed PHP 7.4 , Apache and Mysql from this link Installation of PHP, MYSQL and APACHE
Installed Composer
Installed Elastic search
Created composer project using this command
composer create-project --repository-url=https://repo.magento.com/ magento/project-enterprise-edition=2.3.2-p1 <install-directory-name>
Added sample data using
php bin\magento sampledata:deploy
Installed magento using following command
php bin/magento setup:install --base-url=http://localhost/me242 --backend-frontname=admin --db-host=localhost --db-name=me242 --db-user=root --db-password='dbpas' --admin-firstname=firstname --admin-lastname=lastname [email protected] --admin-user=user --admin-password='passs!' --language=en_US --currency=USD --timezone=America/Los_Angeles --use-rewrites=1 --search-engine=elasticsearch7 --elasticsearch-host=localhost --elasticsearch-port=9200
This has worked for me fine up until 2.4.1. I am trying all possible ways to get it up and running 2.4.2 version but getting 404 error right away. The requested URL was not found on this server.
Can someone help me troubleshoot this in right direction.
Edit 1: I did not upgrade from 2.4.1 to 2.4.2. it was a fresh install.