Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)ST
starkcommando @lemmy.world
Posts 6
Comments 19

Lemmy Instance: /run/nginx.pid" failed (2: No such file or directory)

I am trying to host my own Lemmy instance. It was running great for awhile. I built the server using the ansible method. When I tried to rebuild the docker containers with ansible last night, I ran into this error.

FAILED! => {“changed”: true, “cmd”: “nginx -s reload”, “delta”: “0:00:00.066477”, “end”: “2023-07-27 23:12:26.216505”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2023-07-27 23:12:26.150028”, “stderr”: “2023/07/27 23:12:26 [notice] 7635#7635: signal process started\n2023/07/27 23:12:26 [error] 7635#7635: open() “/run/nginx.pid” failed (2: No such file or directory)”, “stderr_lines”: [“2023/07/27 23:12:26 [notice] 7635#7635: signal process started”, “2023/07/27 23:12:26 [error] 7635#7635: open() “/run/nginx.pid” failed (2: No such file or directory)”], “stdout”: “”, “stdout_lines”: []}

Any ideas?

4
Lemmy Support @lemmy.ml starkcommando @lemmy.world

/run/nginx.pid\" failed (2: No such file or directory)

I am trying to host my own Lemmy instance. It was running great for awhile. I built the server using the ansible method. When I tried to rebuild the docker containers with ansible last night, I ran into this error.

FAILED! => {"changed": true, "cmd": "nginx -s reload", "delta": "0:00:00.066477", "end": "2023-07-27 23:12:26.216505", "msg": "non-zero return code", "rc": 1, "start": "2023-07-27 23:12:26.150028", "stderr": "2023/07/27 23:12:26 [notice] 7635#7635: signal process started\n2023/07/27 23:12:26 [error] 7635#7635: open() "/run/nginx.pid" failed (2: No such file or directory)", "stderr_lines": ["2023/07/27 23:12:26 [notice] 7635#7635: signal process started", "2023/07/27 23:12:26 [error] 7635#7635: open() "/run/nginx.pid" failed (2: No such file or directory)"], "stdout": "", "stdout_lines": []}

0
Does the idea of this concern anyone else? Why is no one talking about it?
  • How does Arch run in a laptop? I have a solid Windows laptop that that I'd like to test with Linux but I'm concerned about battery life. I've tried Ubuntu and Linux Mint but they seemed to drain battery like no other.

  • Disable OPNSense GUI on WAN
  • https://imgur.com/a/y2KdPNf

    These are the options I've found related to NAT reflection. After enabling the first option, I'm no longer taken to the GUI but I'm not hitting the web server either. Enabling the second makes no difference.

  • Disable OPNSense GUI on WAN

    Is there a way to disable access to the OPNSense GUI when entering the public IP address into a browser on the LAN?

    I'm hosting a webser on my home network. I can access the web server from the Internet, but when I'm internal and browse to the domain, I'm taken to the OPNSense GUI.

    4

    Accessing Lemmy Server with internal IP

    For those of you who host their own Lemmy instance internally, are you able to log in to your Lemmy account after connecting with the local IP address?

    I get SyntaxError: JSON.parse: unexpected character at line 1of the JSON data.

    EDIT: I should mention I use OPNSense and when I visit the domain, I'm taken to the router's login page.

    9
    Which Dynamic DNS Service are you using?
  • I have NameCheap as well. I was trying to set this up with the ddclient on OPNSense but the logs suggested it couldn't connect to NameCheap. What do you need to authenticate other than the DDNS passcode supplied by NameCheap?

  • Which Dynamic DNS Service are you using?
  • I have NameCheap as well. I found their Windows client after I made this post. I'm still curious is there are better services out there. It seems Cloudflare may have the best tools for security for a webserver, i.e. hiding the real IP address.

  • homelab @lemmy.ml starkcommando @lemmy.world

    Which Dynamic DNS service do you prefer?

    would like to host my own web server with a domain name I purchased but my public IP isn’t static.

    4

    Which Dynamic DNS Service are you using?

    I would like to host my own web server with a domain name I purchased but my public IP isn't static.

    71