[Solved] 504 Gateway Time-out


I’m trying to transfer the installation from cPanel to Plesk (shared to VPS).
I’ve transferred all files over, edited the config file and uploaded the database.

But now I’m getting a 504 Gateway Time-out.

Does anybody know how to transfer your install properly?

how is that solved? no one provided any solution.
havin the same problem on my nextcloud 18 install with the web updater.
nginx version nginx/1.16.1

the error message is not telling a lot.
onlyalternative is to do a rsync to do a backup, and do the upgrade manually v_v

found how to solve it.
change owner of the directory created by the backup (for example nextcloud-dirbkp_20200413) in your nextcloud folder.

sudo chown -R www-data:www-data nextcloud

and rerun the web updater.
worked for me.
it worked fine for my install