I’m setting up a new instance at introverts.social. I’m on ubuntu LTS 20.04 instead of the recommended 18.04 but other than that I’m following the instructions at Installing from source - Mastodon documentation exactly. I figured out how to increase my swap space so that compilation could finish and how to configure Mailgun SMTP. Emails are sending when I create an account, and I can login. So far so good.
Uncaught EvalError: call to eval() blocked by CSP Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”).
I found this ticket in the mastodon github issue tracker: Fresh Install by Documentation / CSP Error · Issue #10317 · tootsuite/mastodon · GitHub which seems to suggest that it’s a Firefox or firefox extension problem. However, I tried in Safari with no extensions and am getting about the same error:
devtool: eval . However, that doesn’t seem to be the problem, because the devtool settings on my server are:
> ~/live/config$ grep 'devtool' * -R webpack/development.js: devtool: 'cheap-module-eval-source-map', webpack/production.js: devtool: 'source-map',
~/live/bin/webpack also does not help.
Any ideas for other things I could check? Thank you.