Had the same error here, following the good tutorial of GoRails "Deploy Ruby on Rails To Production in 2019", where he create a user "deploy" and set to deploy the app in "home/deploy".
Don't forget that you have to use the username created on the server.
So deploy's directory is "home/USERNAME".