500 server error after upgrade from otrs6ce to znuny6.1
Moderator: crythias
-
- 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
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
Any ideas?
Already gave permissions again
-
- Administrator
- Posts: 3963
- 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
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 ?
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 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
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
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
-
- Administrator
- Posts: 3963
- 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
Hi,
- Roy
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 rerun migration script on same version again?
This depends on the add-on. From my experience: as long as you don't uninstall an add-on there is no dataloss.beingbaban wrote: ↑17 Mar 2023, 13:33 How safe it is to reinstall addons using command above, does it involve any 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 ?
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 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
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 ltsroot 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
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 rerun migration script on same version again?
This depends on the add-on. From my experience: as long as you don't uninstall an add-on there is no dataloss.beingbaban wrote: ↑17 Mar 2023, 13:33 How safe it is to reinstall addons using command above, does it involve any dataloss?
- Roy
-
- Administrator
- Posts: 3963
- 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
It's optional, or does it say something other?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
- 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 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
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.
Can you please review my other query if you got time.
-
- 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
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
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
-
- 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
You can use the follow official link: https://doc.znuny.org/znuny_lts/release ... e-6.1.htmlFrancis 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
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.