In WordPress, when trying to delete a plugin, the error “Could not remove old plugin (古いプラグインを削除できませんでした。)” occurred.
I think the cause is that the directory owner is not apache or nginx, so I’ll change the owner with chown.
If the WordPress site installation path is /var/www/vhosts/codenote.net, it would look like this:
# cd /var/www/vhosts
# chown -R nginx. codenote.net
That’s all from the Gemba.