<isd>
So, the go capnp generator requires declaring the package name, which means I can't just use the unmodified capnp schemas in the sandstorm source. It would be nice to just be able to #include them or such, and add the package def, but doing an import makes it a separate schema, and capnp insists that I provide a (new) id. Is there a way to go about this that doesn't involve just copying the files over?
<ill_logic>
Is there a way to see the output of setup.sh? I feel like there was a shell.
<dwrensha>
ill_logic: it should be piped to stdout when you run `vagrant-spk vm up`
<ill_logic>
okay. what about vagrant provision?
<ill_logic>
I tried putting "ls /tmp" and I didn't see the output
<ill_logic>
maybe it's actually empty, heh
<ill_logic>
okay there it is.
<ill_logic>
sorry and thanks
isd has quit [Quit: Leaving.]
dwrensha has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0.2/20160407164938]]
neynah has joined #sandstorm
<ill_logic>
Anybody know why "vagrant provision" dumps the results of setup.sh into my repo directory? Is it actually mounted to /opt/app?
<ill_logic>
Also, I see that the php sample has mysql run without daemonization, yet adds &. Is that generally what I want for the applications that I'll be reverse proxying?
<ill_logic>
Or should I use a daemon option where available?
jadewang has quit [Remote host closed the connection]
ill_logic has quit [Ping timeout: 250 seconds]
jemc has quit [Quit: WeeChat 1.4]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
rgrinberg has joined #sandstorm
gabkdlly has joined #sandstorm
rgrinberg has quit [Ping timeout: 246 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 265 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
neynah has joined #sandstorm
neynah has quit [Client Quit]
jadewang has joined #sandstorm
raoulzecat has quit [Ping timeout: 240 seconds]
jadewang has quit [Ping timeout: 252 seconds]
raoulzecat has joined #sandstorm
gabkdlly has quit [Quit: Ex-Chat]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
<pdurbin>
Mitar: which tickets?
<Mitar>
?
<Mitar>
github
<Mitar>
he went through issues on github and give feedback there
<pdurbin>
Mitar: any that would be interesting to link to from here?
<Mitar>
they are listed on github :-)
<Mitar>
I think he went through many of them
<Mitar>
I am just thanking him for his work, I really appreciate when issues do not just linger around but you get some feedback on them, just to understand how others feel about things you are raising
jadewang has joined #sandstorm
<pdurbin>
very considerate of you
jadewang has quit [Ping timeout: 252 seconds]
jadewang has joined #sandstorm
zeroish has joined #sandstorm
jadewang has quit [Ping timeout: 252 seconds]
zeroish has quit [Ping timeout: 276 seconds]
zeroish has joined #sandstorm
zeroish has quit [Quit: rcirc on GNU Emacs 25.1.50.10]
tk` has joined #sandstorm
tk` has quit [Remote host closed the connection]
zeroish has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 240 seconds]
xobs has quit [Ping timeout: 276 seconds]
xobs has joined #sandstorm
berzas has joined #sandstorm
rgrinberg has joined #sandstorm
jemc has joined #sandstorm
rgrinberg has quit [Client Quit]
rgrinberg has joined #sandstorm
<berzas>
Hi, I'm triying to run Sandstorm on a Debian server. I opened ports on the machine but setup page is not charging, no errors. I'm behind a NAT. Is this the issue?How I have to procced to make server up and running? thanks
xet7_ has quit [Read error: Connection reset by peer]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 250 seconds]
berzas has quit [Ping timeout: 252 seconds]
jadewang has joined #sandstorm
amyers has joined #sandstorm
jadewang has quit [Ping timeout: 244 seconds]
amyers has quit [Ping timeout: 260 seconds]
frigginglorious has joined #sandstorm
rgrinberg has quit [Ping timeout: 252 seconds]
jadewang has joined #sandstorm
jemc has quit [Quit: WeeChat 1.4]
jemc has joined #sandstorm
jadewang has quit [Ping timeout: 252 seconds]
rgrinberg has joined #sandstorm
larjona has quit [Read error: Connection reset by peer]
xet7 has quit [Quit: Leaving]
larjona has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]
simonft has joined #sandstorm
rgrinberg has quit [Ping timeout: 246 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 240 seconds]
<simonft>
is there an example of an app that uses nodejs?
<Lord>
etherpad
<simonft>
Lord: thanks
<simonft>
I should ask what I'm actually wondering I guess. What's the recomended way of installing nodejs when setting up an app using vagrant-spk?
<simonft>
I did a wget of the tar.gz release file into /home/vagrant/ and extracted it, but when the app runs in sandstorm it can't see that directory.
<rolig>
How can i tell sandstorm to stop using sandcats? I've set up nginx as reverse proxy and updated sandstorm.conf to comment out https_port and sandcat domain. base_url is appropriate for the nginx config - but x.sandcats still works and mydomain doesn't?
<rolig>
specifically mydomain gets to sandstorm but its telling me i need to set up a TXT record
<rolig>
oops nvm sandstorm.conf wasnt being written -.-
benkard has joined #sandstorm
<simonft>
is there anything I need to know about networking in a sandstorm grain? I'm not able to connect to a mongodb instance that should be running.
<simonft>
it works when I connect via 127.0.0.1 rather than localhost.
<kentonv>
simonft: `localhost` is normally defined in /etc/hosts -- maybe that file is missing inside the sandbox?
gabkdlly has joined #sandstorm
<simonft>
kentonv: it seems that way. What exactly is the grain?
<kentonv>
what do you mean?
<simonft>
how is it sandboxed?
<simonft>
it's namespaced?
<kentonv>
yes, we use linux namespaces to set up a mount namespace where the root directory is a read-only view of the app package contents and /var is per-grain writable space
<simonft>
kentonv: it's true that /etc/hosts doesn't exist in the sandbox. Is there something that defines what files are available inside the sandbox?
<kentonv>
the app's package is basically a big tarball of everything that should exist inside the sandbox
<kentonv>
(not literally tar format, but similar)
<simonft>
ah, so I should add it to sandstorm-files.list?
<kentonv>
are you running in dev mode?
<kentonv>
and is this a meteor project?
<simonft>
I'm using vagrant-spk, so I assume so?
<kentonv>
sandstorm-files.list is normally populated automatically in dev mode (`vagrant-spk dev`)
<kentonv>
but not with meteor projects because we actually have an exact list of files for them
<kentonv>
I see, etc/hosts is blocked by default
<kentonv>
in sourceMaps, in sandstorm-pkgdef.capnp
<kentonv>
because it might contain private system-specific config
<kentonv>
I would recommend you use 127.0.0.1
dwrensha has joined #sandstorm
<simonft>
cool, thanks for explaining
benkard has quit [Ping timeout: 276 seconds]
benkard has joined #sandstorm
amyers has joined #sandstorm
isd has joined #sandstorm
rgrinberg has joined #sandstorm
amyers has quit [Ping timeout: 240 seconds]
neynah has joined #sandstorm
benkard has quit [Ping timeout: 250 seconds]
benkard has joined #sandstorm
hunterm__ has quit [Read error: Connection reset by peer]
<isd>
So, I'm messing with go, capnproto and the sandstorm APIs, and when running capnp compile on the .capnp files in the sandstorm repo, I get lots of "error: Not defined: Capability". The type is indeed not defined in any .capnp file in the sandstorm repo. Where does it come from?
<dwrensha>
Maybe you could edit all instances of `Capability` to use `AnyPointer` instead
<dwrensha>
It won't make a difference for the values sent on the wire.
<isd>
dwrensha: I'll give it a try. What is the capnproto release cycle like? would be good to get those in stable.
<dwrensha>
0.4 was released in December of 2013, 0.5 was released a year later, and there has been no major release since then.
<dwrensha>
my understanding is that the big blocker is that Windows support is a pain
<dwrensha>
mostly because MSVC has lagging C++11 support
<isd>
grumble.
<isd>
(Not actually serious): gcc runs on windows...
<XgF>
And MSVC has Clang support these days?
<XgF>
Though I guess people want to link stuff compiled using MSVC C1XX with capn'proto
<isd>
Slightly more serious: given that the same team is releasing stuff that uses things only on master, I'd be tempted to suggest just tagging 0.6 with "if you use MSVC don't upgrade until their compiler actually supports this."
<isd>
kindof a problem if you can't use stable with sandstorm
<isd>
but swapping in AnyPointer does seem to work.
<isd>
Looks like the API in persistent.capnp has changed too. I think I'm just going to use capnp master.
digitalcircuit has quit [Remote host closed the connection]
amyers has quit [Ping timeout: 244 seconds]
digitalcircuit has joined #sandstorm
<XgF>
isd: when you install sandstorm capnpc normally comes along for the ride iirc
<dwrensha>
if you install from source
<XgF>
hmm, what does the Vagrantfile do? I remember that always coming with capnpc?
<isd>
Was trying to build on my laptop (host). will give doing it in the vm a shot
<dwrensha>
I think that one is intended for people who want to hack on Sandstorm.
<dwrensha>
like, it could conceivably make sense to also provide a vagrantfile for people who just want to run Sandstorm, and maybe want to develop apps
<dwrensha>
I think those two potential use cases have caused some confusion in the past
<XgF>
dwrensha: hmm, it seems to invoke ./install.sh?
<dwrensha>
right, it shares the current directory
<dwrensha>
which is the source code repo
<dwrensha>
wait
benkard has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dwrensha>
I suppose install.sh just fetches a release of Sandstorm
<dwrensha>
I guess I'm the one who is confused about this vagrantfile then.
<isd>
capnp command isn't in the vm.
<XgF>
Maybe I manually built capnp? hmm
<isd>
Well, guess I'm building master
isd has quit [Ping timeout: 260 seconds]
<asheesh>
isd: Yeah, Sandstorm requires capnp master but we don't really tell people this.
<asheesh>
I keep wanting to get us to "just" do a release, so I neglect to lucidly document it.
<asheesh>
Apologies for your pain, isd.
<asheesh>
Oh, though I guess you're not here at the moment.
neynah has joined #sandstorm
isd has joined #sandstorm
<isd>
*ugh* I can't even use the unmodified capnp files from capnproto proper, since they don't have the go metadata stuff.
<asheesh>
rehi
<asheesh>
Maybe we should merge those go metadata additions into the sandstorm-io capnp files then. Sorry about that!
<asheesh>
You are on a little bit of uncharted territory, so the exploration you do is really helpful.
<XgF>
I wonder if we could create a set of "standard" capnp annotations which would be sane defaults for most languages?