amazon-elastic-beanstalk

“Database hosts array is empty.” after deploying Laravel project on AWS Elastic Beanstalk

纵饮孤独 提交于 2021-01-05 09:45:29
问题 I deployed my project to an AWS EC2 instance using Elastic Beanstalk. I used this tutorial https://www.youtube.com/watch?v=ISVaMijczKc as a reference while deploying. I am following everything as it is in the tutorial but I ended up with an error. Database hosts array is empty. (SQL: select * from resource_categories ) The following are my codes. database.php <?php define('RDS_HOSTNAME', $_SERVER['RED_HOSTNAME']); define('RDS_USERNAME', $_SERVER['RED_USERNAME']); define('RDS_PASSWORD', $

“Database hosts array is empty.” after deploying Laravel project on AWS Elastic Beanstalk

一个人想着一个人 提交于 2021-01-05 09:44:15
问题 I deployed my project to an AWS EC2 instance using Elastic Beanstalk. I used this tutorial https://www.youtube.com/watch?v=ISVaMijczKc as a reference while deploying. I am following everything as it is in the tutorial but I ended up with an error. Database hosts array is empty. (SQL: select * from resource_categories ) The following are my codes. database.php <?php define('RDS_HOSTNAME', $_SERVER['RED_HOSTNAME']); define('RDS_USERNAME', $_SERVER['RED_USERNAME']); define('RDS_PASSWORD', $

Trouble creating elastic beanstalk environment for Ruby on Rails 6 (rvm, rbenv, .ruby-version issues)

十年热恋 提交于 2021-01-04 06:53:21
问题 I've been trying to figure out how to deploy a simple rails app to elastic beanstalk using the cli on my macOS, but every time I get to eb create I get this error: 2020/08/06 07:22:56.626563 [INFO] Executing instruction: StageApplication 2020/08/06 07:22:56.626674 [INFO] extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/ 2020/08/06 07:22:56.626695 [INFO] Running command /bin/sh -c /usr/bin/unzip -q -o /opt/elasticbeanstalk/deployment/app_source_bundle -d /var

Trouble creating elastic beanstalk environment for Ruby on Rails 6 (rvm, rbenv, .ruby-version issues)

℡╲_俬逩灬. 提交于 2021-01-04 06:52:02
问题 I've been trying to figure out how to deploy a simple rails app to elastic beanstalk using the cli on my macOS, but every time I get to eb create I get this error: 2020/08/06 07:22:56.626563 [INFO] Executing instruction: StageApplication 2020/08/06 07:22:56.626674 [INFO] extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/ 2020/08/06 07:22:56.626695 [INFO] Running command /bin/sh -c /usr/bin/unzip -q -o /opt/elasticbeanstalk/deployment/app_source_bundle -d /var

Trouble creating elastic beanstalk environment for Ruby on Rails 6 (rvm, rbenv, .ruby-version issues)

▼魔方 西西 提交于 2021-01-04 06:51:29
问题 I've been trying to figure out how to deploy a simple rails app to elastic beanstalk using the cli on my macOS, but every time I get to eb create I get this error: 2020/08/06 07:22:56.626563 [INFO] Executing instruction: StageApplication 2020/08/06 07:22:56.626674 [INFO] extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/ 2020/08/06 07:22:56.626695 [INFO] Running command /bin/sh -c /usr/bin/unzip -q -o /opt/elasticbeanstalk/deployment/app_source_bundle -d /var

Trouble creating elastic beanstalk environment for Ruby on Rails 6 (rvm, rbenv, .ruby-version issues)

假如想象 提交于 2021-01-04 06:50:25
问题 I've been trying to figure out how to deploy a simple rails app to elastic beanstalk using the cli on my macOS, but every time I get to eb create I get this error: 2020/08/06 07:22:56.626563 [INFO] Executing instruction: StageApplication 2020/08/06 07:22:56.626674 [INFO] extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/ 2020/08/06 07:22:56.626695 [INFO] Running command /bin/sh -c /usr/bin/unzip -q -o /opt/elasticbeanstalk/deployment/app_source_bundle -d /var

Logs not working on Elastic Beanstalk Tomcat environment

雨燕双飞 提交于 2020-12-30 04:11:14
问题 We've been using Elastic Beanstalk to run our Java (8) applications on Tomcat in our company without any issues. Now we have decided to move on to Java 11. We set up our environments with CloudFormation as we did before for the Java 8 applications but now we are using this solution stack: '64bit Amazon Linux 2 v4.1.1 running Tomcat 8.5 Corretto 11' (also tried v4.1.2). Everything works fine but it looks like the request logs feature isn't working anymore in elastic beanstalk (Last 100 lines

Logs not working on Elastic Beanstalk Tomcat environment

眉间皱痕 提交于 2020-12-30 04:06:37
问题 We've been using Elastic Beanstalk to run our Java (8) applications on Tomcat in our company without any issues. Now we have decided to move on to Java 11. We set up our environments with CloudFormation as we did before for the Java 8 applications but now we are using this solution stack: '64bit Amazon Linux 2 v4.1.1 running Tomcat 8.5 Corretto 11' (also tried v4.1.2). Everything works fine but it looks like the request logs feature isn't working anymore in elastic beanstalk (Last 100 lines

Logs not working on Elastic Beanstalk Tomcat environment

放肆的年华 提交于 2020-12-30 04:05:50
问题 We've been using Elastic Beanstalk to run our Java (8) applications on Tomcat in our company without any issues. Now we have decided to move on to Java 11. We set up our environments with CloudFormation as we did before for the Java 8 applications but now we are using this solution stack: '64bit Amazon Linux 2 v4.1.1 running Tomcat 8.5 Corretto 11' (also tried v4.1.2). Everything works fine but it looks like the request logs feature isn't working anymore in elastic beanstalk (Last 100 lines

Logs not working on Elastic Beanstalk Tomcat environment

元气小坏坏 提交于 2020-12-30 04:05:32
问题 We've been using Elastic Beanstalk to run our Java (8) applications on Tomcat in our company without any issues. Now we have decided to move on to Java 11. We set up our environments with CloudFormation as we did before for the Java 8 applications but now we are using this solution stack: '64bit Amazon Linux 2 v4.1.1 running Tomcat 8.5 Corretto 11' (also tried v4.1.2). Everything works fine but it looks like the request logs feature isn't working anymore in elastic beanstalk (Last 100 lines