• Hi there,
    We have a wordpress website in an AWS SSH server no access to FTP
    When installing All in one migration we get a bunch of:
    Update failed: Could not create directory.

    How do we go about fixing this for an AWS instance?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Yani

    (@yaniiliev)

    Thank you for reaching out regarding the issue you’re experiencing with All-in-One WP Migration on your AWS-hosted WordPress site. Based on your description, it seems that the problem is related to insufficient directory permissions on your server.

    To resolve this issue, you will need to grant the proper permissions to your web server. Specifically, the web server requires read, write, and list permissions for the following folders:

    wp-content
    wp-content/plugins
    wp-content/themes
    wp-content/uploads
    wp-content/ai1wm-backups

    To update the permissions, please follow these steps:

    1. Connect to your AWS instance using SSH.
    2. Navigate to your WordPress installation directory (usually /var/www/html or a similar path).
    3. Run the following commands to set the correct permissions for the specified directories:

    sudo chown -R www-data:www-data wp-content
    sudo find wp-content -type d -exec chmod 755 {} \;
    sudo find wp-content -type f -exec chmod 644 {} \;

    These commands will set the owner and group to ‘www-data’ (the default user for most web servers; your user might be different so you might need to change it accordingly) and update the directory and file permissions accordingly.

    After completing these steps, try installing All-in-One WP Migration again.

    Thread Starter ganacontrolrsn

    (@ganacontrolrsn)

    After executing these commands im getting reports from users unable to upload files to the wordpress media folder.

    What could possibly a rollback after using these commands?

    Thread Starter ganacontrolrsn

    (@ganacontrolrsn)

    OK we rolledback
    Your commands went fine, except for our website using Bitnami

    See this screenshot
    https://ibb.co/pybvpWz

    Could you possibly advice what should be done for this instance instead?

    Thread Starter ganacontrolrsn

    (@ganacontrolrsn)

    @yaniiliev just reopened this thread, as i was not sure if you get notifications when the thread is marked as resolved.

    Lmk if i should open a new one or this is fine

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘AWS: Could not create directory’ is closed to new replies.