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
ThePurgingPanda has joined #sandstorm
wew has quit [Ping timeout: 272 seconds]
natea has joined #sandstorm
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Remote host closed the connection]
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Remote host closed the connection]
afuentes has joined #sandstorm
dzho has quit [Quit: leaving]
afuentes has quit [Ping timeout: 265 seconds]
wew has joined #sandstorm
ThePurgingPanda has quit [Ping timeout: 252 seconds]
xet7 has quit [Quit: Leaving]
xet7 has joined #sandstorm
synchroner has joined #sandstorm
strugee has quit [Read error: Connection reset by peer]
synchroner has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
mclasen has joined #sandstorm
Jan\ has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
mclasen has quit [Quit: mclasen]
amyers has joined #sandstorm
amyers has quit [Quit: Leaving]
amyers has joined #sandstorm
mclasen has joined #sandstorm
frigginglorious has joined #sandstorm
mclasen has quit [Quit: mclasen]
amyers has quit [Remote host closed the connection]
amyers has joined #sandstorm
amyers has quit [Quit: Leaving]
mclasen has joined #sandstorm
mclasen has quit [Client Quit]
amyers has joined #sandstorm
amyers has quit [Read error: Connection reset by peer]
amyers has joined #sandstorm
amyers has quit [Remote host closed the connection]
n8a has quit [Ping timeout: 272 seconds]
n8a has joined #sandstorm
mclasen has joined #sandstorm
jemc has joined #sandstorm
jemc has quit [Quit: WeeChat 1.4]
jemc has joined #sandstorm
xet7 has quit [Quit: Leaving]
mclasen has quit [Quit: mclasen]
natea has quit [Quit: natea]
mclasen has joined #sandstorm
halindrome has joined #sandstorm
natea has joined #sandstorm
<halindrome> silly davros related question. using owncloud from windows, sometimes the shared davros grain seems to get mounted such that all the files are readonly? Is this a known issue?
<dwrensha> perhaps this is related? https://github.com/mnutt/davros/issues/27
<dwrensha> halindrome: ^
<halindrome> thanks that does seem similar dwrensha
synchroner has joined #sandstorm
<halindrome> My specific use case is that I have GnuCash file that is shared among project participants. But when I run GnuCash on the owncloud mounted share... it says the files are readonly. Which could of course be an owncloud problem.
synchroner has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
mclasen has quit [Quit: mclasen]
mclasen has joined #sandstorm
synchroner has joined #sandstorm
kasd11 has joined #sandstorm
<kasd11> is there an app that lets me edit a html page and share it?
<synchroner> try davros or hackerslides
<dwrensha> kasd11: HackerCMS and HakyllCMS let you edit and publish markdown
<synchroner> ah, right, theres cms
synchroner has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<kasd11> dwrensha: html! not markdown ;)
<kasd11> for js and css and all that
mclasen has quit [Quit: mclasen]
<nolski> Does sandstorm support matrix/znc at all?
mclasen has joined #sandstorm
kasd11 has quit [Quit: Leaving]
r4z has joined #sandstorm
<r4z> hello there!
<r4z> I'm getting this error when installing sandstorm: http://pastebin.com/raw/fVvPQLQQ
<r4z> not sure if this is because I'm trying to install inside a VM
<r4z> but I installed it before and everything went cool
<zarvox> r4z: looks like Sandstorm (or maybe something else) is already running/listening on the port specified
<zarvox> You can see what programs are listening on what TCP ports with "sudo netstat -lntp"
<zarvox> Cross-reference that list of running services with the PORT= directive specified in /opt/sandstorm/sandstorm.conf, and hopefully that tells you if you already have Sandstorm running, or if you've got something else holding on to that port?
<r4z> nothing is listening on 6080
<zarvox> Hmmm, that's odd. Do you mind pastebining the output of the netstat?
<zarvox> (just to make sure I'm not making a false assumption: you are installing to the default directory, yes?)
<r4z> yes, that's right
<r4z> there's the output
<zarvox> Huh. asheesh, any ideas?
<asheesh> Howdy
<asheesh> r4z: Hello! I'm the main maintainer of install.sh.
<r4z> Hello asheesh !
<asheesh> It sounds like possibly the problem is that Sandstorm is trying to listen on port 25 for SMTP.
<asheesh> If so, that would conflict with your existing MTA.
<asheesh> You can test this theory of mine by editing /opt/sandstorm/sandstorm.conf to have a SMTP_LISTEN_PORT=30025 instead of SMTP_LISTEN_PORT=25
<r4z> sure, let me try
<asheesh> You can also check if SMTP_LISTEN_PORT shows up in /opt/sandstorm/sandstorm.conf first.
<asheesh> Tell me if it does, and what the line there is.
<asheesh> FWIW, if you ran install.sh, but sandstorm crashes on startup, that is 100% an installer bug, and I should fix it :)
<r4z> yeah, changing the port does the trick but now looks like mongo doesn't run
<asheesh> :)
<asheesh> One step forward, one step back. Can you pastebin the new log?
<r4z> sure
<asheesh> Sorry you're having so many problems, and thanks greatly for being willing to ask us questions.
<asheesh> I'll file a bug now about the port 25 thing. Quick clarifying question first: Was it the case that SMTP_LISTEN_PORT was set to 25 in your sandstorm.conf?
<r4z> like from default?
<r4z> yeah
<asheesh> Yeah, like 15 minutes ago.
<asheesh> Great.
<r4z> Here's the new pastebin: http://pastebin.com/raw/08S9ggzH
<asheesh> Hey zarvox now I want to pass this back to you :)
<asheesh> Do you have any ideas about this mongod.log -- http://pastebin.com/raw/08S9ggzH ? Also r4z what's the most recent sandstorm.log contents?
<asheesh> I guess it looks vaguely like mongod started to initialize but then only half initialized.
<asheesh> Since you don't have a working Sandstorm server yet, you could try: sudo mv /opt/sandstorm/var/mongo /opt/sandstorm/var/mongo.moved-out-of-the-way
<asheesh> but don't do that yet; let's figure out what's going on first.
natea has quit [Quit: natea]
n8a has quit [Ping timeout: 248 seconds]
<zarvox> asheesh: I see that in some of my logs; it looks like we started the mongo process but didn't connect to configure the replset
<zarvox> Per the code, we should automatically attempt to create the mongo user and configure the replset on every launch.
<asheesh> Gotcha.
<asheesh> r4z: I think I need that /opt/sandstorm/var/log/sandstorm.log :)
<zarvox> If you see "** Back-end and Mongo started; now starting front-end..." in the sandstorm.log, then things should have progressed past that point
<r4z> Sure
<r4z> but looks like mongo stops after starting
<zarvox> looks like we can't connect to mongo on port 6081 :/
<asheesh> Yeah. Huh.
<asheesh> Would we expect
<asheesh> Would we expect mongod stopping to show up in mongod's log? I guess not under all circumstances.
<asheesh> https://build.sandstorm.io/job/Sandstorm-installer/ suggests that Sandstorm does start up for some people in some circumstances, at least. I'm inclined to ask you r4z if restarting Sandstorm makes this problem go away. Before you do that, can you do:
<asheesh> sudo cp -a /opt/sandstorm /opt/sandstorm.weird-behavior-snapshotted
<r4z> sure
<asheesh> Thanks!
<r4z> same error with mongo
<r4z> "replSet can't get local.system.replset config from self or any seed"
<r4z> and the log ends abruptly
<r4z> I will try moving the mongo folder
<r4z> moved the folder but still having the same error on the log
<asheesh> If you do so, you probably need to recreate it before starting Sandstorm. See also:
<asheesh> ls -ld /opt/sandstorm/var/mongo
<asheesh> drwxrwx--- 3 sandstorm sandstorm 4096 Sep 15 10:00 /opt/sandstorm/var/mongo
<asheesh> i.e. sudo chmod 770 /opt/sandstorm/var/mongo ; sudo chown sandstorm.sandstorm /opt/sandstorm/var/mongo
<r4z> Sorry I thought sandstorm would recreate it, let me try
<asheesh> Yeah, I thought so, too, but then I grepped the source code :)
mnutt_ has joined #sandstorm
mclasen has quit [Quit: mclasen]
<r4z> hmm sorry guys still failing
<r4z> I get the "sandstorm running" but it stops almost immediately
<r4z> so I tried using the HTTPS-verified install and the PGP install maybe trying the installation from source, perhaps...
<asheesh> r4z: Good to know.
<asheesh> I don't think from-source will change anything, fwiw.
<asheesh> There's something subtle-y interesting about your environment, seemingly, which results in mongo aborting.
<asheesh> What can you tell me about where you're running Sandstorm? A VM on your own system via libvirt? A hosting provider like DigitalOcean?
<asheesh> Did you try a full uninstall & reinstall of Sandstorm?
n8a has joined #sandstorm
<r4z> yup
<r4z> I tried a full reinstall
<r4z> it's a debian 8
<r4z> running on a LXC, perhaps... I don't have access to the host just the guest.
frigginglorious has quit [Quit: frigginglorious]
<r4z> And yes I hit it [https://github.com/sandstorm-io/sandstorm/issues/1156] before running here and ask for help
<r4z> but not sure if this is related to apparmor since I succeed installing sandstorm before...
<asheesh> BTW how much free disk space do you have? Hopefully >1GB?
<asheesh> It's pretty weird that Mongo is exiting with status code 1.
<asheesh> You could try strace-ing things, like 'sudo strace -ff sandstorm start'
<dwrensha> I haven't been following the discussion, but I want to note that changing the mongo URL can cause trouble: https://github.com/sandstorm-io/sandstorm/issues/2305
merglind_ has joined #sandstorm
merglind_ has quit [Client Quit]
birgit has joined #sandstorm
<birgit> hi sandstormers!
<asheesh> Hi birgit!
gambatte has quit [Ping timeout: 272 seconds]
<birgit> i havent found it among the app market yet but i'm looking for an app that can visualize/view GPX traces - i do understand that openstreetmap, google earth is able to do that but i'd like to host the GPX files myself - i do see only owntrack so far working with map/gps data..
<birgit> without reinventing the wheel or hosting my own tile server - does anyone know of an open web app that could do that?
gambatte has joined #sandstorm
<asheesh> Ooh, interesting birgit.
<asheesh> I don't know of any off the top of my head, but I'm not really a geo person!
<asheesh> mnutt_ might possibly know more; he's the one who packaged owntracks, for what it's worth.
<birgit> thanks @asheesh I'm looking at projects hosted on Sourceforge at the moment, lots of open source software around GIS so I'm surprised no-ones packaged one for sandstorm yet
<mnutt_> I don't believe owntracks uses GPX currently internally, unfortunately
<asheesh> birgit: Well, it could be you who packages it :)
<mnutt_> I began packaging a tileserver for sandstorm but haven't finished it yet
<asheesh> Ooh
<birgit> mnutt_: which tileserver is that? that would be fantastic?
<mnutt_> well, that probably overstates it. I began, but didn't get very far
<birgit> I've worked with MapNik a while ago
<mnutt_> my plan was to use tileserver-mapnik and let people download from http://osm2vectortiles.org/ and upload to the grain
<mnutt_> and then the grain would produce an API that you could consume with other apps
<mnutt_> [something something powerbox]
<birgit> mnutt_: that would be exactly what I'd be after
<birgit> is your work somewhere accessible/collaboratible?
<mnutt_> I'd have to look later when I get home
<mnutt_> I don't believe I even had it to the point the app was running though
<mnutt_> https://github.com/mojodna/tessera is a good base to start with
n8a has quit [Ping timeout: 248 seconds]
<mnutt_> it currently requires statically configured styles and tilesets, though. you could probably bundle https://github.com/mapbox/mapbox-studio-streets.tm2 for the style
<mnutt_> and I was thinking the sandstorm grain would be in one of two states: either it had a tileset from osm2vectortiles on disk, and tessera was running, or it was missing one, and it just had an upload button to upload one
<mnutt_> and once one was uploaded, it restarted. that way you don't have to write too much code to dynamically load tilesets, and it fits well with sandstorm's one-grain-per-unit concept
<mnutt_> and hopefully you'd just load up the city you need, because the global tileset is ~60GB
<birgit> yes I was running into trouble years ago with the size of tilesets
<birgit> it would be fantastic to self-host GPX tracks and have them loaded onto those tiles - however i am unsure how the rendering of annotations works. I have experimented with video/audio/photo/txt annotations and unsure how they'd be rendered on different GIS
<mnutt_> would it be possible to use some js library to separate out the tilesets from the gpx data? something using leaflet, perhaps?
<mnutt_> like https://github.com/mpetazzoni/leaflet-gpx though I have no idea if it's any good
<mnutt_> (cartography is awesome but when I started looking into GIS solutions I now know approximately what it feels like to be a newcomer to the world of javascript frameworks)
<birgit> haha mnutt_ yes indeed - i did one project a while ago (thought it would be simple) and almost cried at the sheer complexity of tile-serving/layering/android rendering because i wanted to stick to solely open software (and hardware) but always got sent onto proprietary terrain by the 'experts
<birgit> it seems as though the landscape has changed quite a bit over the years so I am tiptoeing into GIS again
<mnutt_> yeah. there are a ton of overlapping solutions
<mnutt_> mapbox is doing really great open source work
<birgit> on another note: are there any organized/global sandstorm-app-packaging parties
<birgit> ?
<birgit> oh thanks mnutt_ - leaflet-gpx looks highly interesting
<birgit> Leaflet would be a wonderful package to have on sandstorm
r4z has quit [Read error: Connection reset by peer]
<asheesh> birgit: No, but if you want, you can schedule a 1-person app packaging party with me with video chat :)
<asheesh> BTW there is a New Zealand-based Sandstorm group; I saw your IP address is NZ-based.
<birgit> hi asheesh that'd be great
<asheesh> I heard from Tim (the lead organizer) that they had a really great first meetup recently.
<birgit> yes we had our first meeting in wellington last week
<asheesh> Ah hah :)
<birgit> i was there. late but there :)
<birgit> NZ is a village
<birgit> 1-person app packaging party sounds like fun!!
<asheesh> Great! :D
<asheesh> FWIW I bet Tim McNamara would also help out!
<asheesh> So if you want, you could have a 2-person one with out me :P :D
<asheesh> But yeah -- email me, I'm asheesh@sandstorm.io -- and we can set up a time if remote help works for you!
<birgit> mkay awesome!
mnutt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]