Data was only readable pure-perl YAML module.

Moderator: crythias

Post Reply
kevindebie
Znuny newbie
Posts: 12
Joined: 12 Apr 2017, 15:35
Znuny Version: 6.5.x
Real Name: Kevin de Bie

Data was only readable pure-perl YAML module.

Post by kevindebie »

I've got several OTRS systems, a couple of them, incidentally both fresh OTRS 6 installs, log weird YAML errors that I cannot put my finger on.
I've got these errors only in new OTRS 6 installations so far. I've also upgraded a couple of OTRS 5 machines to 6 that do not log these errors.

I use the RPM on Centos 7 (Proxmox LXC container)

I can trigger this by running a config rebuild, it also logs these in normal use every so often but I have not yet figured out what action triggers this.

I have found no ill effects in the use of these OTRS installations, apart from the fact their log is noisy and the SchedulerTaskWorker e-mails these errors.

Code: Select all

Tue May 8 12:51:21 2018	error	OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-47	There was an error executing ConfigurationInvalidList() in Kernel::System::SysConfig: ERROR: OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-47 Perl: 5.16.3 OS: linux Time: Tue May 8 12:51:13 2018
Tue May 8 12:51:14 2018	error	OTRS-CGI-47	Data was only readable pure-perl YAML module, please contact the System Administrator to update this record, as the stored data is still in a wrong format!
Tue May 8 12:51:14 2018	error	OTRS-CGI-47	YAML data was: "--- |-
Tue May 8 12:51:14 2018	error	OTRS-CGI-47	Loading the YAML string failed: YAML::XS::Load Error: The problem:
Tue May 8 12:51:14 2018	error	OTRS-CGI-47	Data was only readable pure-perl YAML module, please contact the System Administrator to update this record, as the stored data is still in a wrong format!
Tue May 8 12:51:14 2018	error	OTRS-CGI-47	YAML data was: "--- |
Tue May 8 12:51:14 2018	error	OTRS-CGI-47	Loading the YAML string failed: YAML::XS::Load Error: The problem:
Tue May 8 12:51:14 2018	error	OTRS-CGI-47	YAML data was not readable even by pure-perl YAML module
Tue May 8 12:51:14 2018	error	OTRS-CGI-47	YAML data was: "--- |2
Tue May 8 12:51:14 2018	error	OTRS-CGI-47	Loading the YAML string failed: YAML::XS::Load Error: The problem:
Tue May 8 12:51:14 2018	error	OTRS-CGI-47	Data was only readable pure-perl YAML module, please contact the System Administrator to update this record, as the stored data is still in a wrong format!
Tue May 8 12:51:14 2018	error	OTRS-CGI-47	YAML data was: "--- |-
Tue May 8 12:51:14 2018	error	OTRS-CGI-47	Loading the YAML string failed: YAML::XS::Load Error: The problem:
Tue May 8 12:51:14 2018	error	OTRS-CGI-47	Data was only readable pure-perl YAML module, please contact the System Administrator to update this record, as the stored data is still in a wrong format!
Tue May 8 12:51:14 2018	error	OTRS-CGI-47	YAML data was: "--- |-
Tue May 8 12:51:14 2018	error	OTRS-CGI-47	Loading the YAML string failed: YAML::XS::Load Error: The problem:
Tue May 8 12:51:13 2018	error	OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-47	Data was only readable pure-perl YAML module, please contact the System Administrator to update this record, as the stored data is still in a wrong format!
Tue May 8 12:51:13 2018	error	OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-47	YAML data was: "--- |-
Tue May 8 12:51:13 2018	error	OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-47	Loading the YAML string failed: YAML::XS::Load Error: The problem:
Tue May 8 12:51:13 2018	error	OTRS-CGI-47	Data was only readable pure-perl YAML module, please contact the System Administrator to update this record, as the stored data is still in a wrong format!
Tue May 8 12:51:13 2018	error	OTRS-CGI-47	YAML data was: "--- |-
Tue May 8 12:51:13 2018	error	OTRS-CGI-47	Loading the YAML string failed: YAML::XS::Load Error: The problem:
Tue May 8 12:51:13 2018	error	OTRS-CGI-47	Data was only readable pure-perl YAML module, please contact the System Administrator to update this record, as the stored data is still in a wrong format!
Tue May 8 12:51:13 2018	error	OTRS-CGI-47	YAML data was: "--- |-
Tue May 8 12:51:13 2018	error	OTRS-CGI-47	Loading the YAML string failed: YAML::XS::Load Error: The problem:
Tue May 8 12:51:13 2018	error	OTRS-CGI-47	Data was only readable pure-perl YAML module, please contact the System Administrator to update this record, as the stored data is still in a wrong format!
Tue May 8 12:51:13 2018	error	OTRS-CGI-47	YAML data was: "--- |-
Tue May 8 12:51:13 2018	error	OTRS-CGI-47	Loading the YAML string failed:
Tue May 8 12:51:13 2018	error	OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-47	Data was only readable pure-perl YAML module, please contact the System Administrator to update this record, as the stored data is still in a wrong format!
Tue May 8 12:51:13 2018	error	OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-47	YAML data was: "--- |
Tue May 8 12:51:13 2018	error	OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-47	Loading the YAML string failed: YAML::XS::Load Error: The problem:
Tue May 8 12:51:13 2018	error	OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-47	YAML data was not readable even by pure-perl YAML module
Tue May 8 12:51:13 2018	error	OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-47	YAML data was: "--- |2
Whoopsiedoodle.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Data was only readable pure-perl YAML module.

Post by reneeb »

You should check which entries do trigger that error. The admin should then update those entries in the admin area. This could be something like Processes, Dynamic Fields, and such that stores configuration in YAML format.

I bet you updated (or just installed) YAML::XS while the entries were written with an older version of that module or a pure perl YAML module (like YAML::Tiny).
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
kevindebie
Znuny newbie
Posts: 12
Joined: 12 Apr 2017, 15:35
Znuny Version: 6.5.x
Real Name: Kevin de Bie

Re: Data was only readable pure-perl YAML module.

Post by kevindebie »

reneeb wrote:You should check which entries do trigger that error. The admin should then update those entries in the admin area. This could be something like Processes, Dynamic Fields, and such that stores configuration in YAML format.

I bet you updated (or just installed) YAML::XS while the entries were written with an older version of that module or a pure perl YAML module (like YAML::Tiny).
Yes, it is likely I did some OTRS configuration changes pre yaml::xs installation. The entire OTRS installation has been done without this module. I just installed it after OTRS told me it was required.
How do I go about updating it? We do use stuff like Dynamic fields. Do I need to re-save the dynamic fields? Re-save the settings where these dynamic fields are used?

I had hopes this morning it was fixed as no errors were logged but I now seem to conclude it logs these events everytime I save and deploy changes in OTRS's configuration.
Whoopsiedoodle.
Post Reply