WordPress Plugin Upgrade Failed Solution

I ran into this error: “Unable to locate WordPress Content directory (wp-content).” after upgrading the Linux distro on my server. Nearly every solution I found was to add a custom block of code to wp-config.php that would no longer require you to give the FTP credentials. I found this unappealing because I have multiple WordPress installations and I didn’t want to hack each one.

Instead I continued banging my head against the problem. WordPress and the permissions hadn’t changed so it had to be something in the environment. The two prime suspects were PHP and vsftpd, and vsftpd was it. SSL was enabled but I had to disable require_ssl_reuse in /etc/vsftpd.conf. I learned this by watching the log with debug_ssl and log_ftp_protocol enabled during a plugin upgrade attempt.

All it took was a quick restart of vsftpd and automatic plugin upgrades are working again with FTPS.





  1. Excellent!

    It took time to get here, as I desperately wanted to get it to work without hacking, but it was worth of it.

    Worked for me also.

      » Comment by Roland on October 16, 2010 @ 2:53 pm
  2. @Roland That’s great! It’s the main reason I posted my solution.

      » Comment by Dan on October 16, 2010 @ 3:18 pm


Post a comment










Number of readers
- home
comics
news links
other links

about me
blog archives
docs
entertainment
experiences
funny lists
humor
intellectual
interests
metafilter
music
opinions
photos
web designs
tools
software
webmaster help

Sign up
Enter your email address to be notified of new blog posts



Search blog archives

Calendar
September 2010
S M T W T F S
« Aug   Oct »
 1234
567891011
12131415161718
19202122232425
2627282930  







Random quote
(View all quotes)
"Living is more a question of what one spends than what one makes. -- Marcel Duchamp"










(?) Choose theme:  X X X X X X