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

Unable to start nginx in frigate 0.14 #67

Closed
tom0010 opened this issue Aug 9, 2024 · 2 comments
Closed

Unable to start nginx in frigate 0.14 #67

tom0010 opened this issue Aug 9, 2024 · 2 comments

Comments

@tom0010
Copy link

tom0010 commented Aug 9, 2024

Please verify that you have read and understood the guidelines.

yes

A clear and concise description of the issue.

When creating a new frigate container, nginx is not able to start:

root@frigate14:~# service nginx status
● nginx.service - Nginx service
     Loaded: loaded (/etc/systemd/system/nginx.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Fri 2024-08-09 13:07:57 BST; 908ms ago
    Process: 50093 ExecStartPre=rm /dev/shm/logs/nginx/current (code=exited, status=0/SUCCESS)
    Process: 50094 ExecStart=bash /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/nginx/run (code=exited, status=127)
   Main PID: 50094 (code=exited, status=127)
        CPU: 194ms

Aug 09 13:07:57 frigate14 systemd[1]: nginx.service: Main process exited, code=exited, status=127/n/a
Aug 09 13:07:57 frigate14 systemd[1]: nginx.service: Failed with result 'exit-code'.
root@frigate14:~# tail -f /dev/shm/logs/nginx/current
[INFO] Starting NGINX...
/opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/nginx/run: line 84: tempio: command not found
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe

Getting:
tempio: command not found

Maybe related to blakeblackshear/frigate#11755

What settings are you currently utilizing?

Default Settings

Which Linux distribution are you employing?

Debian 11

If relevant, including screenshots or a code block can be helpful in clarifying the issue.

No response

Please provide detailed steps to reproduce the issue.

Frigate has released a new version, 0.14.0, I am unable to create this container.

Maybe worth noting that I stumbled into this error again:

 ✓ Built Nginx
 ✓ Configured Services
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
 |0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
 ✓ Cleaned
 -400 Parameter verification failed.rces   
memory: unable to hotplug memory: trying to change memory cgroup values: container not running

pct set <vmid> [OPTIONS]
 |
[ERROR] in line 69: exit code 0: while executing command pct set $CTID -memory 1024

Which was fixed in #64

I have tried to create the container multiple times using advanced and default settings FYI.

Inside of the container I also tried to start nginx manually, however frigate seems to restart/retry anyway, so this is a bit trivial.

@asylumexp
Copy link
Owner

I’ll merge a fix for the first issue in a min from upstream, I’ll figure out the pct command tmr as I haven’t been able to replicate it myself.

@asylumexp
Copy link
Owner

Issue addressed in e79c521

will figure out the other issue tomorrow

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

2 participants