Dashboard and Queues not working anymore

Moderator: crythias

Post Reply
marc_fauser
Znuny newbie
Posts: 28
Joined: 04 May 2010, 10:27
Znuny Version: 5.0.16

Dashboard and Queues not working anymore

Post by marc_fauser »

Tonight I made a mistake and updated otrs without taking a VM snapshot.
By accident I also installed PostgreSQL 14 which didn't worked at all but I could go back to 13.
But my dashboard and the queues are not showing any tickets. I have a list of watched tickets and this is working,
also opening one of those watched tickets work.
In the apache logs, I have this messages:

Code: Select all

...
[Tue Nov  2 00:53:27 2021] Article.pm: Subroutine ArticleAttachmentIndex redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1390.
[Tue Nov  2 00:53:27 2021] Article.pm: Subroutine ArticleAttachment redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1430.
[Tue Nov  2 00:53:27 2021] Article.pm: Subroutine ArticleCount redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1460.
[Tue Nov  2 00:53:27 2021] Article.pm: Subroutine ArticleAttachmentCount redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1511.
[Tue Nov  2 00:53:27 2021] Article.pm: Subroutine ArticleContentPathGet redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1602.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine ArticleCreate redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1262.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine ArticleGet redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1272.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine ArticleUpdate redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1285.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine ArticleSend redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1298.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine ArticleBounce redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1308.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine SendAutoResponse redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1321.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine ArticleCreate redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1262.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine ArticleGet redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1272.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine ArticleUpdate redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1285.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine ArticleSend redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1298.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine ArticleIndex redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1346.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine ArticleAttachmentIndex redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1390.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine ArticleAttachment redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1430.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine ArticleCount redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1460.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine ArticleAttachmentCount redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1511.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine ArticleContentPathGet redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1602.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine ArticleBounce redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1308.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine SendAutoResponse redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1321.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine ArticleIndex redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1346.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine ArticleAttachmentIndex redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1390.
[Tue Nov  2 00:53:36 2021] Article.pm: Subroutine ArticleAttachment redefined at /usr/share/otrs/Kernel/System/Ticket/Article.pm line 1430.
...
I don't know what I could do. I removed otrs/znuny and reinstalled it, but I get the same messages when apache is starting.
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Dashboard and Queues not working anymore

Post by root »

Hi,

It's hard to say anything without having more details. It looks like you're using the Debian package. How did you updated? Do you followed the update instructions step by step?

- 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 ?
marc_fauser
Znuny newbie
Posts: 28
Joined: 04 May 2010, 10:27
Znuny Version: 5.0.16

Re: Dashboard and Queues not working anymore

Post by marc_fauser »

It was a normal update on Debian 11 with the integrated packages.

apt update
apt upgrade
marc_fauser
Znuny newbie
Posts: 28
Joined: 04 May 2010, 10:27
Znuny Version: 5.0.16

Re: Dashboard and Queues not working anymore

Post by marc_fauser »

I fixed it by running the migration script again. It aborted

Code: Select all

    Step 10 of 19: Migrate SysConfig settings ...
    Step 11 of 19: Initialize default cron jobs ...
    Copying /usr/share/otrs/var/cron/aaa_base.dist to /usr/share/otrs/var/cron/aaa_base...

    Error: Could not copy /usr/share/otrs/var/cron/aaa_base.dist to /usr/share/otrs/var/cron/aaa_base: Permission denied
I fixed it by setting the user and group to otrs:www-data
Then I got and error that "/usr/share/otrs/ARCHIVE!" doesn't exist, but the error was ignored.

Then the migration failed with the error "Error uninstalling package Znuny4OTRS-Repo"
I commented out the return in UninstallMergedPackages.pm and now everything is working again.

The question now is how I can remove the Znuny4OTRS-Repo
Reedu
Znuny newbie
Posts: 29
Joined: 11 Mar 2013, 15:08
Znuny Version: Znuny 6.1.2
Real Name: Adam

Re: Dashboard and Queues not working anymore

Post by Reedu »

Just use
./bin/otrs.Console.pl Admin::Package::Uninstall
from otrs user.
marc_fauser
Znuny newbie
Posts: 28
Joined: 04 May 2010, 10:27
Znuny Version: 5.0.16

Re: Dashboard and Queues not working anymore

Post by marc_fauser »

Thanks, that worked.
Post Reply