Missing Snapshot Id
Some time during the project deployment its found that the snapshot is missing so in that case go to publishing database and follow the below mentioned steps
Step 1) Execute the below mentioned query
select max(snapshot_id) from EPUB_PRJ_TG_SNSHT where target_id='tar2842'
Note: tar2842 is a sample target id , for your application it will be different so change it accordingly and execute the same
lets assume that the output of the same is 246902.
but if you are still struggling to find what is the tatget id then go to publishing schema and look for EPUB_WORKFLOW_INFO table , and from there you can easily find the target id.
Step 2) go to dyn/admin of the bcc instance and goto /dyn/admin/nucleus/atg/epub/DeploymentServer/ and force the resulted snapshot id (246902)
step 3) Deploy the project, in this way you can fix and continue with the deployment.
Conflicting project and solution
Problem 1) at the time of deployment some time we face a issue i.e. the project cannot be deployed because of the conflicts with some other project which is actually not deployed, and when you are trying to edit the conflicting project its not available for editing , it generally happens with the cases where we keep on migrating the database without taking the proper care of the existing projects.
In this case run the following two scripts using the dyn admin console (/dyn/admin/nucleus/atg/epub/PublishingRepository/) and try to re create and deploy your project
scripts are :
<remove-item id="prj528002" item-descriptor="project" remove-references-to="true"/>
<remove-item id="prc528002" item-descriptor="project" remove-references-to="true"/>
Note : prj528002 is a conflicting project and corresponding to every project a process is created with prc and the id remains the same.
In this case run the following two scripts using the dyn admin console (/dyn/admin/nucleus/atg/epub/PublishingRepository/) and try to re create and deploy your project
scripts are :
<remove-item id="prj528002" item-descriptor="project" remove-references-to="true"/>
<remove-item id="prc528002" item-descriptor="project" remove-references-to="true"/>
Note : prj528002 is a conflicting project and corresponding to every project a process is created with prc and the id remains the same.
May more things will come , keep watching,