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
wolcen has quit [Ping timeout: 252 seconds]
TechnoTony has joined #sandstorm
wolcen has joined #sandstorm
<TechnoTony> Quick question, I would like to install Sandstorm on a Web Server. is this possible? Is there a way to set it up using a php file like with Owncloud?
<kentonv> TechnoTony, Sandstorm is not written in PHP, but if you are the administrator of the server machine (i.e. you have shell access) and it runs Linux then you can install Sandstorm on it.
<TechnoTony> So I would have to use SSH?
<kentonv> yes
<TechnoTony> alright
<TechnoTony> let me try that
<TechnoTony> thanks
TechnoTony has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jemc has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]
syruponcereal has joined #sandstorm
<syruponcereal> hi
wolcen has quit [Ping timeout: 250 seconds]
<syruponcereal> so I have a MediaWiki install, and I need to get to the grain's files
<syruponcereal> any ideas how I can achieve this?
<dwrensha> syruponcereal: click the "download backup" button in the topbar
<dwrensha> you'll get a zip that contains the grain's files
<syruponcereal> no - I mean I need to get to the PHP config file
<syruponcereal> to increase the max upload limit
<dwrensha> the config is probably immutable package code
<dwrensha> the upload problem sounds like a bug
<syruponcereal> hmm....
<dwrensha> I vaguely remember jparyani fixing something like this recently
<dwrensha> maybe that was a different app?
<syruponcereal> I was looking for the maintenance folder for a script
nwf has quit [Ping timeout: 260 seconds]
<dwrensha> the usual procedure here would be for you to file an issue here https://github.com/jparyani/mediawiki-sandstorm/issues
nwf has joined #sandstorm
frigginglorious has joined #sandstorm
BigShip has quit [Remote host closed the connection]
<syruponcereal> alright
<syruponcereal> got the file size thing fixed
<dwrensha> what did you do?
<syruponcereal> now I just get "Loss of session data" when I upload the XML
<syruponcereal> ventured in to the sandstorm apps folder
<syruponcereal> found the mediawiki app id
<syruponcereal> changed the line in the php.ini
<syruponcereal> and restarted the grain
<dwrensha> hm. maybe this is a bug in the LEMP vagrant-spk stack
<dwrensha> I don't see php.ini in the mediawiki-sandstorm repo
<syruponcereal> its under /opt/sandstorm/var/sandstorm/apps/[APPIDHERE]/etc/php5/fpm
<zarvox> so I think Debian's default php.ini sets post_max_size to 16M
<zarvox> I could possibly be convinced that that is too low, but in practice if you're uploading a thing larger than 4MB you probably want to be uploading and reassembling chunks anyway, rather than in a single giant POST
jacksingleton has quit [Ping timeout: 268 seconds]
<dwrensha> how does the app benefit from an upload size limit?
syruponcereal has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<zarvox> It caps the amount of memory/disk a single request can tie up, which might be a thing the user cares about, particularly if they're exposing an API endpoint. But I suppose that's perhaps less of an issue on Sandstorm than for server software more generally.
<zarvox> I guess unlimited post size (by setting post_max_size = 0 in php.ini) seems reasonably okay.
<zarvox> upload_max_filesize, OTOH, doesn't document whether you can set it to 0 to mean unlimited: http://php.net/manual/en/ini.core.php#ini.upload-max-filesize
<zarvox> looks like you can, judging by some comments on the Drupal issue tracker
<zarvox> Okay, probably makes sense to add that to the vagrant-spk lemp/lesp stacks.
nwf has quit [Ping timeout: 276 seconds]
nwf has joined #sandstorm
nwf has quit [Ping timeout: 276 seconds]
asheesh|roam has joined #sandstorm
<asheesh|roam> FWIW I think that the lemp/lesp stack should also move php.ini to service-config/.
<asheesh|roam> BTW syruponcereal, I'm glad you showed up (even though you see to not be here anymore).
<asheesh|roam> As for "loss of session data": that is a fascinating problem on its own.
<asheesh|roam> thanks dwrensha & zarvox for taking the issue report so seriously!
<asheesh|roam> I wonder what Heroku and/or their PHP buildpack do for these php.ini variables.
asheesh|roam has quit [Ping timeout: 240 seconds]
asheesh|roam has joined #sandstorm
asheesh|roam has quit [Quit: leaving]
jemc has quit [Ping timeout: 276 seconds]
syruponcereal has joined #sandstorm
syruponcereal has quit [Client Quit]
jadewang has quit [Read error: No route to host]
bb010g has quit [Quit: Connection closed for inactivity]
jadewang has joined #sandstorm
jemc has joined #sandstorm
jadewang has quit [Remote host closed the connection]
xet7 has quit [Quit: Leaving]
frankier has joined #sandstorm
jemc has quit [Ping timeout: 250 seconds]
xet7 has joined #sandstorm
aldeka has quit [Quit: No Ping reply in 180 seconds.]
pod has quit [Ping timeout: 250 seconds]
aldeka has joined #sandstorm
pod has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 268 seconds]
xet7b has joined #sandstorm
xet7_ has quit [Read error: Connection reset by peer]
xet7b has quit [Read error: Connection reset by peer]
xet7b has joined #sandstorm
xet7b has quit [Ping timeout: 260 seconds]
xet7b has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 260 seconds]
h has joined #sandstorm
h is now known as Guest77180
Guest77180 has quit [Client Quit]
xet7 has quit [Quit: Leaving]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
Red-shadow has joined #sandstorm
Red-shadow has quit [Client Quit]
keturn__ has quit [Ping timeout: 260 seconds]
amyers has joined #sandstorm
xet7b is now known as xet7_
wolcen has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 250 seconds]
syruponcereal has joined #sandstorm
dwrensha has quit [Ping timeout: 244 seconds]
dwrensha has joined #sandstorm
dwrensha has quit [Read error: Connection reset by peer]
syruponcereal has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
wolcen has quit [Ping timeout: 276 seconds]
dwrensha has joined #sandstorm
NwS has quit [Read error: Connection reset by peer]
Isla_de_Muerte has joined #sandstorm
simonv3 has quit [Ping timeout: 250 seconds]
simonv3 has joined #sandstorm
wolcen has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 260 seconds]
jemc has joined #sandstorm
wolcen has quit [Quit: Leaving]
aaronr has quit [Remote host closed the connection]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
amyers has quit [Ping timeout: 250 seconds]
jadewang has joined #sandstorm
xet7 has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
Guest77180 has joined #sandstorm
zeroish has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]
<asheesh> Morning, all.
Guest77180 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
frigginglorious has joined #sandstorm
jacksingleton has joined #sandstorm
<ocdtrekkie_> This is the morning I've awaited for years.
jadewang has joined #sandstorm
<asheesh> ...?
<asheesh> I mean - that's great!
<kentonv> excited about EU-Google antitrust?
jadewang has quit [Ping timeout: 260 seconds]
amyers has joined #sandstorm
jadewang has joined #sandstorm
<pdurbin> excited about Harriet Tubman replacing Andrew Jackson on the twenty dollar bill?
frigginglorious has quit [Quit: frigginglorious]
frigginglorious has joined #sandstorm
kecors has joined #sandstorm
jacksingleton has quit [Ping timeout: 244 seconds]
<Pistos> Something I've never seen before: I am fully connected with a wireless interface, but `iwconfig` shows "no wireless extensions" for the device. Why is that?
<Pistos> I'd normally not care, but I want to see the info from iwconfig, such as the access point name.
<Pistos> Oops sorry, wrong channel!!!
<gwillen> hello #sandstorm!
<gwillen> I have run into what seems to be a quirk of demo accounts
<gwillen> I pushed the button to try out the new survey app on oasis
<gwillen> this put me in a demo account, which I then tried to upgrade to a real account
<gwillen> oasis informed me that I already _have_ a real account
<gwillen> but there doesn't seem to be any way to _get_ to it while the demo is running
<gwillen> other than to clear cookies
<gwillen> (it told me I can't register for a new account with an email that already has access to an existing account)
<gwillen> (but there doesn't seem to be any way to merge the demo with an existing account -- but frankly it's fine if that's impossible -- or escape the demo and log into my real account.)
<dwrensha> gwillen: we do not have a way to merge accounts
<dwrensha> what we have is a way to link and unlink identities to accounts
<asheesh> We also don't have a way to log out as a demo account.
<asheesh> Which is kind of strange.
<dwrensha> Metoer.logout()
<asheesh> Who knows, maybe I'm responsible for that.
<dwrensha> er, Meteor.logout()
<asheesh> OK we don't have a place people can click dwrensha : P
<dwrensha> I suppose grain "chowning" might have solved gwillen's problem
<dwrensha> sounds like he wanted to transfer a grain to another account, but keep the same grain ID
jacksingleton has joined #sandstorm
bemasc has joined #sandstorm
Isla_de_Muerte is now known as NwS
<asheesh> Hi there!
<asheesh> Anyone here willing to help a Sandstorm user figure out a race condition in service startup, sot hat a user can make sure Sandstorm starts after his system mounts /opt ?
<asheesh> I attempted to help, but I clearly am out of my systemd-league. The user is using systemd.
<asheesh> A cool thing about this is that maybe you could write a blog post or Sandstorm docs or something indicating how to tie that all together.
<zarvox> is mounting /opt controlled by a mount unit https://www.freedesktop.org/software/systemd/man/systemd.mount.html ?
<zarvox> or just /etc/fstab?
<asheesh> He just added a mount unit, seemingly to no avail.
<zarvox> did he systemctl daemon-reload after adding the mount unit, so systemd would pick it up?
<zarvox> and then he declared a After= and Requires= relationship in the sandstorm.service unit?
<asheesh> Should /opt be "auto" in fstab, given those units? I would vaguely assume no, if he adds an automount unit?
<asheesh> (i.e. the automatic-ness gets transferred to systemd explicitly)
<zarvox> if he wrote it in both /etc/fstab and a mount unit, one is possibly overriding the other
<asheesh> Exactly, great.
<zarvox> if the path being mounted is /opt, the thing he'd reference in sandstorm.service in After= and Requires= would likely be named "opt.mount"
<gwillen> dwrensha: so, it would be nice to be able to chown grains, and it's probably a long-term requirement
<gwillen> but a way to log out of the demo account would solve this particular weird corner I find myself it
<gwillen> in*
<gwillen> and I think it's not that likely that someone's demo grains are likely to be super valuable
<gwillen> and having demo grains while already having an account is probably not a common case either
<kentonv> I agree, we should have a UI-accessible "end demo" button, or something
amyers has quit [Ping timeout: 268 seconds]
<gwillen> actually, a question about the new survey app -- is it not possible to share the management capability? Only the 'take survey' capability?
<gwillen> I assume a capability must exist for managing the survey since the owner has it
<gwillen> This seems like something that should fit very naturally into the sandstorm model.
<asheesh> For now, yeah, just "take survey."
<asheesh> It's a missing feature, I agree. I find simonv3 is pretty responsive so consider filing a bug.
<asheesh> "That's the problem with getting publicity!"
<asheesh> (also hi simonv3 )
<gwillen> heh! *nods*
<gwillen> also I was very puzzled at first how to share the survey, because I expect the sandstorm 'share' link to mean 'share the capability I'm currently using'
<gwillen> I didn't expect that this would share a link to take the survey and it doesn't say anywhere
<gwillen> and there's no 'share' link in the survey management interface (only in the take-survey interface, and only after you finish, if the survey has sharing enabled)
<gwillen> anyway I'll file this and tag it 'sandstorm'.
<gwillen> this might be related to #25 already filed by simonv3, hard to tell what the intent of that is
neynah has joined #sandstorm
jacksingleton has quit [Ping timeout: 276 seconds]
jadewang has quit [Remote host closed the connection]
jadewang has joined #sandstorm
jacksingleton has joined #sandstorm
kecors has quit [Quit: Leaving]
syruponcereal has joined #sandstorm
amyers has joined #sandstorm
<syruponcereal> hi
<syruponcereal> I'm running PIWIK on my server
<asheesh> Hi syruponcereal !
<asheesh> Great!
<syruponcereal> and I'm trying to track the pages on my sandstorm server
<syruponcereal> any ideas on how this is possible?
<asheesh> If you mean the Sandstorm interface itself, I don't know that it is possible without source code changes.
<asheesh> It's an interesting concept, though.
<asheesh> Maybe we should add support for it, or something like it.
<syruponcereal> I'm going to SSH in
<asheesh> It's designed for use with apps like WordPress, rather than with the Sandstorm interface itself.
<syruponcereal> dig around a bit
<asheesh> Cool. FWIW you might also find the source code at https://github.com/sandstorm-io/sandstorm useful.
<syruponcereal> thanks
<ocdtrekkie_> kentonv was right on why I was excited. :) When I'm saying "this is the law being broken" for like two years, and then someone actually gets in trouble for violating that law in that way, it makes me happy.
<syruponcereal> I found the sandstorm-main Javascript file
<ocdtrekkie_> Something about enjoying being right or whatever. I have flaws.
jacksingleton has quit [Ping timeout: 246 seconds]
<asheesh> syruponcereal: BTW, you might also like the /admin/stats page that comes with every Sandstorm server.
<syruponcereal> well, it's the meteor file
<syruponcereal> I need something a bit more powerful though
<asheesh> I'd love to hear more aobut what you're trying to do, generally, to see how to fit it into what we have now and what we can easily support.
<syruponcereal> I need the PIWIK JS code to be included right before the body tag on every page
<asheesh> Sandstorm doesn't support that degree of customization at the moment. If you need it, maybe file a bug at https://github.com/sandstorm-io/sandstorm/issues
<asheesh> It's going to be difficult to figure out how to mesh that degree of information sharing with the admin alongside our goal to provide good security, but maybe there's a way to figure out what information you need and have just that show up.
<syruponcereal> ...
<syruponcereal> I think I just did it
amyers has quit [Ping timeout: 240 seconds]
<asheesh> Nice!
<syruponcereal> I modified the head.html file
<syruponcereal> now I should need to restart the server
<syruponcereal> going to be a hassle to reclone all my Git repos though
<asheesh> If you're making changes to Sandstorm on your own machine, keep in mind that when Sandstorm auto-updates, it'll clobber your changes unless you disable auto-updates (UPDATE_CHANNEL=none in sandstorm.conf).
<syruponcereal> nope didnt work
<syruponcereal> the grain's domain changed
<syruponcereal> now I get to reclone everything
<syruponcereal> I wonder if there's a way you could lock a domain
<asheesh> I'm not quite sure what you're trying to do, but let me know if you need my help, syruponcereal.
<syruponcereal> like, keep it fromchanging
<syruponcereal> let's say I restart my server
<syruponcereal> that server was running Gogs
<syruponcereal> so, after the restart, I have to reclone all my Git repos
<syruponcereal> because the grain's URL and API URL changed
<zarvox> You shouldn't have to. The git repos are on the API endpoint, which should continue to work indefinitely.
<asheesh> The old API URL will work too.
<asheesh> A lot of people seem to believe the old ones won't work. I wonder if we can do something about that.
<asheesh> (when a new one gets displayed)
<syruponcereal> but they don't work
<syruponcereal> it's happened to me
<zarvox> If they don't, yikes, that's a pretty severe bug. Can you describe how you cloned the repo initially, and then what happened when you subsequently wanted to e.g. git pull or git push?
<asheesh> Hmm. What error do you get? Can you create a new gogs repo and share it with me and then maybe I can try to reproduce the error?
syruponcereal has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<asheesh> Maybe some other time!
jemc has quit [Ping timeout: 250 seconds]
amyers has joined #sandstorm
<dwrensha> for me with gitweb, at least, I've been using some api tokens for a long time without any problems
amyers has quit [Ping timeout: 240 seconds]
digitalcircuit has quit [Remote host closed the connection]
digitalcircuit has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]