Can you provide with more data exactly where error 504 had occured? Was it upload server or filemoon by itself? We had yesterday DDoS attacks.
Error 504 occurred at different intervals. By clicking on the "Upload" category, clicking on "Dashboard".
Here the upload still doesn't work, it only gives two servers 117 and 188.
Proof: