you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (4 children)

Sorry I think we're getting stuck on the symlink. Mine doesn't have a symlink.

Why don't you copy both cert files to chatusers' home dir, give chatuser full permissions, and reconfigure unreal to use that path.

If that doesn't work, make 'irc' the file owner. I think unreal runs as user 'irc'.

[–]portcity[S] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (3 children)

Ok, we've got a partial victory ... Unreal is running!! (again!) I tried literally everything, and after just googling a bunch of stuff (because I truly don't want to keep messaging you all day for fear of burning you out, when I know I'm gonna really need you on much bigger stuff later ...) These are the commands I found that worked:

sudo chgrp -R ssl-cert /etc/letsencrypt
sudo chmod -R g=rX /etc/letsencrypt

I had a hunch that it had something to do with the ssl-cert group not having the right permissions, so I googled that, and that's what led me to the above commands which "let me in" so to speak.

All that said, don't release the balloon drop just yet ... the chatbox is still greyed out, with the same link inside it.

This is what sudo ls -l gives me: chatuser@redditclone:~/unrealircd$ sudo ls -l /etc/letsencrypt/live/portcity.online/fullchain.pem lrwxrwxrwx 1 reddit ssl-cert 44 Jul 20 01:48 /etc/letsencrypt/live/portcity.online/fullchain.pem -> ../../archive/portcity.online/fullchain1.pem

[–][deleted] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (2 children)

Good work! Thank you for learning and researching on your own. All of this frustrating little stuff is great linux admin experience.

the chatbox is still greyed out, with the same link inside it

What's in it? Does TheLounge load?

Can you restart unrealircd without issue?

Can you start TheLounge without issue?

[–]portcity[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (1 child)

I've been looking at development.update. Does this look right:

Chat

chat_home_channel = %(portcity.online)s chat_all_channel = %(portcity.online)s chat_front_channel = %(portcity.online)s chat_client_url = https://%(domain)s:2053

Should that last line read "portcity.online" where it says "domain"?

[–][deleted] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (0 children)

The chat_client_url is fine, but the rest should be simply

portcity

(I don't think period in a channel name is valid and no need for config variables here))