@seedtactics/insight-client 17.0.4 → 17.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist/assets/{index-B0B_a7c8.js → index-BqTNkPt2.js} +1 -1
  2. package/dist/components/station-monitor/StationToolbar.js +2 -1
  3. package/dist/index.html +1 -1
  4. package/docs/client-efficiency.md +158 -291
  5. package/docs/client-engineering.md +29 -36
  6. package/docs/client-launch.md +35 -34
  7. package/docs/client-operations.md +40 -61
  8. package/docs/client-quality.md +32 -47
  9. package/docs/client-sales.md +22 -39
  10. package/docs/client-scanners.md +21 -27
  11. package/docs/client-station-monitor.md +75 -100
  12. package/docs/client-tools-programs.md +30 -59
  13. package/docs/improve-fms.md +55 -121
  14. package/docs/makino.md +10 -11
  15. package/docs/material-quarantine.md +40 -54
  16. package/docs/material-tracking.md +65 -183
  17. package/docs/mazak.md +31 -49
  18. package/docs/niigata.md +61 -89
  19. package/docs/operator-procedures.md +83 -96
  20. package/docs/part-instructions.md +43 -57
  21. package/docs/screenshots/insight-analysis-pallets.png +0 -0
  22. package/docs/screenshots/insight-analysis-part-completed.png +0 -0
  23. package/docs/screenshots/insight-analysis-sankey.png +0 -0
  24. package/docs/screenshots/insight-analysis-station-oee.png +0 -0
  25. package/docs/screenshots/insight-basket-work.png +0 -0
  26. package/docs/screenshots/insight-buffer-occupancy.png +0 -0
  27. package/docs/screenshots/insight-closeout.png +0 -0
  28. package/docs/screenshots/insight-cost-percentages.png +0 -0
  29. package/docs/screenshots/insight-dashboard.png +0 -0
  30. package/docs/screenshots/insight-inspection.png +0 -0
  31. package/docs/screenshots/insight-load-station-details.png +0 -0
  32. package/docs/screenshots/insight-load-station.png +0 -0
  33. package/docs/screenshots/insight-loadcycle-graph.png +0 -0
  34. package/docs/screenshots/insight-machinecycle-graph.png +0 -0
  35. package/docs/screenshots/insight-machinecycle-table.png +0 -0
  36. package/docs/screenshots/insight-machinecycles.png +0 -0
  37. package/docs/screenshots/insight-machinehours.png +0 -0
  38. package/docs/screenshots/insight-machineoutliers.png +0 -0
  39. package/docs/screenshots/insight-monthly-schedules.png +0 -0
  40. package/docs/screenshots/insight-operations-material.png +0 -0
  41. package/docs/screenshots/insight-operations-overview.png +0 -0
  42. package/docs/screenshots/insight-operations-reports.png +0 -0
  43. package/docs/screenshots/insight-part-cost.png +0 -0
  44. package/docs/screenshots/insight-program-report.png +0 -0
  45. package/docs/screenshots/insight-quality-material-details.png +0 -0
  46. package/docs/screenshots/insight-quality-material.png +0 -0
  47. package/docs/screenshots/insight-quality-sankey.png +0 -0
  48. package/docs/screenshots/insight-quality-similar-paths.png +0 -0
  49. package/docs/screenshots/insight-quarantine.png +0 -0
  50. package/docs/screenshots/insight-queue-details.png +0 -0
  51. package/docs/screenshots/insight-queues-jobs-table.png +0 -0
  52. package/docs/screenshots/insight-queues.png +0 -0
  53. package/docs/screenshots/insight-sim-day-usage.png +0 -0
  54. package/docs/screenshots/insight-system-overview.png +0 -0
  55. package/docs/screenshots/insight-tool-replacements.png +0 -0
  56. package/docs/screenshots/insight-tool-report.png +0 -0
  57. package/docs/screenshots/insight-workorder-gantt.png +0 -0
  58. package/docs/screenshots/insight-workorders.png +0 -0
  59. package/docs/security.md +98 -131
  60. package/docs/server-config.md +39 -22
  61. package/docs/server-errors.md +26 -18
  62. package/package.json +1 -1
  63. package/docs/screenshots/insight-all-material.png +0 -0
  64. package/docs/screenshots/insight-choose-analysis-month.png +0 -0
  65. package/docs/screenshots/insight-loadstation-small.jpg +0 -0
  66. package/docs/screenshots/insight-quality-quarantine.png +0 -0
  67. package/docs/screenshots/insight-station-system-overview-buttons.png +0 -0
  68. package/docs/screenshots/insight-station-system-overview.png +0 -0
  69. package/docs/screenshots/insight-toolbar-btns.png +0 -0
Binary file
package/docs/security.md CHANGED
@@ -2,136 +2,103 @@
2
2
  title: FMS Insight Security
3
3
  nav: FMS Insight Server > Security
4
4
  description: >-
5
- The FMS Insight server runs on the cell controller and uses TLS and OpenID Connect.
5
+ Configure HTTPS, authentication, and network access for the FMS Insight server and browser client.
6
6
  ---
7
7
 
8
- # FMS Insight Security
9
-
10
- FMS Insight implements a JSON+REST-based HTTP server and runs on the cell controller. By default,
11
- FMS Insight listens on port 5000 with no TLS and no authentication; any computer which can connect
12
- to the port can view data and download jobs.
13
-
14
- To implement security, we recommend one of two possible variants.
15
-
16
- - FMS Insight can be configured to require TLS and require OpenID connect authentication for
17
- single-sign-on. This requires the cell controller computer (running FMS Insight) to be directly
18
- connected to the existing factory network, but a firewall can be used to only allow access on the
19
- specific port running FMS Insight.
20
- - A cell-local private network containing the machines, cell-controller, and FMS Insight is created.
21
- A reverse HTTP proxy connects the cell-local private network to the factory network.
22
-
23
- ## FMS Insight HTTPS, Authentication, and Firewall
24
-
25
- In this design, FMS Insight is configured to require TLS/HTTPS and implements authentication using
26
- OpenID Connect. We have tested with AzureAD, Okta, and Keycloak, but any OpenID/OAuth2 compliant
27
- identity provider should work. An external firewall is placed between the cell-controller and the
28
- factory network and is configured to only allow traffic on the FMS Insight port.
29
-
30
- To enable HTTPS, a server certificate must be created and stored in a pfx file. This should be
31
- signed by the enterprise domain, but could also be a self-signed certificate. Once created, within
32
- the FMS Insight [config.ini](server-config) file, enable the `TLSCertFile` setting with the path to
33
- the certificate.
34
-
35
- Within your identity provider, create an application for FMS Insight and create a client. The client
36
- must require implicit grant flow with no client secret. The Redirect URI for the client must be set
37
- to the common name from the TLS certificate with a root path. Finally, most identity providers allow
38
- the administrator to restrict an application to a set of users (e.g. Azure Active Directory allows
39
- assigning specific users or groups to the application).
40
-
41
- Once the client has been created, there are four settings in the [config.ini](server-config).
42
-
43
- - `OpenIDConnectAuthority`: This setting is the path to the well-known configuration document for
44
- the identity provider. For example, for AzureAD, this is
45
- `https://login.microsoftonline.com/{tenant}/v2.0` where `{tenant}` is your tenant GUID.
46
- - `OpenIDConnectClientID`: This should be the ClientID for the implicit grant flow client. This
47
- ClientID is passed to the FMS Insight webpage which then performs the implicit flow grant to
48
- obtain a token.
49
- - `AuthAuthority`: This must be identical to the `OpenIDConnectAuthority`.
50
- - `AuthTokenAudiences`: This is a list of audiences which the server uses to validate the identity
51
- tokens. In almost all cases, the audience matches the ClientID. Multiple audiences are separated
52
- by semi-colons.
53
-
54
- ## Cell-Local Private Network With Proxy
55
-
56
- In this design, a cell-local private network is created with a proxy computer to the factory
57
- network. The design is based on a networking DMZ-setup.
58
-
59
- - The machines and cell controller are placed on a private network. This network has no DNS, no
60
- DHCP, and no route or access to any other network. IP Addresses are statically assigned.
61
-
62
- - The cell controller computer runs FMS Insight with no TLS, listening on port 5000.
63
-
64
- - The factory provides a computer with two network cards. One network card connects to the
65
- cell-local private network and is statically assigned an IP address. The second network card
66
- connects to the existing factory network. This computer can join the domain, enable Windows
67
- Updates, and use all the typical configuration of the Factory's IT. This computer should deny ALL
68
- network traffic to be routed between the cell-local network and the factory network. All
69
- communication is proxied (a networking DMZ setup). The factory provides this computer, allowing
70
- you to use your preferred supplier and configuration.
71
-
72
- - The proxy computer runs a reverse-HTTP-proxy. This can be Nginx, IIS, or something else. We also
73
- provide the source code for a small C# reverse-proxy server built using ASP.NET Core and Kestrel
74
- (~250 lines of code) which you can use if you wish it. The reverse-proxy implements TLS and
75
- requires connections over HTTPS.
76
-
77
- - Either the reverse-proxy or FMS Insight itself is configured to require OpenID Connect/OAuth2
78
- Authentication. This allows single-sign-on and only authenticated users will then be able to view
79
- data and create jobs. FMS Insight has been tested with AzureAD, Okta, and Keycloak, but any OpenID
80
- Connect compliant identity provider should work.
81
-
82
- - Software running on the factory network connects and authenticates with the reverse-proxy, which
83
- passes the requests along to FMS Insight running on the cell controller.
84
-
85
- #### Reverse-Proxy Implemented Authentication
86
-
87
- One option for authentication is for the reverse-proxy to require authentication. The reverse-proxy
88
- should require OpenID Connect authentication for all routes starting with `/api` except for
89
- `/api/v1/fms/fms-information`. Our small C# reverse-proxy implements OpenID Connect authentication
90
- and has been tested with AzureAD, Okta, and Keycloak. Alternatively, Nginx+ or IIS can be configured
91
- to require authentication.
92
-
93
- In this scenario, two settings are needed in FMS Insight's [config.ini](server-config):
94
-
95
- - `OpenIDConnectAuthority`: This setting is the path to the well-known configuration document for
96
- the identity provider. For example, for AzureAD, this is
97
- `https://login.microsoftonline.com/{tenant}/v2.0` where `{tenant}` is your tenant GUID.
98
- - `OpenIDConnectClientID`: This is the ClientID for an implicit grant flow client. This ClientID is
99
- passed to the FMS Insight webpage which then performs the implicit flow grant to authenticate the
100
- user and obtain a token.
101
-
102
- These settings are just returned to clients in the `/api/v1/fms/fms-information` route, FMS Insight
103
- itself does not check the request for a proper JWT token.
104
-
105
- Next, the reverse-proxy is configured with TLS certificates and authentication. For our small C#
106
- reverse-proxy, this is done in the appsettings.json file.
107
-
108
- #### FMS Insight Implemented Authentication
109
-
110
- If the reverse-proxy does not implement authentication, FMS Insight itself can verify the tokens.
111
- The main challenge is that the FMS Insight server requires access to the OpenID Connect Authority
112
- well-known configuration document to be able to obtain the signing keys. For example, in AzureAD,
113
- the well-known document is
114
- `https://login.microsoftonline.com/{tenant}/v2.0/.well-known/openid-configuration` where tenant is
115
- your tenant GUID. This document is required to be accessible by the FMS Insight server to obtain the
116
- rotating signing keys of the identity provider. Since FMS Insight is running on the cell-controller
117
- on the cell-local private network and the proxy computer denies all routed traffic, FMS Insight has
118
- no direct access to the well-known configuration document.
119
-
120
- Thus, the reverse-proxy must also proxy the well-known configuration document. That is, the
121
- reverse-proxy is configured to first proxy all connections from the factory network to FMS Insight.
122
- In addition, the reverse-proxy is then also configured to proxy the request from FMS Insight to the
123
- OpenID Connect configuration document to the real identity provider.
124
-
125
- The configuration in FMS Insight's [config.ini](server-config) are as follows:
126
-
127
- - `OpenIDConnectAuthority`: The real identity-provided authority URL. For example, for AzureAD, this
128
- is `https://login.microsoftonline.com/{tenant}/v2.0` where `{tenant}` is your tenant GUID.
129
- - `OpenIDConnectClientID`: This is the ClientID for an implicit grant flow client. This ClientID is
130
- passed to the FMS Insight webpage which then performs the implicit flow grant to authenticate the
131
- user and obtain a token.
132
- - `AuthAuthority`: The path to the reverse-proxy to obtain the OpenID configuration. For example, it
133
- could be `http://{reverse-proxy-ip-address}/openid-authority`. The reverse-proxy should then be
134
- configured to proxy all paths starting with `/openid-authority/*` to the real identity provider.
135
- - `AuthTokenAudiences`: This is a list of audiences which the server uses to validate the identity
136
- tokens. In almost all cases, the audience matches the ClientID. Multiple audiences are separated
137
- by semi-colons. Thus this setting should be all the ClientIDs created separated by semi-colons.
8
+ FMS Insight serves its browser client and HTTP API from the cell's server. The default configuration
9
+ uses HTTP on port 5000 without authentication. Anyone who can reach that port can access data and
10
+ available operations, including changes to jobs and material. Configure access as part of the
11
+ installation's network design.
12
+
13
+ ## Network Layout
14
+
15
+ In a typical Mazak installation, FMS Insight runs directly on the cell-controller computer.
16
+ Configure host or network firewall rules so only approved factory devices can reach the Insight
17
+ service. Browsers connect directly to Insight; this arrangement does not require a reverse proxy.
18
+
19
+ An alternative is to run FMS Insight on a separate, IT-managed computer with two network cards:
20
+
21
+ - One interface connects to a private cell-local network containing the controller, machines, and
22
+ any robot controllers used by the integration.
23
+ - The other connects to the factory network, where operator tablets, engineering workstations, and
24
+ scheduling or reporting services reach the Insight web application and API.
25
+
26
+ In this arrangement, Insight communicates with equipment on the cell-local network and serves
27
+ clients through its factory-facing address. Factory clients do not need direct access to the
28
+ equipment. Keep the cell-local network isolated from factory and internet routing, and disable IP
29
+ forwarding, NAT, and network bridging on the Insight computer. The two network cards provide the
30
+ connections; firewall and routing policy maintain the separation.
31
+
32
+ Agree on the controller connections and network addresses during commissioning. Keep equipment
33
+ addresses stable; a private cell network can use static addresses without depending on factory DNS
34
+ or DHCP. The connections required by each controller integration still need to be configured when
35
+ Insight runs on a separate computer. See the [Mazak integration notes](/fms-insight/mazak).
36
+
37
+ For either layout, allow approved clients to reach only the intended Insight service endpoint.
38
+ Provide both HTTP API and live WebSocket access through that endpoint. If sign-in is enabled,
39
+ browsers also need access to the identity provider, and the service validating tokens needs access
40
+ to its metadata and signing keys. Arrange server and device updates through the site's IT management
41
+ policy. HTTPS and authentication can be provided by Insight itself or by an optional reverse proxy
42
+ as described below.
43
+
44
+ ## HTTPS and Browser Sign-In
45
+
46
+ For HTTPS directly on Insight, set `TLSCertFile` in the `SERVER` section of
47
+ [config.ini](/fms-insight/server-config) to a PFX certificate file. Use a certificate trusted by the
48
+ client devices and matching the hostname they use to reach Insight. A reverse proxy can instead
49
+ provide the HTTPS endpoint.
50
+
51
+ The browser client uses OpenID Connect authorization code flow with PKCE. Register it as a public
52
+ browser client without a client secret. Configure the redirect and post-logout URLs to the root of
53
+ the externally visible Insight address, including its scheme, hostname, port if used, and trailing
54
+ slash. The client requests the `openid profile` scopes. Configure the identity provider's browser
55
+ access and token settings to match the installation.
56
+
57
+ The client sends the resulting access token to the API. The service validating that token must use
58
+ its issuer and audience; an access token's audience is not necessarily the browser client's ID.
59
+ Restrict who can sign in through the identity provider's application assignments or access policy.
60
+
61
+ ## Authentication in FMS Insight
62
+
63
+ The following settings in the `SERVER` section work together:
64
+
65
+ | Setting | Purpose |
66
+ | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ |
67
+ | `OpenIDConnectAuthority` | Identity-provider authority URL used by browsers for discovery and sign-in. This is the authority base URL, not the full discovery-document URL. |
68
+ | `OpenIDConnectClientId` | Client ID registered for the browser application. |
69
+ | `AuthAuthority` | Authority used by the server to discover the issuer and signing keys for token validation. Normally the same authority as the browser uses. |
70
+ | `AuthTokenAudiences` | Accepted access-token audiences, separated by semicolons. |
71
+
72
+ All four settings must be present for Insight's built-in API authentication to be enabled. Setting
73
+ only the browser sign-in options does not protect the API. The server validates tokens for API
74
+ requests and the live event connection. The FMS information endpoint remains available before
75
+ sign-in so clients can discover the login configuration.
76
+
77
+ The validating server needs access to the identity provider's discovery document and signing keys,
78
+ including when keys rotate. For an isolated cell network, arrange this access explicitly with the
79
+ installation's IT team. A reachable discovery document alone is insufficient if its advertised key
80
+ endpoint is unreachable.
81
+
82
+ ## Optional Reverse Proxy
83
+
84
+ A reverse proxy can provide the factory-facing HTTPS endpoint for Insight in either layout. It can
85
+ also be the connection between the factory network and an Insight server kept on the cell-local
86
+ network. Clients connect to the proxy's HTTPS address; the proxy forwards HTTP requests and the live
87
+ WebSocket event connection to Insight. Network rules should prevent clients from bypassing the proxy
88
+ to reach an unauthenticated backend.
89
+
90
+ Authentication can be enforced at the proxy or by Insight. If the proxy validates tokens, configure
91
+ Insight's `OpenIDConnectAuthority` and `OpenIDConnectClientId` for browser sign-in and configure the
92
+ proxy's issuer and access-token audiences separately. Protect API routes, including
93
+ `/api/v1/events`, while allowing `/api/v1/fms/fms-information` for login discovery. The event
94
+ connection uses a token query parameter, so the proxy must support that authentication path as well
95
+ as bearer tokens on ordinary API requests.
96
+
97
+ If Insight validates tokens instead, configure all four settings above and provide its required
98
+ access to discovery and signing keys. The browser still uses the externally reachable authority and
99
+ Insight address. Source for an example proxy is included in the FMS Insight repository; adapt and
100
+ validate the deployment for the site's network and identity provider.
101
+
102
+ After configuration changes, restart the relevant services and verify sign-in, ordinary API
103
+ requests, and live updates from a client device. Verify that unauthenticated access is rejected at
104
+ the intended boundary as well.
@@ -2,36 +2,38 @@
2
2
  title: FMS Insight Server Configuration
3
3
  nav: FMS Insight Server > Configuration
4
4
  description: >-
5
- The FMS Insight server runs on the cell controller and is configured by a config.ini file.
5
+ Configure the FMS Insight server and preserve its configuration, databases, and production
6
+ history.
6
7
  ---
7
8
 
8
- # FMS Insight Server Configuration
9
+ FMS Insight can run on the cell-controller computer or a separate server, depending on the
10
+ integration and [network layout](/fms-insight/security#network-layout). Its settings are stored in
11
+ `config.ini` on the computer running Insight.
9
12
 
10
- The FMS Insight server is configured via a file `SeedTactics\FMSInsight\config.ini` located in the
11
- Windows Common AppData folder. On a default Windows install, this has a full path of
13
+ On Windows, the file is located in the Common AppData folder at `SeedTactics\FMSInsight\config.ini`.
14
+ On a default Windows install, this has a full path of
12
15
  `c:\ProgramData\SeedTactics\FMSInsight\config.ini`. The config file itself describes the settings in
13
- detail, but they fall into three groups: server settings such as network ports and SSL, FMS settings
14
- such as automatic serial assignment, and finally cell controller specific settings.
16
+ detail, but they fall into three groups: server settings such as network ports and HTTPS, FMS
17
+ settings such as automatic serial assignment, and settings for the cell controller.
15
18
 
16
19
  The first time FMS Insight starts, if the `config.ini` file does not exist, FMS Insight will create
17
- a default config file. FMS Insight should run fine with the default settings, so typically when
18
- first getting started no config file settings need to be changed. Any changes to settings in
19
- `config.ini` require the FMS Insight server to be restarted before they take effect.
20
+ a default config file. Review the generated settings for the installation before production use,
21
+ including controller connections, queues, station names, and
22
+ [network access and authentication](/fms-insight/security). Any changes to settings in `config.ini`
23
+ require the FMS Insight server to be restarted before they take effect.
20
24
 
21
25
  The `config.ini` file is an [INI file](https://en.wikipedia.org/wiki/INI_file). The default config
22
- file contains a large number of comments describing each option. Comments describing each option are
23
- prefixed by a hash (`#`) and the options themselves are prefixed by a semicolon (`;`). To edit an
24
- option, remove the leading semicolon (`;`) and then edit the option value. Remember to restart the
25
- FMS Insight server. If any configuration errors are present, FMS Insight will generate an error
26
- message with details into the [event log](server-errors).
26
+ file contains comments prefixed by a hash (`#`) that describe each option. Optional settings are
27
+ often commented out with a semicolon (`;`). To enable one, remove its leading semicolon and edit the
28
+ value. Restart the FMS Insight server after editing the configuration. Configuration errors are
29
+ reported in the [event log](/fms-insight/server-errors).
27
30
 
28
31
  ## Databases
29
32
 
30
33
  FMS Insight uses [SQLite](https://www.sqlite.org/) to store data about the cell. The primary data
31
34
  stored is a log of the activity of all parts, pallets, machines, jobs, schedules, inspections,
32
- serial numbers, orders, and other data. The databases also hold operational state, including
33
- committed basket contents, material-allocation identities, and operation receipts used to recognize
34
- completed work on retries.
35
+ serial numbers, orders, and other data. Alongside production history, the databases store current
36
+ material and basket state and records needed to avoid repeating completed operations.
35
37
 
36
38
  The SQLite databases are by default stored locally in the Windows Common AppData folder which on a
37
39
  default Windows install is `c:\ProgramData\SeedTactics\FMSInsight`. This path can be changed in the
@@ -39,17 +41,32 @@ default Windows install is `c:\ProgramData\SeedTactics\FMSInsight`. This path ca
39
41
  performance and data integrity (SQLite works best on a local drive). Database size grows with
40
42
  production activity and retained history; allow space for both production databases and backups.
41
43
 
44
+ ## Backup and Recovery
45
+
46
+ Back up `config.ini`, any additional integration configuration, and the certificates or credentials
47
+ needed to restore the service, following the site's access-control policy. If scheduling uses
48
+ separate planning files or configuration, include those in the installation's backup procedure.
49
+
42
50
  Preserve production databases and back them up before upgrades. Use a backup method that captures a
43
51
  consistent SQLite database, such as stopping the server before copying its database files. If an
44
52
  integration maintains additional coordination databases, follow its procedure for backing up the
45
53
  complete installation consistently.
46
54
 
47
- Deleting a production database loses both history and operational identities and retry records.
48
- Creating a fresh database does not reconstruct that state from the equipment. Follow the
49
- integration's recovery procedure before resetting or restoring databases, including reconciling the
50
- physical cell and any integration-specific state. A backup from an earlier point in production is
51
- not automatically safe to restore against a cell that has continued operating.
55
+ Deleting or restoring a database can leave Insight's records out of step with the physical cell. A
56
+ fresh database cannot reconstruct all of that state from the equipment. Follow the integration's
57
+ recovery procedure before resetting or restoring databases, and reconcile the restored records with
58
+ the physical cell. A backup from an earlier point in production is not automatically safe to restore
59
+ against a cell that has continued operating.
52
60
 
53
61
  Fresh databases can be used for controlled QA or initial commissioning when the physical cell and
54
62
  the integration's state have been prepared for a fresh start. FMS Insight creates missing databases
55
63
  at startup; integrations may impose additional startup and initialization requirements.
64
+
65
+ ## External Production History
66
+
67
+ For long-term retention or reporting, a separate service can collect production records through
68
+ Insight's HTTP API and live WebSocket event stream and store them in a system managed by the site.
69
+ It needs access to the Insight endpoint and any configured authentication, not to the machine
70
+ network. An event collector should reconnect after interruptions and retrieve missed records from
71
+ the API; a live connection alone does not provide a complete archive. Exported production history
72
+ serves a different purpose from a backup of the installation's configuration and operational state.
@@ -2,29 +2,37 @@
2
2
  title: FMS Insight Errors
3
3
  nav: FMS Insight Server > Errors
4
4
  description: >-
5
- The FMS Insight server runs on the cell controller and logs errors and warnings into the Windows
6
- Event Viewer.
5
+ Find FMS Insight errors in client messages, server logs, and the Windows Event Viewer.
7
6
  ---
8
7
 
9
- # FMS Insight Error Logging
10
-
11
8
  When the FMS Insight server encounters an error, it reports the error back over the network to the
12
9
  software that requested the operation (such as the Insight client web page). The FMS Insight server
13
- also logs the error with more details into the Windows Event Log. Thus, when the Insight web page or
14
- any other software reports an error you can check the Windows Event Log on the cell controller for
15
- more information.
10
+ also logs more details on the computer running Insight, which may be the cell controller or a
11
+ separate server. For a Windows service installation, check the Windows Event Log. For other
12
+ deployments, check the console output captured by the service or container manager.
13
+
14
+ ## Client Messages
15
+
16
+ If a material action is rejected, read the reason shown in the dialog and review the current status
17
+ before trying again. A load instruction may have changed, the material may no longer be eligible for
18
+ the action, or an alarm may be suspending changes. See the
19
+ [station guidance](/fms-insight/client-station-monitor#alarms-and-unavailable-actions) for alarms.
20
+
21
+ Configuration and startup failures can also appear in the client. Record the displayed message and
22
+ check the server log for the underlying cause. Resolving a configuration problem may require a
23
+ service restart; deleting the production database is not a general troubleshooting step. Follow the
24
+ [database recovery guidance](/fms-insight/server-config#backup-and-recovery) if stored state is
25
+ involved.
16
26
 
17
27
  ## Windows Event Viewer
18
28
 
19
29
  The location of the viewer is different in different versions of Windows; on Windows 10 and 11, open
20
- the start menu and search for "Event Viewer" and on Windows 7 open the "Control Panel", navigate to
21
- "Administrative Tools", and then open the "Event Viewer". To view the events in the event viewer,
22
- navigate to "Windows Logs" and then "Application" in the tree on the left (see the screenshot
23
- below).
30
+ the start menu and search for "Event Viewer". To view the events in the event viewer, navigate to
31
+ "Windows Logs" and then "Application" in the tree on the left (see the screenshot below).
24
32
 
25
33
  ![Screenshot of Windows 10 Event Viewer](screenshots/insight-event-viewer.jpg)
26
34
 
27
- The windows event viewer shows events from all applications. FMS Insight generates events "FMS
35
+ The Windows Event Viewer shows events from all applications. FMS Insight generates events with "FMS
28
36
  Insight" as the event source, which allows you to create a custom view to filter only the events
29
37
  from FMS Insight. To do so, go to the action menu, click "Create Custom View", and fill in "FMS
30
38
  Insight" as the event source (see the screenshot below).
@@ -35,9 +43,9 @@ Insight" as the event source (see the screenshot below).
35
43
 
36
44
  To assist with debugging, FMS Insight has the ability to output a trace of activity with events for
37
45
  almost all actions that FMS Insight takes. The debug trace is disabled by default because it
38
- generates a lot of data. To enable it, edit the [config file](server-config) and change the setting
39
- "EnableDebugLog" to true. The FMS Insight server must be restarted before the config setting takes
40
- effect. The debug trace log will be generated into the global AppData folder, which defaults to
41
- `c:\ProgramData\SeedTactics\FMSInsight`. The debug trace files are named `fmsinsight-debug.txt`,
42
- there will be one file per day, and the file is JSON formatted. Remember to disable the trace log
43
- after a day or two because it generates a lot of data.
46
+ generates a lot of data. To enable it, edit the [config file](/fms-insight/server-config) and change
47
+ the setting "EnableDebugLog" to true. The FMS Insight server must be restarted before the config
48
+ setting takes effect. The debug trace log will be generated into the global AppData folder, which on
49
+ Windows defaults to `c:\ProgramData\SeedTactics\FMSInsight`. The JSON-formatted files have dated
50
+ names such as `fmsinsight-debug20261028.txt`, with a new file each day; older files may be
51
+ compressed. Remember to disable the trace log after a day or two because it generates a lot of data.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seedtactics/insight-client",
3
- "version": "17.0.4",
3
+ "version": "17.0.5",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "url": "https://github.com/SeedTactics/fms-insight"