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
neynah has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
larjona has quit [Remote host closed the connection]
larjona has joined #sandstorm
prettyvanilla_ has joined #sandstorm
prettyvanilla has quit [Ping timeout: 241 seconds]
aldeka_limechat has quit [Remote host closed the connection]
aldeka_limechat has joined #sandstorm
n8a has quit [Ping timeout: 255 seconds]
n8a has joined #sandstorm
aldeka_limechat has quit [Remote host closed the connection]
prettyvanilla has joined #sandstorm
prettyvanilla_ has quit [Ping timeout: 255 seconds]
neynah has joined #sandstorm
gemlog has joined #sandstorm
gemlog has left #sandstorm [#sandstorm]
aldeka_limechat has joined #sandstorm
gambatte_ has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 255 seconds]
prettyvanilla_ has joined #sandstorm
prettyvanilla has quit [Ping timeout: 256 seconds]
gambatte has quit [Ping timeout: 240 seconds]
isd has joined #sandstorm
prettyvanilla has joined #sandstorm
prettyvanilla_ has quit [Ping timeout: 248 seconds]
aldeka_limechat has joined #sandstorm
gambatte_ has quit [Ping timeout: 240 seconds]
gambatte has joined #sandstorm
wolcen has quit [Quit: Leaving]
wolcen has joined #sandstorm
isd has quit [Quit: Leaving.]
wolcen has quit [Quit: Leaving]
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
wolcen has joined #sandstorm
aldeka_limechat has quit [Remote host closed the connection]
wolcen has quit [Remote host closed the connection]
neynah has joined #sandstorm
prettyvanilla_ has joined #sandstorm
prettyvanilla has quit [Ping timeout: 276 seconds]
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 248 seconds]
dagelf has quit [Read error: Connection reset by peer]
prettyvanilla has joined #sandstorm
prettyvanilla_ has quit [Ping timeout: 258 seconds]
dagelf has joined #sandstorm
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 258 seconds]
xet7 has joined #sandstorm
anthropy has joined #sandstorm
anthropy has quit [Remote host closed the connection]
prettyvanilla_ has joined #sandstorm
prettyvanilla has quit [Ping timeout: 258 seconds]
anthropy has joined #sandstorm
NwS has quit [Ping timeout: 240 seconds]
NwS has joined #sandstorm
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 240 seconds]
FredFredFred_ has joined #sandstorm
FredFredFred has quit [Ping timeout: 256 seconds]
FredFredFred has joined #sandstorm
afuentes has joined #sandstorm
FredFredFred_ has quit [Ping timeout: 256 seconds]
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 248 seconds]
xet7 has quit [Quit: Leaving]
xet7 has joined #sandstorm
prettyvanilla has joined #sandstorm
prettyvanilla_ has quit [Ping timeout: 252 seconds]
FredFredFred_ has joined #sandstorm
FredFredFred has quit [Ping timeout: 240 seconds]
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 240 seconds]
FredFredFred has joined #sandstorm
FredFredFred_ has quit [Ping timeout: 260 seconds]
kusanagi_ has joined #sandstorm
FredFredFred_ has joined #sandstorm
FredFredFred has quit [Ping timeout: 240 seconds]
prettyvanilla_ has joined #sandstorm
prettyvanilla has quit [Ping timeout: 260 seconds]
FredFredFred has joined #sandstorm
kusanagi_ has quit [Quit: Leaving]
FredFredFred_ has quit [Ping timeout: 240 seconds]
FredFredFred_ has joined #sandstorm
FredFredFred has quit [Ping timeout: 260 seconds]
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 264 seconds]
FredFredFred has joined #sandstorm
FredFredFred_ has quit [Ping timeout: 240 seconds]
prettyvanilla has joined #sandstorm
prettyvanilla_ has quit [Ping timeout: 240 seconds]
aeternity has joined #sandstorm
FredFredFred_ has joined #sandstorm
FredFredFred has quit [Ping timeout: 276 seconds]
tobald has joined #sandstorm
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 260 seconds]
prettyvanilla has quit [Ping timeout: 245 seconds]
prettyvanilla has joined #sandstorm
FredFredFred has joined #sandstorm
FredFredFred_ has quit [Ping timeout: 245 seconds]
larjona has quit [Remote host closed the connection]
jemc has joined #sandstorm
FredFredFred_ has joined #sandstorm
FredFredFred has quit [Ping timeout: 264 seconds]
larjona has joined #sandstorm
tobald has quit [Quit: Ex-Chat]
FredFredFred has joined #sandstorm
FredFredFred_ has quit [Ping timeout: 240 seconds]
jemc has quit [Ping timeout: 245 seconds]
wolcen has joined #sandstorm
wolcen_ has joined #sandstorm
wolcen_ has quit [Remote host closed the connection]
FredFredFred_ has joined #sandstorm
FredFredFred has quit [Ping timeout: 240 seconds]
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 240 seconds]
aeternity has quit [Ping timeout: 240 seconds]
anthropy has quit [Ping timeout: 255 seconds]
FredFredFred has joined #sandstorm
FredFredFred_ has quit [Ping timeout: 260 seconds]
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 264 seconds]
FredFredFred_ has joined #sandstorm
FredFredFred has quit [Ping timeout: 256 seconds]
sydney_untangle has quit [Quit: bbl]
sydney_untangle has joined #sandstorm
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 260 seconds]
anthropy has joined #sandstorm
TonyTheLion has joined #sandstorm
anthropy1 has joined #sandstorm
<TonyTheLion> Sandstorm service won't start, because it fails to create the sandstorm user in mongo
<TonyTheLion> anyone seen this?
anthropy1 has quit [Client Quit]
<TonyTheLion> 2017-01-28T19:58:12.140+0000 Error: couldn't add user: not authorized on admin to execute command { createUser: "sandstorm", pwd: "xxx", roles: [ "readWriteAnyDatabase", "userAdminAnyDatabase", "dbAdminAnyDatabase" ], digestPassword: false, writeConcern: { w: "majority", wtimeout: 30000.0 } } at src/mongo/shell/db.js:1004
<TonyTheLion> failed to load: /tmp/mongo-command.uedNOY
<TonyTheLion> oops
<kentonv> was this on a fresh install?
<TonyTheLion> yep
<TonyTheLion> I did the install on another machine, in the exact same way, and there it does work
<TonyTheLion> I'm stumped
<kentonv> I've very occasionally seen this happen. It seems to be random.
<kentonv> wiping and starting over usually works.
samba_ has joined #sandstorm
<TonyTheLion> kentonv: I have reinstalled once already
<kentonv> huh
<TonyTheLion> didn't seem to make a difference
<TonyTheLion> guess I could try again
<kentonv> you deleted /opt/sandstorm before reinstalling?
anthropy has quit [Ping timeout: 256 seconds]
n8a has quit [Ping timeout: 255 seconds]
<TonyTheLion> kentonv ye I deleted everything
n8a has joined #sandstorm
<kentonv> can you send the whole sandstorm.log to me?
<kentonv> /opt/sandstorm/var/log/sandstorm.log
<kentonv> kenton@sandstorm.io
<TonyTheLion> lemme do that
<TonyTheLion> kentonv: sent
<kentonv> TonyTheLion: well that was short
<TonyTheLion> sadly
<TonyTheLion> not very informative huh
<kentonv> I was hoping to find that it tried to start up once with a weird error, and then had the "not authorized" error on subsequent tries... but I guess not.
<kentonv> hmm the mongo.log might be useful though
<kentonv> mongo.log* -- that is, all of them, if there are multiple files
<TonyTheLion> lemme do that
<TonyTheLion> kentonv: sent
<kentonv> thanks. Unfortunately I'm not seeing any obvious leads here. :/
<TonyTheLion> :(
<kentonv> I suggest wiping and reinstalling once more. I do wish we could track this down so that it doesn't happen again, but I'm not sure where to look.
<TonyTheLion> yea these kinds of errors really suck
<TonyTheLion> kentonv is it possible to manually add that user to the mongodb so it doens't have to do it?
<kentonv> Maybe. I don't know what the procedure would be. Presumably you have to log in as admin in order to add other users but Sandstorm is having trouble logging in as admin...
<kentonv> hey actually, a thing to check
<kentonv> one moment
sydney_untangle has quit [Read error: Connection reset by peer]
<kentonv> I wonder if the problem is that the auto-generated Mongo password is weird somehow and not being recognized. Can you send me /opt/sandstorm/var/mongo/passwd ? Note that you'll need to wipe either way, so this password will be regenerated, so you aren't revealing anything terribly sensitive.
<kentonv> but maybe we'll discover that the password is weirdly-formatted and that's causing the problem.
<kentonv> this would explain the randomness of the problem -- it might depend on the generated password.
<TonyTheLion> the password generated seems to be always the same per that log
<TonyTheLion> ie "xxx"
<kentonv> I assume it's redacted
<kentonv> the actual password is stored in /opt/sandstorm/var/mongo/passwd
<TonyTheLion> interestingly
<TonyTheLion> there seems to be now such file
<TonyTheLion> there seems to be no such file
<kentonv> hmm
<TonyTheLion> the machine it works on has that passwd file
<TonyTheLion> but the one where it doesn't work
<kentonv> I guess maybe the file is written after the user is created
<TonyTheLion> doens't
<kentonv> but it's failing to create the user here
<kentonv> it's weird, no users have been created yet in that Mongo, but it complains that the client doesn't have admin -- how is the client supposed to have admin if there is no admin user yet?
<TonyTheLion> good question
<kentonv> I'm sitting here repeatedly creating new sandstorm databases trying to repro the problem but can't. :/
<kentonv> dunno what to say
<TonyTheLion> suckages
sydney_untangle has joined #sandstorm
<kentonv> hmm maybe it's a timing issue. Mongo does this thing where it needs to elect itself master of its replica set -- even when it's the only member of the replica set -- which takes 2-3 seconds. We have a 4-second sleep in there, but maybe that's sometimes not long enough...
<kentonv> no, that seems to produce a different error ("couldn't add user: not master")
samba_ has quit [Ping timeout: 258 seconds]
<TonyTheLion> interesting
samba_ has joined #sandstorm
<kentonv> have you tried wiping again?
samba_ has quit [Ping timeout: 256 seconds]
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 252 seconds]
sydney_untangle has quit [Quit: bbl]
sydney_untangle has joined #sandstorm
samba_ has joined #sandstorm
jemc has joined #sandstorm
ill_logic has quit [Ping timeout: 256 seconds]
jemc has quit [Ping timeout: 252 seconds]
aldeka_limechat has joined #sandstorm
aldeka_limechat has quit [Ping timeout: 240 seconds]
samba_ has quit [Ping timeout: 258 seconds]
mnutt_ has joined #sandstorm
<TonyTheLion> kentonv: tried it again, no luck :(