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