<ckocagil> What's the correct way to deal with apps that expect /opt/app to be writable? Change the app itself, or is it okay to run the app off a writable dir?
<dwrensha> ckocagil: it's best to avoid putting code in a writable directory
<dwrensha> often, apps just need a symlink for a tmp or log directory
home has joined #sandstorm
<ckocagil> dwrensha: Yeah, but this one is PHP
<ckocagil> (,,#゚Д゚)
<dwrensha> what does it want to write to /opt/app?
<ckocagil> I don't know yet. I'll disable the checks and look for errors
itscassa|away has quit [Ping timeout: 268 seconds]
itscassa|away has joined #sandstorm
home has quit [Ping timeout: 265 seconds]
jorge has joined #sandstorm
<jorge> Hi, I just ran the self-host script behind a nat and can't login to xx.sandcat.io. Is that the expected behaviour? I did self-host before the old way using my own domain.
<paulproteus> jorge: Hi!
<paulproteus> You're going to have to make sure you have port forwarding set up with the NAT.
<jorge> hi
<paulproteus> You can check if that's working by visiting http://www.downforeveryoneorjustme.com/ and entering your sandcats address.
<paulproteus> If it's not, then we should figure out how to make port forwarding work for you.
<jorge> ok, I thought perhaps destructions for what port to forward would be when I logged into the url the script generated I guess.
<jorge> I don't know how the dns works as I did it manually before.
<paulproteus> Right, yeah.
<jorge> how does sandcat know my ip -- esp if it's dynamic?
<paulproteus> https://docs.sandstorm.io/en/latest/administering/sandcats/ has the docs for that, but basically, it detects your external IP and uses that.
<paulproteus> You know the one thing it doesn't say is "How it determines your IP address".
<paulproteus> I'll fix that now.
<jorge> Ah, ok, so I should go back and do it the old way I guess. thx
<paulproteus> Well if we can figure out port forwarding, the sandcats way could work OK.
cbaines has quit [Ping timeout: 240 seconds]
<paulproteus> But if you do need the host to have an internal IP address, then sandcats won't work for you, yeah.
<jorge> I just got re-interested, because i got an email the other day on ssl and thought it was very cool
<paulproteus> (-:
<paulproteus> I wrote the SSL feature fwiw!
<jorge> yay! :-)
<jorge> cool how it rotates evry 7 days
<paulproteus> Thanks (-: that was kentonv's idea.
citruspi has quit [Ping timeout: 252 seconds]
gwillen has quit [Ping timeout: 252 seconds]
<jorge> very smart dude him
cbaines has joined #sandstorm
gwillen has joined #sandstorm
gwillen is now known as Guest933
Guest933 has joined #sandstorm
Guest933 has quit [Changing host]
Guest933 is now known as gwillen
citruspi has joined #sandstorm
<jorge> Still, why can't I log in to xx.sandcat.io? I have the thought that perhaps I could enter a dynamic dns vs an ip if I could.
<paulproteus> Let's debug it step by step.
<jorge> Ah. downforeveryone says it's not just me. I just regenerated a new login
<paulproteus> First of all, what let's make sure the IP address your computer thinks is its external IP is the same one that the sandcats host picked.
<paulproteus> To do that, you can do
<paulproteus> curl http://checkip.dyndns.org/
<paulproteus> from the Sandstorm box, plus
<paulproteus> host xx.sandcats.io (replacing xx.sandcats.io) with your Sandcats hostname.
<jorge> Yes, but, the downforeveryone thing??
<jorge> I should have done that when you mentioned it, sorry.
<paulproteus> No worries at all.
<paulproteus> I should make a debugging checklist and so I'm using this opportunity to figure out what should be on that checklist.
<jorge> That's my third or fourth regen.
<jorge> cool. I have the time.
<jorge> I would really love to put this on my little vps, but I don't have 3.13, so I keep playing at home.
nwf has quit [Quit: WeeChat 1.1.1]
<jorge> thx, got it up
<jorge> OK, just saw the light. The login subd is already mapped to my local external ip. duh.
<paulproteus> (-:
<jorge> so i have to portmap firt
<jorge> first
<paulproteus> Yup
<jorge> sorry
<jorge> I simply didn't know what to expect.
<jorge> so if i map 80 to this box it will be ok.
<paulproteus> Yeah, and 443
<jorge> right
<paulproteus> (-:
<jorge> however, that still comes back to dynamic assignments from my isp...
<paulproteus> Your server communicates with sandcats.io with a UDP protocol thing that checks every 60 seconds if your IP address has changed, and if it has changed, does a HTTPS POST to update the IP address on file.
<jorge> how can I tell your dns to use dns... ...
<jorge> how cool is that????
<paulproteus> The Time-To-Live on the DNS entry is 60 seconds, so there should be at most a 2 minute outage if your IP address changes.
<paulproteus> Also kentonv's idea. I just wrote the code. (-; (and jparyani wrote some of it too, actually)
<jorge> you guys totally rockf
<jorge> rock
<paulproteus> Well thanks (-:
<jorge> So all I have to do is map that port and I win?
<paulproteus> Yup
<jorge> words fail me
<jorge> ok, so what about mail?
<jorge> mx records
<paulproteus> For MX records, they're not theoretically needed if the A record is the same as the MX record.
<paulproteus> (as the MX record would be)
<paulproteus> That's for inbound mail.
<paulproteus> For outbound mail, you don't need MX records, although arguably you need something like SPF records for people to trust mail that they receive from you.
<jorge> can't redirect for that sub then. that's ok.
<paulproteus> Yeah, no redirect for a subdomain this way.
nwf has joined #sandstorm
<jorge> yes. dkim, spf, lifetime hobby for a mail server these days
<jorge> just asking
<paulproteus> We don't have anything set up for the SPF stuff yet, though I'd like to get to that soon, you can see someone on github.com/sandstorm-io/sandcats/issues asking for that.
<paulproteus> I think my plan (curious what you think) is to set people up with free-of-cost mailgun.com accounts by default, and if they want to remove that feature, they can remove it.
<jorge> just a sec
<paulproteus> And then we could set up SPF SenderID etc for people who are OK with outbound mail going via a service like Mailgun.
<paulproteus> Sure
<jorge> yes, mailgun. that's what I recommended in a light tut I did for sandstorm
<jorge> free for low volumes
<paulproteus> Oh cool! (-:
<paulproteus> Where's this tutorial?
<paulproteus> I'd love to share a link to it from twitter.com/SandstormIO.
<jorge> only thing on gemlog.ca
<paulproteus> Ohhhhh hi nice to see you again (-:
<jorge> maybe too old though now
<jorge> I don't think it's linked anywhere anyhow though
<paulproteus> Well I guess there's something to update there.
<jorge> Is it still valid? I got busy and also finally upgraded boxes at home.
<paulproteus> I think it's all accurate, but it's written pre-sandcats, so things are easier now for people who use the sandcats DNS & HTTPS service.
<jorge> si. very much so!
<jorge> maybe I should take it down
<paulproteus> Or you could write a new post above it saying, "My Sandstorm post from before was written before sandcats.io was ready. Now that it's ready, think about using that for DNS and HTTPS setup!"
<jorge> also with (3) in your doc, some linux boxen run fw by default
<jorge> ;-)
<jorge> yes, could do that
<jorge> ... so portmapping at router won't be enough. need to punch holes or stop fw
<paulproteus> Fixed, thanks (-:
<jorge> just to be clear it wasn't the router
<jorge> I know you'll prettify all that text later
<jorge> for those wondering about the gaps in conversation it's
<paulproteus> When you sy "just to be clear it wasn't the router" you mean changing your port forwarding didn't fix things for you?
<jorge> no, I meant my addition to your line "on the computer you ran the install script on."
<paulproteus> Ah hah, gotcha.
<jorge> what app are we using?
<jorge> it's very cool
<paulproteus> This one is Etherpad.
<paulproteus> It *is* cool!
<jorge> it's wonderful
<jorge> you guys have done everything. I honestly can't think of another thing that could mess someone up.
<jorge> I'm going to go and do what I first set out to do now... ;-)
<jorge> Thanks for being there for me and helping me out.
<paulproteus> (-:
<paulproteus> Thanks for asking!
<jorge> I will make the momentous post #2 at that tut domain after I'm done.
<paulproteus> Awesome.
<jorge> ja ja :-) no one knows it's there! later m8
<paulproteus> later!
<jorge> one thing. debugging text needs a lot of de-jargonning. even nat is too much for most ppl.
<jorge> ciao
jorge has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jorge has joined #sandstorm
_iwc has joined #sandstorm
jorge has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
_iwc has quit [K-Lined]
jorge has joined #sandstorm
logbot_____ has joined #sandstorm
au has quit [Ping timeout: 255 seconds]
au has joined #sandstorm
logbot____ has quit [Remote host closed the connection]
home has joined #sandstorm
nwf has quit [Quit: WeeChat 1.3]
nwf has joined #sandstorm
home has quit [Quit: Leaving]
mort___ has joined #sandstorm
mort___ has quit [Quit: Leaving.]
jadewang has quit [Remote host closed the connection]
larjona has joined #sandstorm
bb010g has quit [Quit: Connection closed for inactivity]
larjona has quit [Ping timeout: 244 seconds]
larjona has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 264 seconds]
larjona has quit [Ping timeout: 264 seconds]
M-hrjet has quit [Remote host closed the connection]
M-hrjet has joined #sandstorm
larjona has joined #sandstorm
larjona has quit [Quit: Konversation terminated!]
jadewang has joined #sandstorm
larjona has joined #sandstorm
jadewang has quit [Ping timeout: 268 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 240 seconds]
<XgF> Hmm
<XgF> Feature request: U2F support in Sandstorm? :P
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 250 seconds]
jorge has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 250 seconds]
gopar has joined #sandstorm
gopar has quit [Remote host closed the connection]
larjona has quit [Ping timeout: 272 seconds]
home has joined #sandstorm
home has quit [Quit: Leaving]
larjona has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 265 seconds]
home has joined #sandstorm
home has quit [Remote host closed the connection]
home has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 250 seconds]
tdfischer_ has joined #sandstorm
spangatt1ck has joined #sandstorm
spangatt1ck has joined #sandstorm
hrjet has quit [Ping timeout: 260 seconds]
Huck777 has quit [Ping timeout: 260 seconds]
garrison_ has joined #sandstorm
hrjet_ has joined #sandstorm
Huck777 has joined #sandstorm
tdfischer has quit [Ping timeout: 240 seconds]
spangattack has quit [Ping timeout: 240 seconds]
garrison has quit [Ping timeout: 240 seconds]
garrison_ is now known as garrison
garrison has quit [Changing host]
garrison has joined #sandstorm
home has quit [Remote host closed the connection]
larjona_m has joined #sandstorm
larjona_m has quit [Quit: AtomicIRC: The nuclear option.]
jadewang has joined #sandstorm
dwrensha has quit [Quit: ChatZilla 0.9.92 [Firefox 41.0.1/20150929144111]]
darius has joined #sandstorm
larjona has quit [Ping timeout: 265 seconds]
ecloud has quit [Quit: No Ping reply in 180 seconds.]
ecloud has joined #sandstorm
jadewang has quit [Remote host closed the connection]
jadewang has joined #sandstorm
jadewang has quit [Remote host closed the connection]
isd has joined #sandstorm