• For a long time, I have not been able to update WordPress, or plugins, from the WordPress / PLugins Update page.

    I am able to update plugins manually through FTP.

    I receive this error: Unable to locate WordPress content directory (wp-content).

    Hosting is with AWS.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • I saw what appears to be a custom login modal but the redirect looks right so…

    Are you able to login to the dashboard?

    Can you navigate within the dashboard?

    Thread Starter kendallhill

    (@kendallhill)

    I can do all of those things, and yes you are correct.

    I found this – https://www.digitalocean.com/community/questions/how-to-fix-wordpress-connection-information-on-wp-that-is-running-in-a-docker-container

    Specifically this – Open wp-config.php with your text editor of choice and add the following line to the end of the file:

    define(‘FS_METHOD’,’direct’);

    not sure if this is best method. Right now it is listed as define(‘FS_METHOD’, ‘ftpext’);

    When I changed to direct – it asked me to enter my FTP credentials, but I was unable to enter anything in the fields?

    You probably want to get to the dashboard to update the WordPress itself sometime soon.

    define(‘FS_METHOD’,’direct’);

    Tells the system you are wanting to use WordPress itself to do updates and lets WordPress talk to the proper directories if file permissions are set properly.

    You won’t need the fTP for that task if it works properly.

    (on Linux server) switch users and user groups of all project root directories, subdirectories, subfiles to corresponding users.
    (See which user downloaded the web service, switch to which user and the corresponding group)

    for example:
    chown -R iinux_user:group directory
    and then update successfully, problem solving.

    • This reply was modified 5 years, 9 months ago by yiluxingchi.
    • This reply was modified 5 years, 9 months ago by yiluxingchi.
    • This reply was modified 5 years, 9 months ago by yiluxingchi.

    chown -R linux_user:group directory

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Cannot update wordpress or plugins’ is closed to new replies.