Most probably the newly created user has no permissions to write files in the specific directory.
I’m not sure how to do that, any suggestions/resources? I’m using Ubuntu 20.04 LTS server.
Please also make sure that you have provided proper absolute path to a folder where you want to publish your website.
It’s good as it worked fine with the root user.