Forum Home › Forums › Runtime Bugs › scada v6 archive error
- This topic has 9 replies, 2 voices, and was last updated 1 year, 11 months ago by Mikhail.
-
AuthorPosts
-
November 14, 2022 at 2:22 pm #11525ZeusParticipant
2022-11-14 22:21:12 [ubuntu][root][ERR] Module ModArcInfluxDb: Error loading module configuration:
The input data is not a complete block.
2022-11-14 22:21:12 [ubuntu][root][ERR] Error calling the MakeReady method of the Min archive:
Scada.ScadaException: Connection “” not found.
at Scada.Server.Modules.ModArcInfluxDb.Logic.InfluxHAL.MakeReady()
at Scada.Server.Engine.ArchiveHolder.MakeReady()
2022-11-14 22:21:12 [ubuntu][root][ERR] Error calling the MakeReady method of the Hour archive:
Scada.ScadaException: Connection “” not found.
at Scada.Server.Modules.ModArcInfluxDb.Logic.InfluxHAL.MakeReady()
at Scada.Server.Engine.ArchiveHolder.MakeReady()
2022-11-14 22:21:13 [ubuntu][root][ERR] Error calling the MakeReady method of the CurCopy archive:
Npgsql.PostgresException (0x80004005): 28P01: password authentication failed for user “postgres”
at Npgsql.Internal.NpgsqlConnector.<ReadMessage>g__ReadMessageLong|211_0(NpgsqlConnector connector, Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
at Npgsql.Internal.NpgsqlConnector.AuthenticateMD5(String username, Byte[] salt, Boolean async, CancellationToken cancellationToken)
at Npgsql.Internal.NpgsqlConnector.Authenticate(String username, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.Internal.NpgsqlConnector.<Open>g__OpenCore|191_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt)
at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.ConnectorPool.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.ConnectorPool.<Get>g__RentAsync|28_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlConnection.<Open>g__OpenAsync|45_0(Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlConnection.Open()
at Scada.Server.Modules.ModArcPostgreSql.Logic.PostgreCAL.CreateDbEntities()
at Scada.Server.Modules.ModArcPostgreSql.Logic.PostgreCAL.MakeReady()
at Scada.Server.Engine.ArchiveHolder.MakeReady()
Exception data:
Severity: FATAL
SqlState: 28P01
MessageText: password authentication failed for user “postgres”
File: auth.c
Line: 330
Routine: auth_failed- This topic was modified 1 year, 12 months ago by Mikhail.
November 14, 2022 at 2:23 pm #11526ZeusParticipantpostgres and influxdb archive error
November 14, 2022 at 2:27 pm #11527ZeusParticipantupload project could not upload file in scadaserver/config
November 15, 2022 at 1:51 pm #11536MikhailModeratorHello,
upload project could not upload file in scadaserver/config
Are there errors in ScadaAgent.log?
November 16, 2022 at 12:08 am #11546ZeusParticipantHi,
there is no error in log fileNovember 16, 2022 at 12:30 pm #11552MikhailModeratorHi,
Do the configuration of Communicator and Webstation applications transfer correctly?November 19, 2022 at 8:06 am #11592ZeusParticipantHi,
the other file could be transfer rightNovember 19, 2022 at 8:08 am #11593ZeusParticipantMy archive config is like this
<Archives>
<Archive active=”true” code=”Cur” name=”Current Data” kind=”Current” module=”ModArcInfluxDb”>
<Option name=”FlushPeriod” value=”30″ />
<Option name=”LogEnabled” value=”false” />
<Option name=”ReadOnly” value=”false” />
<Option name=”UseCopyDir” value=”true” />
</Archive>
<Archive active=”true” code=”Min” name=”Minute Archive” kind=”Historical” module=”ModArcInfluxDb”>
<Option name=”Connection” value=”” />
<Option name=”IsPeriodic” value=”true” />
<Option name=”LogEnabled” value=”false” />
<Option name=”PullToPeriod” value=”0″ />
<Option name=”ReadOnly” value=”false” />
<Option name=”Retention” value=”365″ />
<Option name=”WriteWithPeriod” value=”true” />
<Option name=”WritingPeriod” value=”1″ />
<Option name=”WritingPeriodUnit” value=”Minute” />
</Archive>
<Archive active=”true” code=”Hour” name=”Hourly Archive” kind=”Historical” module=”ModArcInfluxDb”>
<Option name=”IsPeriodic” value=”true” />
<Option name=”LogEnabled” value=”false” />
<Option name=”PullToPeriod” value=”0″ />
<Option name=”ReadOnly” value=”false” />
<Option name=”Retention” value=”365″ />
<Option name=”UseCopyDir” value=”true” />
<Option name=”WriteWithPeriod” value=”true” />
<Option name=”WritingPeriod” value=”1″ />
<Option name=”WritingPeriodUnit” value=”Minute” />
</Archive>
<Archive active=”false” code=”Day” name=”Daily archive” kind=”Historical” module=”ModArcBasic”>
<Option name=”LogEnabled” value=”false” />
<Option name=”PullToPeriod” value=”0″ />
<Option name=”Retention” value=”365″ />
<Option name=”UseCopyDir” value=”false” />
<Option name=”WritingMode” value=”AutoWithPeriod” />
<Option name=”WritingPeriod” value=”24″ />
<Option name=”WritingUnit” value=”Hour” />
</Archive>
<Archive active=”true” code=”Events” name=”Event Archive” kind=”Events” module=”ModArcInfluxDb”>
<Option name=”LogEnabled” value=”false” />
<Option name=”ReadOnly” value=”false” />
<Option name=”Retention” value=”365″ />
<Option name=”UseCopyDir” value=”true” />
</Archive>
<Archive active=”true” code=”CurCopy” name=”Current Data” kind=”Current” module=”ModArcPostgreSql”>
<Option name=”Connection” value=”” />
<Option name=”FlushPeriod” value=”30″ />
<Option name=”LogEnabled” value=”false” />
<Option name=”MaxQueueSize” value=”1000″ />
<Option name=”ReadOnly” value=”false” />
<Option name=”UseStorageConn” value=”true” />
</Archive>
<Archive active=”true” code=”MinCopy” name=”Minute Archive” kind=”Historical” module=”ModArcPostgreSql”>
<Option name=”Connection” value=”” />
<Option name=”LogEnabled” value=”false” />
<Option name=”MaxQueueSize” value=”1000″ />
<Option name=”PartitionSize” value=”OneMonth” />
<Option name=”PullToPeriod” value=”0″ />
<Option name=”Retention” value=”365″ />
<Option name=”UseStorageConn” value=”true” />
<Option name=”WritingMode” value=”AutoWithPeriod” />
<Option name=”WritingPeriod” value=”1″ />
<Option name=”WritingUnit” value=”Minute” />
</Archive>
<Archive active=”true” code=”HourCopy” name=”Hourly Archive” kind=”Historical” module=”ModArcPostgreSql”>
<Option name=”Connection” value=”” />
<Option name=”IsPeriodic” value=”true” />
<Option name=”LogEnabled” value=”false” />
<Option name=”MaxQueueSize” value=”1000″ />
<Option name=”PartitionSize” value=”OneMonth” />
<Option name=”PullToPeriod” value=”0″ />
<Option name=”ReadOnly” value=”false” />
<Option name=”Retention” value=”365″ />
<Option name=”UseStorageConn” value=”true” />
<Option name=”WriteWithPeriod” value=”true” />
<Option name=”WritingPeriod” value=”1″ />
<Option name=”WritingPeriodUnit” value=”Minute” />
</Archive>
<Archive active=”false” code=”DayCopy” name=”Daily archive copy” kind=”Historical” module=”ModArcPostgreSql”>
<Option name=”Connection” value=”” />
<Option name=”LogEnabled” value=”false” />
<Option name=”MaxQueueSize” value=”1000″ />
<Option name=”PartitionSize” value=”OneMonth” />
<Option name=”PullToPeriod” value=”0″ />
<Option name=”Retention” value=”365″ />
<Option name=”UseStorageConn” value=”true” />
<Option name=”WritingMode” value=”AutoWithPeriod” />
<Option name=”WritingPeriod” value=”24″ />
<Option name=”WritingUnit” value=”Hour” />
</Archive>
<Archive active=”true” code=”EventsCopy” name=”Event Archive” kind=”Events” module=”ModArcPostgreSql”>
<Option name=”Connection” value=”” />
<Option name=”LogEnabled” value=”false” />
<Option name=”MaxQueueSize” value=”1000″ />
<Option name=”PartitionSize” value=”OneMonth” />
<Option name=”Retention” value=”365″ />
<Option name=”UseStorageConn” value=”true” />
</Archive>
</Archives>- This reply was modified 1 year, 11 months ago by Zeus.
November 21, 2022 at 9:29 am #11616MikhailModeratorInfluxDB can be used for historical archives only. It doesn’t work with current data and events.
For example, I use the following options for InfluxDB archive:
Connection = InfluxConn Deadband = 0.1 DeadbandUnit = Absolute IsPeriodic = false LogEnabled = true PullToPeriod = 0 ReadOnly = false Retention = 365 WriteOnChange = true WriteWithPeriod = true WritingPeriod = 1 WritingPeriodUnit = Minute
You should configure a connection.
November 21, 2022 at 9:31 am #11617MikhailModeratorTo enter correct options, use the Administrator app.
-
AuthorPosts
- You must be logged in to reply to this topic.