starkcommando

joined 1 year ago
 

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?

 

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": []}

[–] starkcommando@lemmy.world 2 points 1 year ago (1 children)

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.

[–] starkcommando@lemmy.world 3 points 1 year ago

The 3rd option worked. Thanks for your help!

[–] starkcommando@lemmy.world 2 points 1 year ago (1 children)

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.

 

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.

[–] starkcommando@lemmy.world 2 points 1 year ago

I mean from the same LAN.

 

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.

[–] starkcommando@lemmy.world 1 points 1 year ago (1 children)

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?

[–] starkcommando@lemmy.world 2 points 1 year ago (2 children)

Where are the settings for these tunnels located in Cloudflare? I was looking around the website last night but didn't have any luck.

[–] starkcommando@lemmy.world 2 points 1 year ago (2 children)

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.

[–] starkcommando@lemmy.world 12 points 1 year ago* (last edited 1 year ago) (1 children)

Here we go down another rabbit hole... 😆

 

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

 

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

[–] starkcommando@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (2 children)

I've been debating hosting my own instance. Are you hosting on a cloud platform or a home server?

[–] starkcommando@lemmy.world 2 points 1 year ago

Here's my contribution!