I have v8.3.0 site and i am running on azure and using deployment slots to deploy. I have multi index search with umbraco content index, examine pdf index and a custom index. When i deploy to slot all works fine. When i swap the slot the pdf index breaks and i cannot see indexes in backoffice and search errors.
Looking at the error in console in backoffice i have the following error:
n error has occurred.",
"ExceptionMessage":"Lock obtain timed out: SimpleFSLock@D:\home\site\wwwroot\App_Data\TEMP\ExamineIndexes\PDFIndex\write.lock","ExceptionType":"Lucene.Net.Store.LockObtainFailedException","StackTrace":"
at Lucene.Net.Store.Lock.Obtain(Int64 lockWaitTimeout) in d:\Lucene.Net\FullRepo\trunk\src\core\Store\Lock.cs:line 97\r\n at Examine.LuceneEngine.Directories.MultiIndexLock.Obtain(Int64 lockWaitTimeout)
in C:\projects\examine-qvx04\src\Examine\LuceneEngine\Directories\MultiIndexLock.cs:line 40\r\n
If i delete the pdf index and then touch the web.config indexes appear in backoffice and search works.
The only other option i can think of is to backup whats in the live app service onto my file system. delete the contents, then deploy my new app to the existing app service.
I tried doing this in the past but the site went down, admittedly i did not clean all the dlls before doing this, luckily i had backed up the contents of the app service and ftp the contents back up and mysnaptubevidmate old site was running again.
Azure deployment slot swap issue
I have v8.3.0 site and i am running on azure and using deployment slots to deploy. I have multi index search with umbraco content index, examine pdf index and a custom index. When i deploy to slot all works fine. When i swap the slot the pdf index breaks and i cannot see indexes in backoffice and search errors.
Looking at the error in console in backoffice i have the following error:
If i delete the pdf index and then touch the web.config indexes appear in backoffice and search works.
Anyone seen this before?
Hi,
Hitting similar issues did you get any further with this?
Thanks
David,
I raised gold partner ticket with Umbraco support, one thing they suggested which has improved things but not completely solved,
https://github.com/umbraco/Umbraco-CMS/issues/5035#issuecomment-546136237
I followed:
I did not have the last one I added that and now its not happening as often. Although recently i have not been doing as many deploys on this site.
Regards
Ismail
The only other option i can think of is to backup whats in the live app service onto my file system. delete the contents, then deploy my new app to the existing app service.
I tried doing this in the past but the site went down, admittedly i did not clean all the dlls before doing this, luckily i had backed up the contents of the app service and ftp the contents back up and mysnaptube vidmate old site was running again.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.