Update from 6.0.23 to 6.0.25
Moderator: crythias
-
- Znuny advanced
- Posts: 133
- Joined: 07 Oct 2015, 05:54
- Znuny Version: 7.0.2
- Real Name: Tony
- Company: Upson Productions, LLC
- Location: DC
Update from 6.0.23 to 6.0.25
Ran a update from 6.0.23 to 6.0.25 and the update messed up the Default.pm and the ZZZAAuto.pm.
I then performed the following:
- yum remove otrs
- yum install 6.0.25
- restored files/database from backup taken just before the upgrade
- restarted services
Services were restored, but the version number at the bottom of the GUI still reflects 6.0.23, however from the command line, it indicates I am running 6.0.25.
I even ran bin/otrs.Console.pl Maint::Config::Rebuild and this did not help.
Thoughts?
I then performed the following:
- yum remove otrs
- yum install 6.0.25
- restored files/database from backup taken just before the upgrade
- restarted services
Services were restored, but the version number at the bottom of the GUI still reflects 6.0.23, however from the command line, it indicates I am running 6.0.25.
I even ran bin/otrs.Console.pl Maint::Config::Rebuild and this did not help.
Thoughts?
Tony
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
-
- Znuny superhero
- Posts: 889
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Update from 6.0.23 to 6.0.25
Odd way of updating ...
That's most likely the browser cache.
Best regards
Emin
That's most likely the browser cache.
Best regards
Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
-
- Znuny advanced
- Posts: 133
- Joined: 07 Oct 2015, 05:54
- Znuny Version: 7.0.2
- Real Name: Tony
- Company: Upson Productions, LLC
- Location: DC
Re: Update from 6.0.23 to 6.0.25
How so? I did the normal upgrade procedure below; however once you are upgraded, u cannot reinstall; as shown in my original screenshot. So, I had to remove it and reinstall it. After I reinstalled it, it was saying the otrs password (YES) was invalid, so I presumed my config wasn't brought back; thus I restored from backup.
This is my normal procedures:
** Stop Services **
su -c "/opt/otrs/bin/otrs.Daemon.pl stop" -s /bin/bash otrs Cron.sh
systemctl stop httpd.service
** Download & Install .RPM **
sudo wget http://ftp.otrs.org/pub/otrs/RPMS/rhel/ ... noarch.rpm
Note: (6.0.18-01 and 6.0.19.2 are bugged, DO NOT UPDATE!)
sudo yum install otrs-6.0.25-01.noarch.rpm --nogpgcheck (auto restores config files and sets file permissions)
rm -r <otrs-filename>
y {enter} (when prompted)
[[ If you need to rebuild database/config, run the following:]] -- Browser too old error/bug
cd /opt/otrs/
su -c "scripts/DBUpdate-to-6.pl" -s /bin/bash otrs
su - otrs -s /bin/bash
bin/otrs.Console.pl Maint::Config::Rebuild
bin/otrs.Console.pl Admin::Package::UpgradeAll
** Start Services **
su -c "/opt/otrs/bin/otrs.Daemon.pl start" -s /bin/bash otrs Cron.sh
systemctl start httpd.service
Tony
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
-
- Znuny advanced
- Posts: 133
- Joined: 07 Oct 2015, 05:54
- Znuny Version: 7.0.2
- Real Name: Tony
- Company: Upson Productions, LLC
- Location: DC
Re: Update from 6.0.23 to 6.0.25
FYI, clearing browser cache in IE and Chrome didnt change the version number.
Tony
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
-
- Administrator
- Posts: 3961
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Update from 6.0.23 to 6.0.25
Hi,
Did you cleared the OTRS cache?
- Roy
Did you cleared the OTRS cache?
- 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 advanced
- Posts: 133
- Joined: 07 Oct 2015, 05:54
- Znuny Version: 7.0.2
- Real Name: Tony
- Company: Upson Productions, LLC
- Location: DC
Re: Update from 6.0.23 to 6.0.25
Tony
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
-
- Znuny advanced
- Posts: 133
- Joined: 07 Oct 2015, 05:54
- Znuny Version: 7.0.2
- Real Name: Tony
- Company: Upson Productions, LLC
- Location: DC
Re: Update from 6.0.23 to 6.0.25
think I found it:
bin/otrs.Console.pl Maint::Cache::Delete
Tony
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
-
- Znuny advanced
- Posts: 133
- Joined: 07 Oct 2015, 05:54
- Znuny Version: 7.0.2
- Real Name: Tony
- Company: Upson Productions, LLC
- Location: DC
Re: Update from 6.0.23 to 6.0.25
That didnt help
Tony
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
-
- Znuny advanced
- Posts: 133
- Joined: 07 Oct 2015, 05:54
- Znuny Version: 7.0.2
- Real Name: Tony
- Company: Upson Productions, LLC
- Location: DC
Re: Update from 6.0.23 to 6.0.25
and as you see:
Tony
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
Re: Update from 6.0.23 to 6.0.25
Hi,
it seems to me, that the apache config refers to another installation.
Is there any chance, you have a tar file extracted somewhere?
Are the DNS records correct? Your browser shows the production and not another test system?
This brings me to the question: What did you change in Defaults.pm and do you have additional code changes or additional packages (opms) installed?
Flo
it seems to me, that the apache config refers to another installation.
Is there any chance, you have a tar file extracted somewhere?
Are the DNS records correct? Your browser shows the production and not another test system?
An update usually does not mess up files. The Default.pm is usually a new version and it is perfectly fine. The ZZZAAuto.pm is rebuild.Ran a update from 6.0.23 to 6.0.25 and the update messed up the Defaults.pm and the ZZZAAuto.pm.
This brings me to the question: What did you change in Defaults.pm and do you have additional code changes or additional packages (opms) installed?
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.
-
- Znuny advanced
- Posts: 133
- Joined: 07 Oct 2015, 05:54
- Znuny Version: 7.0.2
- Real Name: Tony
- Company: Upson Productions, LLC
- Location: DC
Re: Update from 6.0.23 to 6.0.25
that is very similar to how I performed the update.skullz wrote: ↑21 Jan 2020, 10:15 As per https://doc.otrs.com/doc/manual/admin/6 ... ating.html
shell > rpm -Uvh otrs-x.x.x.-01.rpm
shell > sudo yum install otrs-6.0.25-01.noarch.rpm --nogpgcheck
both methods work just fine:
ref: https://www.howtoforge.com/tutorial/how ... -centos-7/
ref: https://www.vultr.com/docs/how-to-insta ... n-centos-7
this is how i originally updated it and when all services were restarted the "Out of date browser..." message appeared. Thus I went through the "bin/otrs.Console.pl Maint::Config::Rebuild" process that didnt help, which then lead me to the uninstall, reinstall steps.
Tony
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
-
- Znuny advanced
- Posts: 133
- Joined: 07 Oct 2015, 05:54
- Znuny Version: 7.0.2
- Real Name: Tony
- Company: Upson Productions, LLC
- Location: DC
Re: Update from 6.0.23 to 6.0.25
The only reference to a Tar extraction I could think of is my backup restoration steps; at which I ran after installing the 6.0.25 rpm after removing it.
** Stop Services **
su -c "/opt/otrs/bin/otrs.Daemon.pl stop" -s /bin/bash otrs Cron.sh
systemctl stop httpd.service
$ cd /opt/otrs
$ sudo tar -xzf /opt/backups/folder-date/Config.tar.gz
$ sudo tar -xzf /opt/backups/folder-date/Application.tar.gz
$ gunzip /opt/backups/folder-date/DatabaseBackup.sql.gz
$ cat /opt/backups/folder-date/DatabaseBackup.sql | mysql -U {username} -P
{password}
** Start Services **
where should I check this?
I don't recall modifying any DNS entries for OTRS specifically; only the Host IP Address; which has never posed a problem of my OTRS appliances. If you mean the CentOS DNS information; yes this is correct, as e-mail traffic and resolution is just fine.
Negative, all we modify is the Config.pm file with department attributes (LDAP) and DNS settings as implicated above.
Tony
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
-
- Znuny advanced
- Posts: 133
- Joined: 07 Oct 2015, 05:54
- Znuny Version: 7.0.2
- Real Name: Tony
- Company: Upson Productions, LLC
- Location: DC
Re: Update from 6.0.23 to 6.0.25
I can only assume after I installed 6.0.25 -- and then did a restore of my backup, it threw back in an html file that has 6.0.23 within the "Footer" file. If all this is referencing is a html file; where does this footer information reside and I can compare it to another OTRS server?
This is now I backup my OTRS data:
(BACKUP - CrobJob)
# Create a internal full backup of the system every day at 5:05 am (deleting backups older than 8 days)
05 05 * * * /opt/otrs/scripts/backup.pl -d /opt/backups/ -c gzip -r 8 -f fullbackup
This is how I restore my OTRS data:
** Stop Services **
su -c "/opt/otrs/bin/otrs.Daemon.pl stop" -s /bin/bash otrs Cron.sh
systemctl stop httpd.service
$ cd /opt/otrs
$ sudo tar -xzf /opt/backups/folder-date/Config.tar.gz
$ sudo tar -xzf /opt/backups/folder-date/Application.tar.gz
$ gunzip /opt/backups/folder-date/DatabaseBackup.sql.gz
$ cat /opt/backups/folder-date/DatabaseBackup.sql | mysql -U {username} -P {password}
** Start Services **
su -c "/opt/otrs/bin/otrs.Daemon.pl stop" -s /bin/bash otrs Cron.sh
systemctl start httpd.service
The kicker is, if it restored other 6.0.23 files from this backup, how do I ensure they are all updated to 6.0.25? -- and for future restorations, how will I be confident that it is only restoring the ticketing system information that is lost during a uninstall or corruption and not overwriting upgraded files that are required with the upgrade (if this is actually occurring) ??
This is now I backup my OTRS data:
(BACKUP - CrobJob)
# Create a internal full backup of the system every day at 5:05 am (deleting backups older than 8 days)
05 05 * * * /opt/otrs/scripts/backup.pl -d /opt/backups/ -c gzip -r 8 -f fullbackup
This is how I restore my OTRS data:
** Stop Services **
su -c "/opt/otrs/bin/otrs.Daemon.pl stop" -s /bin/bash otrs Cron.sh
systemctl stop httpd.service
$ cd /opt/otrs
$ sudo tar -xzf /opt/backups/folder-date/Config.tar.gz
$ sudo tar -xzf /opt/backups/folder-date/Application.tar.gz
$ gunzip /opt/backups/folder-date/DatabaseBackup.sql.gz
$ cat /opt/backups/folder-date/DatabaseBackup.sql | mysql -U {username} -P {password}
** Start Services **
su -c "/opt/otrs/bin/otrs.Daemon.pl stop" -s /bin/bash otrs Cron.sh
systemctl start httpd.service
The kicker is, if it restored other 6.0.23 files from this backup, how do I ensure they are all updated to 6.0.25? -- and for future restorations, how will I be confident that it is only restoring the ticketing system information that is lost during a uninstall or corruption and not overwriting upgraded files that are required with the upgrade (if this is actually occurring) ??
Tony
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
-
- Znuny superhero
- Posts: 889
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Update from 6.0.23 to 6.0.25
It's hard to reconstruct your steps and find the problem.
I'd suggest – considering your old upgrading problems – to switch from RPM to tarball.
Either way, the upgrade should work smoothly but you might just try your luck with the raw files, which might give you an insight into what's really happening on your system.
If you follow this tutorial, you should have no problem (just skip step 3.2).
The correct OTRS version will always be displayed in /opt/otrs/README.
OTRS 6.0.26 will be released on February 7, 2020, which will hopefully give you a chance to correct/uncorrupt your files.
Best regards and good luck
Emin
I'd suggest – considering your old upgrading problems – to switch from RPM to tarball.
Either way, the upgrade should work smoothly but you might just try your luck with the raw files, which might give you an insight into what's really happening on your system.
If you follow this tutorial, you should have no problem (just skip step 3.2).
The correct OTRS version will always be displayed in /opt/otrs/README.
OTRS 6.0.26 will be released on February 7, 2020, which will hopefully give you a chance to correct/uncorrupt your files.
Best regards and good luck
Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
-
- Znuny advanced
- Posts: 133
- Joined: 07 Oct 2015, 05:54
- Znuny Version: 7.0.2
- Real Name: Tony
- Company: Upson Productions, LLC
- Location: DC
Re: Update from 6.0.23 to 6.0.25
No, I believe the .rpm method is sufficient (and simpler); this is the first time I have encountered an issue where the 'Rebuild' didn't clear up the 'old browser support' bug.
I will check in that ReadMe file... also, perhaps going to .26 will resolve any current lingering issues (if any). So far, things are working as intended. So I think I am ok... just odd that this 'old browser' issue resurfaced after it was supposidely resolved in 6.0.20 (when it originally started occurring in version 6.0.18 and .19).
Tony
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
-
- Znuny superhero
- Posts: 621
- Joined: 24 Feb 2012, 03:58
- Znuny Version: LTS and Features
- Real Name: Mo Azfar
- Location: Kuala Lumpur, MY
- Contact:
Re: Update from 6.0.23 to 6.0.25
Install and update is two different thing..if you wish still using rpm, I suggest follow official doc for upgrade.tupson wrote: ↑21 Jan 2020, 19:45 I can only assume after I installed 6.0.25 -- and then did a restore of my backup, it threw back in an html file that has 6.0.23 within the "Footer" file. If all this is referencing is a html file; where does this footer information reside and I can compare it to another OTRS server?
This is now I backup my OTRS data:
(BACKUP - CrobJob)
# Create a internal full backup of the system every day at 5:05 am (deleting backups older than 8 days)
05 05 * * * /opt/otrs/scripts/backup.pl -d /opt/backups/ -c gzip -r 8 -f fullbackup
This is how I restore my OTRS data:
** Stop Services **
su -c "/opt/otrs/bin/otrs.Daemon.pl stop" -s /bin/bash otrs Cron.sh
systemctl stop httpd.service
$ cd /opt/otrs
$ sudo tar -xzf /opt/backups/folder-date/Config.tar.gz
$ sudo tar -xzf /opt/backups/folder-date/Application.tar.gz
$ gunzip /opt/backups/folder-date/DatabaseBackup.sql.gz
$ cat /opt/backups/folder-date/DatabaseBackup.sql | mysql -U {username} -P {password}
** Start Services **
su -c "/opt/otrs/bin/otrs.Daemon.pl stop" -s /bin/bash otrs Cron.sh
systemctl start httpd.service
The kicker is, if it restored other 6.0.23 files from this backup, how do I ensure they are all updated to 6.0.25? -- and for future restorations, how will I be confident that it is only restoring the ticketing system information that is lost during a uninstall or corruption and not overwriting upgraded files that are required with the upgrade (if this is actually occurring) ??
Correct me if im wrong..upgrading then restoring old backup didn't make sense as you will revert back to previous version?
However, do try set permission script
-
- Znuny advanced
- Posts: 133
- Joined: 07 Oct 2015, 05:54
- Znuny Version: 7.0.2
- Real Name: Tony
- Company: Upson Productions, LLC
- Location: DC
Re: Update from 6.0.23 to 6.0.25
Ok, I will utilize the rpm command versus the KB I was using previously.
I was unfamiliar with what was being restored. I assumed simply the OTRS database of tickets were restored, not the OTRS version and files. I suspect I can:
- yum remove otrs
- yum install 6.0.23-01.rpm again
- restore from backup
- rpm -Uvh otrs-6.0.25.-01.rpm
that way it is upgrading as I should have initially.
What is the procedure or command to run this and what is this doing?
Tony
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
-
- Znuny superhero
- Posts: 621
- Joined: 24 Feb 2012, 03:58
- Znuny Version: LTS and Features
- Real Name: Mo Azfar
- Location: Kuala Lumpur, MY
- Contact:
Re: Update from 6.0.23 to 6.0.25
tupson wrote: ↑22 Jan 2020, 04:46Ok, I will utilize the rpm command versus the KB I was using previously.
I was unfamiliar with what was being restored. I assumed simply the OTRS database of tickets were restored, not the OTRS version and files. I suspect I can:
- yum remove otrs
- yum install 6.0.23-01.rpm again
- restore from backup
- rpm -Uvh otrs-6.0.25.-01.rpm
that way it is upgrading as I should have initially.
What is the procedure or command to run this and what is this doing?
Code: Select all
/opt/otrs/bin/otrs.SetPermissions.pl --web-group=apache --otrs-user=otrs /opt/otrs/