sol6_vi

joined 6 months ago
[–] sol6_vi 6 points 12 hours ago

Ron Swanson is supposed to be the archetype libertarian.

[–] sol6_vi 3 points 12 hours ago

The eeepc was a modern marvel at the time change my mind!

[–] sol6_vi 2 points 12 hours ago

indeed smol bois

[–] sol6_vi 4 points 1 day ago (1 children)

Heyo! I just set up a full suite of fediverse nonsense over at MakrArmy.io! Congrats!

[–] sol6_vi 11 points 1 day ago* (last edited 1 day ago) (4 children)

Lol is this an eeepc?

(Edit: Samsung logo - it is not) 🤣

[–] sol6_vi 2 points 2 days ago

Thank you for teaching me how to replace my porch light (ONLY MY PORCH LIGHT?!?!) that's been out for over a year. I tried to pull the bulb out and it shattered in my hands. I was like WTF is this shit? Haven't touched it since.

[–] sol6_vi 2 points 5 days ago

I'm at the whim of the community lol I don't have a lot of my own experiences to rely on - just trying to make educated guesses. I have a few sites I'd like to host at home and I'll definitely be using caddy for that going forward it was super easy.

[–] sol6_vi 1 points 6 days ago

to my knowledge there's not a lot available for samsung hardware at the moment, maybe check out sailfish?

[–] sol6_vi 3 points 6 days ago

I don't have any experience with Lineage so I don't want to speak to it. May just be hardware dependent in a lot of cases. I had a pixel when I got sick of googles shit and Graphene was the only option for me, so that's what I sprung for. The experience has been very positive - installation was easy - the fresh start was welcome.

[–] sol6_vi 4 points 6 days ago (4 children)
[–] sol6_vi 1 points 6 days ago (1 children)

Turned out I had like 3 versions of php and 2 versions of postgres all installed in different places and fighting like animals. Cleaned up the mess, fresh install of php and postgres, restored postgres data to the database and bobs your uncle. What a mess.

Thank you for taking the time to help me. Got me focused on the right thing.

[–] sol6_vi 1 points 6 days ago (3 children)

Honestly I don't even recognize that path. I'm using php8.3-fpm and all of the paths have matched what guides typically suggest so far. Friend often installed things to weird directories manually. I don't know where nextcloud is drawing it's path to php or, more importantly, it's path to config.php. 🤔 I feel like if I can tell it that config.php has moved from /usr/local/apache/secure to /var/www - a lot of stuff will snap into place but that's where I'm hitting this strange wall.

8
submitted 1 week ago* (last edited 6 days ago) by sol6_vi to c/selfhosted
 

Update: Turned out I had like 3 versions of php and 2 versions of postgres all installed in different places and fighting like animals. Cleaned up the mess, fresh install of php and postgres, restored postgres data to the database and bobs your uncle. What a mess.

Thanks to everyone who commented. Your input is always so helpful.


Original Post

Hey everyone, it's me again. I'm now on NGINX, surprisingly simple, not here with a webserver issue today though, rather a nextcloud specific issue. I removed my last post about migrating from Apache to Caddy after multiple users pointed out security issues with what I was sharing, as well as suggesting caddy would be unable to meet my complex hosting needs. Thank you, if that was you.

During the NGINX setup which has gone shockingly smoothly I moved all of my site root directories from /usr/local/apache2/secure to /var/www/

Everything so far has moved over nicely... that is until nextcloud. It's showing an "Internal Server Error" when loading up. When I check the logs in nextcloud/data/nextcloud.log it informs me nextcloud can't find the config.php file and is still looking in the old apache webroot. I have googled relentlessly for about four hours now and everything I find is about people moving data directories which is completely irrelevant. Does anyone know how to get F*%KING nextcloud to realize that config.php is in /var/www/nextcloud/config where it belongs? I'm assuming nextcloud has an internal variable to know where it's own document root is but I can't seem to find it.

Thanks for any tips.

Cheers

nextcloud.log <- you can click me

44
submitted 1 week ago* (last edited 1 week ago) by sol6_vi to c/selfhosted
 

EDIT: Thanks everyone for your time and responses. To break as little as possible attempting to fix this I've opted to go with ZeroSSL's DNS process to acquire a new cert. I wish I could use this process for all of my certs as it was very quick and easy. Now I just have to figure out the error message lemmy is throwing about not being able to run scripts.

Thank you all for your time sincerely. I understand a lot more than I did last night.


Original Post

As the title says I'm unable to renew a cert on a self-hosted lemmy instance. A friend of mine just passed away and he had his hands all up in this and had it working like magic. I'm not an idiot and have done a ton of the legwork to get our server running and working - but lemmy specifically required a bit of fadanglin' to get working correctly. Unfortunately he's not here to ask for help, so I'm turning to you guys. I haven't had a problem with any of my other software such as nextcloud or pixelfed but for some reason lemmy just refuses to cooperate. I'm using acme.sh to renew the cert because that's what my buddy was using when he had set this all up. I'm running apache2 on a bare metal ubuntu server.

Here's my httpd-ssl.conf:

https://pastebin.com/YehfTPNV

Here's some recent output from my acme.sh/acme.log:

https://pastebin.com/PESVVNg4

Here's the terminal read out and what I'm attempting to execute:

https://pastebin.com/jfHfiaE0

If you can make any suggestions at all on what I might be missing or what may be configured incorrectly I'd greatly appreciate a nudge in the right direction as I'm ripping my hair out.

Thank you kindly for your time.

view more: next ›