500 server error after upgrade from otrs6ce to znuny6.1

Moderator: crythias

Post Reply
beingbaban
Znuny newbie
Posts: 29
Joined: 20 Sep 2022, 13:59
Znuny Version: Znuny 6.5 LTS
Real Name: BP Singh

500 server error after upgrade from otrs6ce to znuny6.1

Post by beingbaban »

Able to login and seeing 500 error page just after login. Migration completed successfully from otrs6ce to znuny6.1
Any ideas?
Already gave permissions again
root
Administrator
Posts: 3960
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: 500 server error after upgrade from otrs6ce to znuny6.1

Post by root »

beingbaban wrote: 15 Mar 2023, 14:04 Any ideas?
Hi,

I'd check the error_log, there will be the reason shown.

- 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 ?
beingbaban
Znuny newbie
Posts: 29
Joined: 20 Sep 2022, 13:59
Znuny Version: Znuny 6.5 LTS
Real Name: BP Singh

Re: 500 server error after upgrade from otrs6ce to znuny6.1

Post by beingbaban »

Hi Roy,

Thank you for getting back.

So, I was able to get back frontend.
Issue causing addon was FAQ though ITSM addons got autoupdated from the repolist(packages6x) and reporoot that I added from znuny

Though I was going from 6.1 to 6.2 but the steps that you guys have mentioned in update6.3 documentation worked for me somehow :?

I got error of 6.3 in 6.2 i.e. cpanaudit

https://doc.znuny.org/manual/releases/i ... 0this,-%3A



I ran the following command: bin/otrs.Console.pl Admin::Package::ReinstallAll
that reinstalled two plugins i.e multismtp(already disabled) and faq addon.


After that on running migration script for second time, everything worked fine and migration completed without error.

My question is:
How safe it is to rerun migration script on same version again?
How safe it is to reinstall addons using command above, does it involve any dataloss?

Thanks in advance for your help as always
root
Administrator
Posts: 3960
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: 500 server error after upgrade from otrs6ce to znuny6.1

Post by root »

Hi,
beingbaban wrote: 17 Mar 2023, 13:33 How safe it is to rerun migration script on same version again?
I'm running it often multiple times. As long as it runs without any issues till the last steps were passed.

beingbaban wrote: 17 Mar 2023, 13:33 How safe it is to reinstall addons using command above, does it involve any dataloss?
This depends on the add-on. From my experience: as long as you don't uninstall an add-on there is no dataloss.

- 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 ?
beingbaban
Znuny newbie
Posts: 29
Joined: 20 Sep 2022, 13:59
Znuny Version: Znuny 6.5 LTS
Real Name: BP Singh

Re: 500 server error after upgrade from otrs6ce to znuny6.1

Post by beingbaban »

root wrote: 17 Mar 2023, 14:14 Hi Roy,

Thank you for getting back.

I upgraded from otrs6 to Znuny6.5 in incremental updates.

Just after 6.1, since 6.2 I had to run this command at each framework upgrade as I got cpan issue that disappeared after running upgrade cmd: bin/otrs.Console.pl Admin::Package::UpgradeAll though for framework upgrade, this is the suggested as per doc: bin/otrs.Console.pl Admin::Package::ReinstallAll. Followed by running migration script second time after upgrade command instead of reinstall.

How safe is it to run upgrade in reinstall for framework update

beingbaban wrote: 17 Mar 2023, 13:33 How safe it is to rerun migration script on same version again?
I'm running it often multiple times. As long as it runs without any issues till the last steps were passed.

beingbaban wrote: 17 Mar 2023, 13:33 How safe it is to reinstall addons using command above, does it involve any dataloss?
This depends on the add-on. From my experience: as long as you don't uninstall an add-on there is no dataloss.

- Roy
Also, upgrade from 6.4 to 6.5 suddenly gave requirement of missing module libcpan-audit-perl though I feel there is no such module requirement for fresh Znuny 6.5 lts
root
Administrator
Posts: 3960
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: 500 server error after upgrade from otrs6ce to znuny6.1

Post by root »

beingbaban wrote: 24 Mar 2023, 08:59
Also, upgrade from 6.4 to 6.5 suddenly gave requirement of missing module libcpan-audit-perl though I feel there is no such module requirement for fresh Znuny 6.5 lts
It's optional, or does it say something other?

- 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 ?
beingbaban
Znuny newbie
Posts: 29
Joined: 20 Sep 2022, 13:59
Znuny Version: Znuny 6.5 LTS
Real Name: BP Singh

Re: 500 server error after upgrade from otrs6ce to znuny6.1

Post by beingbaban »

Yes, its optional but was wondering if how it started giving warning all of sudden. Anyways.

Can you please review my other query if you got time. :)
Francis
Znuny newbie
Posts: 2
Joined: 06 Apr 2023, 10:28
Znuny Version: 6.4.5
Real Name: Francis
Company: imbei-unimainz

Re: 500 server error after upgrade from otrs6ce to znuny6.1

Post by Francis »

hallo can you help me please with manual or steps how to migrate from otrs community edition o Znuny ?
i am using VM , i already created the new VM with Znuny. the new Znuny is working fine.
now i want t migrate from the old otrs to the new Znuny ?
unfortunately i didnt find any manul to help me ?
can anyone help ?
thank you in advance
beingbaban
Znuny newbie
Posts: 29
Joined: 20 Sep 2022, 13:59
Znuny Version: Znuny 6.5 LTS
Real Name: BP Singh

Re: 500 server error after upgrade from otrs6ce to znuny6.1

Post by beingbaban »

Francis wrote: 06 Apr 2023, 14:26 hallo can you help me please with manual or steps how to migrate from otrs community edition o Znuny ?
i am using VM , i already created the new VM with Znuny. the new Znuny is working fine.
now i want t migrate from the old otrs to the new Znuny ?
unfortunately i didnt find any manul to help me ?
can anyone help ?
thank you in advance
You can use the follow official link: https://doc.znuny.org/znuny_lts/release ... e-6.1.html
Please make sure to try all steps on test system and not on live or prod environment.

Setup a clone of existing otrs ce and you can follow the doc above to upgrade.
You will also need to add repo links from here: https://download.znuny.org/releases on the current setup(test environment)

https://www.znuny.org/en/blog/package-repository

Pls use the one which is suitable for your version.
Post Reply