A few questions about a new Saidit installation
submitted 4 months ago by portcity from (self.SaidIt)
view the rest of the comments →
[–]portcity[S] 3 insightful - 1 fun3 insightful - 0 fun4 insightful - 0 fun4 insightful - 1 fun - 4 months ago (9 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 ....
[–]d3rr 3 insightful - 1 fun3 insightful - 0 fun4 insightful - 0 fun4 insightful - 1 fun - 4 months ago (8 children)
I think we're worried about political censorship moreso than DMCA.. I donno. We're still at risk of DMCA. It all depends on what kind of content you envision. Finding a Ubuntu 14 host is a victory in itself.
Anyway I'm happy to support SaidIt and Reddit clones into the future. If you are planning on taking the site live, you've gotta review the 'Production Config' section of the README. I also have a huge web server optimization that's not listed there but will be soon.
[–]portcity[S] 3 insightful - 1 fun3 insightful - 0 fun4 insightful - 0 fun4 insightful - 1 fun - 4 months ago (7 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?
[–]d3rr 3 insightful - 1 fun3 insightful - 0 fun4 insightful - 0 fun4 insightful - 1 fun - 4 months ago (6 children)
And yes, the thumbnail paths are unfortunately in the database with their domain name, so you need a postgres query to update those if you change the domain.
[–]portcity[S] 3 insightful - 1 fun3 insightful - 0 fun4 insightful - 0 fun4 insightful - 1 fun - 4 months ago (5 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:
Now I'm working on the certbot ...
[–]d3rr 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - 4 months ago (4 children)
Good stuff man, that's the way to do it. I should test that flow sometime :)
[–]portcity[S] 3 insightful - 1 fun3 insightful - 0 fun4 insightful - 0 fun4 insightful - 1 fun - 4 months ago (3 children)
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 ...
[–]magnora7 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 4 months ago (2 children)
Nice I made a post: https://portcity.online/s/Introductions/comments/1/test_post/
Funny when you created the new batch of test data, it actually added data to my existing account! It added a bunch of posts and votes by magnora7 but I didn't make them. Must be a little bug in the test-data code. Funny
[–]portcity[S] 3 insightful - 1 fun3 insightful - 0 fun4 insightful - 0 fun4 insightful - 1 fun - 4 months ago (1 child)
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.
[–]magnora7 3 insightful - 1 fun3 insightful - 0 fun4 insightful - 0 fun4 insightful - 1 fun - 4 months ago (0 children)
Oh no it doesn't matter at all. I just thought it was funny because I've never tried injecting test data after creating an account, only before. I was just laughing at the code's eccentricities, it has no bearing on the functionality of the site.
The SSL thing is not too bad, d3rr has the procedure down to a science, do it how he suggests. We have to do the SSL renewal every 2 months.
Thank you for documenting your path as you launch this! I'm sure it will help others who try and do the same in the future. The more that is documented, the better!
If you get stuck do not hesitate to ask for help! We're excited to help people set up more saidits
use the following search parameters to narrow your results:
e.g. sub:pics site:imgur.com dog
sub:pics site:imgur.com dog
advanced search: by author, sub...
~2 users here now
Please only post things related to the saidit website itself.
If you want a place to post any topic to the community, please post at /s/whatever or /s/worldnews