You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simple workaround is to double escape the quotes, however isn't yet documented and feels unintuitive. #19 has code delegating JSON formatting to nodejs. Attempting to JSON-encode in bash directly isn't working that well.
Additionally an extra comma is left in some situations right after the dbSettings, which isn't allowed by the JSON specification (etherpad works with them).
The text was updated successfully, but these errors were encountered:
pawohl
changed the title
Settings.json malformed when environment variable contains double quote
Etherpad: Settings.json malformed when environment variable contains double quote
Feb 24, 2017
Maybe a simple advice: "All environment variable must be without quotes". Example of env file:
ETHERPAD_TITLE=your title without wuotes
ETHERPAD_DB_HOST=the-db-host
ETHERPAD_DB_USER=your-db-user
ETHERPAD_DB_PASSWORD=your-db-password
ETHERPAD_ADMIN_PASSWORD=your-password
ETHERPAD_ADMIN_USER=adminuser
ETHERPAD_API_KEY=whateveryouneedtoputhere
is what you get when starting with, e.g.
A simple workaround is to double escape the quotes, however isn't yet documented and feels unintuitive. #19 has code delegating JSON formatting to nodejs. Attempting to JSON-encode in bash directly isn't working that well.
Additionally an extra comma is left in some situations right after the dbSettings, which isn't allowed by the JSON specification (etherpad works with them).
The text was updated successfully, but these errors were encountered: