Troubleshooting
Why the tag historian shows Demo expired on a trial gateway
Short answer
Demo expired on an Ignition 8.1.x history provider is the Gateway's two-hour trial running out, not a database fault. The documented reset-trial control on the Gateway licensing page returns the provider to Running, and new providers, datasource changes and wider chart ranges do nothing because they act on the wrong layer.

On this page
When a history provider reports Demo expired on an Ignition 8.1.x Gateway, the cause is the Gateway's two-hour trial running out, not a fault in the tag history database. The documented recovery is the reset-trial control on the Gateway licensing page; a provider on an 8.1.15 Gateway was observed going from that status to Running as soon as the trial was reset. Nothing about the provider, the datasource or the chart needs to change.
What does Demo expired mean on a history provider? #
Demo expired is the Gateway trial state showing up on the provider, because the unlicensed Tag Historian module runs under the same two-hour trial as every other unlicensed module. When the window closes, the provider stops storing and the status carries the trial message rather than a database message. The wording points at the licensing layer, not the history layer.
The Ignition 8.1 manual's licensing page states that all unlicensed modules run in two-hour trial mode and that you can restart the trial from the Gateway by resetting it. A provider showing Demo expired is therefore reporting that its module's trial has elapsed; the database connection, credentials and schema can be perfectly healthy at the same time. The observed case: an 8.1.15 Gateway whose provider changed to Running immediately after the trial reset, with the same datasource and configuration untouched.
Why does creating a new provider not clear the error? #
A new provider fails identically because the trial belongs to the Gateway's licensing state, not to any one provider. Every provider on an unlicensed Gateway runs under the same trial window, so rebuilding providers adds configuration churn without touching the condition that stopped storage.
The same logic rules out the other tempting moves. Changing database credentials or swapping the datasource targets the storage layer below the fault and risks introducing a second, real database problem. Widening a trend's time range only asks the query layer for more records from a historian that is not storing. Work at the layer the message names: the Gateway trial.
How do you reset the trial and confirm the historian recovers? #
The recovery takes one control on the Gateway licensing page and one status check, and it restores trends without touching the provider or the database. Do it in this order:
- Open the Gateway webpage and go to the licensing page under Config, where the trial state and the reset control live.
- Confirm the trial has elapsed, then use the reset-trial control to start another two-hour evaluation window.
- Leave the existing history provider and datasource configuration exactly as they are.
- Return to the history provider diagnostics and check the status reads Running.
- Refresh the affected trend or report and repeat the same query; history stored before the expiry reappears, and new samples store from the reset onward.
The reset restarts the evaluation window only. For continued evaluation beyond repeated two-hour windows, the vendor can provide a longer evaluation license through its sales or support channels, and a production Gateway needs the appropriate license rather than resets. On an Ignition Edge installation, where the licensing page works differently, a full reboot of the hosting device restarts the trial window.
How do you tell trial expiry from a real history fault? #
Read the provider status first: the text Demo expired names the licensing layer, and only a different message sends you to the other branches. The message on the provider page is the branch selector, more reliable than the blank chart that made you look.
| Symptom | Layer at fault | Next action |
|---|---|---|
| Provider status Demo expired, Gateway unlicensed | Gateway trial | Reset the trial on the licensing page |
| Provider Running, datasource connection error | Storage | Check the datasource connection, driver and credentials |
| Provider Running, no rows for a known tag | Collection or query | Check history enablement, deadband and the query's tag paths |
| Live tag bad quality | Measurement or comms | Work upstream of the historian; storage cannot fix what never arrived |
The historian is an information path, not the process. Never change controller logic, scaling or actuator settings to chase missing historical display data; compare the live tag value and quality with history first to locate the failed stage. Once the provider reads Running and the datasource is healthy, verify with a known tag: watch its live value, let its configured collection conditions produce samples, and query an interval after the reset. Samples from the expired interval stay missing because they were never collected. If a genuinely different provider fault remains after the trial is active, continue with the matching live articles, for example when history bindings show zeros while the database has values or when you need to set pruning and retention for tag history.
Questions asked
Does restarting the Edge device clear the trial timer the same way?
On an Ignition Edge installation a full reboot of the hosting device restarts the two-hour trial window, and that is a documented workaround for evaluation. On a standard Gateway use the Reset Trial control on the licensing page instead; it does the same thing without interrupting every other Gateway service.
Can I get a longer evaluation period than two hours?
Yes. The vendor can issue a longer evaluation license for a proof of concept; ask the vendor's sales or support channel rather than resetting the trial repeatedly. A trial reset restarts the evaluation window only and does not license continuous historical collection on a production system.
Will resetting the trial restore the trends I missed while it was expired?
No. Samples that were never collected while the provider was stopped do not exist in the database. After the reset, new samples are stored from that point; queries that cover the expired interval return a gap, and the trend before the gap comes back because those records were already stored.


