Error rendering macro 'rw-search'

null

Downloads

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Show the current value:
    Code Block
    languagebash
    grep PANAGENDA_CORS_ALLOWED_ORIGINS /opt/panagenda/appdata/gl/config
  2. Open the file in an editor, for example nano /opt/panagenda/appdata/gl/config. With vi: move to the line, press i to edit, and when you are done press Esc, type :wq and press Enter.
  3. Change the line so that it lists every address users type in their browser, each with https:// and without a path, separated by commas without spaces (a space can keep GreenLight from starting):
    Code Block
    languagetext
    PANAGENDA_CORS_ALLOWED_ORIGINS=https://greenlight.acme.com,https://monitoring.acme.com
    Keep the server address in the list. If the line is missing, add it.
  4. Save the file and apply the change; GreenLight is unavailable for a few minutes:
    Code Block
    languagebash
    gl recreate
  5. Open GreenLight under each address and save a change to check it.

From then on, the installer and gl hostname keep your value. If it does not contain the server address, they show a warning that names the address in your value. To let GreenLight manage the value again, set it back to https://localhost: and run gl hostname <server address>, then gl recreate; the next upgrade or the next change with gl hostname replaces would also replace it with the server address. While PANAGENDA_METABASE_SITE_URL is set, the installer and gl hostname do not touch the value at all.

...