My new favorite podcast (all things Epstein Conspiracy, including CIA / Mossad connection) Episode 1: The Ep Files by portcity in conspiracy

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

yeah i can do that. Will do tomorrow. They've put out 5 eps so far but one is behind a paywall on patreon.

My new favorite podcast (all things Epstein Conspiracy, including CIA / Mossad connection) Episode 1: The Ep Files by portcity in conspiracy

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

Well i don't know how much you listened to, but after the first "attempt" they identified the "attempter' (Tartaglione) and suited up Epstein with psychic armor, asking all the listeners to pray to keep him alive, as Epstein was in grave danger and we need him alive to get all the answers. (These are comedians hosting, but who are also like reporters who do a good job of digging into all this craziness).

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

Ok, I successfully replaced the Saidit logo with a PortCity logo I made in like 5 minutes with this command: $ scp /Users/user/Downloads/portcitylogo.png reddit@x.x.x.x:/home/reddit/src/reddit/r2/r2/public/static/saiditlogo.png

And by looking at the saiditlogo.png file in ranger, I can tell it's the new logo I made now.

And then I did the css refresh, but the logo hasn't changed on my site. Any thoughts?

Also I'm a little confused as to what you mean by "making overrides in theme-custom.less." I did undo all the changes I made in daymode.less, because i understand what you mean about wanting to get updates from you. But how do I use overrides to make changes going forward?

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

Hi! How are you? Everything is going well. I tried out some of 0eye's changes (which you can see at portcity.online , daymode). Can you tell me where in the files I can change the Saidit logo in the top banner and the little icons that appear when links don't surface an image? I know what I'm doing probably still looks very clumsy to you, but remember I was a complete noob at unix before I started working away at the reddit codebase, so I feel like all things considered I've come a long way (thanks to your help).

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

Two issues I've run into in the footer:

Do you know how I can set up the mobile site, aka this link: https://m.portcity.online (right now it just leads to nothing)

And right now this https://portcity.online/wiki/index/ leads to subscribed: forbidden (portcity.online)

This is the link connected to the OffsiteButton: https://saidit.net/s/SaidIt/wiki/index#wiki_apps_.26amp.3B_clients

So I'm not sure why it's forbidden?

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

Here's where the footer links are (putting it here so I'll remember it!) Line 1234: /home/reddit/src/reddit/r2/r2/lib/pages/pages.py

Happy almost weekend ....

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

Hey, just checking in. Everything is going well (that lounge flush is my best friend). Those brander_xxxx things are tricky. Changing some turns the site into a 503, but changing it back to brander_site fixes it again. I'm basically just figuring things out. Could you tell me where the appearance/design pieces are, like where 0eye the designer is changing images? Thanks so much again for all the help! I obviously couldn't do this without you. x

Alternative Social Media Sites? by [deleted] in AskSaidIt

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

Mastodon for twitter, but you have to create (or join) your own instance that revolves around a group or community you're interested in.

Should these design changes be made? by 0eye in AskSaidIt

[–]portcity 3 insightful - 1 fun3 insightful - 0 fun4 insightful - 1 fun -  (0 children)

I like the changes. If you want a place to experiment you're welcome to play with the design on my brand new Saidit installation. It has no users (it's only two weeks old) but if you want a place to try design changes on the saidit codebase in a live environment, you're welcome to try it on my site before it goes live here. Just send me a PM.

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

drum roll ........................... IT'S WORKING!!! YAY!!! I almost can't believe it. I couldn't figure out how to run that script so I just looked at it on github and ran each line by hand (lol).

The only thing that looks weird is it thinks the front page is something called:

%5BDEV%5D%20saidit

But honestly, after all this, I'm willing to live with that for a while.

Next question: when I try to turn on admin, it asks me for a one time verification code. I know this user is set as an admin in my config because early on my password alone turned on the admin. I must have flipped something on that made it start asking for this verification code thing.

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

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"?

Is there a designer on the dev team? by 0eye in SaidIt

[–]portcity 3 insightful - 1 fun3 insightful - 0 fun4 insightful - 1 fun -  (0 children)

Thanks for all the work you put in. Can't wait to see what it looks like.

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

Unrealircd restart without issue in terminal. Thelounge starts without issue in terminal.

Inside the grey box is this link (which used to read reddit.local's ip address cannot be found but now reads this): https://portcity.online:2053/?tls=true&lockchannel&autologin&user=VtFOG9xkX3JrlbYFog00RJnWW5HxmM&al-password=sAUfvG5XAgKOpR1xyzNFp9Mlk8KR1G&autoconnect&nick=portcity&username=portcity&realname=portcity&join=%23%255BDEV%255D%2520saidit

I honestly can't tell if TheLounge is loading or not ... it does have that "chat in new window" button.

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

[–]portcity[S] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (0 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

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

sudo chmod g+r /etc/letsencrypt/live/portcity.online/fullchain.pem

I'm still getting the same permission denied:

[warning] Failed to load SSL certificate /etc/letsencrypt/live/portcity.online/fullchain.pem error:0200100D:system library:fopen:Permission denied error:20074002:BIO routines:FILE_CTRL:system lib error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib [warning] Failed to load SSL (see error above), proceeding without SSL support...

Here's the output from sudo ls -l:

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

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

Ok, I changed both thelounge and unreal ssl certs ... now I'm getting permission denied again when I try to start unreal:

[warning] Failed to load SSL certificate /etc/letsencrypt/live/portcity.online/fullchain.pem error:0200100D:system library:fopen:Permission denied

I ran the chown and chmod you gave me earlier today multiple times on that certificate above and it didn't work. Could it have something to do with the fact that now i'm in user: chatuser (instead of user: reddit)?

Here is ls -l output:

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

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

This is what I have in theLounge config: key: "/etc/ssl/private/ssl-cert-snakeoil.key", certificate: "/etc/ssl/certs/ssl-cert-snakeoil.pem",

And those are the same as what I have in the Unrealircd config so I'm not sure what I need to change here?

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

Ok, a bit of progress: after copying the chat features from example.ini into development.update and futzing with them a bit, the chat box has changed from saying "reddit.local" to this mysterious link:

https://portcity.online:2053/?tls=true&lockchannel&autologin&user=VtFOG9xkX3JrlbYFog00RJnWW5HxmM&al-password=sAUfvG5XAgKOpR1xyzNFp9Mlk8KR1G&autoconnect&nick=portcity&username=portcity&realname=portcity&join=%23%255BDEV%255D%2520saidit

Does that mean anything to you? You could just look at it at https://portcity.online if that's easier.

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

Ok those new chown/chmods worked. Thanks!

I just copied some stuff from example.ini into development.update, and after I saved and closed development.update, I ran make ini. This is what I got: reddit@redditclone:~$ make ini make: *** No rule to make target `ini'. Stop.

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

> sudo ls -l /etc/letsencrypt/live/portcity.online/privkey.pem

This is the output:

lrwxrwxrwx 1 root root 42 Jul 20 01:48 /etc/letsencrypt/live/portcity.online/privkey.pem -> ../../archive/portcity.online/privkey1.pem

And as for development.update ... when I nano it, I notice that it's far shorter in length than example.ini (even though I've run make ini after closing development.update). Is it ok if I just copy/paste the contents of example.ini into development.update?

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

Today's issues: Trying to chown my certs, as per the updated README here: Setup SSL cert permissions, start unreal, and cleanup:

$ sudo usermod -aG ssl-cert reddit $ sudo usermod -aG ssl-cert irc $ ./unrealircd start $ rm -rf ~/unrealircd-4.2.3*

I'm still getting permission denied on the cert, meaning there's something about this process that isn't working. I've done quite a bit of googling on this, and I haven't found a chown that really differs from this however.

Second, I've been investigating example.ini and I can't figure out how to create my own file and run make ini on it. Here are the instructions at the top of example.ini:

DO NOT EDIT THIS FILE

This is a base template. To apply changes to your

reddit instance, create a "myreddit.update" config

file, then run 'make ini'. 'make ini' will combine

this template with the myreddit.update file and create a

'myreddit.ini'. ('myreddit.update' is just an example;

any name will do - e.g., 'foo.update' will create

'foo.ini')

I did create a file called portcity.update. But when I run make ini, I get reddit@redditclone:~$ make ini make: *** No rule to make target `ini'. Stop.

I'm thinking maybe I created portcity.update wrong somehow (like is there a special procedure to create a config file?) Can I just use development.update? Or is that bad.

Thanks and happy weekend!

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

Ok I think I'm almost there. Here is what I've learned: I figured out that even though I had done the full remove procedure on anope in all my users multiple times, there was this lingering anope-2.0.6-source.tar.gz file that was showing up under user:chatuser but was installed in root. It wasn't being removed because it was labeled with a "1" on the end (I presume because of the multiple installations). So I manually removed it and now all the chat features appear to be installed.

I'm still getting the "reddit.local's IP address cannot be found" in the box on my sidebar but I'm about to scour the config files on all the chat features and see if I can't find somewhere where it should have my domain.

Meanwhile, earlier you wrote this which I'm confused by: "One thing you will need to do for the full chat setup is configure both TheLounge and Unrealircd to use your SSL cert. How I do it is copy and rename the certs to here, and have theLounge and Unreal use these copies (unreal expects these names, no config change needed for unreal):

/home/reddit/unrealircd/conf/ssl/server.cert.pem
/home/reddit/unrealircd/conf/ssl/server.key.pem

So if my user is chatuser, should those read /home/chatuser/ ? Do you mean I change those in the Lounge config file but I don't need to worry about it in Unrealircd?

Thanks again. x

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

I just removed anope from root and reddit (users) and went through the anope install again only to find it installed in root again. Again, I checked before ./Configure to make sure it was only installed in chatuser. So something is happening here to put it in root: $ ./Config # press [Enter] a bunch, accept defaults $ cd build/ $ make $ make install

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

This was the only place I used sudo on the anope install: sudo apt-get install cmake build-essential

I'm going to try removing it again and re-installing it again. I feel like maybe this has something to do with the fact that I've installed and re-installed it so many times. Maybe I'll go into root and remove it there too this time.

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

What's weird is I was super paranoid about making sure I wasn't installing to root so I ran sudo ls -la before ./Config and it showed me that anope was all installed in chatuser (this go-around, before the rest of the installation). I really don't know how it got screwed up this bad!

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

Because of that "permission denied" I ran sudo ls -la and it showed that somehow anope installed itself in root again?? (ugh). So I fully removed anope, reinstalled it all again, and still got the following when I ran sudo ls -la

chatuser@redditclone:~/services/conf$ sudo ls -la [sudo] password for chatuser: total 304 drwxr-xr-x 2 root root 4096 Jul 21 03:14 . drwxrwxr-x 8 chatuser chatuser 4096 Jul 20 22:46 .. -rw-r--r-- 1 root root 14536 Mar 28 2017 botserv.example.conf -rw-r--r-- 1 root root 34000 Mar 28 2017 chanserv.example.conf -rw-r--r-- 1 root root 1795 Jul 30 2016 chanstats.example.conf -rw-r--r-- 1 chatuser root 952 Mar 28 2017 example.chk -rw-r--r-- 1 root root 40293 Mar 30 2017 example.conf -rw-r--r-- 1 root root 3007 Jul 30 2016 global.example.conf -rw-r--r-- 1 root root 4921 Jul 30 2016 hostserv.example.conf -rw-r--r-- 1 root root 2471 Jul 30 2016 irc2sql.example.conf -rw-r--r-- 1 root root 6036 Mar 28 2017 memoserv.example.conf -rw-r--r-- 1 root root 20067 Oct 9 2017 modules.example.conf -rwxr-xr-x 1 root root 22701 Jul 24 21:23 nickserv.conf -rwxr-xr-x 1 root root 22701 Mar 28 2017 nickserv.example.conf -rwxr-xr-x 1 root root 22240 Jul 24 21:37 operserv.conf -rwxr-xr-x 1 root root 22240 Mar 28 2017 operserv.example.conf -rw-r--r-- 1 root root 40369 Jul 21 03:27 services.conf -rw-r--r-- 1 root root 14767 Jul 30 2016 stats.standalone.example.conf chatuser@redditclone:~/services/conf$

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

All right, I def changed the ulines beforehand ... your command to restart unrealircd worked .... (thanks!) .... now I'm installing anope and when I ran make install I got this:

Install the project... -- Install configuration: "RELEASE" -- Up-to-date: /home/chatuser/services/conf/example.chk -- Up-to-date: /home/chatuser/services/conf/botserv.example.conf CMake Error at data/cmake_install.cmake:36 (FILE): file INSTALL cannot set permissions on "/home/chatuser/services/conf/botserv.example.conf" Call Stack (most recent call first): cmake_install.cmake:49 (INCLUDE)

make: *** [install] Error 1 chatuser@redditclone:~/anope-2.0.6-source/build$

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

Ok, I tried loading cd ~/unrealircd first and then running the start command and that started to work, but then I got this (It seems to think IRCd is already running?):

Error binding stream socket to IP :: port 6900 - :Address already in use Failed to bind to *:6900 Error binding stream socket to IP 0.0.0.0 port 6900 - :Address already in use Failed to bind to *:6900 Error binding stream socket to IP :: port 6697 - :Address already in use Failed to bind to *:6697 Error binding stream socket to IP 0.0.0.0 port 6697 - :Address already in use Failed to bind to *:6697 Error binding stream socket to IP :: port 6667 - :Address already in use Failed to bind to *:6667 Error binding stream socket to IP 0.0.0.0 port 6667 - :Address already in use Failed to bind to *:6667

IRCd could not listen on any ports. If you see 'Address already in use' errors above then most likely the IRCd is already running (or something else is using the specified ports). If you are sure the IRCd is not running then verify your listen blocks, maybe you have to bind to a specific IP rather than "*".

UnrealIRCd failed to start. Check above for possible errors.

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

chatuser@redditclone:~$ ./unrealircd start -su: ./unrealircd: Is a directory

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

That section I pastebin'ed to you was line 244. After I "fixed" it, it gave me "is a directory" again.

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

I'm reinstalling all the chat features to try to change all the reddit.local's ... and now when I run ./unrealircd start I get "is a directory" I reinstalled unrealircd and running ./unrealircd start worked but gave me an error on line 244

So I carefully fixed it, then ran ./unrealircd start again, and got "is a directory" again. (???)

So this pastebin shows the only section I changed during all this. Can you see an error or what I did wrong here?

https://pastebin.com/MSUgfsgU

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

The refreshing CSS procedure worked! YAY!! Really can't thank you both enough (y'all will get tired of hearing me say this). Also, I spent literally weeks banging my head against a wall trying to figure out how to make the old Reddit codebase work by myself (with no one to help me, just googling every problem and clumsily trying to fix everything with the help of message board answers) so I'm afraid I may have picked up some bad habits from doing that. Like, on my install of the old reddit codebase it was hugely important to have my IP pointed to reddit.local so I may have figured it was the same here. Can't thank you enough for your generosity again. x cc: /u/magnora7

Ok I broke something on my saidit install. Pastebin shows section of admin config I was working on when I broke the UI :( by portcity in SaidIt

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

Thanks for responding u/magnora7. I tried this stop/flush/start sequence twice and that didn't work. Maybe u/d3rr could chime in, sure enough. It also occurred to me that maybe the problem had something to do with me running the following (located just under the lounge setup on the github): SaidIt Dev Guide Logging $ sudo tail -f /var/log/syslog

g.log.warning("hello log") Profiling Set profile_directory in development.update to an absolute path and create the directory first. cProfile results can be viewed with pstats.

Mounting VM files locally You can mount the reddit open source app's files as a folder on your host machine for easy editing and searching. On your host/development machine:

$ sudo apt-get install sshfs $ mkdir ~/vm $ sshfs reddit@reddit.local:/home/reddit/src/reddit ~/vm

optionally unmount it later with:

$ fusermount -u ~/vm

Today's Issues on my New Saidit Install by portcity in SaidIt

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

This is what I found when I ran grep reddit.local

reddit@redditclone:~$ sudo grep -r "reddit.local" /etc/
[sudo] password for reddit: 
/etc/letsencrypt/accounts/acme- v02.api.letsencrypt.org/directory/df4b3d506c0d55f36baa0507c6f684f8/meta.json:{"creation_host": "reddit.local", "creation_dt": "2019-07-18T01:30:22Z"}
/etc/mtab:reddit@reddit.local:/home/reddit/src/reddit 
/home/reddit/vm fuse.sshfs rw,nosuid,nodev,user=reddit 0 0

Today's Issues on my New Saidit Install by portcity in SaidIt

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

Ok, I'll do that but first ... did you see how I broke the UI while working on the rest of the admin config? I'm not sure but I think it was while I was working on this section: Set the default subs $ cd ~/src/reddit/r2 $ paster shell run.ini # paste the following, hit enter: from r2.models import * srs = [Subreddit._by_name(n) for n in ("pics", "videos", "science", "technology")] LocalizedDefaultSubreddits.set_global_srs(srs) LocalizedFeaturedSubreddits.set_global_srs([Subreddit._by_name('pics')]) exit()

Here's a pastebin of the section of the github I was working on when the UI broke: https://pastebin.com/CEe7hjHi

Today's Issues on my New Saidit Install by portcity in SaidIt

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

You nailed it. I had gotten into the habit of always putting "sudo" in front of every command because I was getting a lot of "permission denied" if I didn't do that, so yes, I did put "sudo git" while installing that git clone. So I just reinstalled the lounge, and it seemed to work.

Where I'm at now: when I load https://portcity.online, it works ... but when I load the "unsafe scripts" it breaks the SSL and reverts back to http ... that loads the box on the right (which I think is the IRC client?) but it's blank and it says "reddit.local's IP address could not be found." I am positive I edited /etc/hosts to have my VPS IP point to reddit.local

Today's Issues on my New Saidit Install by portcity in SaidIt

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

ls -la ~/lounge-autoconnect

Yup: https://pastebin.com/zA0ni0EM

Today's Issues on my New Saidit Install by portcity in SaidIt

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

cd ~/lounge-autoconnect

reddit@redditclone:~$ cd ~/lounge-autoconnect
reddit@redditclone:~/lounge-autoconnect$ touch thelounge.log
touch: cannot touch ‘thelounge.log’: Permission denied

Ok, I used those commands above to remove the lounge from user: chatuser.

Today's Issues on my New Saidit Install by portcity in SaidIt

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

Ok I did everything all over again, installing The Lounge in user: reddit, and I got the exact same permission denied problem (see the results of ls -la in this pastebin: https://pastebin.com/3efUw36U The only thing I haven't done is I haven't updated the certificate so that the Lounge certificate is the same as the Unrealircd cerfificate (because I've been following the instructions to the letter and the instructions say to use the certificate with the word "snakeoil" in it.

I also installed Node and curl on user:reddit.

I'm also not totally sure how to remove installed packages? I know about rm -rf but that didn't seem to work on removing the lounge from chatuser. Like maybe I don't know the exact paths?

Today's Issues on my New Saidit Install by portcity in SaidIt

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

Running it as user 'reddit' I get "no such file or directory'

Today's Issues on my New Saidit Install by portcity in SaidIt

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

ls -la /home/chatuser/.lounge

I'm not totally sure how to read this. Also, my formatting gets removed so it makes it harder for you to read this:

chatuser@redditclone:~/lounge-autoconnect$ ls -la /home/chatuser/.lounge total 24 drwx------ 4 chatuser root 4096 Jul 21 03:36 . drwxr-xr-x 10 chatuser chatuser 4096 Jul 21 03:01 .. -rw-r--r-- 1 chatuser root 7801 Jul 21 03:42 config.js drwxr-xr-x 2 chatuser root 4096 Jul 21 00:37 storage drwxr-xr-x 2 chatuser root 4096 Jul 21 03:44 users

Today's Issues on my New Saidit Install by portcity in SaidIt

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

I'm still getting "permission denied" even after I ran

sudo chown -R chatuser /home/chatuser/.lounge

I also ran a variety of other sudo chmod and sudo chown commands I found online before I even asked you because I hate to keep bothering you with every little thing! :(

Today's Issues on my New Saidit Install by portcity in SaidIt

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

chatuser@redditclone:~/lounge-autoconnect$ sudo ls -la /home/chatuser/.lounge total 24 drwx------ 4 root root 4096 Jul 21 03:36 . drwxr-xr-x 10 chatuser chatuser 4096 Jul 21 03:01 .. -rw-r--r-- 1 root root 7801 Jul 21 03:42 config.js drwxr-xr-x 2 root root 4096 Jul 21 00:37 storage drwxr-xr-x 2 root root 4096 Jul 21 03:44 users

Looks like it does think root owns it? Even though I was carefully to install it all under "chatuser" since the instructions say to install all the IRC stuff under a dedicated user ...

Today's Issues on my New Saidit Install by portcity in SaidIt

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

Today's Issues on my New Saidit Install by portcity in SaidIt

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

cd ~/lounge-autoconnect npm start returned this: https://pastebin.com/HdPntYa5

Today's Issues on my New Saidit Install by portcity in SaidIt

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

Trying to start TheLounge with this command: start TheLounge:

$ cd ~/lounge-autoconnect $ nohup npm start ./ > thelounge.log 2>&1 &

I'm getting Permission denied

Today's Issues on my New Saidit Install by portcity in SaidIt

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

Okay, I fixed the problem re: Anope just by reinstalling it more carefully. Please ignore the issue regarding how I couldn't open ./services. But I still don't know how to add that exception to it ...

the SSL on my new Saidit instance by portcity in SaidIt

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

the SSL on my new Saidit instance by portcity in SaidIt

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

YAY! The long command was a success. I got this:

IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/portcity.online/fullchain.pem Your key file has been saved at: /etc/letsencrypt/live/portcity.online/privkey.pem Your cert will expire on 2019-10-17. To obtain a new or tweaked version of this certificate in the future, simply run certbot again. To non-interactively renew all of your certificates, run "certbot renew"

However when I test the site at SSL Lab, I get these errors: https://www.ssllabs.com/ssltest/analyze.html?d=portcity.online&hideResults=on#whyNotTrusted

the SSL on my new Saidit instance by portcity in SaidIt

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

lmao how fast can I wear out my welcome ... I'm certainly trying, aren't I?

the SSL on my new Saidit instance by portcity in SaidIt

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

sudo certbot certonly --manual --preferred-challenges dns -d saidit.net -d www.saidit.net -d m.saidit.net -d oauth.saidit.net

I just can't seem to get this right. After installing certbot, and running the long command quoted above, and entering 4 TXT files at my domain registrar, I get these errors: https://pastebin.com/HHcVnJB9

the SSL on my new Saidit instance by portcity in SaidIt

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

sudo certbot certonly --manual --preferred-challenges dns -d saidit.net -d www.saidit.net -d m.saidit.net -d oauth.saidit.net

I got sudo: certbot: command not found :(

the SSL on my new Saidit instance by portcity in SaidIt

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

I tried to run certbot again and got the following errors: https://pastebin.com/50NdbGTn So then I decided to change the lines you listed above in /etc/nginx/sites-available/reddit-ssl and I got these errors: https://pastebin.com/KHPT94z7 As for this recent era in free speech ... I can't get over how the Trump people are both destroying our free speech protections (with Sesta/Fosta, lots of other examples) and simultaneously trying to claim to be free speech victims, when they are challenged or rejected for their views. It's sickening. Thanks again -- J

the SSL on my new Saidit instance by portcity in SaidIt

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

/home/reddit/src/reddit/r2/development.update

Really admire your commitment to these principles. Here is the development.update file: https://pastebin.com/7ErubFaD And here is the nginx: https://pastebin.com/5Z3Suycu So grateful to you!

the SSL on my new Saidit instance by portcity in SaidIt

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

I haven't figured out which one is the reddit config file yet, after an hour looking. I'm hesitant to clog up your inbox asking a ton of questions because I know your time and expertise are valuable! :( Julie

the SSL on my new Saidit instance by portcity in SaidIt

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

Thank you so much for helping me. Here is the /etc/nginx/nginx.conf file: user www-data; worker_processes 4; pid /run/nginx.pid;

events { worker_connections 768; # multi_accept on; }

http {

    ##
    # Basic Settings
    ##

    sendfile on;
    tcp_nopush on;
    tcp_nodelay on;
    keepalive_timeout 65;
    types_hash_max_size 2048;
    # server_tokens off;

    # server_names_hash_bucket_size 64;
    # server_name_in_redirect off;

    include /etc/nginx/mime.types;
    default_type application/octet-stream;

    ##
    # Logging Settings
    ##

    access_log /var/log/nginx/access.log;
    error_log /var/log/nginx/error.log;

    ##
    # Gzip Settings
    ##

    gzip on;
    gzip_disable "msie6";

    # gzip_vary on;
    # gzip_proxied any;
    # gzip_comp_level 6;
    # gzip_buffers 16 8k;
    # gzip_http_version 1.1;
    # gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml$

## # nginx-naxsi config ## # Uncomment it if you installed nginx-naxsi ##

    #include /etc/nginx/naxsi_core.rules;

    ##
    # nginx-passenger config
    ##
    # Uncomment it if you installed nginx-passenger
    ##

    #passenger_root /usr;
    #passenger_ruby /usr/bin/ruby;

    ##
    # Virtual Host Configs
    ##

    include /etc/nginx/conf.d/*.conf;
    include /etc/nginx/sites-enabled/*;

}

mail {

# See sample authentication script at:

# http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript

# auth_http localhost/auth.php;

# pop3_capabilities "TOP" "USER";

# imap_capabilities "IMAP4rev1" "UIDPLUS";

server {

listen localhost:110;

protocol pop3;

proxy on;

}

server {

listen localhost:143;

protocol imap;

proxy on;

}

}

A few questions about a new Saidit installation by portcity in SaidIt

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

Lol, sorry. You know I didn't do that. I was literally out on a walk by the beach. But even if the test data code does have a bug, it doesn't matter right? Because presumably I and whoever uses it will eventually delete and filter all of it out. Thanks so much for testing it! Now I just have to fix this darn SSL problem and [everything else I have to do]. I really can't overstate how much I appreciate what you guys have done. Hopefully if I document my efforts here (and solves I find) it will help others who google and find my posts to install their instances.

A few questions about a new Saidit installation by portcity in SaidIt

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

Miss :) So I just tested the SSL at the SSL Lab and the domain name http://portcity.online (the cheapest temp domain name I could find till i figure out a good one) got an A rating but the actual IP address failed the test, saying Warning: Inconsistent server setup. Now I need to dig around in the DNS records between the domain and the IP and figure out where I did something wrong ...

A few questions about a new Saidit installation by portcity in SaidIt

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

I actually changed the domain name to my domain name before I ran the install, so I think all that is ok. I did this: REDDIT_DOMAIN=yourdomain.com ./install-reddit.sh Now I'm working on the certbot ...

A few questions about a new Saidit installation by portcity in SaidIt

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

If anyone reading this wants to know where I found the Ubuntu 14.04 server, I found it at Virmach.com, which I was already using for other ... ah censorship-resistant related activities (lol). I would definitely be interested in the web server optimization section, and yeah, I'm going to be taking the site live pretty much immediately. One other question I have is this: my SSL appears to be broken, but I checked with my domain registrar and the rep told me that the links & images from the reddit test data is what broke my SSL (ie there's a broken SSL somewhere in the test data). However when I reinstalled with no test data, the SSL is already broken, before any test data is installed. Any thoughts on that?

A few questions about a new Saidit installation by portcity in SaidIt

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

Thanks so much! I just read that y'all moved your servers to Switzerland (I'm guessing because you had the DMCA takedown?). I set up my server in Buffalo because my host offered free DDOS protection, but I'm thinking maybe I should go ahead and move my server to Europe before I ramp this thing up ....

A few questions about a new Saidit installation by portcity in SaidIt

[–]portcity[S] 4 insightful - 1 fun4 insightful - 0 fun5 insightful - 1 fun -  (0 children)

Thank you so much for replying, and more, for creating such a fabulous codebase and social network. The fact that I, a coding noob, was able to install it all twice (once with the testing data, and once without it, for my young nephew who is interested in coding) shows how good a job you did. I tried at first with the reddit codebase and kept failing because the login kept resolving to reddit.local even after I edited the /etc/hosts file every which way I could find ... but saidit installed beautifully, perfectly the first time! YAY!! What a relief.

As for where I found this command: sudo start reddit-job-update_popular_subreddits It came from here: https://www.reddit.com/r/RedditOpenSource/comments/8id3eg/how_to_install_reddit_open_source_on_a_virtual/

Looks like that was written by your partner? Thank you so much again. Your work was exactly what I was looking for to start a small arts-focused community. I also really appreciate the values you show here. All best, J

A few questions about a new Saidit installation by portcity in SaidIt

[–]portcity[S] 4 insightful - 1 fun4 insightful - 0 fun5 insightful - 1 fun -  (0 children)

And thank you for any help you can give me!! x J