Up until around the beginning of the month, my Django app was working fine,
but all of a sudden, it started sending 500 Internal Server Error on one of
the endpoints. When I tried to update the app by deploying a new version, I
received a builder error (exact error pasted in the attached file).
When I create a new GCloud project and deploy the exact app to that
project, it deploys fine (although the 500 Internal Server Error is still
there).
What can I do to fix this deployment error? Can I somehow "delete" the App
Engine service and redeploy it? I don't want to delete the whole GCloud
project because I would like to keep the appspot.com domain name. Thanks in
advance.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/5b25ea53-755f-4a96-89b7-c57b43877f4a%40googlegroups.com.
Build error details:
{"error":{"errorType":"BuildError","canonicalCode":"INVALID_ARGUMENT","errorId":"17517CFA","errorMessage":"19
Jul 2019 18:49:14 INFO Arguments:
['--parser_script=/usr/local/bin/ftl.par', '--src=', '--entrypoint=',
'--name=us.gcr.io/foodtube/app-engine-tmp/app/ttl-2h:a35682a5-0816-47f9-99ae-9ecb10edc1bf',
'--directory=/workspace', '--destination=/srv',
'--cache-repository=us.gcr.io/foodtube/app-engine-tmp/build-cache/ttl-7d',
'--cache', '--builder-output-path=\"\"',
'--additional-directory=/.googleconfig',
'--python-cmd=/opt/python3.7/bin/python3.7', '--pip-cmd=/env/bin/python3.7 -m
pip', '--venv-cmd=/opt/python3.7/bin/python3.7 -m venv /env', '-v=DEBUG',
'--base=us.gcr.io/gae-runtimes/python37:python37_20190527_3_7_3_RC00']\n19 Jul
2019 18:49:14 INFO Unparsed arguments:
['--name=us.gcr.io/foodtube/app-engine-tmp/app/ttl-2h:a35682a5-0816-47f9-99ae-9ecb10edc1bf',
'--directory=/workspace', '--destination=/srv',
'--cache-repository=us.gcr.io/foodtube/app-engine-tmp/build-cache/ttl-7d',
'--cache', '--builder-output-path=\"\"',
'--additional-directory=/.googleconfig',
'--python-cmd=/opt/python3.7/bin/python3.7', '--pip-cmd=/env/bin/python3.7 -m
pip', '--venv-cmd=/opt/python3.7/bin/python3.7 -m venv /env', '-v=DEBUG',
'--base=us.gcr.io/gae-runtimes/python37:python37_20190527_3_7_3_RC00']\n19 Jul
2019 18:49:14 INFO Executing ['/usr/local/bin/ftl.par',
'--name=us.gcr.io/foodtube/app-engine-tmp/app/ttl-2h:a35682a5-0816-47f9-99ae-9ecb10edc1bf',
'--directory=/workspace', '--destination=/srv',
'--cache-repository=us.gcr.io/foodtube/app-engine-tmp/build-cache/ttl-7d',
'--cache', '--builder-output-path=\"\"',
'--additional-directory=/.googleconfig',
'--python-cmd=/opt/python3.7/bin/python3.7', '--pip-cmd=/env/bin/python3.7 -m
pip', '--venv-cmd=/opt/python3.7/bin/python3.7 -m venv /env', '-v=DEBUG',
'--base=us.gcr.io/gae-runtimes/python37:python37_20190527_3_7_3_RC00']\nINFO
FTL version python-v0.15.0\nINFO Beginning FTL build for python\nINFO
FTL arg passed: virtualenv_dir /env\nINFO FTL arg passed: ttl 168\nINFO
FTL arg passed: python_cmd /opt/python3.7/bin/python3.7\nINFO FTL arg
passed: cache True\nINFO FTL arg passed: virtualenv_cmd virtualenv\nINFO
FTL arg passed: entrypoint None\nINFO FTL arg passed: exposed_ports
None\nINFO FTL arg passed: pip_cmd /env/bin/python3.7 -m pip\nINFO FTL
arg passed: tar_base_image_path None\nINFO FTL arg passed:
builder_output_path \"\"\nINFO FTL arg passed: destination_path /srv\nINFO
FTL arg passed: sh_c_prefix False\nINFO FTL arg passed: base
us.gcr.io/gae-runtimes/python37:python37_20190527_3_7_3_RC00\nINFO FTL arg
passed: cache_key_version v0.15.0\nINFO FTL arg passed: cache_salt \nINFO
FTL arg passed: cache_repository
us.gcr.io/foodtube/app-engine-tmp/build-cache/ttl-7d\nINFO FTL arg passed:
venv_cmd /opt/python3.7/bin/python3.7 -m venv /env\nINFO FTL arg passed:
name
us.gcr.io/foodtube/app-engine-tmp/app/ttl-2h:a35682a5-0816-47f9-99ae-9ecb10edc1bf\nINFO
FTL arg passed: global_cache False\nINFO FTL arg passed: upload
True\nINFO FTL arg passed: fail_on_error True\nINFO FTL arg passed:
output_path None\nINFO FTL arg passed: directory /workspace\nINFO FTL
arg passed: additional_directory /.googleconfig\nINFO FTL arg passed:
verbosity DEBUG\nINFO starting: full build\nINFO starting: builder
initialization\nINFO Loading Docker credentials for repository
'us.gcr.io/gae-runtimes/python37:python37_20190527_3_7_3_RC00'\nINFO
Loading Docker credentials for repository
'us.gcr.io/foodtube/app-engine-tmp/app/ttl-2h:a35682a5-0816-47f9-99ae-9ecb10edc1bf'\nINFO
builder initialization took 0 seconds\nINFO starting: build process
for FTL image\nINFO starting: checking_cached_interpreter_layer\nINFO
starting: check python version\nINFO `python version` full
cmd:\n/opt/python3.7/bin/python3.7 --version\nINFO `python version`
stderr:\n\nINFO check python version took 0 seconds\nDEBUG Checking
cache for cache_key d62f0bca0db2e6b2b1312f303e883b8ff187274.