Admin tab is not visible but getting Message: No Permission to use this frontend module!
Moderator: crythias
-
- Znuny newbie
- Posts: 29
- Joined: 20 Sep 2022, 13:59
- Znuny Version: Znuny 6.5 LTS
- Real Name: BP Singh
Admin tab is not visible but getting Message: No Permission to use this frontend module!
So, I upgraded znuny6 to znuny6.4. Even though I'm able to see admin button but I'm not able to do any admin operations.
This is what I'm getting on clicking admin tab.
This is error I'm getting: "Message: No Permission to use this frontend module!"
Pls refer attached screenshot as well
Thanks in advance
This is what I'm getting on clicking admin tab.
This is error I'm getting: "Message: No Permission to use this frontend module!"
Pls refer attached screenshot as well
Thanks in advance
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Admin tab is not visible but getting Message: No Permission to use this frontend module!
Hi,
Did you followed the upgrade path 6.0 => 6.1 => 6.2 => 6.3 => 6.4?
- Roy
Did you followed the upgrade path 6.0 => 6.1 => 6.2 => 6.3 => 6.4?
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 29
- Joined: 20 Sep 2022, 13:59
- Znuny Version: Znuny 6.5 LTS
- Real Name: BP Singh
Re: Admin tab is not visible but getting Message: No Permission to use this frontend module!
Hi Roy,
Thank you for getting back.
I actually upgraded directly.
I have a backup from otrs6, but I got same issue on restoring that backup to znuny6.4. So, I restored it on znuny6 and further upgraded it directly to znuny6.4.
Got same issue with both options.
Thank you for getting back.
I actually upgraded directly.
I have a backup from otrs6, but I got same issue on restoring that backup to znuny6.4. So, I restored it on znuny6 and further upgraded it directly to znuny6.4.
Got same issue with both options.
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Admin tab is not visible but getting Message: No Permission to use this frontend module!
Hi,
You need to follow the upgrade path. That's why for every version a visual hint is part of the manual: "Please make sure your current system is at the latest patchlevel version of 6.3, this is 6.3.4"
You need to start again from 6.0
- Roy
You need to follow the upgrade path. That's why for every version a visual hint is part of the manual: "Please make sure your current system is at the latest patchlevel version of 6.3, this is 6.3.4"
You need to start again from 6.0
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 29
- Joined: 20 Sep 2022, 13:59
- Znuny Version: Znuny 6.5 LTS
- Real Name: BP Singh
Re: Admin tab is not visible but getting Message: No Permission to use this frontend module!
Hi Roy,
Thank you for all the assistance.
So, I started again from scratch.
Restored otrs6 backup to znuny6 and further upgraded znuny6 to 6.4 in increments version by version.
Everything seems to work fine but this error thrown haunts me.
Can you let me know what does that means.
Admin tab is back and seems to work fine, just curious about this error
Thank you for all the assistance.
So, I started again from scratch.
Restored otrs6 backup to znuny6 and further upgraded znuny6 to 6.4 in increments version by version.
Everything seems to work fine but this error thrown haunts me.
Can you let me know what does that means.
Admin tab is back and seems to work fine, just curious about this error
Code: Select all
ERROR: OTRS-otrs.Console.pl-Dev::Code::CPANAudit-59 Perl: 5.30.0 OS: linux Time: Fri Nov 4 05:08:28 2022
Message: 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!
Traceback (60246):
Module: Kernel::System::YAML::Load Line: 143
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::ConfigurationListGet Line: 3044
Module: Kernel::System::SysConfig::ConfigurationInvalidList Line: 3231
Module: scripts::Migration::Base::InvalidSettingsCheck::Run Line: 38
Module: scripts::Migration::_ExecuteComponent Line: 155
Module: scripts::Migration::Run Line: 67
Module: scripts/MigrateToZnuny6_4.pl Line: 82
-
- Znuny newbie
- Posts: 3
- Joined: 16 Sep 2022, 10:16
- Znuny Version: All versions
- Real Name: Jannis
- Company: maxence business consulting gmbh
- Contact:
Re: Admin tab is not visible but getting Message: No Permission to use this frontend module!
Hi,
DefaultSettingListGet tries to get a setting which is encoded in YAML format.
The YAML format is not decodeable by YAML::XS or others so the pure-perl YAML module is used instead.
It is not possible to know which setting is the source of the error just by reading this log though.
Did the error message appear just once in the log or multiple times?
If it did appear multiple times, the YAML::XS module might not be properly installed.
DefaultSettingListGet tries to get a setting which is encoded in YAML format.
The YAML format is not decodeable by YAML::XS or others so the pure-perl YAML module is used instead.
It is not possible to know which setting is the source of the error just by reading this log though.
Did the error message appear just once in the log or multiple times?
If it did appear multiple times, the YAML::XS module might not be properly installed.
-
- Znuny newbie
- Posts: 29
- Joined: 20 Sep 2022, 13:59
- Znuny Version: Znuny 6.5 LTS
- Real Name: BP Singh
Re: Admin tab is not visible but getting Message: No Permission to use this frontend module!
Hi Harry,HarryOtter wrote: ↑10 Nov 2022, 16:57 Hi,
DefaultSettingListGet tries to get a setting which is encoded in YAML format.
The YAML format is not decodeable by YAML::XS or others so the pure-perl YAML module is used instead.
It is not possible to know which setting is the source of the error just by reading this log though.
Did the error message appear just once in the log or multiple times?
If it did appear multiple times, the YAML::XS module might not be properly installed.
Thank you for your response.
I got that error when I upgraded Znuny's version.
So now, when I run this command: su -c "/opt/otrs/bin/otrs.Console.pl Maint::Config::Rebuild" -s /bin/bash otrs, it runs fine, but when I run this command again, it gives me the mentioned error every second time.
Pasted below is the whole error I'm getting, would appreciate if you can shed some light.
Code: Select all
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: Loading the YAML string failed: YAML::XS::Load Error: The problem:
did not find expected <document start>
was found at document: 2, line: 2, column: 1
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 118
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: YAML data was: "--- |-
Hi <OTRS_USERFIRSTNAME>,
New password: <OTRS_NEWPW>
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>customer.pl
"
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 126
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: 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!
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 143
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: Loading the YAML string failed: YAML::XS::Load Error: The problem:
did not find expected <document start>
was found at document: 2, line: 2, column: 1
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 118
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: YAML data was: "--- |-
Hi <OTRS_USERFIRSTNAME>,
You or someone impersonating you has requested to change your OTRS
password.
If you want to do this, click on this link. You will receive another email containing the password.
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>customer.pl?Action=CustomerLostPassword;Token=<OTRS_TOKEN>
If you did not request a new password, please ignore this email.
"
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 126
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: 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!
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 143
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: Loading the YAML string failed: YAML::XS::Load Error: The problem:
did not find expected <document start>
was found at document: 2, line: 2, column: 1
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 118
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: YAML data was: "--- |-
Hi <OTRS_USERFIRSTNAME>,
You or someone impersonating you has created a new OTRS account for
you.
Full name: <OTRS_USERFIRSTNAME> <OTRS_USERLASTNAME>
User name: <OTRS_USERLOGIN>
Password : <OTRS_USERPASSWORD>
You can log in via the following URL. We encourage you to change your password
via the Preferences button after logging in.
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>customer.pl
"
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 126
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: 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!
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 143
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: Loading the YAML string failed: YAML::XS::Load Error: The problem:
did not find expected <document start>
was found at document: 2, line: 2, column: 1
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 118
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: YAML data was: "--- |-
Hi <OTRS_USERFIRSTNAME>,
Here's your new OTRS password.
New password: <OTRS_NEWPW>
You can log in via the following URL:
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl
"
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 126
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: 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!
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 143
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: Loading the YAML string failed: YAML::XS::Load Error: The problem:
did not find expected <document start>
was found at document: 2, line: 2, column: 1
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 118
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: YAML data was: "--- |-
Hi <OTRS_USERFIRSTNAME>,
You or someone impersonating you has requested to change your OTRS
password.
If you want to do this, click on the link below. You will receive another email containing the password.
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl?Action=LostPassword;Token=<OTRS_TOKEN>
If you did not request a new password, please ignore this email.
"
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 126
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: 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!
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 143
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: Loading the YAML string failed: YAML::XS::Load Error: The problem:
did not find expected <document start>
was found at document: 2, line: 3, column: 1
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 118
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: YAML data was: "--- |2
Dear Customer,
Unfortunately we could not detect a valid ticket number
in your subject, so this email can't be processed.
Please create a new ticket via the customer panel.
Thanks for your help!
Your Helpdesk Team
"
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 126
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: YAML data was not readable even by pure-perl YAML module
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 137
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: Loading the YAML string failed: YAML::XS::Load Error: The problem:
found character that cannot start any token
was found at document: 1, line: 2, column: 2
while scanning for the next token at line: 2, column: 2
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 118
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: YAML data was: "--- |
[% Data.Salutation | html %]
[% Data.StdResponse | html %]
[% Data.Signature | html %]
[% Data.CreateTime | Localize("TimeShort") %] - [% Data.OrigFromName | html %] [% Translate("wrote") | html %]:
[% Data.Body | html %]
"
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 126
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-59 Perl: 5.30.0 OS: linux Time: Mon Nov 14 07:28:28 2022
Message: 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!
Traceback (2677):
Module: Kernel::System::YAML::Load Line: 143
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1391
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5851
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3423
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 138
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37
-
- Moderator
- Posts: 393
- Joined: 30 Jan 2008, 02:26
- Znuny Version: All of them ^^
- Real Name: Hannes
- Company: Znuny|OTTERHUB
Re: Admin tab is not visible but getting Message: No Permission to use this frontend module!
Hi,
the problem is resulting from a setup where the needed YAML::XS was not actually installed.
This now triggers the errors.
Sadly, the only solution I know / I'm aware of to get rid of those, is to copy the YAML values as INSERT Statements from a working instance or to edit them. This is something related to the handling of newlines at the end of the YAML lines
The usual suspects, which seem to match your case:
They need to be cleaned up / replaced in the tables:
- sysconfig_default
- sysconfig_default_version
to get rid of the errors. What DBMS is in use on your instance?
Regards
the problem is resulting from a setup where the needed YAML::XS was not actually installed.
This now triggers the errors.
Sadly, the only solution I know / I'm aware of to get rid of those, is to copy the YAML values as INSERT Statements from a working instance or to edit them. This is something related to the handling of newlines at the end of the YAML lines
The usual suspects, which seem to match your case:
- - PostMaster::PreFilterModule::NewTicketReject::Body
- Ticket::Frontend::ResponseFormat
- CustomerPanelBodyLostPassword
- CustomerPanelBodyLostPasswordToken
- CustomerPanelBodyNewAccount
- NotificationBodyLostPassword
- NotificationBodyLostPasswordToken
They need to be cleaned up / replaced in the tables:
- sysconfig_default
- sysconfig_default_version
to get rid of the errors. What DBMS is in use on your instance?
Regards
-
- Znuny newbie
- Posts: 29
- Joined: 20 Sep 2022, 13:59
- Znuny Version: Znuny 6.5 LTS
- Real Name: BP Singh
Re: Admin tab is not visible but getting Message: No Permission to use this frontend module!
Hi JohannesJohannes wrote: ↑15 Nov 2022, 10:19 Hi,
the problem is resulting from a setup where the needed YAML::XS was not actually installed.
This now triggers the errors.
Sadly, the only solution I know / I'm aware of to get rid of those, is to copy the YAML values as INSERT Statements from a working instance or to edit them. This is something related to the handling of newlines at the end of the YAML lines
The usual suspects, which seem to match your case:
- - PostMaster::PreFilterModule::NewTicketReject::Body
- Ticket::Frontend::ResponseFormat
- CustomerPanelBodyLostPassword
- CustomerPanelBodyLostPasswordToken
- CustomerPanelBodyNewAccount
- NotificationBodyLostPassword
- NotificationBodyLostPasswordToken
They need to be cleaned up / replaced in the tables:
- sysconfig_default
- sysconfig_default_version
to get rid of the errors. What DBMS is in use on your instance?
Regards
Thank you for your response.
I'm on MariaDB.
I restored otrs6 backup to Znuny6.
Further, I upgraded to Znuny60 to 6.4 in steps(instead of single go) following the guide mentioned on installation doc.
Both old otrs6 Instance and Znuny are on MariaDB
-
- Znuny newbie
- Posts: 29
- Joined: 20 Sep 2022, 13:59
- Znuny Version: Znuny 6.5 LTS
- Real Name: BP Singh
Re: Admin tab is not visible but getting Message: No Permission to use this frontend module!
I tried to reset modules as suggested in some different post but its still same
-
- Moderator
- Posts: 393
- Joined: 30 Jan 2008, 02:26
- Znuny Version: All of them ^^
- Real Name: Hannes
- Company: Znuny|OTTERHUB
Re: Admin tab is not visible but getting Message: No Permission to use this frontend module!
Hi,
the error happend way before the migration.
This can, in my experience, only fixed using a dump.
I attached a default export I used earlier.
Important: The sysconfigs should not be modified before applying this sql.
You need to check the sysconfig_* tables especially the modified ones.
If there are old entries, you need to delete them. Otherwise the error will reappear.
If you made changed to them earlier, you need to reapply them after the import.
the error happend way before the migration.
This can, in my experience, only fixed using a dump.
I attached a default export I used earlier.
Important: The sysconfigs should not be modified before applying this sql.
You need to check the sysconfig_* tables especially the modified ones.
If there are old entries, you need to delete them. Otherwise the error will reappear.
If you made changed to them earlier, you need to reapply them after the import.
You do not have the required permissions to view the files attached to this post.
-
- Znuny newbie
- Posts: 29
- Joined: 20 Sep 2022, 13:59
- Znuny Version: Znuny 6.5 LTS
- Real Name: BP Singh
Re: Admin tab is not visible but getting Message: No Permission to use this frontend module!
Thank you for getting that.Johannes wrote: ↑23 Nov 2022, 12:27 Hi,
the error happend way before the migration.
This can, in my experience, only fixed using a dump.
I attached a default export I used earlier.
Important: The sysconfigs should not be modified before applying this sql.
You need to check the sysconfig_* tables especially the modified ones.
If there are old entries, you need to delete them. Otherwise the error will reappear.
If you made changed to them earlier, you need to reapply them after the import.
I'm looking into it and will get back soon
Re: Admin tab is not visible but getting Message: No Permission to use this frontend module!
Hi,
one thing you might also want to check is the name of the permission group "admin"
maybe it is renamed? Or invalid? Can also result in an permission denied error.
Flo
one thing you might also want to check is the name of the permission group "admin"
maybe it is renamed? Or invalid? Can also result in an permission denied error.
Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.