Install plugins on AWS

Hello

I want to install the batch create plugin but is asking me for FTP settings, since im on an EC2-instance on AWS, the only way to access is via SFTP.

After read some forums topics here:

I set on wp-config.php
define('FS_METHOD', 'direct');

and changed the owner of my folders to apache:apache, but still is not working. It keeps saying: " Hang on while we install Batch Create..."

Can you advise?

  • Robert
    • New Recruit

    Hi Kasia

    That didnt work, because the user that runs httpd is apache. I tried apache:apache and still cant install any plugin with the wpmu dev dashboard.

    when tried www-data:www-data it returned:
    chown: invalid user: ‘www-data:www-data’

  • Nithin
    • Support Wizard

    Hi Robert,

    when tried www-data:www-data it returned:
    chown: invalid user: ‘www-data:www-data’

    The above error appears because, there isn't any user named www-data in your system. Please make sure whether there is any other user that runs this service.

    You can check whether the user, www-data is present, by running the following command:
    grep www-data /etc/passwd

    Since you have already confirmed the user is apache, and didn't work. Could you please check, and see whether the folder permissions are correct, ie 755 for folders, 644 for files.

    Please let us know how that goes, have a nice day. :slight_smile:

    Kind Regards,
    Nithin

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.