@James Hamil We are having the same issue but the deployment is performed automatically from our azure devops pipeline. The App service plan is an elastic one and the app is a function app. Here are the details of the logs:
step title="BackgroundTrace" date="2021-12-15T20:33:35.779" instance="21fff2" url="/api/zipdeploy" method="POST">
<step title="Updating shutdown sentinel last write time" date="2021-12-15T20:33:35.826" SemaphoreCount="7"/>
<!-- duration: 63ms -->
<step title="LockFile 'C:\home\site\locks\deployments.lock' acquired" date="2021-12-15T20:33:35.920"/>
<!-- duration: 16ms -->
<step title="Creating temporary deployment" date="2021-12-15T20:33:35.951"/>
<!-- duration: 172ms -->
<step title="Performing fetch based deployment" date="2021-12-15T20:33:36.139">
<step title="Cleaning up temp folders from previous zip deployments and extracting pushed zip file C:\local\Temp\zipdeploy\4dxdklxy.zip (4.70 MB) to C:\local\Temp\zipdeploy\extracted" date="2021-12-15T20:33:36.732"/>
<!-- duration: 62ms -->
</step>
<!-- duration: 1146ms -->
<step title="LockFile 'C:\home\site\locks\deployments.lock' released" date="2021-12-15T20:33:37.316"/>
<!-- duration: 16ms -->
<step title="Deleting shutdown sentinel file" date="2021-12-15T20:33:37.363" SemaphoreCount="8"/>
<!-- duration: 16ms -->
<step title="Error occurred" date="2021-12-15T20:33:37.394" type="error" text="One or more errors occurred." stackTrace=" at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at Kudu.Core.Deployment.FetchDeploymentManager.<>c__DisplayClass11_1.<PerformBackgroundDeployment>b__3() in C:\Kudu Files\Private\src\master\Kudu.Core\Deployment\FetchDeploymentManager.cs:line 399 at Kudu.Contracts.Infrastructure.LockExtensions.TryLockOperation(IOperationLock lockObj, Action operation, String operationName, TimeSpan timeout) in C:\Kudu Files\Private\src\master\Kudu.Contracts\Infrastructure\LockExtensions.cs:line 34 at Kudu.Contracts.Infrastructure.LockExtensions.LockOperation(IOperationLock lockObj, Action operation, String operationName, TimeSpan timeout) in C:\Kudu Files\Private\src\master\Kudu.Contracts\Infrastructure\LockExtensions.cs:line 46 at Kudu.Core.Deployment.FetchDeploymentManager.<>c__DisplayClass11_0.<PerformBackgroundDeployment>b__1() in C:\Kudu Files\Private\src\master\Kudu.Core\Deployment\FetchDeploymentManager.cs:line 383" innerText="Offset to Central Directory cannot be held in an Int64." innerStackTrace=" at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory() at System.IO.Compression.ZipArchive.Init(Stream stream, ZipArchiveMode mode, Boolean leaveOpen) at System.IO.Compression.ZipArchive..ctor(Stream stream, ZipArchiveMode mode, Boolean leaveOpen, Encoding entryNameEncoding) at Kudu.Services.Deployment.PushDeploymentController.<>c__DisplayClass18_0.<LocalZipFetch>b__1() in C:\Kudu Files\Private\src\master\Kudu.Services\Deployment\PushDeploymentController.cs:line 721 at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Kudu.Services.Deployment.PushDeploymentController.<LocalZipFetch>d__18.MoveNext() in C:\Kudu Files\Private\src\master\Kudu.Services\Deployment\PushDeploymentController.cs:line 727 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Kudu.Services.Deployment.PushDeploymentController.<LocalZipHandler>d__14.MoveNext() in C:\Kudu Files\Private\src\master\Kudu.Services\Deployment\PushDeploymentController.cs:line 543 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Kudu.Core.Deployment.FetchDeploymentManager.<PerformDeployment>d__9.MoveNext() in C:\Kudu Files\Private\src\master\Kudu.Core\Deployment\FetchDeploymentManager.cs:line 181 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Kudu.Core.Deployment.FetchDeploymentManager.<PerformDeployment>d__9.MoveNext() in C:\Kudu Files\Private\src\master\Kudu.Core\Deployment\FetchDeploymentManager.cs:line 295"/>
<!-- duration: 16ms -->
</step>
<!-- duration: 1662ms -->