I am currently running ghost off of A2 hosting, using NGINX. the site is working fine, and loads fast enough, but when I am adding images to a post, it usually takes 10-20 seconds for the image to upload.
it’s even worse for video. I am currently trying to upload an 11 minute video (1.37GB), which I would expect to take a bit, but it’s been over an hour and the video is barely 10% done.
It’s entirely possible that A2 just has terribly upload speed, and I can live with that if so, but does anyone know of a method I can use to test it, to determine if the hosting is slow, or if there is an issue with my NGINX setup?
EDIT: the video finished uploading after a few tries, but it displayed in a broken state, and then the site crashed, and I can’t get it to start again.
EDIT2: example error from the ghost log:
{"name":"Log","hostname":"server.pearcesjournal.com","pid":421,"level":50,"version":"5.44.0","err":{"id":500,"domain":"https://pearcesjournal.com","code":"ECONNREFUSED","name":"DatabaseError","statusCode":500,"level":"critical","message":"connect ECONNREFUSED 127.0.0.1:3306","help":"\"Unknown database error\"","stack":"Error: connect ECONNREFUSED 127.0.0.1:3306\n at /var/www/pearcemichal/html/versions/5.44.0/node_modules/knex-migrator/lib/database.js:57:19\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)","hideStack":false},"msg":"connect ECONNREFUSED 127.0.0.1:3306","time":"2023-05-29T02:18:11.153Z","v":0}