These are chat archives for scytherswings/Plex-Board

13th
Apr 2017
Andrew Newell
@scytherswings
Apr 13 2017 00:30
@seanvree ok I'm home
here i am googling how to install IIS
lol
Andrew Newell
@scytherswings
Apr 13 2017 01:03
gotta use httpPlatformHandler 1.2 http://go.microsoft.com/fwlink/?LinkId=690721
Sean Vreeland
@seanvree
Apr 13 2017 01:22
Yeah, I understood the article. It's easy
Andrew Newell
@scytherswings
Apr 13 2017 01:22
I've found some bugs with my scripts
tweaking them
Sean Vreeland
@seanvree
Apr 13 2017 01:22
like I said, I don't think this will really help us here.
using iis for this project isn't the way to go
Andrew Newell
@scytherswings
Apr 13 2017 01:23
why not? I think web.config isn't a bad idea to include for users like you
It's not what I would do by default
but it should make doing what you wanted to do easier
And i'd like to make it as easy as possible to use
Sean Vreeland
@seanvree
Apr 13 2017 01:29
I'll have to dig into it more and test it out but having people install IIS and configure it to run rails is a big task unless you were already using IIS
IIS is huge man, it's not easy to just throw up a webserver
Andrew Newell
@scytherswings
Apr 13 2017 01:30
I just enabled the windows feature
heh
Sean Vreeland
@seanvree
Apr 13 2017 01:30
Lol yeah man, it's easy to install
you know what IIS is right?
Andrew Newell
@scytherswings
Apr 13 2017 01:31
That's a bit of a broad question
Sean Vreeland
@seanvree
Apr 13 2017 01:31
iis is a webserver
there's NO reason to install IIS for one ruby app
Andrew Newell
@scytherswings
Apr 13 2017 01:32
In production environments, Ruby, along with most other applications, gets paired with a reverse proxy like apache or nginx
ruby will happily run on its own without a reverse proxy
but for users who want the stuff you did
I figured we might as well help them, and you out by making it easier, right?
Sean Vreeland
@seanvree
Apr 13 2017 01:33
of course, I just don't think we should spend any time on looking at it
up to you tho
Andrew Newell
@scytherswings
Apr 13 2017 01:33
You're my main source of feedback haha
Of course I want to make sure it works well for you
Sean Vreeland
@seanvree
Apr 13 2017 01:33
for me peronsally?
ha
it will work fine once we can get the reverse proxy deal figured out
Andrew Newell
@scytherswings
Apr 13 2017 01:34
exactly
so i'm replicating your setup
Sean Vreeland
@seanvree
Apr 13 2017 01:34
ahhh, okay
Andrew Newell
@scytherswings
Apr 13 2017 01:34
now i have to figure out how to start this webserver
Sean Vreeland
@seanvree
Apr 13 2017 01:34
I thought you were talking about that article
Andrew Newell
@scytherswings
Apr 13 2017 01:34
well I thought that article was helpful
I figure I'm going to try to do it that way
isn't that what you would normally do in a production IIS environment?
Sean Vreeland
@seanvree
Apr 13 2017 01:35
no
it's not
you wouldn't install a ruby app directly into the root webserver folder
that's the whole point of a revsere proxy
so the webserver can talk to "backend" apps such as this
it's a great article which I have to more research on
just getting reverse proxy set up in IIS WITHOUT using AAR (application routing) is a task man
but, like I said, up to you my man
Andrew Newell
@scytherswings
Apr 13 2017 01:39
well
hmm
Sean Vreeland
@seanvree
Apr 13 2017 01:40
dude, trust me
forget IIS
Andrew Newell
@scytherswings
Apr 13 2017 01:40
503 for life
where's my clicky clicky buttons
no logs
Sean Vreeland
@seanvree
Apr 13 2017 01:41
huh?
Andrew Newell
@scytherswings
Apr 13 2017 01:41
so what do you want to work on
if this is a dead end
Sean Vreeland
@seanvree
Apr 13 2017 01:41
is it a dead end?
Andrew Newell
@scytherswings
Apr 13 2017 01:41
i was excited because i thought this was the desired way to deploy for IIS
Sean Vreeland
@seanvree
Apr 13 2017 01:42
ruby doesn't do reverse proxy?
Andrew Newell
@scytherswings
Apr 13 2017 01:42
No, it does
Sean Vreeland
@seanvree
Apr 13 2017 01:42
you're not understanding me
yes, this WOULD work for IIS
but MOST people don't use IIS
most peole are using apache
even on windows
I like IIS because I used to manage huge IIS servers
so I know it VERY well
Andrew Newell
@scytherswings
Apr 13 2017 01:43
I have next to 0 experience with it. Had to use it in a few labs, had to set up some things to get RDS working for a client one time
ADCS
and some other shit
but yeah I am not familiar with it
Sean Vreeland
@seanvree
Apr 13 2017 01:44
yeah, I already had it running all my other apps like sonarr/radarr
ONCE you have it set up for reverse proxy, it's easy to add an app like this
but initally getting reverse proxy set up? NO, it sucks
Andrew Newell
@scytherswings
Apr 13 2017 01:44
hmmmmmm
alright
i need to figure out how to make this reverse proxy business more flexible and less finnicky
Sean Vreeland
@seanvree
Apr 13 2017 01:45
if we can get the ruby reverse proxy thing to work then it doesn't matter what webserver they are using
reverse proxy is OS independant
Andrew Newell
@scytherswings
Apr 13 2017 01:46
Yeah, I'm frustrated with it because every production deployment automatically puts it behind nginx. Like if you deploy to AWS elasticbeanstalk they transparently configure that for you
and everything just fucking works
magic
Sean Vreeland
@seanvree
Apr 13 2017 01:46
yeah, that's what I'm saying
Andrew Newell
@scytherswings
Apr 13 2017 01:46
so i need to research how that's done because obviously i'm missing something
Sean Vreeland
@seanvree
Apr 13 2017 01:46
I don't understand why you would put in the same exteranal FWDN in the config file
there should be a way to put in local host and IP, Base URL, and external FQDN
just like every other app liek this...Radarr, sonarr, headphones, PLEX
they all have that basic functionality in their settings
Andrew Newell
@scytherswings
Apr 13 2017 01:48
right
Andrew Newell
@scytherswings
Apr 13 2017 03:18
Almost done overhauling the way we handle reverse proxies and the config file
I haven't gotten to fully test it yet though
Andrew Newell
@scytherswings
Apr 13 2017 03:39
@seanvree
ok
I just pushed a big change to dev
The server_config.yml file now looks more like what you're used to seeing
I changed some internal behavior too and I think I'm closer to what it should be
i'll see if I can test it on windows
Andrew Newell
@scytherswings
Apr 13 2017 03:49
Sweet
I think you don't have to convert the files if you use the Command Prompt with Ruby and Rails
it just works
Sean Vreeland
@seanvree
Apr 13 2017 04:17
DOPE!
my server went down with all the big windows update that went out today, so I'm working on that
Andrew Newell
@scytherswings
Apr 13 2017 04:17
Just tested the scripts and updated the windows wiki again
yeah I saw your email
you've been getting fucked over pretty hard lately
Sean Vreeland
@seanvree
Apr 13 2017 04:18
dude, seriously
Andrew Newell
@scytherswings
Apr 13 2017 04:19
Sending good vibes
lol
Sean Vreeland
@seanvree
Apr 13 2017 04:22
lol:
# Most users won't run the app behind a reverse proxy, if you don't know that that is then leave this alone.
# Example: true
# Default: false
use_reverse_proxy: false
good think you put example in there
ha
Andrew Newell
@scytherswings
Apr 13 2017 04:22
hahahaha
yep
:grin:
Gotta be explicit sometimes
people find good ways to screw shit up
Andrew Newell
@scytherswings
Apr 13 2017 04:31
I've done a bad thing and stayed up too late
I'll see yah later
Best of luck with your unfucking
Sean Vreeland
@seanvree
Apr 13 2017 20:31
hai
okay, back online
ha ha ha ha
FML
give me updates
lol
Andrew Newell
@scytherswings
Apr 13 2017 22:14
so i pushed some code
to dev
that should make the relative_root url work without using a reverse proxy
but other than that, have you had a chance to try the new changes in dev?
Also glad you’re back
how many hours did it take?
Sean Vreeland
@seanvree
Apr 13 2017 23:58
like 12
but guess what
Andrew Newell
@scytherswings
Apr 13 2017 23:59
jeebus
Sean Vreeland
@seanvree
Apr 13 2017 23:59
in the new createors update to windows
NSSM no longer works
ha ha ha ha
Andrew Newell
@scytherswings
Apr 13 2017 23:59
O_O
whhhyyy
Sean Vreeland
@seanvree
Apr 13 2017 23:59
everyone is freaking out
that's totally huge
cuz they knew everyone was using it to run their Linux apps
ha
Andrew Newell
@scytherswings
Apr 13 2017 23:59
yeah, that sounds like a pretty big issue
Sean Vreeland
@seanvree
Apr 13 2017 23:59
it's like the greatest "hacK' ever
yeah
anyway, low fruit
umm
okay
I'll test in a bit