Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Custom Deploy Script Failing After Upgrade to 6.7.1
dlsoderberg
I know I must be missing something relatively simple, so please forgive me.
We're running TS 6.7.1 on Win 2003. We recently migrated from a 5.5.2 server to a fresh 6.7.1 server. One of the items that we migrated over was a custom menu item that runs a deploy. I'm attaching the script as well as one of the output log files here as well. Basically, the script is not completing for some reason. It creates a deploy command from variables that it collects and sets through the script, and the command looks and is correct. However, the script doesn't complete. It was returning a code of 255, but I changed the original code a bit and have now isolated a return code of 0, but it never runs the command on the server. If I cut the deploy command directly from the log and run it on the command line, it completes successfully. I compared the CGI_lite.pm files between the 2 servers and there really wasn't much of a difference between the 2. I must be missing something that changed from the old 5.5.2 setup to the 6.7.1 version...did anyone encounter anything similar to this?
Thanks!
Find more posts tagged with
Comments
moonkhanna
What version of OD base and receiver are you using? What command do you exactly run on the command prompt?
dlsoderberg
OD 6.1.1 on both. On the command line, I run exactly what is in the Manual...log file:
F:\iw-home\iw-perl\bin\iwperl.exe F:\Interwoven\OpenDeployNG/solutions/perl/iwodstart.ipl deploy_basic_1server -inst BAR9000 -k area=/default/main/Publix_Intranet/BAR/EDITION/ED_A-03222007_233838 -k localserver=l17atsod1 -k remote_server=l47avigt1 -k remote_directory=d:/Inetpub/wwwroot/at_publix/Office/BAR -async -k doDeletes=no
MAK
Hi,
Can you please check the iwutild.log file, if it is giving some errors.
Also confirm the opendeploy logs are getting created or not, if yes post them too.
Adam Stoller
I know I must be missing something relatively simple, so please forgive me.
I'm not sure about the errors - but I see a couple of potential issues
BIRT Web Viewer.png
dlsoderberg
Thanks for the responses!
There are no errors in the iwutild log and the logs only get created when I kick the command off manually from the command line. When I run it from the custom menu item, they are not created. I'm going to make the changes Fish recommended and I'll report back if anything changes.
dlsoderberg
After some changes, the deploy is now completing!
My only issue now is that the command doesn't seem to return the same information back that it used to. The $deploy_rc seems to come back blank from the DeployContent sub, and therefore the WriteHTMLSummary sub doesn't end up doing anything. Do I need to change the line that runs the deploy command? (my $deploy_rc = `$deploy_command`; )
If anyone can point me in the right direction, I'd appreciate it...thanks!
I'm attaching the current script and output as well.
dlsoderberg
Well, I've gotten 1 step further. I changed the following line:
$deploy_rc = `$deploy_command`;
to
$deploy_rc = `$deploy_command 2>&1`
And I now get the deploy results as expected. The script is now dying in the next section (ShowHTMLContents). I'm not sure why...yet! I'll keep updating my progress, but if anyone sees anything in the script to speed me along, please feel free to share.
Thanks,
Dave
BIRT Web Viewer - Style changed in CSS.png
nipper
In your script you write the data being pushed out to the log, can you post it ?
You also may need to move that statement ahead of the print $text; line
Andy
dlsoderberg
Thanks everyone for the help on this one! I've got it working as expected...my problem lied in another ipl. There was a path that needed to be updated.