OTRS 6.5.2 Error "Browser too old" returns every 2 Mondays

Moderator: crythias

Post Reply
needmorecoffee
Znuny newbie
Posts: 4
Joined: 25 Jan 2024, 17:46
Znuny Version: 6.5.2
Real Name: Emanuele Coraia
Company: Infogest srl

OTRS 6.5.2 Error "Browser too old" returns every 2 Mondays

Post by needmorecoffee »

Hi.
My name is Emanuele and my English is very poor, I apologize for this.
I've search for error "Browser too old" on this comunity and I found many comands that helped me fixing this issue (thank you all for this!)

On the first time this error appeared I ran theese commands:

Code: Select all

# Stop services
sudo su
etc/init.d/cron stop
/etc/init.d/postfix stop
/etc/init.d/apache2 stop

# Stop OTRS
sudo su otrs
cd /opt/otrs/
bin/Cron.sh stop
bin/otrs.Daemon.pl stop

#Setting permissions
/opt/znuny-6.5.2/bin/otrs.SetPermissions.pl

#Recreate symlink
rm /opt/otrs
ln -s /opt/znuny-6.5.2 /opt/otrs

#Check modules
/opt/otrs/bin/otrs.CheckModules.pl –all
apt-get install -y libcpan-audit-perl

#Setting permissions
/opt/znuny-6.5.2/bin/otrs.SetPermissions.pl

#Update packages
/opt/otrs/bin/otrs.Console.pl Admin::Package::UpgradeAll
/opt/otrs/bin/otrs.Console.pl Admin::Package::Reinstall FAQ

#Reabuild and cleanup
/opt/otrs/bin/otrs.Console.pl Admin::Config::Update --setting-name Ticket::SearchIndexModule --value "Kernel::System::Ticket::ArticleSearchIndex::DB"
/opt/otrs/bin/otrs.Console.pl Maint::Config::Rebuild --cleanup

#Restart services
sudo su
/etc/init.d/cron start
/etc/init.d/postfix start
/etc/init.d/apache2 start

#Restarti OTRS
su otrs
cd /opt/otrs
bin/otrs.Daemon.pl start
bin/Cron.sh start
This happend on December, the issue was solved but after 2 weeks, on monday morning, the error had returned, ran same comands, issue fixed...

So, how can i check what is the cause of this problem or how can I "protect" OTRS from being broken by other operations such as Backups or Updates?
skullz
Znuny superhero
Posts: 624
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: OTRS 6.5.2 Error "Browser too old" returns every 2 Mondays

Post by skullz »

I would check any cron that perform update / reset someting..

Code: Select all

crontab -l -u root
crontab -l -u anyothersuser
Johannes
Moderator
Posts: 393
Joined: 30 Jan 2008, 02:26
Znuny Version: All of them ^^
Real Name: Hannes
Company: Znuny|OTTERHUB

Re: OTRS 6.5.2 Error "Browser too old" returns every 2 Mondays

Post by Johannes »

I think this is a config rebuild.

When the error shows up, please check the Browser Console.
There will be missing JS Files (Error 404).

My guess is:
the automated sysconfig rebuild / check rebuilds the sysconfig and the error comes up.

You have may have success running bin/otrs.Console.pl Maint::Config::Rebuild --cleanup
This may solve the issue.

But it would be helpful to get the missing JS file from the console, to fix it for sure.

Regards
Johannes
needmorecoffee
Znuny newbie
Posts: 4
Joined: 25 Jan 2024, 17:46
Znuny Version: 6.5.2
Real Name: Emanuele Coraia
Company: Infogest srl

Re: OTRS 6.5.2 Error "Browser too old" returns every 2 Mondays

Post by needmorecoffee »

Thank you very much to everyone.

"crontab -l -u " was very usefull, but we didnt found any cron that could be linked with the issue.

We are currently investigating and next time the incident will appeare we will check for missing JS files.
needmorecoffee
Znuny newbie
Posts: 4
Joined: 25 Jan 2024, 17:46
Znuny Version: 6.5.2
Real Name: Emanuele Coraia
Company: Infogest srl

Re: OTRS 6.5.2 Error "Browser too old" returns every 2 Mondays

Post by needmorecoffee »

Hello,

the problem seems to be caused by the OTRS cache that occupied all diskspace.

Is it possible to schedule a cache cleaning every week or it will brake te otrs services?

The command, could be this?
perl bin/otrs.Console.pl Maint::Cache::Delete
root
Administrator
Posts: 3968
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: OTRS 6.5.2 Error "Browser too old" returns every 2 Mondays

Post by root »

needmorecoffee wrote: 12 Mar 2024, 15:50 Hello,

the problem seems to be caused by the OTRS cache that occupied all diskspace.

Is it possible to schedule a cache cleaning every week or it will brake te otrs services?

The command, could be this?
perl bin/otrs.Console.pl Maint::Cache::Delete
Hi,

Isn't it more of a problem of server administration? Monitor your disk space on all relevant partitions and too small disks?
The application cache of Znuny (6.5.2 is not an OTRS) is deleted by default once a week.

- 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 ?
Post Reply