[SOLVED] Dashboard OTRS 5 missing element and data

Moderator: crythias

Locked
Sayannara
Znuny advanced
Posts: 118
Joined: 22 May 2012, 12:37
Znuny Version: OTRS 7.06
Real Name: Yann
Company: FVE
Contact:

[SOLVED] Dashboard OTRS 5 missing element and data

Post by Sayannara »

Hello

I have almost finished to upgrade otrs from 3.1 to 5.x. Unfortunately during the upgrade I lost the dashboard. I have no custom configuration.
I think the issue appeared after 3.2->3.3 like this thread => viewtopic.php?t=22853 Unfortunatly I didn't notice at this moment. (for sure i ran the upgrade.pl file)

Please see the state of my dashboard v4
dashboardv4.png
and now worse in v5
dashboardv5.png
I know Ticket -> Frontend::Agent::Dashboard DefaultColumns are either to 1 or 2.

What can I do? Are those settings stored in the DB ? Or Can I create a fresh otrs 5 installation and restorDB?

Any suggestion, file needed, would be much appreciated.
You do not have the required permissions to view the files attached to this post.
Last edited by Sayannara on 29 Dec 2015, 17:23, edited 1 time in total.
Centos 7 / OTRS::ITSM 6 Business Solutions / MariaDB / Apache
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: Dashboard OTRS 5 missing element and data

Post by reneeb »

Anything in the logfiles?
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
Sayannara
Znuny advanced
Posts: 118
Joined: 22 May 2012, 12:37
Znuny Version: OTRS 7.06
Real Name: Yann
Company: FVE
Contact:

Re: Dashboard OTRS 5 missing element and data

Post by Sayannara »

Sorry I should have added this, I had nothing with v4 but now I get this error:
Module Kernel/Output/HTML/Dashboard/TicketStatsGenericMonthly.pm not in @INC(/opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /srv/www/perl-lib /usr/lib/perl5/site_perl/5.18.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.18.1 /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.18.1 /usr/lib/perl5/5.18.1/x86_64-linux-thread-multi /usr/lib/perl5/5.18.1 /usr/lib/perl5/site_perl . /srv/www)
same error with DashboardUserOnline.pm, DashboardCalendar.pm, DashboardTicketStatsGeneric.pm, DashboardTicketGeneric.pm etc..

Under /opt/otrs/Kernel/Output/HTML/Dashboard I don't have these files, should I ?
Centos 7 / OTRS::ITSM 6 Business Solutions / MariaDB / Apache
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: Dashboard OTRS 5 missing element and data

Post by reneeb »

Go to SysConfig Ticket -> Frontend::Agent::Dashboard and change any Kernel::Output::HTML::DashboardXXXX.pm to Kernel::Output::HTML::Dashboard::XXXX.pm, e.g. Kernel::Output::HTML::DashboardTicketGeneric.pm to Kernel::Output::HTML::Dashboard::TicketGeneric.pm
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
Sayannara
Znuny advanced
Posts: 118
Joined: 22 May 2012, 12:37
Znuny Version: OTRS 7.06
Real Name: Yann
Company: FVE
Contact:

Re: Dashboard OTRS 5 missing element and data

Post by Sayannara »

Thank you very much.

I can change but when I update with the button all modification are lost. The system reset the old configuration.
Centos 7 / OTRS::ITSM 6 Business Solutions / MariaDB / Apache
Sayannara
Znuny advanced
Posts: 118
Joined: 22 May 2012, 12:37
Znuny Version: OTRS 7.06
Real Name: Yann
Company: FVE
Contact:

Re: Dashboard OTRS 5 missing element and data

Post by Sayannara »

I had these settings in my Config.pm.... I deleted all lines. It is now as it was in version 4. But I still don't have any fields...
noColumn.png
Widget "Running Process Tickets" is good. Any idea what can I do ? Is there files I can remplace ?
You do not have the required permissions to view the files attached to this post.
Centos 7 / OTRS::ITSM 6 Business Solutions / MariaDB / Apache
Sayannara
Znuny advanced
Posts: 118
Joined: 22 May 2012, 12:37
Znuny Version: OTRS 7.06
Real Name: Yann
Company: FVE
Contact:

Re: Dashboard OTRS 5 missing element and data

Post by Sayannara »

I noticed something that may help.

For example with TicketOpen I have
AgentCustomerInformationCenter::Backend###0130-CIC-TicketOpen
and
DashboardBackend###0130-TicketOpen
but I only have DefaultColumns below AgentCustomerInformationCenter::Backend###0130-CIC-TicketOpen.
Centos 7 / OTRS::ITSM 6 Business Solutions / MariaDB / Apache
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: Dashboard OTRS 5 missing element and data

Post by reneeb »

The config files define some default columns... It's weird that this is missing from your SysConfig when you reset the config option...
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
Sayannara
Znuny advanced
Posts: 118
Joined: 22 May 2012, 12:37
Znuny Version: OTRS 7.06
Real Name: Yann
Company: FVE
Contact:

[SOLVED]Re: Dashboard OTRS 5 missing element and data

Post by Sayannara »

Probably it is obvious but I had not tried so far to reset.... Now it works... I only needed to reset...

Conclusion: make sure nothing in Config.pm and reset settings....

Thank you!
Centos 7 / OTRS::ITSM 6 Business Solutions / MariaDB / Apache
jbelliveau
Znuny newbie
Posts: 4
Joined: 11 Jan 2016, 01:47
Znuny Version: 5.0.5-01

Re: [SOLVED] Dashboard OTRS 5 missing element and data

Post by jbelliveau »

We had the same issue after OTRS 5 upgrade - Frontend::Agent::Dashboard and choosing "reset" for any settings which didn't have default columns also fixed our problem.

Dashboard has now returned to normal and users can choose columns.
Locked