You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey Guys,
I have setup this lelylan IoT platform in our server and we want to use it for testing our devices.
Issue is physicals is not listening to port specified in environment file.
The text was updated successfully, but these errors were encountered:
HI @jimishparekh, thanks for opening the issue. Most probably there are some missing params in the documentation. I'll take some time in a couple of days to check this out. In the mean time, if you check the physical code (it's one file) could be of help to understand where is the missing point.
@jimishio If your physicals mongo collection isn't capped, physical can't read stream.
Check if your collection is capped.
Check code:
$ mongo
$ > use jobs_development (or your jobs db name)
$ >db.physicals.isCapped()
$ >true or false
If your collection isn't capped please wait this bug #8 (fixed in #9) or configure your collection with this code:
If you don't have events:
$ mongo
$ > use jobs_development (or jobs db name)
$ >db.dropDatabase();
$ > use jobs_development (or jobs db name)
$ > db.createCollection("events", {capped: true, size: 10000000, max:1000});
$ >db.events.find().sort({natural:-1})
If you have events:
$ mongo
$ > use jobs_development (or jobs db name)
$ > db.runCommand({"convertToCapped": "events", size: 10000000, max:1000});
$ >db.events.find().sort({natural:-1})
Hey Guys,
I have setup this lelylan IoT platform in our server and we want to use it for testing our devices.
Issue is physicals is not listening to port specified in environment file.
The text was updated successfully, but these errors were encountered: