These are chat archives for reactioncommerce/reaction

22nd
Dec 2015
Bogi
@boboci9
Dec 22 2015 13:27 UTC
Hi, is there a way to disable email contents showing up in console, I am trying to debug something after a meteor reset and my console is full with css from the email sent to the admin
Bogi
@boboci9
Dec 22 2015 13:36 UTC
Has anybody see these messages before after restart, at initialization:
Error while importing to Products: Mod on _id not allowed
Error while importing to Tags: Mod on _id not allowed
Error while importing to Shops: Mod on _id not allowed
For some reason when I try to run reaction on the server it has issues with the sample data _ids but I don't know why
Aaron Judd
@aaronjudd
Dec 22 2015 14:27 UTC
@boboci9 re:email -> yes -> you can setup email and it will just send instead of spitting out the html. I need to look at it again though, because I had it disabled if you were using localhost or had no email settings. (this is meteor's default behaviour when email isnt configured.) - agree that it's annoying while testing ;-)
Bogi
@boboci9
Dec 22 2015 14:28 UTC
ok thanks I will set up my email then :+1:
Do you know anything about the next error? I can;t set up the version 0.10 on the server
Aaron Judd
@aaronjudd
Dec 22 2015 14:28 UTC
I've not seen those import errors though.. and the sample-data has id being set.. (and that doesn't normally throw an error)
Bogi
@boboci9
Dec 22 2015 14:29 UTC
this is very wierd for me too, as it's working locally
any hints on what can I try?
Aaron Judd
@aaronjudd
Dec 22 2015 14:30 UTC
is it just normal sample-data - nothing special?
Bogi
@boboci9
Dec 22 2015 14:31 UTC
yes, just the regular sample data
shop, products and tags, but I mostly need the shop to be added, the rest wouldn't be a dealbreaker
Aaron Judd
@aaronjudd
Dec 22 2015 14:32 UTC
is there existing data on the deployment? (remote db that's already populated for instance?)
just trying to figure out what I can do to replicate...
Bogi
@boboci9
Dec 22 2015 14:32 UTC
no, I made a db reset before trying the new version
Aaron Judd
@aaronjudd
Dec 22 2015 14:33 UTC
(btw on email, we just setup a mailgun sandbox and use that, it's free, takes 3 minutes - and you can throw the settings in your MAIL_URL env var)
Bogi
@boboci9
Dec 22 2015 14:34 UTC
great thanks, I will try that
Aaron Judd
@aaronjudd
Dec 22 2015 14:35 UTC
do you know what mongo version you're using? (on linux I assume?)
Bogi
@boboci9
Dec 22 2015 14:45 UTC
2.4.9
Aaron Judd
@aaronjudd
Dec 22 2015 14:47 UTC
ok, I’ll try to see if I can replicate. (it’s strange though, the tests on CircleCI run through this on linux, and seems to be fine there)
Bogi
@boboci9
Dec 22 2015 14:52 UTC
I will do some more testing too and report back what I find
Tom De Caluwé
@tdecaluwe
Dec 22 2015 17:00 UTC
@boboci9 The mongodb bulk api was added in 2.6. So to use ReactionImport and the sample data package you should update your mongodb install.
We should perhaps add a note in the docs?
I'm guessing you're using the ubuntu 14.04 bundled package?
Aaron Judd
@aaronjudd
Dec 22 2015 17:09 UTC
@tdecaluwe maybe we can catch that error or check DB version and throw something helpful?
Tom De Caluwé
@tdecaluwe
Dec 22 2015 17:13 UTC
aah, yes good idea, will look into it
Bogi
@boboci9
Dec 22 2015 17:27 UTC
ok thanks, I will make a note that we need to update, I will let you know if the error occurres after update
Tom De Caluwé
@tdecaluwe
Dec 22 2015 20:01 UTC
Something along these lines: reactioncommerce/reaction#617 ?
Aaron Judd
@aaronjudd
Dec 22 2015 21:34 UTC
@tdecaluwe :thumbsup: nice!