kentonv changed the topic of #sandstorm to: Welcome to #sandstorm: home of all things sandstorm.io. Say hi! | Have a question but no one is here? Try asking in the discussion group: https://groups.google.com/group/sandstorm-dev | Public logs at https://botbot.me/freenode/sandstorm/
harish has quit [Ping timeout: 255 seconds]
<alex2526> Ah, it seems that mongo keeps dying.. is there a way to run mongod --repair? sandstorm has its own mongod binary it seems and from the look of its output it's probably meant to be ran chrooted or something
ocdtr_web has joined #sandstorm
<ocdtr_web> alex2526: Is the mongo log for that server informative? https://docs.sandstorm.io/en/latest/administering/faq/#mongod-failed-to-start-whats-going-on
<crab> ocdtr_web: thanks, i hadn't seen the sync page.
<alex2526> ocdtr_web: it's not so much it fails to start as that it crashes once sandstorm talks to it, basically it's just this error "2017-08-23T00:30:00.021+0000 [conn4] SEVERE: Fatal DBException in logOp(): 0 assertion src/mongo/db/storage/extent_manager.cpp:109" with a stack printed after
<alex2526> trying to figure out how to run a database repair
<crab> i used the URL, username, and password given there, but davdroid (which queries the server and creates the account) doesn't show any calendar data.
<ocdtr_web> "You can query it by starting a Mongo shell by running: sudo sandstorm mongo."
<ocdtr_web> Is that helpful, alex2526?
<alex2526> oh, thanks! didn't see that part
<crab> if i click on the account name on the main page, it shows me an empty CardDAV menu and a CalDAV menu with "calendar.ics", but not an actual calendar.
<ocdtr_web> I knew that was in the docs somewhere. It's on this page: https://docs.sandstorm.io/en/latest/administering/guide/
<crab> also, on the cloud-sync page it has a link to a "how to set up the mobile device" page which is now a 404.
<alex2526> it's running the repair now :D
<ocdtr_web> crab: Yeah, I just opened a PR to fix that link, I linked the PR above.
<crab> ah, thanks. i hadn't looked at the PR yet.
<alex2526> bah humbug, still crashing
<alex2526> I assume the users and such are in the mongo database right? is there a way I can migrate the grains without migrating the user database?
<alex2526> (or all of mongo basically)
<ocdtr_web> That can get kinda hairy. All the grain data is in the file system, but there's likely metadata you need to either retrieve or recreate in the database. Like I think the database tells Sandstorm which package (app) a grain uses. But I'm not positive.
<alex2526> yea I was afraid of that..
<ocdtr_web> When you backup a grain, it zips the grain folder and adds stuff like the appId and packageId in a metadata file.
<ocdtr_web> As noted in the docs link above, emailing kentonv with the last 100 lines of your mongod.log is probably your best bet, he tends to look into stuff Sandstorm related on weekends.
<alex2526> hm, one thing I'm seeing is that it's stable as long as I only read stuff.. maybe I can run sandstorm in readonly mode?.. yea I guess I'll use the email address then
<alex2526> there's mostly some personal stuff in there like my personal kanban which I'd like to get back, other than that it's pretty easy to setup a new server thanks to the smooth setup process
<ocdtr_web> How many grains are you looking to recover?
<alex2526> probably less than a dozen
<alex2526> though there's much more grains on there than that and it'd be hard to find them if there's no human readable names
<ocdtr_web> Yeah, I get that.
<ocdtr_web> I am just thinking if you install the app on Sandstorm, download a backup zip of an empty grain, and paste your data from your old grain in, you can likely then restore the Frankenstein'd zip file back to a Sandstorm server.
jemc has joined #sandstorm
jemc has quit [Ping timeout: 248 seconds]
n8a has joined #sandstorm
jemc has joined #sandstorm
ocdtr_web has quit [Quit: Page closed]
n8a has quit [Ping timeout: 246 seconds]
n8a has joined #sandstorm
jemc has quit [Ping timeout: 240 seconds]
harish has joined #sandstorm
pie__ has joined #sandstorm
pie_ has quit [*.net *.split]
sknebel has quit [*.net *.split]
simpson has quit [*.net *.split]
phildini has quit [*.net *.split]
KCinJP has quit [*.net *.split]
sknebel has joined #sandstorm
phildini has joined #sandstorm
aundro has joined #sandstorm
KCinJP has joined #sandstorm
tg has quit [Ping timeout: 240 seconds]
Salt has quit [Ping timeout: 260 seconds]
simpson has joined #sandstorm
jparyani has quit [Ping timeout: 260 seconds]
jparyani has joined #sandstorm
Salt has joined #sandstorm
tg has joined #sandstorm
warren has quit [Ping timeout: 264 seconds]
warren has joined #sandstorm
tobald has joined #sandstorm
warren has quit [Ping timeout: 240 seconds]
warren has joined #sandstorm
aundro has left #sandstorm ["Leaving"]
harish has quit [Ping timeout: 248 seconds]
zarvox has quit [Ping timeout: 240 seconds]
zarvox has joined #sandstorm
PrivateReese has joined #sandstorm
mulk_ has joined #sandstorm
ecloud has quit [Ping timeout: 248 seconds]
ecloud has joined #sandstorm
pie__ has quit [Ping timeout: 276 seconds]
jemc has joined #sandstorm
harish has joined #sandstorm
zopsi has quit [Ping timeout: 240 seconds]
zopsi has joined #sandstorm
Lionel_Debroux_ has joined #sandstorm
Lionel_Debroux has quit [Ping timeout: 240 seconds]
pie_ has joined #sandstorm
pie_ has quit [Ping timeout: 248 seconds]
jemc has quit [Ping timeout: 252 seconds]
ill_logic has quit [Remote host closed the connection]
ill_logic has joined #sandstorm
tobald has quit [Quit: Ex-Chat]
pie_ has joined #sandstorm
xj9[m] has joined #sandstorm
<xj9[m]> i'm looking at using sandstorm for my org and i have some questions about static publishing
<xj9[m]> *web publishing
<xj9[m]> is there a way to serve this content over SSL?
Telesight has joined #sandstorm
pie_ has quit [Read error: Connection reset by peer]
pie__ has joined #sandstorm
isd has joined #sandstorm
larjona has quit [Read error: Connection reset by peer]
larjona has joined #sandstorm
alex2526 has quit [Quit: Konversation terminated!]
ocdtr_web has joined #sandstorm
<ocdtr_web> xj9[m]: definitely possible
<ocdtr_web> xj9[m]: You may note that static publishing at oasis.sandstorm.io is HTTPS.
<xj9[m]> does that work with custom domains?
<ocdtr_web> What do you mean?
<xj9[m]> > Users can also make the content available at any domain. To do that, they need to configure a CNAME record pointing at the Sandstorm install; this is how their domain's DNS will resolve to the Sandstorm server. The user also needs a TXT record; this is how Sandstorm determines what publicId this domain corresponds to.
<xj9[m]> we have several websites that are generated with hugo (custom webhook/gitlab setup atm) that could be hooked up to the hugo sandstorm app but they need to be served over ssl
<ocdtr_web> Well, Oasis serves a site I have at https://8qegjfe6q2uquv5kjk7g.oasis.sandstorm.io/ (which is using Sandstorm's wildcart cert) and I have Cloudflare DNS set up to point to it, which works here at https://blog.jacobweisz.com (which shows with Cloudflare's cert).
<xj9[m]> > using cloudflare
<ocdtr_web> I know Cloudflare has a mountain of SSL options that I do not know how to use, so I am not sure if I set it up "right".
<xj9[m]> i don't want to MITM myself
<ocdtr_web> My point is, I assume it is possible to serve over HTTPS, because I have both my custom domain and the original grain publishing domain serving over HTTPS.
<ocdtr_web> (I am not a Sandstorm dev, and know little. But try to help.)
<xj9[m]> i'll have to do some custom setup then
<ocdtr_web> There is some Nginx configuration details here which may help: https://docs.sandstorm.io/en/latest/administering/reverse-proxy/
<xj9[m]> hopefully let's encrypt integration happens soon (esp now that wildcard certs are coming)
<ocdtr_web> xj9[m]: The plan is to directly support Let's Encrypt in Sandstorm once they turn on wildcard certs.
<xj9[m]> nice
Telesight has quit [Quit: Leaving.]
ocdtr_web has quit [Quit: Page closed]
<TimMc> Which will be nice... if I can figure out if my registrar supports a DNS API...
<TimMc> (Well, my web host, not my registrar.)
<samba_> hi, I've some users trying to share the pad grain and they are receiving some error when sending the email
<samba_> Failed to send to: userXYZ. Share succeeded, but there was an error emailing the user. Please manually share https://sandstorm.myweb.org/shared/BEfUQmgArcCwA0lE6YXaFzaRs2AAzQ1ipuimTlIAmfA with them.
<samba_> 1. where I can check the error logs? (nothing in sandstorm.log)
<samba_> 2. what is can be debugged?
pie__ has quit [Read error: Connection reset by peer]
pie_ has joined #sandstorm
isd has quit [Quit: Leaving.]
<ocdtrekkie> samba_: Have you reviewed this page for any insight? https://docs.sandstorm.io/en/latest/administering/email/