Page History
...
This page takes you from a prepared Linux host to the first login to GreenLight, and describes how to operate the installation afterwards. What the host needs is described in Running GreenLight on your own Linux; upgrades in Upgrading GreenLight (NEW).
New installations and upgrades use the same installer. It checks the host, downloads or unpacks the GreenLight Docker images, creates the directories under /opt/panagenda, writes the configuration and starts the containers. This page describes the installer of GreenLight 5.2.1 and later; the server address screen is new in 5.2.1.
...
Offline installer: while it runs, the offline installer unpacks itself into /tmp and needs a little more free space there than the size of the package, about 2 GB. Check the free space with df -h /tmp. If /tmp is too small, for example because it is held in memory (tmpfs), let the installer use a directory on a larger filesystem instead (see Not Enough Disk Space). The installer checks the space itself and stops before it changes anything.
...
- "this installer must be run as root or with sudo": run the installer in a root shell (
sudo -i) or withsudo, as the second line of the message says: "Re-run the installer package with sudo. The message suggests sudo , e.g. sudo sh ./upgrade; gl-upgrade.sh". For the offline package, the command for this package issudo sh ./gl-upgrade-offline.sh. - "the following required tools are missing": install the tools the message names and start the installer again. On Ubuntu, fdisk is a package of its own (
apt install fdisk). - "required port(s) … are already in use": another service, for example Apache or nginx, uses port 80 or 443. Find it with
ss -tlnp 'sport = :80'orss -tlnp 'sport = :443', stop or reconfigure it, and start the installer again. - Port 5432 is in use (the installer stops with "ERROR: container (re)creation failed", or the database container does not start later): another PostgreSQL runs on the host. Stop it or move it to another port. If this happened during an installation or upgrade, run the installer again. Otherwise run
gl start. - SELinux error about semanage or restorecon: install the package policycoreutils-python-utils and start the installer again.
- "exec format error" when the containers start: the host has an ARM processor. GreenLight requires x86_64.
- GreenLight cannot reach monitored servers or other systems: the internal Docker network may collide with a network in your environment. Run
gl diagnose-network; if it reports a collision, changePANAGENDA_COMPOSE_NETWORK_SUBNET(see Configuration File). The check cannot see networks the host has no route to; ask your network team if in doubt. - Links in Metabase or in emails do not open, or Metabase shows another address than users type: the server address is a name or IP address that users cannot reach. Run
gl hostnameand choose the name your users use. - GreenLight opens under another address, but saving a change fails: that address is not listed in
PANAGENDA_CORS_ALLOWED_ORIGINS. Open GreenLight under the server address, or add the other address (see Allowed Origins (CORS)). - Saving fails under every address, or GreenLight does not start, after a change of the allowed browser addresses: the value probably contains a space. Without quotes, every
glcommand reports "No such file or directory" for the line in/opt/panagenda/appdata/gl/config, and GreenLight uses an earlier line of the file orhttps://localhostinstead. The installer andgl hostnamewarn that the line "contains a space, so GreenLight does not read it as written", and name the addresses GreenLight uses. In quotes, they warn that the addresses "contain a space", and GreenLight's web server does not start. Remove the spaces fromPANAGENDA_CORS_ALLOWED_ORIGINS, so that only commas separate the addresses, and rungl recreate. - GreenLight shows no data after a reboot: a filesystem for the GreenLight directories was not mounted when Docker started. Mount the filesystems (for example
mount -a), then rungl downandgl start, and add the setting that makes Docker wait for them (see Partitioning).
...
