Help with Magento 2 on AWS EBS
-
In AWS EBS the file "/pub/media/styles.css" is not generated and some category images are not displayed
-
Today in my local environment I have re-created the installation via composer where it worked as expected
-
I did the same on AWS EBS in the same way
But I have the following difficulty
1) The initial page displays the error because the file "/pub/media/styles.css" was not generated
2) In some categories the images are not displayed
"Strange that yesterday in my local environment I was with these same problems, unfortunately I did not find the exact point that generates this occurrence", any tips?
I'm using developer mode
-
I'm applying permissions based on
https://devdocs.magento.com/guides/v2.3/config-guide/prod/prod_file-sys-perms.html
-
Hello @mozgbrasil
Can i know where is your domain point to?
is that point to pub folder or root folder?
Hello
Good Morning
I have been developing the following project that has the purpose of automating the construction of Magento2, in order to facilitate the evangelization of the platform
https://github.com/mozgbrasil/deploy-magento2#install
The installation of Magento works as expected by displaying all images from the "sample data"
But at the time of re-deploying the magento, it is that problems occur
https://github.com/mozgbrasil/deploy-magento2#deploy--re-deploy
Images of some categories are not displayed and the file "/pub/media/styles.css" that should be generated on the home page is not displayed
-
I even did the following test
delete the magento folder
I used the composer to download and install the magento
Access and test where it worked as expected
I renamed the magento folder
Then
I used the composer to download and redeploy the magento due to the presence of the database
This is where the problem happens
But if I rename this last deployment folder and use the previous one it works
-
To whom I can contribute with the project, I thank you
-
I have a deployment at AWS EBS in
http://304674501456-test-webapp014.us-west-2.elasticbeanstalk.com/
The magento is in
http://304674501456-test-webapp014.us-west-2.elasticbeanstalk.com/magento/
and the backend in
http://304674501456-test-webapp014.us-west-2.elasticbeanstalk.com/magento/admin/
You can access how
admin / 123456a
-
See that you already have this link and the cache is disabled
-
Check folder and files rights, UID and owner, GUID and usergroup of folders and files . Most problem like "It wasn't generated or dissapear from frontend" - rights or user/usergroup was incorrect. It possible with re-deploy process sometime.