I am trying to deploy a hello world example to App Engine Standard to try Node 8 and it fails every time with an internal error.
The full code (a simple hello world copied from the getting started) is here: https://github.com/ernestoalejo/gae-node8-test When I run gcloud app deploy it returns an error: Error Response: [13] An internal error occurred. I have tried the following things from GitHub issues and documents: - Adding node_modules to skip_files: not supported, gcloud asks to remove them and move the code to the .gcloudignore. - Running: gcloud config set app/use_deprecated_preparation True - Removing any other file: I have only the files you see in the repository. - I am the only person with access to it, and I have Owner permissions. - I am logged in with my account in gcloud. The project is completely new and has a billing account active for other projects. What can I try to fix the issue? Or should I open a ticket in the issue tracker? The verbose logging (with my personal data redacted for this forum) does not say anything useful either: ✗ gcloud app deploy --project=MY_PROJECT_CODE_HERE --verbosity debug DEBUG: Running [gcloud.app.deploy] with arguments: [--project: "MY_PROJECT_CODE_HERE", --verbosity: "debug"] DEBUG: API endpoint: [https://appengine.googleapis.com/], API version: [v1] Services to deploy: descriptor: [MY_DIRECTORY_HERE/app.yaml] source: [MY_DIRECTORY_HERE] target project: [MY_PROJECT_CODE_HERE] target service: [default] target version: [20180730t220515] target url: [https://MY_PROJECT_CODE_HERE.appspot.com] Do you want to continue (Y/n)? DEBUG: No bucket specified, retrieving default bucket. DEBUG: Using bucket [gs://staging.MY_PROJECT_CODE_HERE.appspot.com]. Beginning deployment of service [default]... INFO: Using .gcloudignore file at [MY_DIRECTORY_HERE/.gcloudignore]. DEBUG: Skipping file [.gcloudignore] DEBUG: Skipping file [node_modules] DEBUG: Could not call git with args ('config', '--get-regexp', 'remote\\.(.*)\\.url'): Command '['git', 'config', '--get-regexp', 'remote\\.(.*)\\.url']' returned non-zero exit status 1 INFO: Could not find any remote repositories associated with [MY_DIRECTORY_HERE]. Cloud diagnostic tools may not be able to display the correct source code for this deployment. DEBUG: Skipping upload of [app.yaml] INFO: Incremental upload skipped 0.12% of data DEBUG: Uploading 3 files to Google Cloud Storage DEBUG: Using [16] threads ╔════════════════════════════════════════════════════════════╗ ╠═ Uploading 3 files to Google Cloud Storage ═╣ ╚INFO: Uploading [MY_DIRECTORY_HERE/package.json] to [e797836ead99bb17d904f095d47bb8fc898d6b0b] INFO: Uploading [MY_DIRECTORY_HERE/package-lock.json] to [31b9da26f964547405a99396be8344d874510485] INFO: Uploading [MY_DIRECTORY_HERE/index.js] to [36b22d58849f14aeba64a7de65c97a24d3635c09] ════════════════════════════════════════════════════════════╝ File upload done. INFO: Manifest: [{u'package.json': {u'sourceUrl': u'https://storage.googleapis.com/staging.MY_PROJECT_CODE_HERE.appspot.com/e797836ead99bb17d904f095d47bb8fc898d6b0b', u'sha1Sum': 'e797836ead99bb17d904f095d47bb8fc898d6b0b'}, u'app.yaml': {u'sourceUrl': u'https://storage.googleapis.com/staging.MY_PROJECT_CODE_HERE.appspot.com/0194d0bc89622e761091db0d4222785fb5073d57', u'sha1Sum': '0194d0bc89622e761091db0d4222785fb5073d57'}, u'package-lock.json': {u'sourceUrl': u'https://storage.googleapis.com/staging.MY_PROJECT_CODE_HERE.appspot.com/31b9da26f964547405a99396be8344d874510485', u'sha1Sum': '31b9da26f964547405a99396be8344d874510485'}, u'index.js': {u'sourceUrl': u'https://storage.googleapis.com/staging.MY_PROJECT_CODE_HERE.appspot.com/36b22d58849f14aeba64a7de65c97a24d3635c09', u'sha1Sum': '36b22d58849f14aeba64a7de65c97a24d3635c09'}}] DEBUG: Converted YAML to JSON: "{ "runtime": "nodejs8" }" DEBUG: Operation [apps/MY_PROJECT_CODE_HERE/operations/a71ec693-f953-4c19-891d-2cb027419f94] not complete. Waiting to retry. Updating service [default]...⠛DEBUG: Operation [apps/MY_PROJECT_CODE_HERE/operations/a71ec693-f953-4c19-891d-2cb027419f94] not complete. Waiting to retry. Updating service [default]...⠹DEBUG: Operation [apps/MY_PROJECT_CODE_HERE/operations/a71ec693-f953-4c19-891d-2cb027419f94] complete. Result: { "metadata": { "target": "apps/MY_PROJECT_CODE_HERE/services/default/versions/20180730t220515", "method": "google.appengine.v1.Versions.CreateVersion", "user": "MY_EMAIL_HERE", "insertTime": "2018-07-30T20:05:20.408Z", "endTime": "2018-07-30T20:05:23.049Z", "@type": "type.googleapis.com/google.appengine.v1.OperationMetadataV1" }, "done": true, "name": "apps/MY_PROJECT_CODE_HERE/operations/a71ec693-f953-4c19-891d-2cb027419f94", "error": { "message": "An internal error occurred.", "code": 13 } } Updating service [default]...failed. DEBUG: (gcloud.app.deploy) Error Response: [13] An internal error occurred. Traceback (most recent call last): File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/calliope/cli.py", line 848, in Execute resources = calliope_command.Run(cli=self, args=args) File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/calliope/backend.py", line 770, in Run resources = command_instance.Run(args) File "/usr/lib/google-cloud-sdk/lib/surface/app/deploy.py", line 90, in Run parallel_build=False) File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/command_lib/app/deploy_util.py", line 598, in RunDeploy flex_image_build_option=flex_image_build_option) File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/command_lib/app/deploy_util.py", line 407, in Deploy extra_config_settings) File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/appengine_api_client.py", line 206, in DeployService poller=done_poller) File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/operations_util.py", line 315, in WaitForOperation sleep_ms=retry_interval) File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/api_lib/util/waiter.py", line 254, in WaitFor sleep_ms, _StatusUpdate) File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/api_lib/util/waiter.py", line 316, in PollUntilDone sleep_ms=sleep_ms) File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/core/util/retry.py", line 229, in RetryOnResult if not should_retry(result, state): File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/api_lib/util/waiter.py", line 310, in _IsNotDone return not poller.IsDone(operation) File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/operations_util.py", line 184, in IsDone encoding.MessageToPyValue(operation.error))) OperationError: Error Response: [13] An internal error occurred. ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/a4d16b02-6e64-4f99-9e20-09be2f16466a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.