Cannot upgrade anything in vps install (migrated wp)

Update process tries to get wp_filesystem credentials and cannot do it.

It seems that file privileges are wrong. Files must have 644 mode, directories – 755. Owner of files and directories must be the same user, on whose behalf is running php.

Php user is set in www.conf file.