The site, askviable.com, has been live for awhile (since last year). Suddenly, however, I’m getting 500s when trying to save and only on specific pages. When saving I get this pop up on my site blueprint:
app.js:1 POST /api/site 500 (Internal Server Error)
The actual response from the server is
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at
webmaster to inform them of the time this error occurred,
and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>
I’m hosting this on dreamhost. I tried the rewrite rule / in .htaccess and no change. The odd thing is that this suddenly started to happen and I see no logs anywhere being written about this error.
The only change i’ve made recently was adding this to my blueprint:
footerSocialIcons:
label: Footer Social Icons
type: structure
fields:
socialIconAltText:
label: Social Icon Alt Text
type: text
required: true
socialIconUrl:
label: URL
extends: fields/url
required: true
socialIcon:
label: Social Icon
type: files
max: 1
required: true
This also works fine locally. This only has issues on the server and I noticed it saved the socialIcon file there on the server but it didn’t save the actual content. I was able to manually mitigate this by making the change locally and then copying the content txt file content onto the server via FTP.
Any ideas? This was at the worst possible time too because they’re going live on producthunt in 30 minutes