Error when installing package swaudit in a workstation

Antworten
igor.freitas
Beiträge: 3
Registriert: 19 Feb 2021, 19:47

Error when installing package swaudit in a workstation

Beitrag von igor.freitas »

Hello!

We are testing opsi in our company.

When we try to install swaudit on demand on a workstation, the following error occurs:

"(461) [3] [2021-02-19 15:35:26.662] [swaudit] Error: retrieveJSONObject --- opsi service problem ----> {"message":"(1292, \"Incorrect datetime value: '0000-00-00 00:00:00' for column 'lastUsed' at row 1\")","class":"OperationalError"}
(462) [3] [2021-02-19 15:35:26.662] [swaudit] Received (first 512): {"id": 1, "result": null, "error": {"message": "(1292, \"Incorrect datetime value: '0000-00-00 00:00:00' for column 'lastUsed' at row 1\")", "class": "OperationalError"}}
(463) [3] [2021-02-19 15:35:26.662] [swaudit] Error: -> {"message":"(1292, \"Incorrect datetime value: '0000-00-00 00:00:00' for column 'lastUsed' at row 1\")","class":"OperationalError"}
(464) [2] [2021-02-19 15:35:26.709] [swaudit] Error level set to fatal"

How can we fix this?

Tks in advance!!
Igor
uncle_scrooge
Beiträge: 650
Registriert: 21 Feb 2012, 12:03
Wohnort: Mainz

Re: Error when installing package swaudit in a workstation

Beitrag von uncle_scrooge »

Might be a problem with 'strict mode'.
See Getting Started (https://download.uib.de/opsi4.1/documen ... -v4.1.html) do disable it.
igor.freitas
Beiträge: 3
Registriert: 19 Feb 2021, 19:47

Re: Error when installing package swaudit in a workstation

Beitrag von igor.freitas »

Tks! It worked!
Antworten