When Adquio indicates that there is an error
Sometimes
In addition, an alert will always be generated that will appear in the Graphic interface alerts section. It is noted of the existence of alerts in the web interface, indicating the number and severity of the most important in the alerts section icon; as explained in the corresponding section.
If the ERR led (Error) of
Automatic alerts configured by the user
There are some automatic alerts configurable by the user outside the scripts.
A device or variable is out of service
Typele alerts deviceestatus andVariablastatus indicate that a monitored device or variable is out of service.
These alerts do not affect the
According to the characteristics of your device, you may prefer to ignore these alerts; For example, it could be usual for a device to be accessible, but not to suppose a relevant problem for installation. In this situation, the presence of the alerts may be uninteresting for the user.
To deactivate these alerts go to the devices section and uncheck the column switch State alerts.
You can also delete the corresponding entry to the device or the problematic variables in the sectionAlerts -> Automatic alerts.
A variable is out of range or has an invalid value
When the user configures automatic alerts of the type VariableValue These types of alerts can be generated when a variable does not meet the parameters set by the user. Go to the section Alerts -> Automatic alerts To review the configuration and correct it if necessary.
System alerts
System level alerts are recognized because they are marked red instead of yellow in the web interface.
A unit is running out of storage
Alerts with the text: Low free space in (Unit).
They cause ON of Error indicator..
Depending on the unit that is running out of space:
- / The unit / should not increase in size in the normal use of
adquio . Check with the technical service if this alert is generated and make a Backup of the configuration. - /var/log The storage of logs is prone to grow, especially if you have configured devices that usually give connectivity or buse problems with interference or noise that generates errors. In a few minutes
adquio You should make a record rotation (this procedure includes the compression of old records and move them to a different storage unit). If the error is habitual or persistent, try to deactivate devices and incorrect settings, reduce if you can record existing scripts; As an alternative solution you can consult with the technical service other options or update youradquio to have more space in /var/log. - /mnt/external This is the external storage unit that you have configured. Maybe I'm keeping historical too long or too many variables. Configure an SD or USB unit of more capacity in
adquio . Note If there is no sufficient storage some functionality such as historical and aggregations of variables or the generation of backup copies may not work correctly. - /var/lib/adquio This is the internal data storage unit, this notice is only important if you do not have an external storage unit configured, which is always recommended. Install and configure an SD card or USB drive to use as storage; If this is not possible to consult with your provider the availability of system cards
adquio with greater capacity and the process to migrate to one. The use ofadquio without an external storage unit, Podŕia carries a premature wear of the internal storage of the system.
Failure in the logs unit
Alerts with the text: Missing logs mount point. They cause on of Error indicator.
The
This error northly indicates a more serious system problem, such as storage corruption where the logs drive is located. Make a Backup of the configuration.
- If you have configured external storage: possibly you need to replace the unit by a new one; Look for a replacement and install it.
- If you do not have external storage configured: Consult your provider to assess repair and replacement of system storage.
Unexpected system reboot
Alerts with the text: Adquio core process was not shutted down correctly. Possible causes are sytem crash, forced reboot or unhandled error..
Alerts of the type: UnexpectedRestart.
This alert indicates that the system or the main motor of
If you can confirm that it is not a power cut and the alert occurs several times, check with your provider.
External unit in read-only mode or does not work
Alerts with the text: External storage not present or failing
Alerts of the type: ExternalStorage.
External storage is configured but the unit (external SD card or USB drive) is failing. Look for a replacement and install it as soon as possible.
Failures in the configuration of devices and variables
Dependencies of a calculated variable
Alerts of the type: RecursiveCalculatedVariable.
Contains in your information the identification of the variable in conflict in shape device_code#variable_code. The calculated variable is ignored (it will not exist) because one of its operands does not exist. Check the formula and dependencies in the variable configuration.
Errors in scripts
Alerts of the type: ScriptException.
When a script does not correctly manage an error situation, an alert of this type is gented. Normally the alert includes information about the location of the error and the error occurred.
Errors can be any of the exceptions generated by the underlying JavaScript engine or by libraries
Common operations such as the reading and writing of variables can cause errors in its correct operation. For example, when the read variable is not temporarily available. Therefore, it is very important to foresee these possible situations and manage the errors that are foreseeable and do not pose a serious problem to the operation of the script.
It is recommended the reading of the section on Management of errors in the scripting language and the corresponding review
The error log will also be available in the log Specific of the affected script. To see the record of a script, open theScript Edition Form.