converting projects from v8 to v9 - internal server error

Hi, I tried to covert few projects from v8 to v9 and small one was converted successfully, but 2 projects are with many applications it keeps saying internal server error:

 [TABLE="class: nmTable, align: center, border: 0, cellpadding: 0, cellspacing: 0"]
 	 		[TR]
 			[TD="class: nmTableLine, colspan: 2"][IMG]http://127.0.0.1:9990/scriptcase/devel/conf/scriptcase/img/btnnew/crystal/nm_transparent.gif[/IMG][/TD]
 		[/TR]
 		[TR]
 			[TD="class: nmPageTitle, align: center"][B]MIGRATING SCRIPTCASE PROJECTS TO VERSION 9[/B][/TD]
 		[/TR]
 		[TR]
 			[TD="class: nmTableLine, colspan: 2"][IMG]http://127.0.0.1:9990/scriptcase/devel/conf/scriptcase/img/btnnew/crystal/nm_transparent.gif[/IMG][/TD]
 		[/TR]
 		[TR]
 			[TD][B]Migration phase...[/B]
			- Migrating table - sc_tbapl 99%[/TD]
 		[/TR]
 		[TR]
 			[TD="class: nmTableLine, colspan: 2"][IMG]http://127.0.0.1:9990/scriptcase/devel/conf/scriptcase/img/btnnew/crystal/nm_transparent.gif[/IMG][/TD]
 		[/TR]
 		[TR]
 			[TD="align: center"] [/TD]
 		[/TR]
 	 [/TABLE]
  [h=1]Internal Server Error[/h]  [SIZE=12px]The server encountered an internal error or misconfiguration and was unable to complete your request.[/SIZE]
  [SIZE=12px]Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.[/SIZE]
  [SIZE=12px]More information about this error may be available in the server error log.[/SIZE]
 

I yodated php.ini of sc9 and increased all max values, without luck…

this is the apache error log


[Fri Oct 27 01:54:41.049732 2017] [fcgid:warn] [pid 3172:tid 1048] (OS 109)The pipe has been ended.  : [client 127.0.0.1:49724] mod_fcgid: get overlap result error, referer: http://127.0.0.1:9990/scriptcase/devel/conversor_v8_v9/conv_arqs.php
[Fri Oct 27 01:54:41.051242 2017] [fcgid:warn] [pid 3172:tid 1048] (OS 109)The pipe has been ended.  : [client 127.0.0.1:49724] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: http://127.0.0.1:9990/scriptcase/devel/conversor_v8_v9/conv_arqs.php
[Fri Oct 27 03:28:21.802791 2017] [fcgid:warn] [pid 3172:tid 1040] (OS 109)The pipe has been ended.  : [client 127.0.0.1:49882] mod_fcgid: get overlap result error, referer: http://127.0.0.1:9990/scriptcase/devel/conversor_v8_v9/conv_arqs.php
[Fri Oct 27 03:28:21.803291 2017] [fcgid:warn] [pid 3172:tid 1040] (OS 109)The pipe has been ended.  : [client 127.0.0.1:49882] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: http://127.0.0.1:9990/scriptcase/devel/conversor_v8_v9/conv_arqs.php
[Fri Oct 27 15:39:06.051517 2017] [fcgid:warn] [pid 3172:tid 1052] [client 127.0.0.1:49930] mod_fcgid: read timeout from pipe, referer: http://127.0.0.1:9990/scriptcase/devel/conversor_v8_v9/conv_arqs.php
[Fri Oct 27 15:39:06.054511 2017] [fcgid:warn] [pid 3172:tid 1052] (138)Unknown error: [client 127.0.0.1:49930] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: http://127.0.0.1:9990/scriptcase/devel/conversor_v8_v9/conv_arqs.php
[Fri Oct 27 15:39:17.319789 2017] [fcgid:warn] [pid 3172:tid 500] mod_fcgid: process 1956 graceful kill fail, sending SIGKILL


Any hint?

How much time is there between conversion? Could be an execution time limit.

Hi Albert, I tried single project, it is quiet big, takes long time then gives the above error, I’ve increased the max values in php.ini and restarted the PC several times… which value should I double check in php.ini? BTW tried all… seems strange, above also is the log… any hint is appreciated.

I never understand, but sometimes there are more than one php.ini and I tend to try out which one is used. Besides that, I really have no clue. I’m still on 8.1 and don’t have intentions to move on unless SC has improved it’s stability and security issues.

I understand, remember it was September we agreed so now trying to convert and test… however, i think here is the php.ini of sc9 which is in the components folder of sc9… still suffering of this error never finished up the convert of this project, it is big one but should be converted right!? anybody faced this guys?

I have been unable to convert my projects to V9 also… I get the same generic error.

after so many tries, I could convert 1 big project, but the second one is still insisting and is not being converted… anybody can give hint?

Hi. Old thread but I just worked several days trying to convert a 250 app project from 8.1 to 9.1. Smaller projects came over fine, but the big (important) one would get started and then say 0% and freeze. The error logs told me nothing.

I ended up getting SC9.1 on a more powerful server, with 32GB RAM. I uploaded my old SC8.1 file system onto it (non-functional copy just to get the source apps into a server path). With all the compress/extraction/download and upload steps, not to mention the 9.1 php tweaking, it took some time.

If I set max memory to 1024M (1GB) it would not work… just freeze at 0%. I set it to 15000M (or approx 15GB) and started the conversion… it seemed to hesitate at 0% , but then - flash - it run all the way thru. The converter must therefore consume a certain amount of RAM (in an array?) per app… not sure the ratio. BUT if anyone else is having conversion issues, adding RAM might help. Sometimes you can add virtual RAM to a hosting account for a little money for a month. In my case, the server is hardware and provisioned to run multiple large, complex sites, so I had resources to allocate. My old 8.1 development environment only ever had 1GB RAM, and I never had any issues.

A thought for SC - perhaps review the conversion scripts and look for a database or other temp file process that would not blow out RAM?

Anyway, wrote this all out in case someone is experiencing conversion problems.
Peace,
Jamie

Hi Jamie,
Great to see you here again! We too have experienced problems, but not of this kind. In our case the migration went through but with obscure issues. Ie. some apps gave errors on compilation time, lookups that did not work. In this case we had to export the failing apps and re-import to get them working. It’s not clear what kind of apps is causing issues and as there’s not much info from the SC side on updates (we did a recent update that had issues but now came through) so nothing changed there. A great product, but with issues. Nothing changes since you left :wink:

HI Albert!
Good to see you too. Yes, it is a shame that the whole SC release system has not changed. I have been keeping my big project working in a very stable manner using a very old version of 8.1. Even that got to the point where I feared updating SC. But it works great so I was happy biding my time while the ‘beta’ testing cycle on 9.1 worked its way thru.

So I finally got into 9.1 the past week or so. Already, all my sc_redir in the menu onExecute events failed. Very weird. They don’t even work on a fresh project and fresh menu app.

Just a few moments ago I was looking up my lastest SC9.1 version number for another post on that error, and it said I had 5 things to be updated. Which surprised me as I ran the last update when it came out. Maybe they change files between updates??? Anyway, crossing fingers that it clears the sc_redir issue up - I give it a 10% chance LOL.