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
<asheesh> jparyani_: http://lunrjs.com/ maybe hmm
<jadewang> This HN post about a self-hostable app caught my eye: https://news.ycombinator.com/item?id=10955186
<jadewang> and then I started reading, and was all like, Dang, @ocdtrekkie is *on the ball*
<jadewang> I want to give ocdtrekkie all teh upvotes
<ocdtrekkie_> :P They had an issue on their tracker suggesting Sandstorm since like last march too. I tagged Asheesh on it.
<ocdtrekkie_> asheeeeeeeesh (asheesh)
<ocdtrekkie_> I realized I just made a dupe PR of another PR from like last September.
neynah has joined #sandstorm
<asheesh> d'oh
bb010g has joined #sandstorm
<ocdtrekkie_> Just means you get to close out two for the price of one, I guess. :P
isd has joined #sandstorm
rustyrazorblade has joined #sandstorm
simonv3 has quit [Quit: Connection closed for inactivity]
wolcen has joined #sandstorm
<asheesh> Welcome back wolcen
rustyrazorblade has quit [Quit: rustyrazorblade]
rustyrazorblade has joined #sandstorm
wolcen has quit [Ping timeout: 250 seconds]
canucky has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
isd has quit [Ping timeout: 260 seconds]
mnutt has joined #sandstorm
isd has joined #sandstorm
joshbuddy has quit [Quit: joshbuddy]
mnutt has quit [Quit: mnutt]
rustyrazorblade has quit [Quit: rustyrazorblade]
mnutt has joined #sandstorm
rustyrazorblade has joined #sandstorm
DanC__ has left #sandstorm ["Hasta"]
rustyrazorblade has quit [Quit: rustyrazorblade]
|jemc| has left #sandstorm ["WeeChat 1.3"]
mnutt has quit [Quit: mnutt]
wolcen has joined #sandstorm
wolcen has quit [Ping timeout: 250 seconds]
wolcen has joined #sandstorm
decipherstatic has quit [Ping timeout: 240 seconds]
isd has quit [Ping timeout: 276 seconds]
relicanth has quit [Ping timeout: 264 seconds]
cyberhobbit has joined #sandstorm
cyberhobbit has quit [Changing host]
cyberhobbit has joined #sandstorm
cyberhobbit has joined #sandstorm
wolcen has quit [Ping timeout: 250 seconds]
cyberhobbit has quit []
wolcen has joined #sandstorm
joshbuddy has joined #sandstorm
joshbuddy has quit [Quit: joshbuddy]
joshbuddy has joined #sandstorm
joshbuddy has quit [Quit: joshbuddy]
neynah has joined #sandstorm
jadewang has quit [Remote host closed the connection]
mnutt has joined #sandstorm
* asheesh stretches.
* au just arrived at Paris, getting ready to talk about Freedom Zero (and the ideas behind Sandstorm.io) on Wednesday to some 7000 people
<asheesh> !!!! !!!!
<asheesh> ++
<asheesh> BTW I saw schoen today (-:
<au> :D
rolig has quit [Ping timeout: 250 seconds]
rolig has joined #sandstorm
nico_somb has joined #sandstorm
<nico_somb> ping @asheesh
<asheesh> Hi nico_somb ! Pong!
<nico_somb> I manage to create a new app, no pbm with that
<asheesh> Great!
<nico_somb> when I launch a new instance,
<asheesh> BTW I presume you're one of the wallabag people, and I'm excited to see you here!
<nico_somb> oh yeah sorry I'm the main developer of wallabag
<asheesh> And I'm one of the maintainers of vagrant-spk which you're presumably using, so thanks for your patience with its deficiences and so on.
<asheesh> Oh neat nico_somb !
<nico_somb> when I launch a new instance, I've got a blank page with those characters "���(�Ã�±ï¿½ï¿½ï¿½ï¿½HML��)�,�I�310Vp�/J�LIIÃ�³Ñ‡�胕�&��T*$�'����*�gd��*��HN�+I-���0D7(b���T���g�U����!���2Sï¿Â
<nico_somb> :)
<asheesh> Yeah, that's gzip being enabled.
<asheesh> I thought we fixed that.
<asheesh> One sec.
<asheesh> Oh it's the nginx error page actually.
<asheesh> being gzipped and corrupted.
<nico_somb> Oh ok
<nico_somb> so my nginx conf is wrong
<asheesh> It looks like I never fixed this, which is a big sad.
<asheesh> s/a big sad/a bit sad/
<nico_somb> :-D
<nico_somb> I relaunch vagrant-spk dev
<nico_somb> "This seems to have struck @nicosomb this evening." no, this morning, huhu
<asheesh> Well it's 23:41 here! (-:
jadewang has joined #sandstorm
<asheesh> Howdy jadewang
<jadewang> yo
<asheesh> I presume you saw https://news.ycombinator.com/item?id=10957373 w/r/t WeKan on front page? (-:
<asheesh> nico_somb: Keep the problems coming (-:
rolig has quit [Ping timeout: 265 seconds]
<nico_somb> And I presume you saw https://news.ycombinator.com/item?id=10955186 on front page? ;-)
<asheesh> Yeah! ocdtrekkie_ here made sure we saw it (-:
rolig has joined #sandstorm
mnutt has quit [Quit: mnutt]
raoulzecat has joined #sandstorm
<nico_somb> about the `gzip off;` configuration, I put it in setup.sh, where the nginx.conf is created. I don't think I put it at the right place, still the same pbm
<asheesh> (a) if you can test this specific setup.sh then you'll be testing my vagrant-spk fix for this, which would be great:
<asheesh> (b) you'll need to re-"provision" the Vagrant box, which you can do with
<asheesh> cd .sandstorm ; vagrant provision
<asheesh> cd ..
<jadewang> hey asheesh
<jadewang> look at server installs
<jadewang> (OH Kenton: wat)
<jadewang> oh, btw, wekan is frontpaging on HN
<jadewang> oh, right, you just said
<jadewang> haha
<jadewang> kenton's laughing at me
<asheesh> That's surprising re: server installs. Maybe we're not successfully removing the test suite? But maybe we are and life is amazing. Oh hey just saw someone request a sandcats cert.
<nico_somb> when I want to re-provision, I've got this error `==> default: unlink: cannot unlink ‘/etc/nginx/sites-enabled/default’: No such file or directory`
<asheesh> D'oh, I thought I fixed that |:
<nico_somb> I hope I've got the last version ...
<asheesh> You do; let me fix that now.
<nico_somb> I followed the tutorial to install
<kentonv> oh man, yesterday was the highest daily active user count on Oasis ever and today is going to 1.5x it.
<asheesh> and then cd .sandstorm ; vagrant provision ; cd ..
<asheesh> Sorry about the rough edges here; nice to have someone like you experiencing these problems so I can test the fixes.
<asheesh> (though naturally I'd prefer you experience zero problems)
<asheesh> ... you're going to have "ln -s" problems in a second, let me fix those too...
<asheesh> Okay please re-download, sorry about that.
jadewang has quit [Remote host closed the connection]
<nico_somb> `==> default: /opt/app/.sandstorm/setup.sh: line 9: $1: unbound variable`
<nico_somb> maybe my changes in the setup.sh are wrong
<asheesh> OK, that's weird to me. I don't see a $1 on line 9 of my setup.sh.
jadewang has joined #sandstorm
<asheesh> If you can share the setup.sh you're using, that'd be great!
<asheesh> Pastebin/gist is fine for something simple.
<asheesh> You probably need \$1 on line 25
<nico_somb> I made some changes to configure the symfony app
<nico_somb> ok, will see
<asheesh> I'm trying to find some docs on if variable expansion occurs in a bash heredoc but I guess it does.
<asheesh> Maybe we should adjust this so that nginx reads a conf file from /opt/app/.sandstorm/nginx.conf rather than us mutating the global conf file.
<nico_somb> FYI, the nginx file which inspired me is here https://www.nginx.com/resources/wiki/start/topics/recipes/symfony/
<asheesh> Gotcha, that makes sense.
<nico_somb> yeah with your file, I've got a 403 error
<nico_somb> looks better
<asheesh> : D
<asheesh> "yay for new error messages"
<asheesh> And hopefully the grain log (which hopefully you've found?) talks about the 403.
<nico_somb> still not looked for the grain log
<asheesh> Gotcha; it's in the Sandstorm top bar, look for the little console/konsole icon.
<nico_somb> yeaaah error 500
<nico_somb> it's better :D
<nico_somb> permissions problem
<nico_somb> to create app/cache app/logs directories
<nico_somb> so I can create symlinks via the build.sh ?
<asheesh> Yup
<nico_somb> and can I also run my symfony commands in this file? (to install my app)
<asheesh> FWIW if you can adjust the configuration of the app, you don't even need symlinks, but sometimes things aren't configurable and symlinks are all you have.
<nico_somb> can I do mkdir in build.sh?
<nico_somb> I put 2 mkdir and the build.sh failed
<nico_somb> oh no it was not the problem in fact
<asheesh> launcher.sh is where to "build folder structures in /var" but if you're doing mkdir in /opt/app then build.sh I suppose.
<nico_somb> `mkdir: cannot create directory '/var/wallabag': Permission denied`
<asheesh> From launcher.sh ?
<nico_somb> no, build.sh, sorry
<nico_somb> I saw your msg after.
<asheesh> Move it to launcher.sh and you will be happy!
<asheesh> No prob at all.
jadewang has quit [Remote host closed the connection]
<nico_somb> grrr my commands in launcher.sh are not runned I think ...
<nico_somb> where can I find logs for launcher.sh?
<asheesh> Should be part of the grain log I mentioned earlier.
<asheesh> You can 'echo' etc. and that should show up in the grain log.
<nico_somb> ln: failed to create symbolic link 'logs': Read-only file system
<asheesh> Hmm, can you add 'set -x' to the top of launcher.sh and paste me the whole grain log?
<asheesh> My guess is that you're not making this in /var but I can't tell that for sure yet.
<nico_somb> I do:
<nico_somb> mkdir -p /var/log/wallabag mkdir -p /var/cache/wallabag
<nico_somb> then ln -s /var/cache/wallabag cache ln -s /var/log/wallabag logs
<nico_somb> is that wrong?
<asheesh> ln -s /var/cache/wallabag cache
<asheesh> This is reversed, I believe.
<asheesh> ln takes the form
<asheesh> ln -s source destination
<asheesh> so I think you want
<nico_somb> argh, `ln` always does that with me :-D
<asheesh> Yeah (-:
<asheesh> I used to do that all the time too.
<asheesh> Also I notice your PHP lines say:
<asheesh> "/opt/app/var" which is suspicious -- you want real /var not the var subdirectory of /opt/app
<nico_somb> OK I have to go, swimming pool time. Thank you for your advices.
<asheesh> You bet. Hope you have a good time!
<asheesh> Feel free to email me, community@sandstorm.io is probably the best address.
nico_somb has quit [Ping timeout: 252 seconds]
<asheesh> If you want to push your current state somewhere to the Internet, that could be cool. Oh well oops will talk to you later!
<asheesh> kentonv: Hmm you've seen the Oasis alerts?
<asheesh> Things do seem OK.
rolig has quit [Ping timeout: 264 seconds]
joshbuddy has joined #sandstorm
rolig has joined #sandstorm
jadewang has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jadewang has quit [Ping timeout: 272 seconds]
jadewang has joined #sandstorm
raoulzecat has quit [Ping timeout: 276 seconds]
jadewang has quit [Ping timeout: 272 seconds]
kentonv has quit [Ping timeout: 260 seconds]
kentonv has joined #sandstorm
kentonv has quit [Ping timeout: 272 seconds]
joshbuddy has quit [Quit: joshbuddy]
|jemc| has joined #sandstorm
|jemc| has quit [Client Quit]
|jemc| has joined #sandstorm
|jemc| has quit [Client Quit]
|jemc| has joined #sandstorm
xet7 has quit [Quit: Leaving]
nicolagreco has joined #sandstorm
rustyrazorblade has joined #sandstorm
nicolagreco has quit [Remote host closed the connection]
simonv3 has joined #sandstorm
decipherstatic has joined #sandstorm
rustyrazorblade has quit [Quit: rustyrazorblade]
larjona has quit [Quit: http://quassel-irc.org - Chatee cómodamente donde sea.]
larjona has joined #sandstorm
neynah has joined #sandstorm
mnutt has joined #sandstorm
|jemc| has quit [Ping timeout: 240 seconds]
|jemc| has joined #sandstorm
rpdillon has joined #sandstorm
larjona has quit [Remote host closed the connection]
<rpdillon> I'm following this guide (https://docs.sandstorm.io/en/latest/vagrant-spk/packaging-tutorial/), but local.sandstorm.io:6080 isn't resolving after I start the VM
<rpdillon> localhost:6080 gives tells me 'This Sandstorm server's main interface is at: http://local.sandstorm.io:6080'
<rpdillon> Any ideas on where to start troubleshooting?
<dwrensha> Is DNS failing for 'local.sandstorm.io'?
* asheesh waves.
<dwrensha> what happens if you do `dig local.sandstorm.io` on the command line?
<asheesh> rpdillon: Hi
<asheesh> Oh OK I see that someone else is taking care of you (-:
<asheesh> rpdillon: Can you try visiting http://local.sandstorm.io:6080 in your browser, or 'curl' it, and tell me what you see?
<rpdillon> ;local.sandstorm.io. IN A
<asheesh> The other workaround you can probably do is:
<rpdillon> In chrome, I'm seeing 'The webpage is not available' like when DNS fails
<rpdillon> But dig seems to being reporting reasonable things
<asheesh> cd .sandstorm ; vagrant ssh ; sudo nano -w /opt/sandstorm/sandstorm.conf # replace local.sandstorm.io with localhost everywhere, save, exit ; sudo service sandstorm restart ; exit # exit the vagrant ssh
<asheesh> But... I might be getting ahead of myself.
<asheesh> Try curl, if you can.
<asheesh> Also I will have to run off in about 10 minutes.
<dwrensha> ashessh's plan depends on support for "*.localhost", I think
<rpdillon> no worries, I was thinking of going the vagrant.conf route
<dwrensha> and that's not standard
<rpdillon> Let me curl it first
<rpdillon> Could not resolve host
<asheesh> Yeah, dwrensha, it is+does, which works most places I try but definitely not all.
<asheesh> rpdillon: What's vagrant.conf ? (You mean sandstorm.conf ?)
<dwrensha> when I do dig, I get a line in "ANSWER SECTION" like "local.sandstorm.io.300INA127.0.0.1"
<rpdillon> Sorry, I meant sandstorm.conf
<asheesh> Ah, great.
<rpdillon> Yeah, no answer section when I dig it...I was looking at the query section
<asheesh> Your wifi/LAN gear might be detecting+blocking this as a "DNS rebinding attack".
<rpdillon> Interesting
<asheesh> So if it is, I sympathize with it, and we can do the *.localhost thing and hope that works.
<rpdillon> OK, that worked perfectly. Off and running
AsheeshRoam has joined #sandstorm
larjona has joined #sandstorm
<AsheeshRoam> Laptop power fail, and have to run in 2 min
<AsheeshRoam> Great!
kentonv has joined #sandstorm
relicanth has joined #sandstorm
<kentonv> asheesh: oh yeah, I figured out last night it was because nginx ran out of fds. Increasing the limit made things happy.
AsheeshRoam has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
AsheeshRoam has joined #sandstorm
AsheeshRoam has quit [Client Quit]
ecloud_wfh is now known as ecloud
jadewang has joined #sandstorm
|jemc| has quit [Ping timeout: 260 seconds]
simonv3 has quit [Quit: Connection closed for inactivity]
jadewang has quit [Remote host closed the connection]
larjona has quit [Read error: Connection reset by peer]
skander has joined #sandstorm
skander has joined #sandstorm
<skander> hi
<skander> i'm looking for some help launching apps
<skander> mine do not launch completely and i am stuck with some loading icon
<dwrensha> skander: that's often due to DNS problems
<skander> ok thanks for the pointer
<skander> dwrensha: now everything's working, thank you so much
<dwrensha> yay!
joshbuddy has joined #sandstorm
relicanth has quit [Ping timeout: 240 seconds]
relicanth has joined #sandstorm
|jemc| has joined #sandstorm
joshbuddy has quit [Quit: joshbuddy]
joshbuddy has joined #sandstorm
skander has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<neynah> There's an App Market PR for you asheesh
* asheesh waves
<asheesh> K let me look
<asheesh> Will review in depth later, but mega yay that it's there.
<neynah> :D cool with me
curioussavage has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
curioussavage has quit [Client Quit]
curioussavage has joined #sandstorm
curioussavage has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
relicanth has quit [Ping timeout: 245 seconds]
bb010g has quit [Quit: Connection closed for inactivity]
mnutt has quit [Quit: mnutt]
mnutt has joined #sandstorm
relicanth has joined #sandstorm
mnutt has left #sandstorm [#sandstorm]
mnutt has joined #sandstorm
|jemc| has quit [Ping timeout: 256 seconds]
msoucy has quit [Ping timeout: 260 seconds]
neynah has joined #sandstorm
msoucy has joined #sandstorm
kecolus has joined #sandstorm