Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

197
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

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 Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda