Skip to content

Commit cc0bcfb

Browse files
authored
Merge pull request riclolsen#210 from json-scada/master
Version 0.51-alpha
2 parents 229128f + b9cdb9e commit cc0bcfb

File tree

102 files changed

+6289
-12192
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+6289
-12192
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ To provide an easy to use, fully-featured, scalable, and portable SCADA/IIoT-I4.
4848
- MongoDB as the real-time core database, persistence layer, config store, SOE historian.
4949
- Event-based realtime async data processing with MongoDB Change Streams.
5050
- Portability and modular interoperability over Linux, Windows, Mac OSX, x86/64, ARM.
51-
- Windows installer available in the [releases section](https://github.com/riclolsen/json-scada/releases/tag/V0.50-alpha).
51+
- Windows installer available in the [releases section](https://github.com/riclolsen/json-scada/releases/tag/V0.51-alpha).
5252
- Unlimited tags, servers, and users.
5353
- Horizontal scalability, from a single computer to big clusters (MongoDB-sharding), Docker containers, VMs, Kubernetes, cloud, or hybrid deployments.
5454
- Modular distributed architecture. Lightweight redundant data acquisition nodes can connect securely over TLS to the database server. E.g. a Raspberry PI can be a data acquisition node.
@@ -90,7 +90,7 @@ To provide an easy to use, fully-featured, scalable, and portable SCADA/IIoT-I4.
9090
## Documentation
9191

9292
- [Generic Install Guide](https://github.com/riclolsen/json-scada/blob/master/docs/install.md)
93-
- [Windows Installer](https://github.com/riclolsen/json-scada/releases/tag/V0.50-alpha)
93+
- [Windows Installer](https://github.com/riclolsen/json-scada/releases/tag/V0.51-alpha)
9494
- [RedHat/Rocky Linux Installer Script](https://github.com/riclolsen/json-scada/blob/master/docs/install.md#rhel94-and-compatible-systems-automated-installation)
9595
- [Ubuntu Linux Installer Script](https://github.com/riclolsen/json-scada/blob/master/docs/install.md#ubuntu-2404-scripted-installation)
9696
- [Generic Install Guide](https://github.com/riclolsen/json-scada/blob/master/docs/install.md)

Diff for: compile-docker/docker-compose.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
container_name: js_dotnet_compile
99
command: sh -c "apt-get update &&
1010
apt-get -y install build-essential cmake sasl2-bin libsasl2-dev libssl-dev libzstd-dev libsnappy-dev &&
11-
cd /src/lib60870.netcore/lib60870.netcore/ &&
11+
cd /src/lib60870.netcore/lib60870.netcore/lib60870/ &&
1212
dotnet build --self-contained -c Release -o /publish_bin/ &&
1313
cd /src/lib60870.netcore/iec101client/ &&
1414
dotnet publish --self-contained -p:PublishReadyToRun=true -c Release -o /publish_bin/ &&

Diff for: conf-templates/nginx.crt

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
-----BEGIN CERTIFICATE-----
2+
MIIFwTCCA6mgAwIBAgIUbwABCzQiJJ7yteEvAdXv0Hp4PkEwDQYJKoZIhvcNAQEL
3+
BQAwbjELMAkGA1UEBhMCQlIxCzAJBgNVBAgMAlJTMQwwCgYDVQQHDANQT0ExCzAJ
4+
BgNVBAoMAkpTMQswCQYDVQQLDAJLUzESMBAGA1UEAwwJSlNPTlNDQURBMRYwFAYJ
5+
KoZIhvcNAQkBFgcxQDIuY29tMCAXDTI1MDMwNzIxMDMzMloYDzIxMjUwMjExMjEw
6+
MzMyWjBuMQswCQYDVQQGEwJCUjELMAkGA1UECAwCUlMxDDAKBgNVBAcMA1BPQTEL
7+
MAkGA1UECgwCSlMxCzAJBgNVBAsMAktTMRIwEAYDVQQDDAlKU09OU0NBREExFjAU
8+
BgkqhkiG9w0BCQEWBzFAMi5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK
9+
AoICAQCi45xudbzKYRGjv/V3S/K9SWOE8aUr4Je7QiimUC7FrrxuvoDGlmq8i1J+
10+
iY6G12HeacVQgZBup1eFXPj4+3vopwgEshw4mya33UKEqrMObLTHn9p85s/S5bh5
11+
yckx8VPV5jpPX0W2iNmXKhJwk25zNh279q0xJ3OBoL+HjIwNldIoWphsMwt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dEFDp9P7pMfnm/F47rq/N1Zr
28+
K4n3ZB/1ZR/Gg/+zT2I733IBO+rw4D0lwTmUM6rPMEqRb6frdqorM7xdWrTMZpZK
29+
kNkq+toR+E+0UEU5mPtccMXWNB6tu2agqtagDt/uMVo0WIAd0Hpb/K9E/vauBg0t
30+
n+V9lSOGAxiL51hzXduxKR9ptqsJCSyoOuRKhWGI1fV/K9f8QF69baqzxUo0sryF
31+
kyxh68g2UHUU28C02ipx6/iC+tlM17qJs9/zD9ahaQcMoHLPcD+k4VGAjvsXLji6
32+
N6sC8ld0GokFoXiTCcI8drtHos/jJ1CZea8WONDrElwRP6kM8g==
33+
-----END CERTIFICATE-----

Diff for: demo-docker/mongo_seed/files/demo_instances.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
{"_id":{"$oid":"66756c287994910acae4f602"},"protocolDriver":"PLC4X","protocolDriverInstanceNumber":1,"enabled":true,"logLevel":1,"nodeNames":[],"activeNodeName":"","activeNodeKeepAliveTimeTag":{"$date":"2020-05-14T20:09:50.557Z"},"keepProtocolRunningWhileInactive":false}
1212
{"_id":{"$oid":"669d5cec96e9a9fe7abe6ef3"},"protocolDriver":"OPC-DA","protocolDriverInstanceNumber":1,"enabled":true,"logLevel": 1,"nodeNames":[],"activeNodeName":"","keepProtocolRunningWhileInactive":false,"activeNodeKeepAliveTimeTag":{"$date":"2024-08-04T21:43:45.592Z"}}
1313
{"_id":{"$oid":"679a83658b90fe1713ef7ff3"},"protocolDriver":"DNP3_SERVER","protocolDriverInstanceNumber":1,"enabled":true,"logLevel":1,"nodeNames":[],"activeNodeName":"","activeNodeKeepAliveTimeTag":{"$date":"2020-07-16T13:34:30.869Z"},"keepProtocolRunningWhileInactive":false}
14-
{"_id":{"$oid":"67d9a4ee9af22523275bef57"},"protocolDriver":"ONVIF","protocolDriverInstanceNumber":1,"enabled": true,"logLevel":1,"nodeNames":["mainNode"],"activeNodeName": "mainNode","activeNodeKeepAliveTimeTag":{"$date":"2025-03-18T16:53:02.268Z" },"keepProtocolRunningWhileInactive":false}
14+
{"_id":{"$oid":"67d9a4ee9af22523275bef57"},"protocolDriver":"ONVIF","protocolDriverInstanceNumber":1,"enabled": true,"logLevel":1,"nodeNames":[],"activeNodeName": "","activeNodeKeepAliveTimeTag":{"$date":"2025-03-18T16:53:02.268Z" },"keepProtocolRunningWhileInactive":false}

Diff for: index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ To provide an easy to use, fully-featured, scalable, and portable SCADA/IIoT-I4.
4848
- MongoDB as the real-time core database, persistence layer, config store, SOE historian.
4949
- Event-based realtime async data processing with MongoDB Change Streams.
5050
- Portability and modular interoperability over Linux, Windows, Mac OSX, x86/64, ARM.
51-
- Windows installer available in the [releases section](https://github.com/riclolsen/json-scada/releases/tag/V0.50-alpha).
51+
- Windows installer available in the [releases section](https://github.com/riclolsen/json-scada/releases/tag/V0.51-alpha).
5252
- Unlimited tags, servers, and users.
5353
- Horizontal scalability, from a single computer to big clusters (MongoDB-sharding), Docker containers, VMs, Kubernetes, cloud, or hybrid deployments.
5454
- Modular distributed architecture. Lightweight redundant data acquisition nodes can connect securely over TLS to the database server. E.g. a Raspberry PI can be a data acquisition node.
@@ -90,7 +90,7 @@ To provide an easy to use, fully-featured, scalable, and portable SCADA/IIoT-I4.
9090
## Documentation
9191

9292
- [Generic Install Guide](docs/install.md)
93-
- [Windows Installer](https://github.com/riclolsen/json-scada/releases/tag/V0.50-alpha)
93+
- [Windows Installer](https://github.com/riclolsen/json-scada/releases/tag/V0.51-alpha)
9494
- [RedHat/Rocky Linux Installer Script](docs/install.md#rhel94-and-compatible-systems-automated-installation)
9595
- [Ubuntu Linux Installer Script](docs/install.md#ubuntu-2404-scripted-installation)
9696
- [Generic Install Guide](docs/install.md)

Diff for: platform-windows/build.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ dotnet publish --no-self-contained --runtime win-x64 -c Release -o %BINPATH% IEC
4343
cd %SRCPATH%\iec61850_client
4444
dotnet publish --no-self-contained --runtime win-x64 -p:PublishReadyToRun=true -p:Platform="Any CPU" -c Release -o %BINPATH%
4545

46-
cd %SRCPATH%\lib60870.netcore\lib60870.netcore\
46+
cd %SRCPATH%\lib60870.netcore\lib60870.netcore\lib60870\
4747
dotnet build --no-self-contained --runtime win-x64 -c Release
4848
dotnet build --no-self-contained --runtime win-x64 -c Release -o %BINPATH%
4949
cd %SRCPATH%\lib60870.netcore\iec101client\

Diff for: platform-windows/buildupd.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ dotnet publish --no-self-contained --runtime win-x64 -c Release -o %BINPATH% IEC
4343
cd %SRCPATH%\iec61850_client
4444
dotnet publish --no-self-contained --runtime win-x64 -p:PublishReadyToRun=true -p:Platform="Any CPU" -c Release -o %BINPATH%
4545

46-
cd %SRCPATH%\lib60870.netcore\lib60870.netcore\
46+
cd %SRCPATH%\lib60870.netcore\lib60870.netcore\lib60870\
4747
dotnet build --no-self-contained --runtime win-x64 -c Release
4848
dotnet build --no-self-contained --runtime win-x64 -c Release -o %BINPATH%
4949
cd %SRCPATH%\lib60870.netcore\iec101client\

Diff for: platform-windows/initial_setup.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ postgresql-runtime\bin\psql -U postgres -h localhost -f ..\sql\grafanaappdb.sql
1919
call create_services.bat
2020
ping -n 10 127.0.0.1
2121
call mongodb-start.bat
22-
ping -n 12 127.0.0.1
22+
ping -n 15 127.0.0.1
2323
mongodb-runtime\bin\mongo json_scada < ..\mongo_seed\a_rs-init.js
24-
ping -n 2 127.0.0.1
24+
ping -n 5 127.0.0.1
2525
mongodb-runtime\bin\mongo json_scada < ..\mongo_seed\b_create-db.js
2626
mongodb-runtime\bin\mongoimport --db json_scada --collection protocolDriverInstances --type json --file ..\mongo_seed_demo\demo_instances.json
2727
mongodb-runtime\bin\mongoimport --db json_scada --collection protocolConnections --type json --file ..\mongo_seed_demo\demo_connections.json

Diff for: platform-windows/json-scada.nsi

+11-9
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,16 @@ Unicode True
1313
; RequestExecutionLevel user
1414
RequestExecutionLevel admin
1515

16+
;!include "MUI2.nsh"
1617
!include "TextFunc.nsh"
1718
!include "WordFunc.nsh"
1819
!include "x64.nsh"
1920
!include "LogicLib.nsh"
2021

2122
;--------------------------------
2223

23-
!define VERSION "v.0.50"
24-
!define VERSION_ "0.50.0.0"
24+
!define VERSION "v.0.51"
25+
!define VERSION_ "0.51.0.0"
2526

2627
Function .onInit
2728
System::Call 'keexrnel32::CreateMutexA(p0, i1, t "MutexJsonScadaInstall")?e'
@@ -55,7 +56,7 @@ VIProductVersion ${VERSION_}
5556
VIAddVersionKey ProductName "JSON SCADA"
5657
VIAddVersionKey Comments "SCADA IIoT Software"
5758
VIAddVersionKey CompanyName "Ricardo Olsen"
58-
VIAddVersionKey LegalCopyright "Copyright 2020-2024 Ricardo L. Olsen"
59+
VIAddVersionKey LegalCopyright "Copyright 2020-2025 Ricardo L. Olsen"
5960
VIAddVersionKey FileDescription "JSON SCADA Installer"
6061
VIAddVersionKey FileVersion ${VERSION}
6162
VIAddVersionKey ProductVersion ${VERSION}
@@ -67,7 +68,8 @@ SetDateSave on
6768
SetDatablockOptimize on
6869
CRCCheck on
6970
SilentInstall normal
70-
BGGradient 000000 000080 FFFFFF
71+
;BGGradient 000000 000080 FFFFFF
72+
BGGradient off
7173
InstallColors FF8080 000030
7274
XPStyle on
7375

@@ -252,7 +254,7 @@ SetRegView 64
252254
File /a "..\platform-windows\ffmpeg.exe"
253255
File /a "..\platform-windows\sounder.exe"
254256
File /a "..\platform-windows\vc_redist.x64.exe"
255-
File /a "..\platform-windows\dotnet-runtime-8.0.12-win-x64.exe"
257+
File /a "..\platform-windows\dotnet-runtime-8.0.14-win-x64.exe"
256258
File /a "..\platform-windows\OPC Core Components Redistributable (x64) 3.00.108.msi"
257259
;File /a "..\platform-windows\gbda_aut.dll"
258260
;File /a "..\platform-windows\gbhda_aw.dll"
@@ -271,7 +273,7 @@ SetRegView 64
271273
Sleep 1000
272274
ExecWait '"$INSTDIR\platform-windows\vc_redist.x64.exe" /install /passive /quiet'
273275
Sleep 1000
274-
ExecWait '"$INSTDIR\platform-windows\dotnet-runtime-8.0.12-win-x64.exe" /install /passive /quiet'
276+
ExecWait '"$INSTDIR\platform-windows\dotnet-runtime-8.0.14-win-x64.exe" /install /passive /quiet'
275277
Sleep 1000
276278
ExecWait 'msiexec /i "$INSTDIR\platform-windows\OPC Core Components Redistributable (x64) 3.00.108.msi" /qn'
277279
Sleep 1000
@@ -463,11 +465,11 @@ SetRegView 64
463465
SetOutPath $INSTDIR\src\custom-developments
464466
File /a "..\src\custom-developments\README.md"
465467
SetOutPath $INSTDIR\src\custom-developments\basic_bargraph
466-
File /a /r /x "..\src\custom-developments\basic_bargraph\node_modules" "..\src\custom-developments\basic_bargraph\*.*"
468+
File /a /r /x node_modules "..\src\custom-developments\basic_bargraph\*.*"
467469
SetOutPath $INSTDIR\src\custom-developments\advanced_dashboard
468-
File /a /r /x "..\src\custom-developments\advanced_dashboard\node_modules" "..\src\custom-developments\advanced_dashboard\*.*"
470+
File /a /r /x node_modules "..\src\custom-developments\advanced_dashboard\*.*"
469471
SetOutPath $INSTDIR\src\custom-developments\transformer_with_command
470-
File /a /r /x "..\src\custom-developments\transformer_with_command\node_modules" "..\src\custom-developments\transformer_with_command\*.*"
472+
File /a /r /x node_modules "..\src\custom-developments\transformer_with_command\*.*"
471473

472474
SetOutPath $INSTDIR\platform-windows\browser-runtime
473475
File /a /r "..\platform-windows\browser-runtime\*.*"

Diff for: platform-windows/release_notes.txt

+28
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,34 @@ Inkscape+SAGE:
135135

136136
-------------------------------------------------------------------
137137

138+
Notes for version 0.51:
139+
140+
* Lib60870.NET updated to version 2.3.0.
141+
* Updated some files to avoid false positive malware detection.
142+
* MongoDB Community Server updated to 8.0.6.
143+
* Grafana updated to 11.6.0.
144+
* Dotnet runtime updated to 8.0.14.
145+
* Updated Metabase to version 0.53.8.
146+
147+
To quickly run the system after installed, open the JSON-SCADA desktop folder and:
148+
149+
* On the JSON-SCADA desktop folder: execute "_Start_Services".
150+
* On the JSON-SCADA desktop folder: execute "_JSON SCADA WEB".
151+
* Default login credentials: username=admin password=jsonscada.
152+
* Metabase credentials: username=json@scada.com password=jsonscada123.
153+
154+
Requirements and recommendations:
155+
156+
* Windows 10/11 64 bits or Server >=2019, Windows PowerShell. At least 25GB of free space in the "C:" drive.
157+
* Administrative rights. Corporate Windows policies may cause problems with the creation of services and the opening of TCP ports.
158+
* Free TCP ports 6688, 6689, 27017, 5432, 80, 443, 8080, 3000, 3001, 9000, 20000. Other ports may be required for optional services and protocols.
159+
* If the server already has MongoDB, PostgreSQL, Grafana, Metabase, Nginx or another webserver, please uninstall, disable or watch out for possible conflicts.
160+
* Do not update previously installed JSON-SCADA. Please uninstall previous JSON-SCADA versions before installing a new version.
161+
* If using VirtualBox configure "paravirtualization interface"=KVM, otherwise Nodejs errors may occur.
162+
* MongoDB requires AVX instructions on x86 CPU.
163+
164+
-------------------------------------------------------------------
165+
138166
Notes for version 0.50:
139167

140168
* ONVIF/RTSP Camera support.

0 commit comments

Comments
 (0)