Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx: [emerg] no "events" section in configuration #659

Closed
HarmlessSaucer opened this issue Jun 10, 2023 · 0 comments
Closed

nginx: [emerg] no "events" section in configuration #659

HarmlessSaucer opened this issue Jun 10, 2023 · 0 comments

Comments

@HarmlessSaucer
Copy link

Hey, I recently started getting a 502 error from NGinx Proxy Manager which I run Babybuddy behind, so I went to investigate.

The logs for the container read:
nginx: [emerg] no "events" section in configuration

I was running 1.15.1 but updated to 1.16.0 and I'm getting the same thing.

From what I can see my config is accessible to the host.

Looking in the logs as it starts up, I can see the following:

Running migrations:
  No migrations to apply.
  Your models in app(s): 'babybuddy' have changes that are not yet reflected in a migration, and so won't be applied.
  Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.
Cache table 'cache_default' already exists.
**** The following active confs have different version dates than the samples that are shipped. ****
**** This may be due to user customization or an update to the samples. ****
**** You should compare the following files to the samples in the same folder and update them. ****
**** Use the link at the top of the file to view the changelog. ****
┌────────────┬────────────┬────────────────────────────────────────────────────────────────────────┐
│  old date  │  new date  │ path                                                                   │
├────────────┼────────────┼────────────────────────────────────────────────────────────────────────┤
│            │ 2023-04-13 │ /config/nginx/nginx.conf                                               │
│ 2022-04-03 │ 2022-11-23 │ /config/nginx/site-confs/default.conf                                  │
└────────────┴────────────┴────────────────────────────────────────────────────────────────────────┘
[custom-init] No custom files found, skipping...
nginx: [emerg] no "events" section in configuration
[2023-06-10 23:38:46 +0100] [245] [INFO] Starting gunicorn 20.1.0
[2023-06-10 23:38:46 +0100] [245] [INFO] Listening at: http://127.0.0.1:3000 (245)
[2023-06-10 23:38:46 +0100] [245] [INFO] Using worker: gthread
[2023-06-10 23:38:46 +0100] [256] [INFO] Booting worker with pid: 256
[2023-06-10 23:38:46 +0100] [257] [INFO] Booting worker with pid: 257
nginx: [emerg] no "events" section in configuration
[ls.io-init] done.
nginx: [emerg] no "events" section in configuration

Is anyone able to point me in the right direction here? 🤔

@HarmlessSaucer HarmlessSaucer closed this as not planned Won't fix, can't repro, duplicate, stale Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant