Skip to main content
1-Visitor
August 19, 2016
Solved

Stream do not store any data

  • August 19, 2016
  • 22 replies
  • 8446 views

Hello,

I'm currently trying to set up a stream to store data.

I created a service that store data into that stream and update the properties of the related thing.
When I execute that service, the properties of the thing are updated but nothing appears in the stream.

The service is not returning any error.

I even tried to push data in the stream directly from the default service "AddStreamEntry" on the stream itself.
And even if the service return no error, nothing is added in the stream.

I'm wondering if it's not somehow related to the persistent provider (we are using Postgresql, and on a previous installation with default db everything was working fine)

Any idea on what I am missing here?

Thanks in advance

Best answer by fpassiatore

Problem solved by downgrading the version of pgpool and postgresql...

Thanks for you help guys

22 replies

5-Regular Member
August 22, 2016

Are there any errors in the logs? Look under Monitoring > Application (top right corner of home-screen). Also check in the Script logs. Let me know!

1-Visitor
August 24, 2016

Hi, no there is nothing in the logs

5-Regular Member
August 23, 2016

Francesco, is it a Stream or a ValueStream? Are your properties logged? Is the user you are using an admin level user?

1-Visitor
August 24, 2016

it's a simple stream, the properties are indeed logged and the user is admin yes

Edit: I tested the valuesStream as well, and I can say that I have the exact same issue as with simple Streams (no data saved in the valuestream, nothing in the DB).

5-Regular Member
August 24, 2016

How are you writing to the stream? Value Streams work with the "Logged" option on properties. To update streams, there must be some service somewhere doing this in Javascript. Can you provide that?

Thanks!

Tori