Sol 6 VI StatCmd

0 Followers
0 Following
1 Posts

Nextcloud can't see config.php in new install directory

https://lemmy.world/post/24639574

Nextcloud can't see config.php in new install directory - Lemmy.World

Hey everyone, it’s me again. [https://lemmy.world/post/24523007] 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 [https://privatebin.io/?b18c2032de4f5f59#HB9Aq6frnYQJSEuW6Nu2xB2XGc6qeVM5XN6g8GknBAr6]

Migrating from Apache2 to Caddy

https://lemmy.world/post/24609652

Migrating from Apache2 to Caddy - Lemmy.World

Hey there everyone, First of all thank you all so much for your help the other day getting the SSL certificate sorted in my original post here [https://lemmy.world/post/24523007]. So grateful so many people chimed in with helpful responses - I’ve learned a lot. That said a good chuck of you guys suggested it was crazy I was using apache when caddy was an option. It looks really great and I think I get the basic concept - but I’m having a bit of trouble porting my apache config over. If you have some free time and don’t mind, could I get some suggestions on how to get things running smoothly on caddy? Here are some of the parameters I’m working with: - I’ve moved my site directories to /var/www/ (for example /var/www/makearmy.io.lemmy/) - A good chuck of our web presence runs on varying php versions, most are running php83 - Note example.whatever.FT directories are running formtools which requires php74 Here are links to my configs: - httpd.conf [https://privatebin.net/?7a215d8d0f80c4ca#9f8FXVWLJXF2cPHLt3SSovQTJD9ZPJbfhQQAqG6UymdX] - httpd-vhosts.conf [https://privatebin.net/?f80f3e87d0b0e914#DYidgNMjQcyPvwvKw7ukc1RKx4c9U4bY82E7fWtCNLs5] - httpd-ssl.conf [https://privatebin.net/?65c9db0882a35292#DfKzVTiqVq95EKc656fvJDmSMVH45Z4v3nMbrkDQFsNe] - Caddyfile [https://privatebin.net/?7df63f28e300f698#4zjvxGrTBpLHftjYPis5hmArajzQQARqVBbu3axjGsyj] (just getting it started) Any suggestions at all on how to proceed are welcome! Thanks for your input and feedback. It’s been really hard since my buddy passed away and you guys have been a massive help reclaiming our business server he ran for us. Sincerely appreciate your time.

Just popping in this morning to thank everyone for their suggestions overnight. I have some stuff to look at now when I get to the office this morning. Can’t respond to every comment at the moment but I will. Just wanted to say thanks.

Can't renew cert on a self-hosted lemmy instance D:

https://lemmy.world/post/24523007

Can't renew cert on a self-hosted lemmy instance D: - Lemmy.World

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 [http://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 [https://pastebin.com/YehfTPNV] Here’s some recent output from my acme.sh/acme.log: [http://acme.sh/acme.log:] https://pastebin.com/PESVVNg4 [https://pastebin.com/PESVVNg4] Here’s the terminal read out and what I’m attempting to execute: https://pastebin.com/jfHfiaE0 [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.