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>
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>
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>
(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
<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.
<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>
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.
<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?