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
jaredbidlow has joined #sandstorm
mclasen has quit [Ping timeout: 248 seconds]
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 260 seconds]
frigginglorious has joined #sandstorm
losingkeys has joined #sandstorm
<losingkeys> Hey sandcats, I'm packaging lobste.rs and had a quick ?. (it seemed easier than cgit, and I didn't find https://docs.sandstorm.io/en/latest/developing/raw-ruby-on-rails/ until I was like half way done). If I `vagrant-spk vm ssh` I can `mysql -u root` and connect, but if I add that command to launcher.sh... it can't connect (I added it as a test, lobste.rs can't connect via activerecord either). Ideas?
<losingkeys> the error I get is "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")"
<losingkeys> which is strange because I can connect after sshing in
<losingkeys> also I saw that page suggested sqlite, and I bet it's fine for most uses... but I feel like I'm close w/mariadb, and I'd like to stay as close to the prod deploy as possible so it's easier to maintain, and possibly for perf reasons (that I can't back up at the moment)
<asheesh> losingkeys: ohai
<asheesh> Let me know if tha tpage helps you or not!
<asheesh> In particular I'm leaving my house for dinner with some friends in about 7 minutes so I have that long to help you!
<losingkeys> asheesh: thanks! looking at that page now (didn't get a notification)
<losingkeys> never seen "whoami: cannot find name for user ID 1000" before :)
<asheesh> :D
<asheesh> Yeah, it's a little strange. This whole Sandstorm thing is a little strange. Mostly in good ways, though. :)
<losingkeys> they've given me a number and taken /away/ my name!
<asheesh> literally LOLing
<asheesh> https://docs.sandstorm.io/en/latest/developing/troubleshooting/ could be relevant too, I suppose
<asheesh> BTW, cool that you're in Minnesota (based on reverse DNS)
<asheesh> Kenton Varda (one of the Sandstorm founders) grew up in Minnesota, I believe.
<losingkeys> oh? that's cool. yeah I like mn. haven't travelled a lot... but I like that the seasons change here
<losingkeys> so enter-grain confirms what I was using the debug log/launcher.sh to debug, I can't connect to mysql via the socket in /var/run/mysqld... should that directory be mounted? it can't see anything in /var
<asheesh> enter-grain should allow you to see things in /var
<asheesh> but it's a unique /var per grain
<asheesh> So you have to create things in .sandstorm/launcher.sh
<losingkeys> I can touch /var/lol, but when I `ls /var`, I just see `lol` at this point
<asheesh> See e.g. the .sandstorm/launcher.sh that is part of the PHP/LEMP stack
<asheesh> Yup, unique /var per grain
<asheesh> The unique /var per grain is going to confuse you until, in a brief flash of horror and enlightment, it will blow your mind.
<losingkeys> heh
<asheesh> losingkeys: Does that help? Or are you now more confused?
<asheesh> Also I'll be back in like 2h but I figure if I can help you now, that's better than in 2h.
<losingkeys> yeah that helps
<losingkeys> have fun w/your friends!
<asheesh> Thanks! And talk to you soon and let me know how you progress. :)
<losingkeys> also re the /var thing, I think I know what you mean, and it's why I wanted to start packaging things for sandstorm. sandstorm was explained to me before and I didn't really get it, but it's pretty sweet now that I get the general concept
<asheesh> In that case, https://www.youtube.com/watch?v=w-NL2WuyUbc might possibly be useful!
<asheesh> (A talk I gave a few weeks ago where some packaging details are discussed)
<losingkeys> cheers thanks!
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 245 seconds]
jemc has quit [Ping timeout: 245 seconds]
frigginglorious has quit [Quit: frigginglorious]
losingkeys has quit [Remote host closed the connection]
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 265 seconds]
gabkdlly has joined #sandstorm
<ocdtrekkie> Well, I was meddling with my domain's DNS anyways, so I went ahead and finally moved my Ghost blog from Alpha to Oasis.
wolcen has quit [Ping timeout: 256 seconds]
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 250 seconds]
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 260 seconds]
Telesight has joined #sandstorm
davidjgraph has joined #sandstorm
davidjgraph has quit [Client Quit]
maekelae has joined #sandstorm
<maekelae> Hey guys my admin token is not loading the webpage , could it be my nick 354
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 265 seconds]
dograt has quit [Ping timeout: 250 seconds]
dograt has joined #sandstorm
dograt has quit [Ping timeout: 252 seconds]
dograt has joined #sandstorm
dograt has quit [Client Quit]
dograt has joined #sandstorm
aldeka_limechat has joined #sandstorm
dograt has quit [Ping timeout: 260 seconds]
dograt has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 260 seconds]
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 244 seconds]
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 260 seconds]
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 265 seconds]
losingkeys has joined #sandstorm
lukexj has joined #sandstorm
lukexj has quit [Quit: Leaving]
lukexj has joined #sandstorm
aldeka_limechat has joined #sandstorm
lukexj has quit [Client Quit]
aldeka_limechat has quit [Ping timeout: 265 seconds]
lukexj has joined #sandstorm
lukexj has quit [Remote host closed the connection]
lukexj has joined #sandstorm
jemc has joined #sandstorm
<losingkeys> asheesh: hey thanks to your help yesterday I was able to get lobsters up and running. Does 115mb sound okay for a grain? it seems high to me, but I'm not sure. Now I'm working on sandstorm-ifying it in a way that won't disturb upstream too much, then cleanup
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 252 seconds]
losingkeys has quit [Remote host closed the connection]
<asheesh> Howdy Lord
<Lord> ?
<Lord> :-þ
<asheesh> ...howdy losingkeys but oh well, tab complete fail
maekelae has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
isd has quit [Remote host closed the connection]
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 252 seconds]
wolcen has joined #sandstorm
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 260 seconds]
wolcen has quit [Ping timeout: 260 seconds]
jaredbidlow has quit [Read error: Connection reset by peer]
jemc has quit [Ping timeout: 256 seconds]
aldeka_limechat has joined #sandstorm
frigginglorious has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 260 seconds]
jemc has joined #sandstorm
<russruss> hey all, I’m debugging why an ios DAV client (transmit) won’t connect to davros running on oasis
<russruss> it seems like when I do an OPTIONS from curl unauthenticated I get a 200 back
<russruss> when I would expect unauthorized
<russruss> returns a 200 even though there’s no auth on that request
<russruss> and the DAV headers are not there
<russruss> `curl -IL -X OPTIONS https://testing-123:<password>@api-302626db96182d25f56dc3813d4640fc.oasis.sandstorm.io/remote.php/webdav` gives the DAV headers properly
<russruss> my guess is the client tries OPTIONS unauthorized, which it looks like it succeeded but there’s no DAV on the server
<russruss> so it bails out early
<russruss> I guess there’s a lot I don’t understand about sandstorm’s architecture: does each API url map to exactly one grain? If so, could we send OPTIONS requests to the grain without authorization?
<russruss> my understanding is that OPTIONS is meant to not require authorization
<asheesh> Howdy russruss
<russruss> hey
<asheesh> I think we do something involving aggressive caching of OPTIONS.
<asheesh> Let me look this up in the source code.
<asheesh> https://github.com/sandstorm-io/sandstorm/blob/master/shell/server/proxy.js#L1017 is the source; now I'll try to read it and think.
<asheesh> This looks like where blindly approve the OPTIONS request.
Pilori has joined #sandstorm
<Pilori> Hello, sorry to bother you guys on a Sunday. I am receiving an error [Parameter 'url' must be a string, not undefined] when trying to view a spreadsheet for work. Can anyone kindly give me advice for troubleshooting?
<asheesh> Howdy Pilori
<asheesh> Sorry to hear aobut your troubles. That's a little odd; I've never seen that error. Any chance you can share a screenshot with me?
<asheesh> Feel free to email it to support@sandstorm.io if screenshot-over-IRC is not private enough.
<Pilori> yeah sure, give me a second please
<Pilori> ok
<asheesh> russruss: Other lines I don't understand include this one:
<asheesh> It seems like you need that to be returning DAV headers.
<asheesh> BTW russruss thanks a great deal for investigating this.
<asheesh> Having this actually work is really important, so I appreciate it.
<Pilori> @asheesh I have sent the screenshot to support@sandstorm.io
<asheesh> Great Pilori thanks!
<russruss> asheesh: yeah, I’m pretty new to sandstorm so I feel a bit out of my depth
<russruss> I have davros running locally without sandstorm for testing
<russruss> I think the primary thing is that on the OPTIONS response there’s a header with the field DAV
<russruss> DAV: 1,3,extended-mkcol,2
<russruss> I guess the app needs to expose that option
<asheesh> I wonder if we failed to get mnutt to know about this feature.
afuentes has joined #sandstorm
<asheesh> russruss: If you're willing to, my request is that you write up what we've learned here in a new issue on https://github.com/mnutt/davros/issues
<russruss> sure, I guess I’m not sure what the path is for the app to provide sandstorm with that option
<asheesh> I'm honestly not sure either. I should figure that out, then write docs for it. :)
<asheesh> I can ping kentonv on the GitHub issue though and ask; he's the one who wrote the code change, so I figure he'll know what Davros is/was suspposed to do in order to integrate properly with that.
<asheesh> Pilori: BTW, wow, thank you! That screenshot was supremely helpful.
<russruss> asheesh: I’m writing the issue now, I’ll send you a link when I’m done
<asheesh> Great! Thanks so much. I do really appreciate you taking the time to dig into this.
<Pilori> no problem asheesh, thanks for confirming. I will be doing other tasks in the meanwhile while staying logged into chat. It would be awesome if I can access it soon but if not, I will let my clients know that I couldnt access the sheet today.
<Pilori> sorry, i just got your response Email. I understand, thank you.
<russruss> asheesh: https://github.com/mnutt/davros/issues/74 look good?
<afuentes> im getting this error since the last update http://paste.debian.net/881665/
<asheesh> Howdy afuentes
<asheesh> Should be fixed now on Oasis, and you can run 'sudo sandstorm update' on a self-hosted server to get a new build that has the bug fixed.
<afuentes> it worked! thanks asheesh
<asheesh> Very welcome. Thanks for your patience.
mclasen has joined #sandstorm
Telesight has quit [Remote host closed the connection]
frigginglorious has quit [Read error: Connection reset by peer]
frigginglorious has joined #sandstorm
<Pilori> hello, I received the Email on how the error was fixed. If I am trying to view a sheet that my client shared with me, is it safe to assume that I wont be able to view the sheet until my client has performed the sudo sandstorm update on their end?
halindrome has quit [Ping timeout: 258 seconds]
halindrome has joined #sandstorm
jemc has quit [Ping timeout: 260 seconds]
frigginglorious has quit [Quit: frigginglorious]
pouledodue has joined #sandstorm
frigginglorious has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]