Skip to content

Commit 3798c8e

Browse files
authored
Merge pull request #197 from json-scada/master
Version 0.46-alpha
2 parents a89bb5d + 7877e13 commit 3798c8e

File tree

27 files changed

+3017
-2660
lines changed

27 files changed

+3017
-2660
lines changed

README.md

Lines changed: 6 additions & 3 deletions
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.45-alpha).
51+
- Windows installer available in the [releases section](https://github.com/riclolsen/json-scada/releases/tag/V0.46-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,8 +90,10 @@ 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.45-alpha)
94-
- [RedHat/Rocky Linux Installer](https://github.com/riclolsen/json-scada/blob/master/docs/install.md#rhel94-and-compatible-systems-automated-installation)
93+
- [Windows Installer](https://github.com/riclolsen/json-scada/releases/tag/V0.46-alpha)
94+
- [RedHat/Rocky Linux Installer Script](https://github.com/riclolsen/json-scada/blob/master/docs/install.md#rhel94-and-compatible-systems-automated-installation)
95+
- [Ubuntu Linux Installer Script](https://github.com/riclolsen/json-scada/blob/master/docs/install.md#ubuntu-2404-scripted-installation)
96+
- [Generic Install Guide](https://github.com/riclolsen/json-scada/blob/master/docs/install.md)
9597
- [Docker Demo](https://github.com/riclolsen/json-scada/blob/master/demo-docker/README.md)
9698
- [Schema Documentation](https://github.com/riclolsen/json-scada/blob/master/docs/schema.md)
9799
- [Config File](https://github.com/riclolsen/json-scada/blob/master/conf/README.md)
@@ -169,6 +171,7 @@ To provide an easy to use, fully-featured, scalable, and portable SCADA/IIoT-I4.
169171
- [x] Online Demo
170172
- [x] Docker Demo (docker-compose.yaml scripts)
171173
- [x] Install Script for RedHat/Rocky 9.4 Linux x86-64 and arm64
174+
- [x] Install Script for Ubuntu 24.04 Linux x86-64 and arm64
172175
- [ ] Linux Image / VM
173176
- [x] Supervisor (Linux process manager) examples
174177
- [x] Project IDX Configuration

index.md

Lines changed: 6 additions & 4 deletions
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.45-alpha).
51+
- Windows installer available in the [releases section](https://github.com/riclolsen/json-scada/releases/tag/V0.46-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,9 +90,10 @@ 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.45-alpha)
94-
- [RedHat/Rocky Linux Installer](docs/install.md#rhel94-and-compatible-systems-automated-installation)
95-
- [Install Guide](docs/install.md)
93+
- [Windows Installer](https://github.com/riclolsen/json-scada/releases/tag/V0.46-alpha)
94+
- [RedHat/Rocky Linux Installer Script](docs/install.md#rhel94-and-compatible-systems-automated-installation)
95+
- [Ubuntu Linux Installer Script](docs/install.md#ubuntu-2404-scripted-installation)
96+
- [Generic Install Guide](docs/install.md)
9697
- [Docker Demo](demo-docker/README.md)
9798
- [Schema Documentation](docs/schema.md)
9899
- [Config File](conf/README.md)
@@ -171,6 +172,7 @@ To provide an easy to use, fully-featured, scalable, and portable SCADA/IIoT-I4.
171172
- [x] Online Demo
172173
- [x] Docker Demo (docker-compose.yaml scripts)
173174
- [x] Install Script for RedHat/Rocky 9.4 Linux x86-64 and arm64
175+
- [x] Install Script for Ubuntu 24.04 Linux x86-64 and arm64
174176
- [ ] Linux Image / VM
175177
- [x] Supervisor (Linux process manager) examples
176178
- [x] Project IDX Configuration
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"_id":{"$oid":"5ff3512268d80d68205b403f"},"protocolDriver":"OPC-UA","protocolDriverInstanceNumber":1,"protocolConnectionNumber":1003,"name":"OPCClient1","description":"OPC Client 1","enabled":true,"commandsEnabled":true,"endpointURLs":["opc.tcp://opcua.demo-this.com:51210/UA/SampleServer"],"configFileName":"/home/user/json-scada/conf/Opc.Ua.DefaultClient.Config.xml","autoCreateTags":true,"useSecurity":false,"stats":null}
1+
{"_id":{"$oid":"5ff3512268d80d68205b403f"},"protocolDriver":"OPC-UA","protocolDriverInstanceNumber":1,"protocolConnectionNumber":1003,"name":"OPCUA1","description":"OPC Client 1","enabled":true,"commandsEnabled":true,"endpointURLs":["opc.tcp://opcua.demo-this.com:51210/UA/SampleServer"],"configFileName":"/home/user/json-scada/conf/Opc.Ua.DefaultClient.Config.xml","autoCreateTags":true,"useSecurity":false,"stats":null, "giInterval": 300,"hoursShift": 0,"topics": []}

platform-nix-idx/supervisord.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ stdout_capture_maxbytes=10MB ; number of bytes in 'capturemode' (default 0)
5454

5555
[program:cs_custom_processor]
5656
; args: instance# loglevel
57-
command=/usr/bin/node /home/user/json-scada/src/cs_data_processor/cs_custom_processor.js 1 1
57+
command=/usr/bin/node /home/user/json-scada/src/cs_custom_processor/cs_custom_processor.js 1 1
5858
autostart=true
5959
numprocs=1 ; number of processes copies to start (def 1)
6060
directory=/home/user/json-scada/src/cs_custom_processor/ ; directory to cwd to before exec (def no cwd)

platform-rhel9/supervisord.conf

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,21 @@ stderr_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB)
6969
stderr_logfile_backups=0 ; # of stderr logfile backups (0 means none, default 10)
7070
stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0)
7171

72+
[program:cs_custom_processor]
73+
command=/usr/bin/node /home/jsonscada/json-scada/src/cs_custom_processor/cs_custom_processor.js
74+
;process_name=%(program_name)s ; process_name expr (default %(program_name)s)
75+
numprocs=1 ; number of processes copies to start (def 1)
76+
directory=/home/jsonscada/json-scada/src/cs_custom_processor/ ; directory to cwd to before exec (def no cwd)
77+
user=jsonscada ; setuid to this UNIX account to run the program
78+
stdout_logfile=/home/jsonscada/json-scada/log/cs_custom_processor.log ; stdout log path, NONE for none;
79+
stdout_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB)
80+
stdout_logfile_backups=0 ; # of stdout logfile backups (0 means none, default 10)
81+
stdout_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0)
82+
stderr_logfile=/home/jsonscada/json-scada/log/cs_custom_processor.err ; stderr log path, NONE for none;
83+
stderr_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB)
84+
stderr_logfile_backups=0 ; # of stderr logfile backups (0 means none, default 10)
85+
stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0)
86+
7287
[program:calculations]
7388
command=/home/jsonscada/json-scada/bin/calculations
7489
;process_name=%(program_name)s ; process_name expr (default %(program_name)s)

platform-ubuntu-2404/supervisord.conf

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,21 @@ stderr_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB)
7373
stderr_logfile_backups=0 ; # of stderr logfile backups (0 means none, default 10)
7474
stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0)
7575

76+
[program:cs_custom_processor]
77+
command=/usr/bin/node /home/jsonscada/json-scada/src/cs_custom_processor/cs_custom_processor.js
78+
;process_name=%(program_name)s ; process_name expr (default %(program_name)s)
79+
numprocs=1 ; number of processes copies to start (def 1)
80+
directory=/home/jsonscada/json-scada/src/cs_custom_processor/ ; directory to cwd to before exec (def no cwd)
81+
user=jsonscada ; setuid to this UNIX account to run the program
82+
stdout_logfile=/home/jsonscada/json-scada/log/cs_custom_processor.log ; stdout log path, NONE for none;
83+
stdout_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB)
84+
stdout_logfile_backups=0 ; # of stdout logfile backups (0 means none, default 10)
85+
stdout_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0)
86+
stderr_logfile=/home/jsonscada/json-scada/log/cs_custom_processor.err ; stderr log path, NONE for none;
87+
stderr_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB)
88+
stderr_logfile_backups=0 ; # of stderr logfile backups (0 means none, default 10)
89+
stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0)
90+
7691
[program:calculations]
7792
command=/home/jsonscada/json-scada/bin/calculations
7893
;process_name=%(program_name)s ; process_name expr (default %(program_name)s)

platform-windows/json-scada.nsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ RequestExecutionLevel admin
2020

2121
;--------------------------------
2222

23-
!define VERSION "v.0.45"
24-
!define VERSION_ "0.45.0.0"
23+
!define VERSION "v.0.46"
24+
!define VERSION_ "0.46.0.0"
2525

2626
Function .onInit
2727
System::Call 'keexrnel32::CreateMutexA(p0, i1, t "MutexJsonScadaInstall")?e'

platform-windows/release_notes.txt

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,19 +135,47 @@ Inkscape+SAGE:
135135

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

138+
Notes for version 0.46:
139+
140+
* NPM packages updated.
141+
* PostgreSQL ingestion: fixed errors when inserting/updating JSON data.
142+
* Events Viewer: limit overflow of columns with ellipsis.
143+
* Update Metabase to version 0.52.5.
144+
* Chromium updated to version 131.0.6778.265.
145+
* Grafana updated to 11.4.0.
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: [email protected] password=jsonscada123.
153+
154+
Requirements and recommendations:
155+
156+
* Windows 10/11 64 bits or Server >=2019, Windows PowerShell. At least 20GB 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, 8080, 3000, 3001, 9000. 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.45:
139167

140168
* OPC-UA Client: improved performance, auto tagging and data types handling.
141169
* Tabular Viewer: selectable dark/light theme.
142170
* Viewers: better table alignment, improved feedback for commands.
171+
* Updated Excel worksheet config and service.
143172

144173
To quickly run the system after installed, open the JSON-SCADA desktop folder and:
145174

146175
* On the JSON-SCADA desktop folder: execute "_Start_Services".
147176
* On the JSON-SCADA desktop folder: execute "_JSON SCADA WEB".
148177
* Default login credentials: username=admin password=jsonscada.
149178
* Metabase credentials: [email protected] password=jsonscada123.
150-
* Updated Excel worksheet config and service.
151179

152180
Requirements and recommendations:
153181

src/AdminUI/package-lock.json

Lines changed: 42 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/AdminUI/public/i18n/messages_i18n-en_us.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// Internationalization Messages
2-
// {json:scada} - Copyright (c) 2008-2024 - Ricardo L. Olsen
2+
// {json:scada} - Copyright (c) 2008-2025 - Ricardo L. Olsen
33

44
var Msg =
55
{
66
NomeProduto: '{json:scada}',
7-
VersaoProduto: '0.45',
7+
VersaoProduto: '0.46',
88

99
NomeVisorTelas: 'Display Viewer',
1010
NomeVisorEventos: 'Events Viewer',

src/AdminUI/public/i18n/messages_i18n-pt_br.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// Internationalization Messages
2-
// {json:scada} - Copyright (c) 2008-2024 - Ricardo L. Olsen
2+
// {json:scada} - Copyright (c) 2008-2025 - Ricardo L. Olsen
33

44
var Msg =
55
{
66
NomeProduto: '{json:scada}',
7-
VersaoProduto: '0.45',
7+
VersaoProduto: '0.46',
88

99
NomeVisorTelas: 'Visor de Telas',
1010
NomeVisorEventos: 'Visor de Eventos',

src/AdminUI/public/i18n/messages_i18n-uk_ua.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// Internationalization Messages
2-
// {json:scada} - Copyright (c) 2008-2024 - Ricardo L. Olsen
2+
// {json:scada} - Copyright (c) 2008-2025 - Ricardo L. Olsen
33

44
var Msg =
55
{
66
NomeProduto: '{json:scada}',
7-
VersaoProduto: '0.45',
7+
VersaoProduto: '0.46',
88

99
NomeVisorTelas: 'Перегляд ',
1010
NomeVisorEventos: 'Події',

src/AdminUI/public/i18n/messages_i18n.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// Internationalization Messages
2-
// {json:scada} - Copyright (c) 2008-2024 - Ricardo L. Olsen
2+
// {json:scada} - Copyright (c) 2008-2025 - Ricardo L. Olsen
33

44
var Msg =
55
{
66
NomeProduto: '{json:scada}',
7-
VersaoProduto: '0.45',
7+
VersaoProduto: '0.46',
88

99
NomeVisorTelas: 'Display Viewer',
1010
NomeVisorEventos: 'Events Viewer',

0 commit comments

Comments
 (0)