Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    When WP prompts for SSH or FTP logins, it means that the file ownership and/or permissions for your site are incorrect. The files should be owned by the same user under which the PHP process is running and secured 755/644 for directories/files respectively.

    How are you hosting this site?

    Thread Starter pr0ject10n

    (@pr0ject10n)

    First Steve thank you very much for replying to me posting.

    OK so if I go into file station for wordpress and for my website projection pictures which permissions which should be identical.

    Could you expand further on this please ‘PHP process is running and secured 755/644 for directories/files respectively’ As this is the first time I’ve heard of this.

    I’ve been corresponding a great deal with Synology technical support but they couldn’t help me with this plugin update problem.

    Do you need any further screen-captures from me from the menu screens within the DSM interface for you to assist me further.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Oh, synology. That’s one of those weird setups. Sorry, I can’t help you with that.

    There might be some help with ths search: https://www.google.com/search?q=wordpress+synology+file+ownership

    Thread Starter pr0ject10n

    (@pr0ject10n)

    Steve, thank you for supplying a link which I will study with interest.

    Why is the synology weird?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Hi. I have a Synology box, and I understand how that particular update system works.

    The reason it is asking you for those values, is because the way that the Synology package manager installs WordPress, it doesn’t give it the proper permissions to write to its own files locally. Thus, WordPress needs some other way to access the files in order to write to them.

    If you install an FTP server, then you can give it the correct path and credentials for that, and thus allow WordPress to access the same box it is on via FTP, and it can then use that connection to write those files.

    Alternatively, if you have SSH access to the synology box, then giving it that information will allow it to do much the same thing.

    Basically, WordPress is trying to write local files. For security, it needs to write those files using the correct user account, which is the same as the user account as the files WordPress itself is running under.

    None of the 1&1 or Let’s Encrypt is relevant here. What it is looking for is access to the box that the WordPress instance is actually running on. Local access. Even though you normally think of FTP or SSH as ways to access other servers, here, it’s looking for ways to access itself, but using the proper user credentials.

    The easy way is to use the package manager to install an FTP server, then create an account on that system to allow access to the WordPress install files, and then give that FTP info to WordPress to perform those updates. A somewhat less easy way is to not use the Synology Package Manager to install WordPress at all, but to instead do-it-yourself so that you can give proper permissions to the system.

    And finally, it is probably best to not use a Synology NAS device to run WordPress, or any other web server program, on the public internet. The Synology NAS devices are great for local usage and for file management, but they are not necessary intended to be always-on servers for public web sites. Consider using a real hosting service instead.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugins fail to update require’ is closed to new replies.