azure-functions-core-tools: [cli] deploy internalservererror

From @micahasmith on November 1, 2017 17:10

Investigative information

Please provide the following:

  • Timestamp:
  • Function App version (1.0 or 2.0-beta):
  • Function App name: gooten-slothy
  • Function name(s) (as appropriate):
  • Invocation ID:
  • Region: east us

Repro steps

func azure functionapp publish gooten-slothy

Expected behavior

uploads server funcs

Actual behavior

Provide a description of the actual behavior observed.

Publish /Users/micahsmith/printio/gooten-slothy contents to an Azure Function App. Locally deleted files are not removed from destination.
Getting site publishing info...
Creating archive for current directory...
Uploading archive...
Error uploading archive (InternalServerError).
Retry: 1 of 2
Creating archive for current directory...
Uploading archive...
Error uploading archive (InternalServerError).
Retry: 2 of 2
Creating archive for current directory...
Uploading archive...
Error uploading archive (InternalServerError).

Copied from original issue: Azure/azure-webjobs-sdk-script#2090

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 16 (1 by maintainers)

Most upvoted comments

If someone is still experiencing this issue after trying solutions above, I resolved it by deleting my node_modules folder and package-lock.json before publishing function app (I didn’t have to stop my app).

I’m also getting exactly the same error.

This is a very basic scenario and still it does not work. I get the same error for most of the times, cannot re-deploy existing functions.

Workaround that works for me:

  1. Stop function in Azure Portal
  2. Deploy
  3. Start function in Azure Portal