Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

196
Views
AWS beanstalk wordpress

I was trying to setting up my AWS beanstalk by following the implementation guide provided by AWS.

But when I got to the "Launch an Elastic Beanstalk Environment" section, this message appeared which basically said the app is not created.

Here's the message:

[Instance: i-088472611e1ef4405] Command failed on instance. Return code: 1 Output: ln: failed to create symbolic link 'wp-content/uploads': No such file or directory. container_command 2link in wordpress-beanstalk/.ebextensions/efs-mount.config failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.

Does anyone have the same problem or know how to resolve this?

about 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Try changing the efs-mount to read the following, the directory clearly doesn't exist so lets just create it.

container_commands:
  1chown:
    command: "chown webapp:webapp /wpfiles"
  2create:
    command: "sudo -u webapp mkdir -p wp-content/uploads"
  3link:
    command: "sudo -u webapp ln -s /wpfiles wp-content/uploads"

2create will create the directory owned by the webapp user and should let you continue.

about 4 years ago · Santiago Trujillo Report

0

I just faced the same issue. I am going to assume deploying via the AWS console. That is how I started.

STEP 1: I checked if there was an actual directory wp-content/uploads in wordpress-beanstalk and there was not. It might get created on the first WP upload So, I created the folder, rezipped the application, and deployed to Beanstalk via the AWS Console.

I still received the same error and moved on to step 2

STEP 2: Run EB DEPLOY from the command line from my local wordpress-beanstalk directory

  • eb init

    • choose region (if you already created your app should be this region)
    • if you already created application choose that wordpress-beanstalk for example
  • eb use name of your environment

  • eb deploy

I am not certain that Step 1 is related to Step 2, but was able to successfully deploy facing the same issue using EB CLI.

about 4 years ago · Santiago Trujillo Report

0

This is the mounting error of EFS . EB is using EFS storage to store the wordpress files .

Please check the no.7 in documentation .

"Modify the configuration files in the .ebextensions folder with the IDs of your default VPC and subnets, and your public IP address."

Please edit the efs-create.config file inside the .ebextension folder.

enter image description here

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!