Running Puppetboard using Gunicorn shows set SECRET_KEY to a long, random string error

  Kiến thức lập trình

I have the Puppet Server v8, PuppetDB and PuppetBoard all hosted on the same Rocky 8 host.

I installed PuppetBoard using the following commands:

pip3 install puppetboard
pip3 install gunicorn

I am seeing the following error after attempting to run the app gunicorn -b 0.0.0.0:8000 puppetboard.app:app even though I have set a random string in the environment variable SECRET_KEY.

[2024-08-19 16:56:34 +0100] [6252] [INFO] Booting worker with pid: 6252
INFO:puppetboard.utils:PuppetDB version: 8.7.0
CRITICAL:puppetboard.utils:Please set SECRET_KEY to a long, random string, **the same for each application replica**, and do not share it.

Any ideas why this is happening?

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT