asheesh changed the topic of #sandstorm to: Welcome to #sandstorm: home of all things sandstorm.io. Say hi! | Channel glossary: "i,i" means "I have no point, I just want to say". b == thumbs up. | Public logs at https://botbot.me/freenode/sandstorm/ & http://logbot.g0v.tw/channel/sandstorm/today
mnutt has quit [Quit: mnutt]
mnutt has joined #sandstorm
mnutt has quit [Client Quit]
<asheesh> Howdy Nolski
<asheesh> If you have a half-set-up Sandstorm, my main suggestion is to either fully abandon it or embrace it.
<asheesh> I like to go with "embrace it". It sounds like you're (semi-separately) having a problem where if you run the installer and already have Sandstorm installed, weird-ish things happen.
<asheesh> So I recommend starting from your existing Sandstorm setup and making sure it's configured how you want.
<asheesh> Probably you can get what you want by editing /opt/sandstorm/sandstorm.conf and setting:
<asheesh> PORT=80
<asheesh> HTTPS_PORT=443
<asheesh> and that's probably all the changes you need. More info here: https://docs.sandstorm.io/en/latest/administering/ssl/
<asheesh> But let me know.
<asheesh> Also... are you in Rochester, NY? I'm in town the next couple of days.
* Nolski goes to get laptop
<asheesh> Yay
* Nolski returns with laptop
<Nolski> asheesh: I am watching the snow from outside RIT as we speak :)
<asheesh> My brother is driving through it as I am laptopping in the back seat.
jadewang has quit []
<asheesh> I'd be mega up for lunch or just hanging out sometime tomorrow daytime (free until 7pm) but I want that to separate from getting your Sandstorm operational, since I think that's easily done sooner rather than later.
<asheesh> "easily" as in "stick around and we'll figure it out"
<docaedo> Is there a non-interactive install method? I poked around and didn't see anything but by no means have I done an exhaustive search :)
<docaedo> which is to say - if there's a doc I can look at, be happy to read more
<Nolski> asheesh: I'd be down for that. I work out of a little office downtown right near State and E Main
jadewang has joined #sandstorm
<Nolski> also stay safe driving :)
<asheesh> Thanks (-:
<docaedo> I was going to play around a little bit with an OpenStack Heat script to install sandstorm, and am trying to work out how to make this as easy as possible for the user
<asheesh> docaedo: BTW you might appreciate the work going on with sandcats domain provisioning by an API, then - see https://xrok2c6xiwqe1mtn5o9n.oasis.sandstorm.io/ and https://groups.google.com/forum/#!topic/sandstorm-dev/e8bjk9AbtM4
<asheesh> For the OpenStack Heat script, just pretend that page says nothing about making money etc.
<docaedo> asheesh: thanks I'll take a look
<asheesh> Awesome
<Nolski> Hmm... so asheesh I can hit my url now but now it just hangs
<Nolski> (this is using just http)
<asheesh> It's probably fetching a certificate. ETA 45 sec
<asheesh> (If you set HTTPS_PORT=443 it will redirect from HTTP to HTTPS and fetch a certificate)
<Nolski> Ah I see
<asheesh> Although I don't really see that happening in the logs, hmm. If that's happening, it'll print info relevant to that in /opt/sandstorm/var/log/sandstorm.log
<Nolski> So I was running an nginx server with my own cert so do I need to configure sandstorm to look for that or is it going to get one of the sandcat certs
<asheesh> It'll get a sandcats cert if you have a BASE_URL that matches username.sandcats.io and have a SANDCATS_BASE_DOMAIN=sandcats.io conf line in sandstorm.conf.
<asheesh> You might want to do both of the following:
<asheesh> 1. Pastebin me /opt/sandstorm/sandstorm.conf and
<asheesh> 2. sudo tail -f /opt/sandstorm/var/log/sandstorm.log # just to read for now, not necessarily to send to me yet
<asheesh> Oh, I see.
<Nolski> and yeah, it can't find the cert is what the logs are saying
<asheesh> Yeah, we can't fetch a cert for your domain, sadly.
<asheesh> So Sandstorm itself isn't going to be able to meaningfully listen on HTTPS_PORT=443 so remove that line.
<asheesh> PORT=80 is reasonable though.
<Nolski> Okay, even if I have my own cert?
<asheesh> At the moment, yeah, you'd need nginx or similar in front to do HTTPS with your own cert.
<asheesh> Keep in mind it has to be a wildcard cert. I propose we get HTTP working first, and then add HTTPS in phase 2.
<asheesh> To get HTTP working, adjust the BASE_URL to be http:// and remove the HTTPS_PORT and restart Sandstorm and hopefully success.
<Nolski> That sounds like a good idea.
<Nolski> It works!
<Nolski> \o/
<asheesh> Great!
<asheesh> So now what I would do is change BIND_IP to 127.0.0.1 and PORT to 6080 and then follow https://docs.sandstorm.io/en/latest/administering/reverse-proxy/
<asheesh> (or alternatively now is a good time to switch to sandcats for HTTPS if you want) (note that you can use Sandstorm at example.sandcats.io and have it serve a static site at nolski.rocks successfully)
<asheesh> (having said that, nolski.rocks wouldn't get HTTPS until someone integrates Let's Encrypt, but that's a "simple matter of coding") (but I might be overwhelming you with options so I'll pause for now)
<Nolski> That would be cool... Maybe I could bug ErikRose about that. I used to work with him over the summer and I know he has been working on Let's Encrypt recently.
<asheesh> "obviously" if you know some nodejs stuff, I can give you an outline tomorrow daytime of what Sandstorm code changes would need to get written and you could then work with ErikRose if you want (-:
<asheesh> (which anyway you don't have to do at all, just a random idea) Let me know Nolski if you have other Sandstorm questions I can answer.
<Nolski> asheesh: I do know some nodejs stuff so maybe I could help out :)
<Nolski> aw dang, I just remembered this isn't a wildcard cert
<asheesh> Well then your options are to get a wildcard cert e.g. $849/yr from GlobalSign https://www.globalsign.com/en/ssl/wildcard-ssl/ or $60 via a comodo reseller (google for them) or $0 via sandcats but you lose your beautiful domain name as the landing page but you can make it work as a redirect via Sandstorm static publishing
<asheesh> FWIW I do the comodo reseller route at https://storm.debian.net/ which I co-maintain.
<Nolski> Hmm, the sandcats option sounds pretty nice. If we got this working with Let's Encrypt, would we be able to get wild card certs for free?
<asheesh> Not free wildcard certs, sadly, since they don't do wildcards. So Let's Encrypt support would "only" be useful for static publishing sites, see e.g. https://docs.sandstorm.io/en/latest/developing/web-publishing/ for more info
<asheesh> I use rose.sandcats.io (sandcats HTTPS) to host asheesh.org (currently no HTTPS) and it's asheesh.org that would get HTTPS via the Let's Encrypt support.
<Nolski> hrm...
<Nolski> So I'd like to use sandstorm to publish a blog on nolski.rocks
<asheesh> Then you probably don't want your Sandstorm dashboard on nolski.rocks, but instead to have your Sandstorm dashboard somewhere else, like nolski.sandcats.io or sandstorm.nolski.rocks or apps.nolski.rocks etc.
<asheesh> Then you can do what I'm doing, which is basically what you want to do, as far as I can tell (-:
<Nolski> Ah I think I see, so nolski.sandcats.io would publish to nolski.rocks?
mrshu has quit [Quit: ZNC - http://znc.in]
simonv3 has quit [Quit: Connection closed for inactivity]
<Nolski> Alright, one last question before I head to bed, I noticed one of the sandstorm packages (ghost blog) is running a pretty out dated version of the blog. Is there a good way to pull down the package and apply updates so other users get the update as well?
<Nolski> jk, reading docs now
heliostatic_ has joined #sandstorm
mnutt has joined #sandstorm
<asheesh> Nolski: There is, kinda - so long as it's using vagrant-spk the build process, at least, is documented.
<asheesh> re: Ghost
<asheesh> re: nolski.rocks <=> nolski.sandcats.io: yes
<asheesh> Also ran out of power but have power again (now at home)
<asheesh> I'd be +1 on like working from a coffee shop or just hanging out and doing Q&A on whatever tomorrow, if you want, fwiw!
<asheesh> I leave Rochester at 5 PM on Wed so I have some time (though am busy tomorrow 7pm-10pm)
<kentonv> asheesh: using a userspace elf loader makes it easy to record the steps to load the executable -- mainly a bunch of mmap() calls. Luckily I don't have to write one; Mark had one laying around.
<Nolski> asheesh: That works for me, How about meeting up at around 1pm tomorrow?
<asheesh> kentonv: : D
<asheesh> Nolski: Tentatively +1, let's PM
jadewang has quit [Remote host closed the connection]
mnutt has quit [Quit: mnutt]
mnutt has joined #sandstorm
mnutt has quit [Quit: mnutt]
|jemc| has joined #sandstorm
|jemc| has quit [Ping timeout: 246 seconds]
heliostatic_ has quit [Ping timeout: 265 seconds]
mrshu has joined #sandstorm
tobald has joined #sandstorm
bb010g has quit [Quit: Connection closed for inactivity]
joshbuddy has joined #sandstorm
joshbuddy has quit [Quit: joshbuddy]
joshbuddy has joined #sandstorm
joshbuddy has quit [Quit: joshbuddy]
joshbuddy has joined #sandstorm
joshbuddy has quit [Quit: joshbuddy]
tobald has quit [Ping timeout: 245 seconds]
tobald has joined #sandstorm
dlitz has quit [Ping timeout: 256 seconds]
Kamilion has quit [Ping timeout: 260 seconds]
dlitz has joined #sandstorm
Kamilion has joined #sandstorm
joshbuddy has joined #sandstorm
dlitz has quit [Quit: No Ping reply in 180 seconds.]
dlitz has joined #sandstorm
raph_ael has joined #sandstorm
<raph_ael> hi
dlitz has quit [Ping timeout: 276 seconds]
<asheesh> Hi raph_ael
dlitz has joined #sandstorm
<asheesh> If you have Sandstorm questions I'm happy to answer. Or, if you want to just hang out and listen, that's fine too!
<raph_ael> asheesh: well I have a little problem building manually on Debian Jessie : http://paste.lisp.org/display/304118
<raph_ael> clang 3.5
<asheesh> Yeah, there's an unmerged patch that should fix this.
<asheesh> You can do:
<asheesh> git am 1317.patch
<asheesh> and then try doing a fresh build.
<raph_ael> asheesh: thanks a lot :)
<asheesh> Glad you asked!
<raph_ael> I try first the automated install though I don't want anything outside my server, and so no sandcat
<asheesh> Gotcha
<asheesh> You can choose "none" and proceed with that automated install, and then it'll help you set up your own domain on the app I think!
dlitz has quit [Excess Flood]
<asheesh> But you can also do your own build, and you can also install in "development" mode and then change settings to your liking.
dlitz has joined #sandstorm
<raph_ael> asheesh: oh ok, I try to build, but maybe I'll try also the automated install, maybe the "none" option should be present too :)
<asheesh> It's free software; you can do whatever you want (-:
<raph_ael> asheesh: really, thanks a lot :)
<asheesh> You are very welcome! Feel free to keep asking questions until you succeed in a way that you enjoy.
dlitz has quit [Read error: Connection reset by peer]
joshbuddy has quit [Quit: joshbuddy]
dlitz has joined #sandstorm
<raph_ael> the idea is nice, I'll try a bit but maybe use it for corporate use
<asheesh> Cool - feel free to email me if you need help later, too, asheesh@sandstorm.io
<asheesh> corporate use is definitely something we aim for it to be useful for!
<raph_ael> I can imagine :)
<raph_ael> seems that the patch was successful, the build is not finished but goes far further
<asheesh> AFK briefly, but I will read scrollback
dwrensha has quit [Ping timeout: 240 seconds]
dwrensha has joined #sandstorm
joshbuddy has joined #sandstorm
joshbuddy has quit [Client Quit]
bpierre has quit [Ping timeout: 250 seconds]
bpierre has joined #sandstorm
mnutt has joined #sandstorm
<asheesh> Morning, all
mnutt has quit [Quit: mnutt]
<raph_ael> about https://github.com/sandstorm-io/sandstorm/issues/429 is there anything planned on ldap ?
<asheesh> Tentatively we're excited about working on it soon.
mnutt has joined #sandstorm
<asheesh> I need to figure out when I have time to work on it, but I aim to make it soonish since I agree it's important.
<raph_ael> ok :)
<raph_ael> I think it's so widely used with AD, that for corporate usage, you may need something else than github/google accounts
heliostatic_ has joined #sandstorm
tobald has quit [Quit: Ex-Chat]
gambatte has joined #sandstorm
simonv3 has joined #sandstorm
notevil has joined #sandstorm
|jemc| has joined #sandstorm
joshbuddy has joined #sandstorm
heliostatic_ has quit [Ping timeout: 272 seconds]
|jemc| has quit [Quit: WeeChat 1.2]
|jemc| has joined #sandstorm
joshbuddy has quit [Quit: joshbuddy]
<asheesh> I am learning how the Sandstorm test suite works.
<asheesh> I might have written 0 tests for it, so far. (Admittedly I've written tests for the Sandstorm installer, so I'm not entirely derelict.)
joshbuddy has joined #sandstorm
dlitz has quit [Quit: No Ping reply in 180 seconds.]
dlitz has joined #sandstorm
jadewang has joined #sandstorm
mnutt has quit [Quit: mnutt]
mnutt has joined #sandstorm
jadewang_ has joined #sandstorm
jadewang has quit [Read error: No route to host]
<raph_ael> thanks, bye
raph_ael has left #sandstorm ["pouet"]
jadewang_ has quit [Read error: Connection reset by peer]
jadewang has joined #sandstorm
simonv3 has quit [Quit: Connection closed for inactivity]
<dwrensha> kentonv: is there an easy way to capture two variables by move with kj::mvCapture() ?
<dwrensha> I'm writing an auxiliary struct to do it right now
<kentonv> dwrensha: You can nest mvCaptures. But note that in C++14 mvCapture is obsolete.
jadewang has quit [Remote host closed the connection]
<dwrensha> do you want to keep the core capnproto stuff c++11 compatible?
<kentonv> yeah
<kentonv> well, no, I don't _want_ to, but people will probably get upset if we push it to C++14
<kentonv> kj::mvCapture(foo, kj::mvCapture(bar, [](Foo&& foo, Bar&& bar) {...})) should work IIRC
<kentonv> err
<kentonv> maybe the parameters need to be reversed
<dwrensha> yeah, kj::mvCapture(bar, kj::mvCapture(foo, [](Foo&& foo, Bar&& bar) {...})) seems to work
<dwrensha> thanks
jadewang has joined #sandstorm
|jemc| has quit [Ping timeout: 265 seconds]
notevil has quit [Quit: Leaving]
|jemc| has joined #sandstorm
<asheesh> Nolski: Nice seeing you today!
jadewang has quit [Remote host closed the connection]
jadewang has joined #sandstorm
jadewang_ has joined #sandstorm
kentonv has quit [Ping timeout: 240 seconds]
jadewang has quit [Ping timeout: 272 seconds]
mrdomino has quit [Remote host closed the connection]
mrdomino has joined #sandstorm
jadewang has joined #sandstorm
jadewang_ has quit [Ping timeout: 260 seconds]
jadewang has quit [Read error: Connection reset by peer]
jadewang has joined #sandstorm
|jemc| has quit [Ping timeout: 256 seconds]
|jemc| has joined #sandstorm
jadewang_ has joined #sandstorm