Can't create temp folder on sftp

I have multiple HestiaCP servers and all of them do remote backups to another HestiaCP server (backup server).

Yesterday I upgraded the backup server from 1.8.2 to 1.9.3 and this morning I got a lot of emails with the message “Can’t create temp folder on sftp” from each backup try.

The connection to the backup server is done through SFTP with SSH Key and the connection is established correctly as I can check on the logs but suddenly is closed because cannot access the temp folder.

As per I checked it is using the folder in /srv/jail/user/home/user so the permissions should be incorrect but I am not sure which permission must be fixed to avoid causing other problems.

If anyone can help, I appreciate!

If sftp is enabled you can’t create folder in /home/user folder

SFTP was already enabled and working as expected, just upgraded to 1.9.3 nothing else was changed

What you mean is that on 1.9.3 I can’t use this setup anymore?

On HestiaCP UI backup configuration I changed the path from

/web/backups/public_html/

to

/home/user/web/backups/public_html/

then got another error message

Can't parse sftp backup configuration

because I use SSH keys I typed a random password on backup configuration and saved, then tried to backup again and is now working properly.

I used to save backup configuration without a password because SSH keys to not require it. Now do I need to type a password for it to work?

Conclusion:

The home path for SFTP connection changed, so that’s why it was not able to save the files