Title: Can&#8217;t install plugins
Last modified: September 3, 2018

---

# Can’t install plugins

 *  [johnwmcc](https://wordpress.org/support/users/johnwmcc/)
 * (@johnwmcc)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/cant-install-plugins-33/)
 * I’ve just installed WordPress 4.9.8en_GB freshly downloaded from WordPress, onto
   a Synology Diskstation 214play, and the basics are working. I can customise the
   site, add pages, add media, edit pages, set permalinks, etc.
 * I installed WP in its own sub directory to keep the root directory ‘clean’ except
   for two files .htaccess, and index.php.
 * They contain recommended code from WordPress Codex to use Apache 2.2 redirection
   to use the site address mcclenahan.dyndns.org and and the wordpress sub directory
   wordpress.
 * I have set up FTP on the Synology server, and use port redirection on my Virgin
   Media router to send http requests to port 80 on the Synology box, and ports 
   20-21 to the FTP server. I’ve also redirected the default ports 5536-55551 used
   by FTP to allow PASV FTP connections.
 * But when I try to install a plugin (Unique Headers in this case, but I get the
   same results when I try other plugins) I get errors and the plugin fails to install.
 * If I try the automated install, it fails with the error message ‘failed to create
   directory’ (without specifying which directory). If I try to Upload the plugin
   using the downloaded ZIP file, it also fails with a different and more specific
   error: ‘Could not create directory /volume1/web/mcclenahan.dyndns.org/wordpress/
   wp-content/plugins/unique-headers/assets’. The plugins directory is owned by 
   the same owner/group as the FTP login user (john/users), and at least for the
   moment has ‘wide open’ permissions 0777, which I changed using FileZilla to the
   777 setting.
 * No unique-headers folder is created, and hence of course no subdirectories like
   assets either.
 * Both methods prompt me for the FTP settings. These work both internally and externally
   when I use the same credentials in FileZilla. I can connect, and create files
   or folders.
 * If it is a file permissions issue, what do I need to change on the Synology server?
   Change the wordpress directory owner to the ftp server user? (which I haven’t
   been able to identify).
 * What else might be causing my problem?
 * Theme translations won’t install either, thought that in itself doesn’t bother
   me, but it looks like the same issue. The error message is ‘Could not copy file./
   volume1/web/mcclenahan.dyndns.org/wordpress/wp-content/languages/plugins/hello-
   dolly-en_GB.mo’
 * PS. I just checked the last line in the root directory index.php page and found
   I hadn’t changed it to:
    require( dirname( __FILE__ ) . ‘/wordpress/wp-blog-header.
   php’ ); but when I do change it, clear the browser cache, and try to update the
   translations files, it still fails with the same error, and so does installing
   plugins.
 * But the error seems not to be related to failing to redirect – WordPress is trying
   to create the correct directory/ies, and failing.
    -  This topic was modified 7 years, 8 months ago by [johnwmcc](https://wordpress.org/support/users/johnwmcc/).
    -  This topic was modified 7 years, 8 months ago by [johnwmcc](https://wordpress.org/support/users/johnwmcc/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcant-install-plugins-33%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [johnwmcc](https://wordpress.org/support/users/johnwmcc/)
 * (@johnwmcc)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/cant-install-plugins-33/#post-10653619)
 * I have found a workaround: expand the downloaded ZIP file for the plugin, and
   use external FTP to upload the _unique-headers_ folder and contents into the 
   wordpress _plugins_ folder. That seems to do everything needed to install the
   plugin, which then works.
 * But I’d still like to understand why neither of the built in methods of installing
   plugins work, and fix that.
    -  This reply was modified 7 years, 8 months ago by [johnwmcc](https://wordpress.org/support/users/johnwmcc/).
    -  This reply was modified 7 years, 8 months ago by [johnwmcc](https://wordpress.org/support/users/johnwmcc/).
    -  This reply was modified 7 years, 8 months ago by [johnwmcc](https://wordpress.org/support/users/johnwmcc/).
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/cant-install-plugins-33/#post-10653636)
 * FYI:
 * Couple of resources for manual operation:
    Installing plugins manually: [https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation)
 * Updating plugin manually: [https://www.wpbeginner.com/beginners-guide/how-to-manually-update-wordpress-plugins-via-ftp/](https://www.wpbeginner.com/beginners-guide/how-to-manually-update-wordpress-plugins-via-ftp/)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Can’t install plugins’ is closed to new replies.

## Tags

 * [fails](https://wordpress.org/support/topic-tag/fails/)
 * [Install](https://wordpress.org/support/topic-tag/install/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/cant-install-plugins-33/#post-10653636)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
