SnapShot are maintained against the each deployment server. A Successful deployment is treated as Snapshot. Snapshot issue occurs during following scenarios.
1. Previous deployment wasn't successful
2. No installed snapshots found against server (DB Change).
Its rare scenario when Site is live.
Screen of admin console looks during snapshot issue.
To resolve the Above Issue, try the following steps. Following case explains for Staging(Preview) server.
1. Query the following in Publishing Database.
select epub_target.display_name as "Target",
epub_prj_tg_snsht.snapshot_id as "Snapshot",
epub_project.display_name as "Project" from
epub_target, epub_project, epub_prj_tg_snsht
where
epub_prj_tg_snsht.project_id in
(select project_id from epub_project where
workspace is not null and
checked_in = '1'
) and
epub_target.target_id = epub_prj_tg_snsht.target_id and
epub_prj_tg_snsht.project_id = epub_project.project_id
order by epub_project.checkin_date desc;
2. Fetch the recent snapshot for the corresponding server(Staging or Production)
3. Initialise the same in Deployment Server from dyn/admin of Publishing.
http://<publishing server IP address>:<Pub-port>/dyn/admin/nucleus/atg/epub/DeploymentServer/)
4. Similar steps, if the snapshot issue occurs for Production server.
1. Previous deployment wasn't successful
2. No installed snapshots found against server (DB Change).
Its rare scenario when Site is live.
Screen of admin console looks during snapshot issue.
To resolve the Above Issue, try the following steps. Following case explains for Staging(Preview) server.
1. Query the following in Publishing Database.
select epub_target.display_name as "Target",
epub_prj_tg_snsht.snapshot_id as "Snapshot",
epub_project.display_name as "Project" from
epub_target, epub_project, epub_prj_tg_snsht
where
epub_prj_tg_snsht.project_id in
(select project_id from epub_project where
workspace is not null and
checked_in = '1'
) and
epub_target.target_id = epub_prj_tg_snsht.target_id and
epub_prj_tg_snsht.project_id = epub_project.project_id
order by epub_project.checkin_date desc;
2. Fetch the recent snapshot for the corresponding server(Staging or Production)
3. Initialise the same in Deployment Server from dyn/admin of Publishing.
http://<publishing server IP address>:<Pub-port>/dyn/admin/nucleus/atg/epub/DeploymentServer/)
4. Similar steps, if the snapshot issue occurs for Production server.
Thank you so much for your blogpost. I had a similar issue where in the project was deploying when the agent server went down. After bouncing the agent server, when the deployment was resumed, I no longer see the project in queue and also when I test the staging env. the content looked as if it got deployed but not in production server. Also please note that rest of the project after this one, all were deploying just fine in staging and in production. Do you think it is a snapshot issue ?
ReplyDeleteNo. Its not snapshot issue. Your project had been deployed to staging, once you resumed the deployment. Please push the project to Production and close it. You can find the projects under "Browse Projects" link from Operations of Homepage.
ReplyDeleteSnapshot issue occurs when you kill the deployment in middle of deployment or rollback.
Hope this helps.
Or simply try selecting the latest snapshot [or highest number] from epub_prj_tg_snsht. Reduce the snapshot count by 1 and force it.
ReplyDeleteFor example: DC120005, DC120004, DC120003, DC120000
Select: DC120005 [or highest] - 1 [subtract 1] = DC120004 [resulting snapshot]
Force: DC120004
That should work :)
You have a solution of solving snapshot mismatch error. Can you please tell me why it come and why we maintain a snapshot id in database.
ReplyDeletesnapshot id identifies which is the current deployment hapening from versioned system(BCC) to unversioned database (Production)
ReplyDeleteagents identify karte hai which snapshot id is associated with each deployment,if you remove that deployment related exception will come and you need to do a critical reset followed by a full deployment
what should i do if my current project has not created snapshot id ? I'm not able to do deploy that project / delete the project . and im not able to do the full deployment.
DeleteInitially we have to do full deployment and create a project in BCC right? When i tried doing full deployment , it failed. Since im using a common shared DB and one of colluege has done the full deployment , i dont have to run in my machine and i can directly create a proj and deploy to production.
so i created a CA project and did till "Verify Production Deployment " step . After that im not able to do action.
Please help.
There are couple of questions in your questions.
Delete1. To get initial deployment done, without harming any data: Remove the repository mapping and do full deployment. It will be false deployment and snapshot will be created.
2. Verify Production not getting any action: Are you getting any actions? If not, use PublishingMessageSource to push further.
Thanks,
Iranna
Thanks Iranna ,
Delete1. How should i remove repository mapping for that proj??[ do i have to run some delete queries ??]
2. Im not able to see any actions under "Actions" tab. (Action tab columns are empty for all the rows.). I dint see the message in server console while doing Verify Production.(i did this step 5 days ago.).
In BCC , Under project history tab :
ReplyDeleteAuthor:
Date: 9/23/2015 4:34 PM
Action: system
Deployment '1400001' to Target 'Production' terminated erroneously with the following message : cannot perform an incremental deployment on target 'Production'. Check for snapshot mismatch on agents and make sure the target is initialized...
------------------------
In BCC dyn / admin , ---> dyn/admin/nucleus/atg/epub/DeploymentServer/
Deployment Target 'Production'
Current installed agent snapshot : UNINITIALIZED
Current effective snapshot : UNINITIALIZED
Last deploy on : Mon Aug 31 12:06:59 IST 2015
Switch deployable : true
Current state : DONE_STOP
Currently accessible : true
Accepting deployments : false
One-off : false
Incrementally deployable : false
Current Deployment
Deployment ID : 1400001
Deployed from (server) : XXXX-IN:8851
Deployed by : admin
Deployment began : begin() not called
Deployment projects : prj24000
Deployment to snapshot ID : null
Deployment from snapshot ID : null
Deployment type : INCREMENTAL
Deployment mode : SWITCH
Data transfer ID-0 : 1400001
Last completed stage : 0
Committed data : false
Start live datastore : null
Switched datastores : false
Deployment First Pass : true
Deployment Target Switched : false
Current status : IDLE
Status last changed : Mon Sep 28 17:31:25 IST 2015
No pending deployments for this target. Deployment Agents
Name Responsible Principal Switchable Installed Snapshot Status Deployment Originator Action
ProdAgent true NONE true null DONE_STOP admin-XXX-IN:8851
First post your error displayed in server console and then ask doubts
DeleteHi,
ReplyDeleteI am facing an issue in BCC deployment. The deployment is hung at ActivatingSwitch and it never moves forward.
Current installed agent snapshot : 102134
Current effective snapshot : 102134
Last deploy on : Thu Aug 17 01:51:41 CDT 2017
Switch deployable : true
Current state : ACTIVE_ACTIVATE_SWITCH_PREPARED
Currently accessible : true
Accepting deployments : false
One-off : false
Incrementally deployable : true
Hi, did you get any solution for this?
DeleteI am facing the same problem now
It worked Perfect for me.Thank you
ReplyDeleteGood post,the time has been really passed away by reading the article.thanks for sharing the information. Best software Training institute in Bangalore
ReplyDeletehttps://bayanlarsitesi.com/
ReplyDeleteTokat
Kastamonu
Tekirdağ
Gümüşhane
APQTP
Mardin
ReplyDeleteistanbul
Çanakkale
Antep
Elazığ
RV7AYX
amasya evden eve nakliyat
ReplyDeleteeskişehir evden eve nakliyat
ardahan evden eve nakliyat
manisa evden eve nakliyat
karaman evden eve nakliyat
M0EBJ
ığdır evden eve nakliyat
ReplyDeletebitlis evden eve nakliyat
batman evden eve nakliyat
rize evden eve nakliyat
niğde evden eve nakliyat
DKM
muş evden eve nakliyat
ReplyDeleteçanakkale evden eve nakliyat
uşak evden eve nakliyat
ardahan evden eve nakliyat
eskişehir evden eve nakliyat
A2V
yalova evden eve nakliyat
ReplyDeletetunceli evden eve nakliyat
giresun evden eve nakliyat
ağrı evden eve nakliyat
van evden eve nakliyat
BEE88
urfa evden eve nakliyat
ReplyDeletemalatya evden eve nakliyat
burdur evden eve nakliyat
kırıkkale evden eve nakliyat
kars evden eve nakliyat
S4U
6373D
ReplyDeleteKonya Parça Eşya Taşıma
Tekirdağ Şehir İçi Nakliyat
Yozgat Şehir İçi Nakliyat
Yalova Şehir İçi Nakliyat
Çerkezköy Çekici
Çanakkale Şehirler Arası Nakliyat
Ünye Çekici
Denizli Lojistik
Balıkesir Şehir İçi Nakliyat
09C59
ReplyDeleteBinance Güvenilir mi
Bitlis Lojistik
Iğdır Şehirler Arası Nakliyat
Hakkari Parça Eşya Taşıma
Burdur Evden Eve Nakliyat
Muş Şehirler Arası Nakliyat
Kucoin Güvenilir mi
Bursa Lojistik
Denizli Lojistik
758F9
ReplyDeleteErzurum Parça Eşya Taşıma
Etlik Parke Ustası
Konya Lojistik
Wabi Coin Hangi Borsada
Osmaniye Lojistik
Baby Doge Coin Hangi Borsada
Batman Lojistik
Batman Parça Eşya Taşıma
Afyon Evden Eve Nakliyat
E8DB2
ReplyDeleteÇerkezköy Evden Eve Nakliyat
Uşak Evden Eve Nakliyat
steroid cycles
Antalya Evden Eve Nakliyat
Antep Evden Eve Nakliyat
Binance Güvenilir mi
Kripto Para Borsaları
Referans Kimliği Nedir
Afyon Evden Eve Nakliyat
E088F
ReplyDeleteÇankırı Şehir İçi Nakliyat
Şırnak Şehir İçi Nakliyat
Etimesgut Boya Ustası
Kucoin Güvenilir mi
Yobit Güvenilir mi
Çerkezköy Çelik Kapı
Giresun Şehir İçi Nakliyat
Eskişehir Evden Eve Nakliyat
Paribu Güvenilir mi
A50D2
ReplyDeleteCoin Nedir
Eryaman Alkollü Mekanlar
Çerkezköy Koltuk Kaplama
Çerkezköy Kombi Servisi
Eryaman Fayans Ustası
Çerkezköy Ekspertiz
Keçiören Fayans Ustası
Çerkezköy Organizasyon
Karapürçek Parke Ustası
1D2F1
ReplyDeleteBitcoin Madenciliği Nasıl Yapılır
Bitcoin Çıkarma
Bitcoin Nasıl Çıkarılır
Coin Para Kazanma
Binance Borsası Güvenilir mi
Bitcoin Oynama
Bitcoin Kazanma
Coin Çıkarma
Coin Çıkarma
47133
ReplyDeleteCoin Üretme Siteleri
Bulut Madenciliği Nedir
Bitcoin Giriş Nasıl Yapılır
resimli magnet
Coin Oynama
Bitcoin Nasıl Alınır
Bitcoin Oynama
Okex Borsası Güvenilir mi
Kripto Para Nasıl Oynanır
1F0B5
ReplyDeleteığdır telefonda kızlarla sohbet
kilis bedava sohbet uygulamaları
nanytoo sohbet
giresun mobil sohbet sitesi
bartın rastgele sohbet uygulaması
en iyi ücretsiz sohbet siteleri
urfa bedava sohbet
amasya yabancı canlı sohbet
en iyi görüntülü sohbet uygulaması
466A3
ReplyDeleteosmaniye görüntülü sohbet uygulamaları ücretsiz
samsun rastgele sohbet uygulaması
kızlarla canlı sohbet
sohbet muhabbet
bolu yabancı görüntülü sohbet siteleri
bilecik yabancı görüntülü sohbet
mersin sesli sohbet uygulamaları
kastamonu canli goruntulu sohbet siteleri
kars telefonda rastgele sohbet
A7A9E
ReplyDeleteyozgat sesli sohbet siteleri
canli sohbet bedava
bartın mobil sohbet bedava
canlı görüntülü sohbet uygulamaları
kocaeli görüntülü sohbet odaları
batman kadınlarla sohbet
bedava sohbet uygulamaları
nevşehir ücretsiz sohbet siteleri
bolu rastgele sohbet siteleri
077FC
ReplyDeleteyalova canlı görüntülü sohbet odaları
mersin rastgele görüntülü sohbet ücretsiz
kilis yabancı görüntülü sohbet siteleri
kadınlarla sohbet
Kastamonu Ücretsiz Sohbet Sitesi
bingöl bedava görüntülü sohbet sitesi
Adıyaman Sohbet Muhabbet
rize sesli sohbet sesli chat
balıkesir rastgele görüntülü sohbet ücretsiz
0B7CF
ReplyDeleteAlya Coin Hangi Borsada
Kripto Para Nasıl Üretilir
Coin Kazma
Ergo Coin Hangi Borsada
Likee App Beğeni Satın Al
Bitcoin Kazma
Coin Oynama
Binance'de Kaldıraç Var mı
Mexc Borsası Güvenilir mi
FDF45
ReplyDeleteKripto Para Nasıl Oynanır
Threads Yeniden Paylaş Hilesi
Periscope Beğeni Satın Al
Tesla Coin Hangi Borsada
Bitcoin Üretme Siteleri
Likee App Beğeni Hilesi
Coin Madenciliği Nasıl Yapılır
Xcn Coin Hangi Borsada
Binance Hangi Ülkenin
E1ECB
ReplyDeleteKartal
Yakakent
Şehitkamil
Terme
Gürgentepe
Beyoğlu
Bozkır
Delice
Kırıkhan
58C2C
ReplyDelete----
----
----
----
matadorbet
----
----
----
----
gftjuhftyjki
ReplyDeleteاصلاح الافران بجدة
TGNHGHNJHY
ReplyDeleteشركة تنظيف
شركة تسليك مجاري بالدمام xXTzh9NcrY
ReplyDeleteشركة تسليك مجاري بالهفوف jOtxpOIx74
ReplyDeleteشركة تنظيف سجاد بالجبيل tLwvygMT1X
ReplyDeleteتسليك مجاري بالاحساء gA5jsmWt5Z
ReplyDeleteشركة تنظيف خزانات bGQHalGXD8
ReplyDeleteشركة تسليك مجاري بالاحساء HWjHw6lJOH
ReplyDelete