These are chat archives for reactioncommerce/reaction

13th
Apr 2017
Ivanthadev
@ivanthemeh
Apr 13 2017 00:02
is there a roadmap for reactioncommerce?
Also see our waffleboard for real time progress and things that have been tagged for upcoming release
https://waffle.io/reactioncommerce/reaction
Ivanthadev
@ivanthemeh
Apr 13 2017 00:08
is the cli updated to the latest thats in the meeting tomorrow? Also If I come to the meeting tomorrow online dont I get a tshirt? :D
Spencer Norman
@spencern
Apr 13 2017 00:09
I think he’s talking about the the Meetup
which is actually on the 20th I think @ivanthemeh
Ivanthadev
@ivanthemeh
Apr 13 2017 00:10
oh i thought it was this thurs
Ivanthadev
@ivanthemeh
Apr 13 2017 00:10
next thurs then
Brent Hoover
@zenweasel
Apr 13 2017 00:10
Yeah, next Thursday
You had me scared there for a second
Ivanthadev
@ivanthemeh
Apr 13 2017 00:10
lol
I think Im going to build my portfolio site using reaction becasue I want to sell some things too
Spencer Norman
@spencern
Apr 13 2017 00:11
:fire:
Ivanthadev
@ivanthemeh
Apr 13 2017 00:11
will a plugin I made 2 months ago still work?
Spencer Norman
@spencern
Apr 13 2017 00:11
Probably?
Brent Hoover
@zenweasel
Apr 13 2017 00:11
@ivanthemeh Did you ever get your T-Shirt site up?
Spencer Norman
@spencern
Apr 13 2017 00:11
What version did you make your plugin for?
Ivanthadev
@ivanthemeh
Apr 13 2017 00:14
I had some reeeallly crazy shit happen to me and I am currently unemployed so Im working on that. I tried to use teespring to get it going quickly but Im thinking to make a portfolio site so I can get some work coding and sell shit from there..
not sure what version been a few months
Brent Hoover
@zenweasel
Apr 13 2017 00:15
I can’t think of any breaking changes but if there is we can help you get it going
Ivanthadev
@ivanthemeh
Apr 13 2017 00:15
oh well I can make a new one, wanna change the home page and add some other pages. Plugin is how to do that correct?
Brent Hoover
@zenweasel
Apr 13 2017 00:15
Yes
“Now More Than Ever"
Ivanthadev
@ivanthemeh
Apr 13 2017 01:18
@spencern any tips on getting started selling shirts?
Spencer Norman
@spencern
Apr 13 2017 01:25
Building the shop or selling the shirts? From my experience the marketing is the hard part
that and actually figuring out what kind of shirts people will pay money for
Dmitry
@dshitik
Apr 13 2017 07:14

I got this error: Error storing file to the image store: quota exceeded
An error occurred when pouring media files.

GridFS - ERROR! { [MongoError: quota exceeded]
name: 'MongoError',
message: 'quota exceeded',
driver: true,
index: 0,
code: 12501,
errmsg: 'quota exceeded' }

The application has died and will not start any more.

Brent Hoover
@zenweasel
Apr 13 2017 07:15
where are you hosting your Mongo?
Dmitry
@dshitik
Apr 13 2017 07:15
ьдфи
mlab
Brent Hoover
@zenweasel
Apr 13 2017 07:16
it sounds like you exceeded your disk space there
Dmitry
@dshitik
Apr 13 2017 07:25
@zenweasel Thanks, I checking now.
Dmitry
@dshitik
Apr 13 2017 08:21

@zenweasel
if deleted some collections - it still does not work.
And If you type a command in the console: db.stats()
{
"Db": "meteor",
"Collections": 47,
"Objects": 13474,
"AvgObjSize": 19065.047350452725,
"DataSize": 256882448,
"StorageSize": 379523072,
"NumExtents": 136,
"Indexes": 171,
"IndexSize": 3507504,
"FileSize": 520093696,
"NsSizeMB": 1,
"ExtentFreeList": {
"Num": 31,
"TotalSize": 58142720
},
"DataFileVersion": {
"Major": 4,
"Minor": 22
},
"Ok": 1

Then there seems to be no shortage of memory.
but meteor galaxy returned some error:
GridFS - ERROR! { [MongoError: quota exceeded]
name: 'MongoError',
message: 'quota exceeded',
driver: true,
index: 0,
code: 12501,
errmsg: 'quota exceeded' }
/app/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/lib/utils.js:98
process.nextTick(function() { throw err; });
Error: Error storing file to the image store: quota exceeded
at [object Object].<anonymous> (packages/cfs_collection.js:121:19)
at emitThree (events.js:97:13)
at [object Object].emit (events.js:175:7)
at GridWriteStream.<anonymous> (packages/cfs_storage-adapter.js:249:26)
at emitOne (events.js:82:20)
at GridWriteStream.emit (events.js:169:7)
at GridWriteStream.FlushWritable.emit (/app/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/flushwritable/lib/FlushWritable.js:37:31)
at GridWriteStream._error (/app/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/gridfs-stream/lib/writestream.js:246:7)
at /app/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/gridfs-stream/lib/writestream.js:138:24at /app/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/lib/gridfs/grid_store.js:1110:26
at /app/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/lib/gridfs/chunk.js:166:11
/app/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/lib/collection.js:948:32
at handleCallback (/app/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/lib/utils.js:96:12)
/app/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/lib/collection.js:1046:42
82cf
2017-04-13 11:18:58+03:00 at /app/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb-core/lib/connection/pool.js:436:18
at nextTickCallbackWith0Args (node.js:489:9)

Brent Hoover
@zenweasel
Apr 13 2017 08:27
well, it seems to be telling you right there that it’s a Mongo error. Memory is not what we are talking about, it’s disk space.
Is there some sort of control panel at MLab you can look at?
Dmitry
@dshitik
Apr 13 2017 08:31
@zenweasel yes i can
Dmitry
@dshitik
Apr 13 2017 08:53

@zenweasel in the control panel there is no information that there is not enough disk space.

DATA SIZE: Total size of all documents stored in this database, including the padding factor (does not include indexes). - > 245.12 MB

STORANGE SIZE: Total amount of space allocated for data for this database (does not include index storage). This number is larger than dataSize because it includes additional space (preallocation within data files as well as space left by deleted or moved documents). -> 362.94 MB

FILE SIZE: Total size of storage files used for this database. This represents the overall storage footprint for this database on disk. For servers running with the smallfiles option (we use this option on our Shared plans), the first file allocated is 16MB, the second 32MB, the third 64MB... until 512MB is reached at which point each subsequent file is 512MB. -> 496.00 MB

Brent Hoover
@zenweasel
Apr 13 2017 08:54
Ok, I think this is an issue you need to take up with MLab though. The error is coming from the Mongo layer, not anything in RC
At least that’s my reading of the error and the fact that it’s labeled MongoError
Dmitry
@dshitik
Apr 13 2017 09:12
@zenweasel okay, thx.
Brent Hoover
@zenweasel
Apr 13 2017 09:24
@dshitik Also, while I have your attention there’s a ticket you need to give us some more detial on: reactioncommerce/reaction#2098
Dmitry
@dshitik
Apr 13 2017 10:04
@zenweasel okay, later I will write more information about this.
Brent Hoover
@zenweasel
Apr 13 2017 10:05
Thanks!
Dmitry
@dshitik
Apr 13 2017 10:10
@zenweasel I like your project and I am always ready to contribute to its development.
Brent Hoover
@zenweasel
Apr 13 2017 10:11
Thanks. I appreciate your input, we just need to be able to reproduce the error in order to fix it. I’m sure you understand.
Dmitry
@dshitik
Apr 13 2017 10:15
@zenweasel Oh sure. Just English is not my native language, so sometimes I'm too lazy to write in detail about errors)
Brent Hoover
@zenweasel
Apr 13 2017 10:16
Yeah, totally get it
Dmitry
@dshitik
Apr 13 2017 15:17

@zenweasel hello again.) After the deploy my app on the galaxy I got the following error:
Error while importing to Packages: After applying the update to the document {_id: "ejS9Jw5nDhhNRFjYy", ...}, the (immutable) field '_id' was "KGXMv7QHkThpAfixj"? [39m
And so for each patskage.

Actually i have two copies in collection "Packages" of each field for each shopid.
Although I do not understand why it creates as many as 3 shops. Well, the error itself is talking about the fact that the _id for the current shopId have changed.
If earlier I was so
{
"_id" : "kQ3JT5GQXjiEqSRXt",
"name" : "reaction-search",
"shopId" : "J8Bhq3uTtdgwZx3rz",
"icon" : "fa fa-search",
...
Now it looks like this::
{
"_id": "rFmrELGQBkhsmDFB2",
"Name": "reaction-search",
"ShopId": "J8Bhq3uTtdgwZx3rz",
"Icon": "fa fa-search",
...
and + two more unnecessary packages for two shopId(stores).

{
"_id" : "tB56SG3edc4dtHubK",
"name" : "reaction-search",
"shopId" : "J8Bhq3uTtdgwZx3rz",
"icon" : "fa fa-search",
...
and
{
"_id" : "uhwwhwKwYxn5sENKy",
"name" : "reaction-search",
"shopId" : "ddzuN2YPvgvx7rJS5",
"icon" : "fa fa-search",
...
Dmitry
@dshitik
Apr 13 2017 15:29
I did issue with screenshots here - reactioncommerce/reaction#2121
Alexander Groß
@ag
Apr 13 2017 17:36
hey
for some reason I always get this error when trying to run reaction run
This is my whole output:
Using settings file at settings/dev.settings.json

Setting up plugin imports...

Setting up style imports...

[[[[[ ~/Downloads/in/reaction ]]]]]

=> Started proxy.
=> Started MongoDB.
/Users/a/.meteor/packages/coffeescript/.1.11.1_4.fjeg71++os+web.browser+web.cordova/plugin.compileCoffeescript.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:190
      throw error;
      ^

Error: ENFILE: file table overflow, scandir '/Users/a/Downloads/in/reaction/client/modules/accounts'
    at Error (native)
    at Object.fs.readdirSync (fs.js:808:18)
    at Object.wrapper (/tools/fs/files.js:1586:35)
    at readDirectory (/Users/a/.meteor/packages/meteor-tool/.1.4.4_1.1ygrsyx++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fs/watch.js:338:26)
    at Watcher._fireIfDirectoryChanged (/Users/a/.meteor/packages/meteor-tool/.1.4.4_1.1ygrsyx++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fs/watch.js:490:23)
    at /Users/a/.meteor/packages/meteor-tool/.1.4.4_1.1ygrsyx++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fs/watch.js:747:12
    at Array.forEach (native)
    at Function._.each._.forEach (/Users/a/.meteor/packages/meteor-tool/.1.4.4_1.1ygrsyx++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
    at Watcher._checkDirectories (/Users/a/.meteor/packages/meteor-tool/.1.4.4_1.1ygrsyx++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fs/watch.js:736:7)
    at new Watcher (/Users/a/.meteor/packages/meteor-tool/.1.4.4_1.1ygrsyx++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fs/watch.js:435:10)
    at setupClientWatcher (/tools/runners/run-app.js:800:23)
    at [object Object]._.extend._runOnce (/tools/runners/run-app.js:811:7)
    at [object Object]._.extend._fiber (/tools/runners/run-app.js:890:28)
    at /tools/runners/run-app.js:417:12
I understand that it is an issue with Meteor and I already updated to the latest version which should solve this bug.
But for some reason it does not for me
I honestly do not know what to do
rotexhawk
@rotexhawk
Apr 13 2017 17:41
It is an issue with open file limit.
Alexander Groß
@ag
Apr 13 2017 17:42
What?
rotexhawk
@rotexhawk
Apr 13 2017 17:43
see here: meteor/meteor#8057
Alexander Groß
@ag
Apr 13 2017 17:47
awesome thank you!
brendan hastings
@brendanhastings_twitter
Apr 13 2017 20:44
Are there are docs on the API a reaction e-com store has... so like working with outside vendors who ingest my Shopify API to provide various services and fill various business functions - how does reactions handle this? Am I missing it somewhere in the docs?
brendan hastings
@brendanhastings_twitter
Apr 13 2017 20:54
or would I essentially need to build it from scratch?
Spencer Norman
@spencern
Apr 13 2017 20:55
Not sure exactly what you’re looking for, but Meteor has the (HTTP)[https://docs.meteor.com/api/http.html] package which will permit you to interact with other APIs such as Shopify
when I was working with GetOutfitted, we imported orders from Shopify via the Shopify API
brendan hastings
@brendanhastings_twitter
Apr 13 2017 20:57
I have a shopify store now but a lot of vendors integrate with us via api key/password i give them. I'm just wondering how reaction handles that but i think i found the answer here: https://blog.reactioncommerce.com/our-take-on-rest-apis/
just thinking through what a migration would look like and what pieces would require the most work. integrating all of our tools or building new tools from scratch is definitely one... like, if we have a returns/exchange portal, I'm wondering how to read/write data to a reaction store, for example. If there is anything out of the box or if it all needs to be written custom
Spencer Norman
@spencern
Apr 13 2017 21:01
You’re going to have to write most integrations custom at this point I think. The good part is that it’s not too hard
We migrated GetOutfitted from Shopify to RC and the integrations were the biggest concern for us too
brendan hastings
@brendanhastings_twitter
Apr 13 2017 21:02
I'd love to talk on a private channel about that at some point @spencern . I've been speaking to Patrick a bit about using RC on 3 different e-comms- 2 in which i serve as director and 1 I am advising.
Spencer Norman
@spencern
Apr 13 2017 21:02
Feel free to DM me
Sophie He
@sophiehe
Apr 13 2017 22:21
Our next Reaction Action livestream is on Thursday, April 20 at 10am PST. Come meet the team, ask questions, and learn more about our managed platform. All attendees get free swag. RSVP here: http://meetu.ps/38JkwF
Patrick Ezell
@patricke
Apr 13 2017 23:26
@sophiehe :+1: