In my previous post you could read how I installed the basic package for WordPress on my Synology NAS. There are still some things to do (styling, interesting content, enabling comments…), but one of the more important things is the ability to update. WordPress in itself is not a bad package, but infamous for having had security leaks in the core product and especially the plugins. And if I don’t do this now, I probably never will. So, off we go:
- Me: WP, please update this package for me
- WP: Sure, what is the login for your FTP?
- Me: FTP? OK, well, then I will enable FTP and create a user, just for you. Here you are. Now please update
- WP: Error: could not create directory.

Red bars continue to bugger me - Me: What was I thinking, expecting this to go right on the first try. Hookay, let’s try to do something with user rights.
- [Me poking around with the user rights in the Synology Admin screen under sage advice from Google]
- Me: All right, I think this might work: http is the user that Apache is running in, and I’ve given it all kinds of rights and ownership to the WP directory.

This seems like it might work - WP: Error: could not create directory.
- Me: Shit, of course. Let’s google some more.
- Google: Make sure to set the rights of the user http correct.
- Me: Hmm, upon inspection I’ve set the rights of the group http right, but not of the user http. Google, some more help please?
- Google: Use this on the command line:
chown -R http:http daan/blog
- Me: OK then, fine. Guess that I will have to enable SSH, log into the NAS from my local network, get admin rights and then change the owner with this Linux command. I thought installing WordPress would be easy…

I learned a Linux command! - Me: Okay, lets try again!
- WP: Updating plugin succeeded!
- Me: Yay!
Tl;dr: Make sure that the user rights are set correctly, even if that means getting down & low in the command line and using SSH.
Still to do: styling, interesting content and maybe a Twitter card. But first… install all the plugins!!!