-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to access Magento #5
Comments
@oddietaco that also same for me just applied now. |
nginx config will be updated soon |
Thanks for the update. |
is there any temporary workground to do on terraform side ? or where code located on codecommit maybe manually we can edit composer.lock for the module |
all the git transit operations on your cloudshell, you can edit files before you run magento instalation if you need. |
thanks , which instance I should start installing each of them separately ? or just in build instance ? |
again , I couldn’t be successful after remove smtp module from composer.lock file and re-run ssm document script from system manager. |
any update ? I tried with your latest commit which updated nginx conf still same. After infra created how to install magento with ssm document ? its failed running command when I execute for created instances. I saw just "Nginx welcome" page for outer application load balancer |
the easiest way for you will be to run ssm installation document on admin instance, (select instance from list) |
Hello thank you point me to instance, I successfully run ssm document on admin instance here is ssm output log https://justpaste.it/8wrhn Still I can not see magento frontend page , just ı saw Nginx welcome page |
Update: when I run ssm document I figured out document was searching for composer.json file under /home/brandname/public_html/ but there file isn't exist.So I ssh to admin instance with aws cli ssm mananer plugin. Manually created composer.json file under that directory with file values on codecommit repository and run it again. Here is full log : https://justpaste.it/3b80j and still no luck load balancer just showing nginx webpage |
you can debug it - just check if nginx config was applied, this is not related to magento installation, because instances already configured, so if you call your domain luma frontpage - magento installed |
yes there are no nginx config file on admin instances under /etc/nginx/sites-enabled with named magento.conf. also do I need to edit nginx files ? |
there is only app parameters in variables.tf, nothing else to change for default setup. |
yes , but not working I tried many times. I can see user-data values on ec2 but there are no nginx configuration on instance even if I put manually magento.conf and restart nginx still no luck. |
please debug this issue more, check syslog to find any error message, |
I just apply stack with changing ACM validation method from "EMAIL" to "DNS" and here below my app configuration. there are no any other changes on terraform code side.
|
also I can see my acm certificate on my domain with nginx welcome page. so validation method works. |
in admin instances syslog I saw below error.
|
Update: after deploy stack here is syslog error I have found on frontend instance. can not find nginx.conf.
|
yes, it looks like config not applied, but not sure why exactly, |
update: also created staging maria db version higher than magento supported version. |
engine version defined in variables.tf we just tested full deployment up to product import, |
as we didnt get any proper and clear error messages to understand this issue |
@magenx I am running into this issue as well with this repo and this commit fixed the issue. I added a codebuild-breakpoint just before the setup:install and applied this patch directly over the vendor directory. |
The
terraform apply
went really well, and it looks like every needed resource was provisioned. I'm now trying to access the Magento storefront, and I notice that there are two ALBs - an inner and an outer. When I point my browser at the DNS entry for the outer ALB, I get the nginx configuration page that just says "Welcome to nginx!"The text was updated successfully, but these errors were encountered: