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)
Files not deleted from target
eddie1
Heres the scenario i delete 3 files in my workarea and add 3 other files.
I submit to staging and publish a fresh edition (edition_latest).
I perform teamsite edition comparison deployment, where the edition_latest is compared with the previous latest edition.
Now the previous latest edition contains the 3 files that have been deleted in latest_edition and does`nt have the 3 newly added files in latest_edition.
So i expect teamsite to deploy the 3 newly added files and remove the 3 deleted files from the target.
But that doesnt happen, the 3 new files are added to the target but the 3 deleted files were not deleted and are still present on the target.
Heres my OD Log file:
============================================================================
client: BEGINNING Transactional Deployment
ENG: 2003-03-03 04:53:44 PST GMT-08:00 Thread-151 After SETUP, res=0
ENG: 2003-03-03 04:53:44 PST GMT-08:00 Thread-151 exiting setup
ENG: 2003-03-03 04:53:44 PST GMT-08:00 Thread-151 entering awaiting-dotask
ENG: 2003-03-03 04:53:44 PST GMT-08:00 Thread-151 still waiting for 5
ENG: 2003-03-03 04:53:44 PST GMT-08:00 Thread-151 exiting awaiting-dotask
ENG: 2003-03-03 04:53:44 PST GMT-08:00 Thread-151 entering dotask
ENG: 2003-03-03 04:53:44 PST GMT-08:00 Thread-151 COMPARE
client: Options: user=jrun group=jrun file_perm=0755 dir_perm=0755 date_different
(2) client: [Mon Mar 3 04:53:44 2003] Comparing path[/default/main/scb2bex_r3_appl/EDITION/CMS_006_SITPATCH/application/billing/mailtemplates] with prev path[/default/main/scb2bex_r3_appl/EDITION/CMS_005_SITPATCH/application/billing/mailtemplates]
(3) client: Walking TeamSite directory[.]
(3) client: Walking TeamSite directory[./chs]
(3) client: Walking TeamSite directory[./cht]
(3) client: Walking TeamSite directory[./eng]
(2) client: Comparing done
ENG: 2003-03-03 04:53:46 PST GMT-08:00 Thread-151 After COMPARE, res=0
ENG: 2003-03-03 04:53:46 PST GMT-08:00 Thread-151 PRECOMMIT
client: [Mon Mar 3 04:53:46 2003] DEPLOYING - TeamSite difference to [/opt/billing/serviceletters]
(3) client: Opening directives file[/var/tmp/iwdirRDAdfaiJb]
client: delete [./chs/BillContact_015.htm] [reason missing-in-src]
client: delete [./cht/BillContact_015.htm] [reason missing-in-src]
client: delete [./eng/BillContact_015.htm] [reason missing-in-src]
client: Sending [./chs/CU_Dereg_042.htm] [ missing-in-dest]
client: Sending [./cht/CU_Dereg_042.htm] [ missing-in-dest]
client: Sending [./eng/CU_Dereg_042.htm] [ missing-in-dest]
ENG: 2003-03-03 04:53:46 PST GMT-08:00 Thread-151 After PRECOMMIT, res=0
ENG: 2003-03-03 04:53:46 PST GMT-08:00 Thread-151 exiting dotask
ENG: 2003-03-03 04:53:46 PST GMT-08:00 Thread-151 entering awaiting-commit
ENG: 2003-03-03 04:53:46 PST GMT-08:00 Thread-151 still waiting for 1
ENG: 2003-03-03 04:53:46 PST GMT-08:00 Thread-151 exiting awaiting-commit
ENG: 2003-03-03 04:53:46 PST GMT-08:00 Thread-151 entering commit
client: COMMITTING Transactional Deployment
client: *** Note: UNENCRYPTED deployment was configured ***
ENG: 2003-03-03 04:53:46 PST GMT-08:00 Thread-151 After COMMIT, res=0
ENG: 2003-03-03 04:53:46 PST GMT-08:00 Thread-151 exiting commit
ENG: 2003-03-03 04:53:46 PST GMT-08:00 Thread-151 entering awaiting-cleanup
ENG: 2003-03-03 04:53:47 PST GMT-08:00 Thread-151 still waiting for 4
ENG: 2003-03-03 04:53:47 PST GMT-08:00 Thread-151 exiting awaiting-cleanup
ENG: 2003-03-03 04:53:47 PST GMT-08:00 Thread-151 entering cleanup
client: Remote status: server-OK
client: [Mon Mar 3 04:53:47 2003] opendeploy 20030303.793.2 root COMPLETED /default/main/scb2bex_r3_appl/EDITION/CMS_006_SITPATCH .scb-b2b_prod_appl.BillingMT01.prod_apphost1 web4 192.168.27.74
client: [Mon Mar 3 04:53:47 2003] 20030303.793.2 STATS DEPLOYMENT /default/main/scb2bex_r3_appl/EDITION/CMS_006_SITPATCH -- .scb-b2b_prod_appl.BillingMT01.prod_apphost1 OK
Directories deployed : 0 Files deployed : 3 Links deployed : 0
Directories failed : 0 Files failed : 0 Links failed : 0
Directories deleted : 0 Files deleted : 0 Links deleted : 0
=========================================================================
Looking at the Log file, it sure does say that a delete operation was performed on the 3 files but in the final summary at the bottom it says Files deleted : 0.
Btw, i DO NOT have the dodeletes set to yes in my deployment defination.
Any hints ?
IWOV Consultant
Find more posts tagged with
Comments
Lynchy
Eddie I believe that you have to set Do Deletes set to yes in order for the deletion to occur. I also believe that what you are seeing in the log files is the differences between the target location and the source edition, rather than a log of actions occuring and that is why you see 0 files deleted at the bottom of the log.
Migrateduser
Why would you expect that the files would be deleted if you have do_deletes set to "no"?
Dave Smith
Sr. Software Engineer
Nike, Inc.
(503) 671-4238
DavidH.Smith@nike.com
nico
I've got a question about dodeletes, I understand if you delete a file in ts then od with dodeletes set to yes it deletes the file. But what if you have dodeletes set to no and you have not deleted any files but rather simply changed existing files? Does od still overwrite the existing file witht he updated file?
Migrateduser
It all depends on how you set up your configuration. I believe if you simply do a comparison type of deployment, then if any files have been modified in your source area, they will be deployed to your target. However, if you use a filelist deployment, only those files in the filelist will be deployed.
Dave Smith
Sr. Software Engineer
Nike, Inc.
(503) 671-4238
DavidH.Smith@nike.com
FormsBuilder_Success.doc
TaskspaceQuery.doc