I've got a strange problem. The site is running properly, both back and frontend. I just want to update it via wp cli.

wp core update

It keeps saying Error: No such file or directory and that probably user or password are wrong. But again, the site is up and running. Also wp db commands will work properly, as well as mysql shell commands. So there's no connection errors for those programs. Only for wp core. Why?

  • 1
    Guessing - maybe it's a file permissions issue? I think a core update might try to create an updates directory in your root? – vancoder Jun 8 at 17:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.