#wordpress 2025-03-13

2025-03-13 UTC
sebbu, [snarfed], Amon, [capjamesg], gRegorLove_, gRegorLove__, bkardell, [qubyte]1 and arbourtrary joined the channel
#
Kolev
GWG, OK, I'm having a painful time with HTTPS setup with Let's Encrypt.
#
Kolev
https://calebh.top/ is offline.
#
Kolev
GWG, the installation instructions for ClassicPress just say to install a WordPress plugin...
#
[snarfed]
looks like the cert on that site is fine, the problem is something else, maybe a permissions issue somewhere or bad nginx config
#
GWG
That's should be a WP issue though
#
Kolev
Ugh...
#
Kolev
Also, I can't create the database in PHPMyAdmin. No access privs.
#
Kolev
Docs I followed:
#
Kolev
GWG, IDK what to do now.
#
GWG
Let's try a few things... forbidden suggests a nginx config problem, not necessarily WordPress
#
GWG
Who owns the directory?
#
Kolev
GWG, drwxr-xr-x 3 root root 4096 Mar 13 16:11 calebh.top
#
GWG
Well, usually the files should belong to the user running nginx
#
GWG
On Ubuntu usually www-data
#
Kolev
GWG, I'm on Trisquel. I did `apt install nginx`.
#
GWG
Yes, point still remains..it usually isn't the root user
#
Kolev
GWG, how do I find out? ...
#
Kolev
systemctl status nginx doesn't say...
#
GWG
Go to /etc/nginx/nginx.conf and it usually has the username running it
#
Kolev
GWG, what line? I don't see anything.
#
GWG
Mine has a line for user and group
#
GWG
Is there a default directory for nginx you can check the owner of?
#
Kolev
GWG, nginx.conf - https://dpaste.com//8XKJZY8JT
#
GWG
www-data, it says
#
Kolev
I'm going to take a break. My back hurts and my laptop battery is dead.
#
Kolev
My email is csh@bluehome.net.
#
GWG
Yes, but the WordPress directory should be owned by www-data
#
Kolev
GWG: what about /var/www
[dave] joined the channel
#
GWG
If that's your root
#
GWG
Sorry for being slow, in and out for the next few hours.
#
Kolev
GWG: we can take this to email if that's easier
#
GWG
No. This is fine. It gives others a chance to help too
#
Kolev
chowm -R www-data:www-data /var/www/calebh.top/html?
#
Kolev
I'm not even getting 403 from calebh.top.
#
GWG
I'm getting, we're having trouble finding that site.
#
Kolev
I made an A record to my IP address but yeah, I get that error.
#
Kolev
And I forwarded port 443
#
GWG
How long ago did you chance DNS? It could take time
#
Kolev
GWG: an hour ago
#
GWG
I looked at the site earlier when I got the nginx error, may have cached it
[Sophie_Young] and sebbu2 joined the channel