internal Server 500 error

roshen.perera
Messages : 7
Inscription : mer. août 15, 2018 3:26 am

internal Server 500 error

Message par roshen.perera »

This is regarding a server migration. I have configured same server in new instance and installed Squash tm successfully. At the first time we can login with default(admin:admin) credentials. But after restoring the mysql backup from previous server it will get the internal Server 500 error.

Following are the versions that i have installed,

-mysql Ver 14.14 Distrib 5.5.61, for debian-linux-gnu (x86_64) using readline 6.3 (previous version mysql Ver 14.14 Distrib 5.5.47)
-Squesh Version 1.18.1
-Open JDK 8
Pièces jointes
squash-2.JPG
squash-2.JPG (27.25 Kio) Consulté 3772 fois
ppuiseux
Messages : 49
Inscription : ven. mars 30, 2018 12:53 pm

internal Server 500 error

Message par ppuiseux »

Hello,

Is it the same Squash version between:
[ul]
[li]The Squash you export the database from[/li]
[li]The new Squash you try to install your database to[/li]
[/ul]
?

If it is not, please upgrade your database following the wiki instructions: https://sites.google.com/a/henix.fr/wik ... -squash-tm

Otherwise, what OS and versions do you use in both cases ?
roshen.perera
Messages : 7
Inscription : mer. août 15, 2018 3:26 am

internal Server 500 error

Message par roshen.perera »

Hi,

I am using the same squash version(1.18) but the previous version configured in 2015. There is a difference in database table count also.

If i upgrade the current server, Is there any possibility to fail the current system while upgrading?
ppuiseux
Messages : 49
Inscription : ven. mars 30, 2018 12:53 pm

internal Server 500 error

Message par ppuiseux »

[quote]If i upgrade the current server, Is there any possibility to fail the current system while upgrading? [/quote]It shouldn't but be sure to save your server configuration and your database.

What is your actual Squash version that you want to migrate ?
roshen.perera
Messages : 7
Inscription : mer. août 15, 2018 3:26 am

internal Server 500 error

Message par roshen.perera »

Actually we need to migrate the same server to another server because we have facing a hardware issue on our current server. because of that i could not able to the snap of the current server as well.

current version is 1.18 and are there any updated versions available ?

OR How can i setup the same squash(current version 1.18 installed in 2015) on different server with jdk 7
ppuiseux
Messages : 49
Inscription : ven. mars 30, 2018 12:53 pm

internal Server 500 error

Message par ppuiseux »

[quote][...]on different server with jdk 7 [/quote]
It is impossible to use Squash 1.18 with JDK 7. You have to install Java 8, it is mandatory in order to use Squash 1.18.
https://sites.google.com/a/henix.fr/wik ... stallation

My comprehension of your setups is a little confused.
Can you send me the exact configuration of:
1) Your old server you (with hardware problem)
2) Your new server ?

Please fill this table:
[table]
[tr]
[/tr]
[tr]
[td]OS (name and version)[/td]
[td]Squash version[/td]
[td]Java version[/td]
[td]Database version[/td]
[/tr]
[/table]
roshen.perera
Messages : 7
Inscription : mer. août 15, 2018 3:26 am

internal Server 500 error

Message par roshen.perera »

OS (name and version) Squash version Java version Database version
New Server Ubuntu 14.04 1.18 jdk 8 mysql 5.5
Old Server Ubuntu 14.04 1.13 jdk 7 mysql 5.5

I need to clone the same old server in new server. How can i do that?
ppuiseux
Messages : 49
Inscription : ven. mars 30, 2018 12:53 pm

internal Server 500 error

Message par ppuiseux »

Thank you for your precisions.

For the moment you can install Squash-TM 1.13 on your new server.
You can find Squash 1.13.0 packet here: http://repo.squashtest.org/debian/packages/

Download the exact version of your Squash and install it on your new server via [code]dpkg -i xxxxx.deb[/code], then import your configuration and your database to the new server and restart squash-tm.

If Squash works, then you can update it by following the wiki instructions.

Last, if you don't succeed to do that, you can move your hard drive physically from one server to the other, if the hardware problem is not on your hard drive.
roshen.perera
Messages : 7
Inscription : mer. août 15, 2018 3:26 am

internal Server 500 error

Message par roshen.perera »

Hi,

Thanks for the reply.
I have followed your steps and i am able to install the same version in new server with out and issue. After installation i have restore the database from current server dump file. Now i can login to the newly setup system with previous users. But some contents are missing. What is the procedure to restore that ?

in the test cases work space only showing the headings.

I have attached the image of previous server campaign work space and new server campaign work space.
Pièces jointes
new_squash.JPG
new_squash.JPG (16.33 Kio) Consulté 3772 fois
old_squash.JPG
old_squash.JPG (23.13 Kio) Consulté 3772 fois
roshen.perera
Messages : 7
Inscription : mer. août 15, 2018 3:26 am

internal Server 500 error

Message par roshen.perera »

Thanks for the reply. it works.

Now i have setup same version squash in new server and restored the dump file of previous database. Now i can login to the new squash using old user credentials but some content are missing in the new squash.



How can i migrate the content?

I have attached the screen shot of content missing window.
Pièces jointes
new_squash-2.JPG
new_squash-2.JPG (16.33 Kio) Consulté 3772 fois
old_squash-2.JPG
old_squash-2.JPG (23.13 Kio) Consulté 3772 fois
Répondre

Revenir à « Installation & Base de données / Installation & Database »