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
<aeternity> pretty recent
<dwrensha> cool
<aeternity> I am in that wiredTigerDb now... connect failed so far
<dwrensha> yeah, I'm having trouble getting mongod to start without immediately aborting
<dwrensha> it's not giving me an error message :(
<dwrensha> oh, got it
<dwrensha> we'll need to figure out which document to edit...
<aeternity> k, will look intot that plugins source
<dwrensha> db.rocketchat_settings ... and then something
<dwrensha> let's get you to where I am
<dwrensha> in one shell I am in the sandbox directory of the grain
<_habnabit> dwrensha, https://gist.github.com/habnabit/5d3b09cef2c74c533309e07c86f2c5ef low-effort but seems to work
<dwrensha> for me thats /opt/sandstorm/var/sandstorm/grains/eHPYePXSBCHYRNSSRJfmCb/sandbox
<dwrensha> (also, before doing any of this, do make sure that you have a backup)
<dwrensha> in that shell I start mongod like this: `mongod --port 4444 --dbpath wiredTigerDb/ --noauth --bind_ip 127.0.0.1 --storageEngine wiredTiger --wiredTigerEngineConfigString "log=(prealloc=false,file_max=200KB)" --wiredTigerCacheSizeGB 1 --logpath wiredTigerDb/mongo.log`
<aeternity> ok, I am inside the sandbox grain...
<dwrensha> then in another shell I can connect through `mongo --port 4444 meteor`
<aeternity> ok, got it
<dwrensha> for the `mongod` command to work, you'll need to make sure that neither you nor anyone else has an open session on the grain
<dwrensha> so that you can get the lock
<aeternity> worked
<dwrensha> so what does `db.rocketchat.settings.find()` show?
<dwrensha> so what does `db.rocketchat_settings.find()` show?
<aeternity> just newline... must be missing something
<dwrensha> did you try the second one I pasted?
<aeternity> yes
<dwrensha> what does `show collections` show?
<aeternity> just 'db' returns 'meteor' and db.rocketchat_settings also returns meteor.rocketchat_settings, but adding .find() and it does not return anything
<aeternity> 'show collections' also just shows newline without anything
<aeternity> not missing a semicolons somewhere or something?
<dwrensha> I don't need a semicolon when I do it here
<aeternity> if was that easy... :D
<aeternity> dunno...
<aeternity> strange, when I type in something random and press enter, a error message apepars
<aeternity> also 'exit' works
<dwrensha> the setting is named SlackBridge_Enabled
<aeternity> but show collections just prints newline
<aeternity> db.rocketchat_settings.SlackBridge_Enabled = false
<aeternity> ?
<dwrensha> I just tried `db.rocketchat_settings.update({_id: "SlackBridge_Enabled"}, {$set: {value: false, meteorSettingsValue: false}})`
<dwrensha> and that fixed my grain
<dwrensha> but first you'll need to get to a point where db.rocketchat_settings.find() actually returns something
<dwrensha> perhaps there is an error message in wiredTigerDb/mongo.log
<xet7> anthropy: Yes, network access requires using Sandstorm APIs etc
<aeternity> hmm "WriteResult({ "nMatched" : 0, "nUpserted" : 0, "nModified" : 0 })
<aeternity> "
<xet7> ... sorry, replied to old message
<dwrensha> aeternity: right, you've somehow connected to an old database
<dwrensha> an empty database
<dwrensha> are you sure this is the correct grain?
<aeternity> yes
<dwrensha> weird
<dwrensha> do you have the correct filesystem permissions to read/write the database?
<aeternity> WARNING: Access control is not enabled for the database.
<aeternity> 2017-01-06T01:26:53.794+0100 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
<aeternity> said mongo
<aeternity> ah!
<dwrensha> anything interesting in mongo.log?
<aeternity> I shortcutted --port with -p... but now it does not connect anymore.. connection refused
<dwrensha> `mongo` does not connect to `mongod`?
<aeternity> yep
<aeternity> connection refused
<dwrensha> maybe try specifying --host too?
<dwrensha> `--host 127.0.0.1`
<dwrensha> and maybe try using a port other than 4444
<dwrensha> perhaps there is weird firewall stuff going on
frigginglorious has quit [Ping timeout: 248 seconds]
<dwrensha> fyi, for the settings names, I looked in Rocket.Chat/packages/rocketchat-slackbridge
<aeternity> still connection refused, and connect failed
<dwrensha> :\
<aeternity> ah
<aeternity> 2017-01-06T01:34:05.343+0100 I STORAGE [initandlisten] exception in initAndListen: 98 Unable to lock file: wiredTigerDb/mongod.lock Resource temporarily unavailable. Is a mongod instance already running?, terminating
<dwrensha> does the mongo.log indicate that mongod is waiting for connections on the port that you think it is?
<aeternity> I guess I stop sandstorm first
<dwrensha> right, that error will happen if someone has a session open
<dwrensha> `sudo sandstorm stop` would certainly kill that session
<aeternity> yeah
<dwrensha> OK, I need to get going. It sounds like you can probably take it from here.
<dwrensha> I'll check here again in a few hours. Maybe someone else can help in the mean time if you get stuck
<aeternity> so great, thank you!
<aeternity> now I just get a mongo-error when that grain loads
<aeternity> Mongo exited with error code: 100
<aeternity> is that a typical error when you break your db? :D
<aeternity> I guess wrong permissions... overwriting them with the sandstorm user
<aeternity> worked
<aeternity> thanks so much! dwrensha
anthropy has quit [Remote host closed the connection]
anthropy has joined #sandstorm
justincormack has quit [*.net *.split]
sugarpuff has quit [*.net *.split]
TC02 has quit [*.net *.split]
mrdomino has quit [*.net *.split]
rolig has quit [*.net *.split]
xet7 has quit [*.net *.split]
strugee has quit [*.net *.split]
XgF has quit [*.net *.split]
TimMc has quit [*.net *.split]
sydney_untangle has quit [*.net *.split]
asheesh has quit [*.net *.split]
KCinJP has quit [*.net *.split]
robbt has quit [*.net *.split]
mattl has quit [*.net *.split]
Salt has quit [*.net *.split]
HalfEatenPie has quit [*.net *.split]
dongo has quit [*.net *.split]
gwillen has quit [*.net *.split]
Lord has quit [*.net *.split]
XgF has joined #sandstorm
asheesh has joined #sandstorm
TC02 has joined #sandstorm
gwollon has joined #sandstorm
mrdomino has joined #sandstorm
TimMc has joined #sandstorm
sydney_u1tangle has joined #sandstorm
Salt has joined #sandstorm
Lord has joined #sandstorm
dongo has joined #sandstorm
xet7 has joined #sandstorm
rolig has joined #sandstorm
strugee has joined #sandstorm
robbt has joined #sandstorm
gwollon is now known as gwillen
KCinJP has joined #sandstorm
HalfEatenPie has joined #sandstorm
justincormack has joined #sandstorm
sugarpuff has joined #sandstorm
isd has joined #sandstorm
mattl has joined #sandstorm
isd has quit [Ping timeout: 248 seconds]
isd has joined #sandstorm
mnutt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
harish has joined #sandstorm
<harish> hi. just came across sandstorm.io. this is fascinating for me.
<pdurbin> Yeah. It's nice. Which part do you find fascinating?
mnutt has joined #sandstorm
<harish> pdurbin, that it makes running apps on the web fairly trivial. it does address the issue of not having to run your own server per se. the idea of a containerized app that is publicly usable is what is fascinating.
<pdurbin> sure, you can run apps on Oasis rather than your own server
<harish> pdurbin, i would run them on my own systems and make it trivially available to friends and family. I am exploring the oasis option as well.
aeternity has quit [Read error: Connection reset by peer]
<pdurbin> Cool. Yeah, I haven't installed it yet. I don't have a sense of how much effort it is.
<harish> pdurbin, it looks easy enough for me - I'm a long time Linux admin etc - but my interest is in making the app consumption option easier and NOT on the phone. this seems to address that aspect rather well with the containerized model (I think it is containers, need to read more).
TC02 has quit [Read error: Connection reset by peer]
<pdurbin> Yeah, most of my family and friends wouldn't feel comfortable installing web apps.
<harish> pdurbin, it is following the same paradigm of a phone app but within a browser and one that you can control.
<pdurbin> Right. I mean, you'd be in control since you're hosting it. I'm sure your friends and family trust you. :) I wouldn't want to be reponsible for backing up their data but good on you.
<dwrensha> aeternity: I'm happy you got it working
TC02 has joined #sandstorm
<harish> pdurbin, it is a collective trust. train and educate friends and family and things get better. the discussion has to start with "you trust others and not me?" and see where it goes.
<pdurbin> I guess the others that they're trusting now are companies who operate in the cloud like Google. I'm not sure what point you're trying to make about app consumption not on a phone. Do you not trust Apple's App Store or Google Play?
<ocdtrekkie> I do not trust either of those stores.
<pdurbin> Well, I guess you could always side load apps. It's easy on Android anyway. To bypass Google Play.
<TimMc> There's trust to do and trust not to do. :-)
<harish> pdurbin, it is not about the app stores per se. it is about the beauty of the web and not an app on a phone. the app on a phone implies constraints on many levels - space, security, privacy, access rights etc. The web app as noted here, uses the entire web and not have to be exposing oneself to issues with phone apps.
<TimMc> (Competence vs. uprightness.)
<harish> installing an app in the sandstorm model does not require access to YOUR contacts for example. That same app, if it were to be installed on a phone (via whatever app store) may invoke rights to stuff that you don't want to but cannot turn off for example.
<pdurbin> Huh. I'm pretty sure you can't prevent apps on Android from accessing your contacts and whatever else. It's a relatively new feature.
<ocdtrekkie> pdurbin: Sideloading apps is a lost cause on Android
<ocdtrekkie> Tried it.
<ocdtrekkie> Gave up.
<pdurbin> Yeah, agreed. I just install stuff from Play. Like lots of people. :)
<ocdtrekkie> Oh, I just got rid of Android.
<ocdtrekkie> Sure, my new OS isn't open source either, but at least it doesn't pretend to be.
<ocdtrekkie> Effectively, "able to sideload" doesn't matter when almost every app is now built to be dependent on Google Play Services. ;)
<ocdtrekkie> There's like... 1000 apps total that aren't dependent on proprietary preloaded malware.
<pdurbin> Yeah, forget what I said about sideloading. Hopefully I only use some of those 1000 apps. I tend to favor open source ones.
<ocdtrekkie> I really wish there was a good open source OS that supported my carrier.
<ocdtrekkie> Ubuntu or Tizen or something.
<pdurbin> Yeah. Nice chatting with you all.
<harish> pdurbin, have a good day. lunch time for me.
anthropy has quit [Ping timeout: 255 seconds]
jemc has joined #sandstorm
jemc has quit [Ping timeout: 248 seconds]
mnutt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mnutt has joined #sandstorm
funwhilelost has joined #sandstorm
frigginglorious has joined #sandstorm
mnutt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
funwhilelost has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nwf has quit [Ping timeout: 240 seconds]
nwf has joined #sandstorm
ravi_ocean has joined #sandstorm
<ravi_ocean> Hello there :)
ravi_ocean is now known as bonto
saneki has quit [Ping timeout: 248 seconds]
dcb has quit [Ping timeout: 248 seconds]
TC01 has quit [Remote host closed the connection]
bemasc has quit [Quit: No Ping reply in 180 seconds.]
Tryum_ has joined #sandstorm
TC01 has joined #sandstorm
maurer has quit [Ping timeout: 245 seconds]
bemasc has joined #sandstorm
ecloud has quit [Ping timeout: 258 seconds]
harish has quit [Ping timeout: 240 seconds]
saneki has joined #sandstorm
TheJH has quit [*.net *.split]
gambatte has quit [*.net *.split]
ocdtrekkie has quit [*.net *.split]
achernya has quit [*.net *.split]
pdurbin has quit [*.net *.split]
rafaelmartins has quit [*.net *.split]
zarvox has quit [*.net *.split]
warren has quit [*.net *.split]
Triplefox has quit [*.net *.split]
ripdog has quit [*.net *.split]
cmr has quit [*.net *.split]
cozy-user31 has quit [*.net *.split]
ckocagil has quit [*.net *.split]
NhanH has quit [*.net *.split]
jparyani has quit [*.net *.split]
sknebel has quit [*.net *.split]
xming has quit [*.net *.split]
guido has quit [*.net *.split]
tg has quit [*.net *.split]
derf- has quit [*.net *.split]
niek has quit [*.net *.split]
frew has quit [*.net *.split]
Tryum has quit [*.net *.split]
Zertrin has quit [*.net *.split]
ragesoss has quit [*.net *.split]
liam has quit [*.net *.split]
patrickod has quit [*.net *.split]
coyotebush has quit [*.net *.split]
CaptainCalliope_ has quit [*.net *.split]
indiebio_ has quit [*.net *.split]
daemoen has quit [*.net *.split]
aldeka has quit [*.net *.split]
mattl has quit [Ping timeout: 258 seconds]
fkautz has quit [Ping timeout: 245 seconds]
ragesoss has joined #sandstorm
Zertrin has joined #sandstorm
rafaelmartins has joined #sandstorm
derf- has joined #sandstorm
tg has joined #sandstorm
cozy-user31 has joined #sandstorm
frew has joined #sandstorm
TheJH has joined #sandstorm
niek has joined #sandstorm
achernya has joined #sandstorm
zarvox has joined #sandstorm
ocdtrekkie has joined #sandstorm
CaptainCalliope_ has joined #sandstorm
pdurbin has joined #sandstorm
warren has joined #sandstorm
liam has joined #sandstorm
guido has joined #sandstorm
coyotebush has joined #sandstorm
patrickod has joined #sandstorm
Triplefox has joined #sandstorm
indiebio_ has joined #sandstorm
jparyani has joined #sandstorm
daemoen has joined #sandstorm
aldeka has joined #sandstorm
sknebel has joined #sandstorm
ckocagil has joined #sandstorm
xming has joined #sandstorm
cmr has joined #sandstorm
maurer has joined #sandstorm
gambatte has joined #sandstorm
TC01 is now known as Guest5009
dcb has joined #sandstorm
ecloud has joined #sandstorm
fkautz has joined #sandstorm
TC02 has quit [Read error: Connection reset by peer]
mattl has joined #sandstorm
NhanH has joined #sandstorm
TC02 has joined #sandstorm
ripdog has joined #sandstorm
anthropy has joined #sandstorm
frigginglorious has quit [Remote host closed the connection]
n8a has quit [Ping timeout: 245 seconds]
n8a has joined #sandstorm
nwf has quit [Read error: Connection reset by peer]
nwf has joined #sandstorm
Tryum_ is now known as Tryum
nwf has quit [Read error: Connection reset by peer]
nwf has joined #sandstorm
harish has joined #sandstorm
nwf has quit [Ping timeout: 258 seconds]
nwf has joined #sandstorm
cosmos has quit [Remote host closed the connection]
fonfon has joined #sandstorm
fonfon has quit [Ping timeout: 245 seconds]
nonaTure has joined #sandstorm
nonaTure has quit [Client Quit]
aeternity has joined #sandstorm
harish has quit [Ping timeout: 272 seconds]
harish has joined #sandstorm
harish has quit [Ping timeout: 248 seconds]
harish has joined #sandstorm
harish has quit [Ping timeout: 258 seconds]
cosmos has joined #sandstorm
harish has joined #sandstorm
cosmos is now known as ShalokShalom
fonfon has joined #sandstorm
rolig has quit [Ping timeout: 248 seconds]
rolig has joined #sandstorm
fonfon has quit [Ping timeout: 245 seconds]
cosmos has joined #sandstorm
ShalokShalom has quit [Ping timeout: 245 seconds]
Telesight has joined #sandstorm
bonto has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
fonfon has joined #sandstorm
anthropy has quit [Ping timeout: 240 seconds]
fonfon has quit [Ping timeout: 245 seconds]
anthropy has joined #sandstorm
rolig has quit [Ping timeout: 245 seconds]
rolig has joined #sandstorm
jemc has joined #sandstorm
dwrensha has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
rolig has quit [Ping timeout: 240 seconds]
larjona has joined #sandstorm
rolig has joined #sandstorm
rolig has quit [Ping timeout: 256 seconds]
biotim has quit [Ping timeout: 246 seconds]
rolig has joined #sandstorm
biotim has joined #sandstorm
rolig has quit [Ping timeout: 248 seconds]
rolig has joined #sandstorm
wolcen has quit [Ping timeout: 255 seconds]
rolig has quit [Ping timeout: 240 seconds]
mnutt has joined #sandstorm
rolig has joined #sandstorm
funwhilelost has joined #sandstorm
rolig has quit [Ping timeout: 240 seconds]
fonfon has joined #sandstorm
rolig has joined #sandstorm
rolig has quit [Ping timeout: 245 seconds]
fonfon has quit [Ping timeout: 240 seconds]
rolig has joined #sandstorm
rolig has quit [Ping timeout: 272 seconds]
rolig has joined #sandstorm
rolig has quit [Ping timeout: 256 seconds]
rolig has joined #sandstorm
n8a has quit [Remote host closed the connection]
n8a has joined #sandstorm
Guest5009 is now known as TC01
rolig has quit [Ping timeout: 245 seconds]
n8a has quit [Quit: Leaving]
n8a has joined #sandstorm
rolig has joined #sandstorm
pdurbin has quit [*.net *.split]
pdurbin1 has joined #sandstorm
Isla_de_Muerte has joined #sandstorm
NwS has quit [Ping timeout: 272 seconds]
Isla_de_Muerte is now known as NwS
rolig has quit [Ping timeout: 246 seconds]
rolig has joined #sandstorm
prettyvanilla has joined #sandstorm
prettyvanilla has quit [Remote host closed the connection]
jemc has quit [Ping timeout: 272 seconds]
pie_ has quit [Ping timeout: 256 seconds]
mnutt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sydney_u1tangle is now known as sydney_untangle
jemc has joined #sandstorm
Telesight has quit [Quit: Leaving.]
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Client Quit]
prettyvanilla has joined #sandstorm
mnutt has joined #sandstorm
mnutt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pdurbin1 is now known as pdurbin
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Remote host closed the connection]
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 248 seconds]
aldeka_limechat has joined #sandstorm