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 3 points 1 year ago (4 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 3 points 1 year ago

The 3rd option worked. Thanks for your help!

[–] starkcommando 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 3 points 1 year ago

I mean from the same LAN.

24
submitted 1 year ago* (last edited 1 year ago) by starkcommando to c/selfhosted
 

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.

[–] starkcommando 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 3 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 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 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.

98
submitted 1 year ago* (last edited 1 year ago) by starkcommando to c/selfhosted
 

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

[–] starkcommando 1 points 1 year ago

It's getting better...

[–] starkcommando 2 points 1 year ago

That is incredible!

[–] starkcommando 2 points 1 year ago

Suggestion: add the option to open links in an external browser.

[–] starkcommando 1 points 1 year ago

Does the fan on the right benefit the aquarium?

view more: next ›