Closed aetonsi closed 2 years ago
Hi @aetonsi. Thank you for your report. To speed up processing of this issue, make sure that you provided the following information:
Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release
For more details, review the Magento Contributor Assistant documentation.
Add a comment to assign the issue: @magento I am working on this
To learn more about issue processing workflow, refer to the Code Contributions.
Join Magento Community Engineering Slack and ask your questions in #github channel.
:warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
:clock10: You can find the schedule on the Magento Community Calendar page.
:telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel
@magento give me 2.4-develop instance
Hi @aetonsi. Thank you for your request. I'm working on Magento instance for you.
Hi @aetonsi, here is your Magento Instance: https://1c55e4a80186d1d71b7dd0ee0ae1d352.instances.magento-community.engineering Admin access: https://1c55e4a80186d1d71b7dd0ee0ae1d352.instances.magento-community.engineering/admin_c6d6 Login: 55c78163 Password: ba3ca74a1c39
Hi @engcom-Hotel. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
[ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).Details
If the issue has a valid description, the label Issue: Format is valid
will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid
appears.
[ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description
label to the issue by yourself.
[ ] 3. Add Component: XXXXX
label(s) to the ticket, indicating the components it may be related to.
[ ] 4. Verify that the issue is reproducible on 2.4-develop
branchDetails
- Add the comment @magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
[ ] 5. Add label Issue: Confirmed
once verification is complete.
[ ] 6. Make sure that automatic system confirms that report has been added to the backlog.
Hello @aetonsi,
Thanks for the report and collaboration!
I would like to suggest you create a virtual host and then try to access the instance using the domain name given in the virtual host.
Thanks
Hello @aetonsi,
Thanks for the report and collaboration!
I would like to suggest you create a virtual host and then try to access the instance using the domain name given in the virtual host.
Thanks
Hello, here it is with virtual host in linux mint, i tried with DocumentRoot /var/www/magento2-domain
and DocumentRoot /var/www/magento2-domain/pub
, the 404 errors persist...
Hello @aetonsi,
Thanks for your reply!
I can see the vhost entry but I suggest one change to make as below:
DocumentRoot should change from:
/var/www/magento2-domain
To
/var/www/magento2-domain/pub/
Please make the changes restart the apache and let us know if the issue is fixed or not.
Thanks
No, same result after i restarted apache:
Hello, i got it working in the end.
This is what i did:
sudo su
chmod 777 . -R ; chown -R :www-data . ; chmod u+x bin/magento
sudo nano /etc/apache2/apache2.conf
<Directory /var/www/html/>
Options FollowSymLinks
AllowOverride All
</Directory>```
sudo a2enmod rewrite
sudo service apache2 restart
sudo chmod 777 . -R
sudo php bin/magento setup:upgrade;
sudo php bin/magento setup:static-content:deploy -f;
sudo php bin/magento cache:clean;
And it is now working.
- sudo php bin/magento setup:static-content:deploy -f;
it is working because of this command: sudo php bin/magento setup:static-content:deploy -f; but this does not fix the issue. In developer mode the files should be regenerated that is not the case anymore. Am using version 2.4.6-p3. It was working well in earlier versions
Preconditions (*)
Steps to reproduce (*)
sudo apt install gzip lsof sed tar p7zip-full unzip zip
./bin/elasticsearch -d -p pid
sudo apt install php8.1 php8.1-bcmath php8.1-mysql php8.1-ctype php8.1-curl php8.1-dom php8.1-fileinfo php8.1-gd php8.1-iconv php8.1-intl php8.1-mbstring php8.1-simplexml php8.1-soap php8.1-sockets php8.1-tokenizer php8.1-xmlwriter php8.1-xsl php8.1-zip
php.ini
with these settings, then restart apache2 service:http://localhost/magento2/pub
Expected result (*)
i'd expect to see a fully loaded page
Actual result (*)
What i tried
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.