Hey @naz thanks for looking into it.
I believe I have already checked the logs but could not see anything obvious.
Below is the output I get when trying to upload a theme or image respectively and as said when the frontend error happens nothing is logged at the backend nor the frontend console :
{
"name":"Log",
"hostname":"hv1-ghost-blog",
"pid":734832,
"level":30,
"req":{
"meta":{
"requestId":"0b10cc2c-694a-4b41-bd50-b60d75ae6b67",
"userId":"1"
},
"url":"/themes/",
"method":"GET",
"originalUrl":"/ghost/api/v3/admin/themes/",
"params":{
},
"headers":{
"x-forwarded-for":"91.125.195.74, 192.168.30.2",
"x-forwarded-proto":"https",
"x-real-ip":"192.168.30.2",
"host":"blog.infoitech.co.uk",
"connection":"close",
"user-agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0",
"accept":"application/json, text/javascript, */*; q=0.01",
"accept-language":"en-GB,en;q=0.5",
"accept-encoding":"gzip, deflate, br",
"content-type":"application/json; charset=UTF-8",
"x-ghost-version":"3.41",
"app-pragma":"no-cache",
"x-requested-with":"XMLHttpRequest",
"referer":"https://blog.infoitech.co.uk/ghost/",
"cookie":"**REDACTED**"
},
"query":{
}
},
"res":{
"_headers":{
"x-powered-by":"Express",
"cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",
"content-type":"application/json; charset=utf-8",
"etag":"W/\"69b-E4ng9GAVl6X3IsxOMO6pSuYL+7Q\"",
"vary":"Accept-Encoding",
"content-encoding":"gzip"
},
"statusCode":200,
"responseTime":"21ms"
},
"msg":"",
"time":"2021-03-11T14:31:38.805Z",
"v":0
}
{
"name":"Log",
"hostname":"hv1-ghost-blog",
"pid":734832,
"level":30,
"req":{
"meta":{
"requestId":"b0eee546-4a68-410a-9244-f5beec0f06c2",
"userId":"1"
},
"url":"/settings/?group=site%2Ctheme%2Cprivate%2Cmembers%2Cportal%2Cnewsletter%2Cemail%2Camp%2Clabs%2Cslack%2Cunsplash%2Cviews%2Cfirstpromoter",
"method":"GET",
"originalUrl":"/ghost/api/v3/admin/settings/?group=site%2Ctheme%2Cprivate%2Cmembers%2Cportal%2Cnewsletter%2Cemail%2Camp%2Clabs%2Cslack%2Cunsplash%2Cviews%2Cfirstpromoter",
"params":{
},
"headers":{
"x-forwarded-for":"91.125.195.74, 192.168.30.2",
"x-forwarded-proto":"https",
"x-real-ip":"192.168.30.2",
"host":"blog.infoitech.co.uk",
"connection":"close",
"user-agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0",
"accept":"application/json, text/javascript, */*; q=0.01",
"accept-language":"en-GB,en;q=0.5",
"accept-encoding":"gzip, deflate, br",
"content-type":"application/json; charset=UTF-8",
"x-ghost-version":"3.41",
"app-pragma":"no-cache",
"x-requested-with":"XMLHttpRequest",
"referer":"https://blog.infoitech.co.uk/ghost/",
"cookie":"**REDACTED**"
},
"query":{
"group":"site,theme,private,members,portal,newsletter,email,amp,labs,slack,unsplash,views,firstpromoter"
}
},
"res":{
"_headers":{
"x-powered-by":"Express",
"cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",
"content-type":"application/json; charset=utf-8",
"etag":"W/\"3574-k98PDAuYuo15fjasPAoONbD/k6k\"",
"vary":"Accept-Encoding",
"content-encoding":"gzip"
},
"statusCode":200,
"responseTime":"29ms"
},
"msg":"",
"time":"2021-03-11T14:33:25.333Z",
"v":0
}
Let me know if you spot anything that might indicate what is the issue.
I am not sure if it might be an issue, but I have an HAproxy setup as simply illustrated below :
| pfSense + HAproxy |> Ghost-Blog |
Thanks for helping !!