PHP project deployment generates unknown errors suddenly

44 views
Skip to first unread message

Amit Lahiri

unread,
Feb 4, 2020, 10:02:07 AM2/4/20
to Google App Engine
Till yesterday, everything was good, able to deploy simple PHP project successfully from Google Cloud SDK Shell. But suddenly, receive the below errors list at the end. Do not understand why this happens. Also, do not understand why Python erros are showing. 

File upload done.
Updating service [default]...failed.
ERROR: (gcloud.app.deploy) Error Response: [9] Cloud build 466aef5a-213e-41c2-a6c9-e61ec6b09631 status: FAILURE.
Error ID: F220AEAA.
Error type: BuildError.
Error message: INFO     FTL version php-v0.17.0
INFO     Beginning FTL build for php
INFO     FTL arg passed: exposed_ports None
INFO     FTL arg passed: cache_repository us.gcr.io/phpdemo-264019/app-engine-tmp/build-cache/ttl-7d
INFO     FTL arg passed: tar_base_image_path None
INFO     FTL arg passed: export_cache_stats False
INFO     FTL arg passed: builder_output_path ""
INFO     FTL arg passed: ttl 168
INFO     FTL arg passed: global_cache False
INFO     FTL arg passed: cache True
INFO     FTL arg passed: upload True
INFO     FTL arg passed: sh_c_prefix False
INFO     FTL arg passed: fail_on_error True
INFO     FTL arg passed: output_path None
INFO     FTL arg passed: cache_key_version v0.17.0
INFO     FTL arg passed: cache_salt
INFO     FTL arg passed: directory /workspace
INFO     FTL arg passed: entrypoint None
INFO     FTL arg passed: additional_directory /.googleconfig
INFO     FTL arg passed: destination_path /srv
INFO     FTL arg passed: verbosity NOTSET
INFO     starting: full build
INFO     starting: builder initialization
INFO     Loading Docker credentials for repository 'us.gcr.io/gae-runtimes/php72:php72_20191020_7_2_23_RC00'
INFO     builder initialization took 0 seconds
INFO     starting: build process for FTL image
INFO     starting: rm_vendor_dir
INFO     rm_vendor_dir rm -rf /workspace/vendor
INFO     `rm_vendor_dir` stdout:

INFO     rm_vendor_dir took 0 seconds
INFO     build process for FTL image took 0 seconds
INFO     full build took 0 seconds
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/ftl.par/__main__.py", line 65, in <module>
  File "/usr/local/bin/ftl.par/__main__.py", line 54, in main
  File "/usr/local/bin/ftl.par/__main__/ftl/php/builder.py", line 49, in Build
  File "/usr/local/bin/ftl.par/__main__/ftl/php/layer_builder.py", line 57, in BuildLayer
  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode
    obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 4 column 5 (char 59).

Mua Rachmann

unread,
Feb 4, 2020, 10:20:00 AM2/4/20
to google-a...@googlegroups.com
Hi,

Did you upgrade the gcloud sdk and tools/components... Looks like it is something with ur python version and also it is worth nothing that the gcloud updated to python 3 since python 2 is at EOL, and that works fine. You might want to re-install the sdk with python3 and try again.


Regards,
Mua

--
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-appengi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/3a7a748d-1d38-4d0d-9368-500034423cf3%40googlegroups.com.
--

MUA N. LAURENT
: Software Engineer

Akwa, Douala,CM 00237 | 174 Royal Rd, Cape Town, WC 7405, SA
Phone: (237) 670-518-086

 

Amit Lahiri

unread,
Feb 4, 2020, 2:05:24 PM2/4/20
to Mua Rachmann, google-a...@googlegroups.com
Hi Mua.

I have updated the Google Cloud SDK Shell by command,
gcloud components update

But still issue persists. What am I supposed to do?


Thank you,
Amit Kumar Lahiri
Full Stack Developer

Nuun Digital
Synchronizing Technology, Strategy, Design and Marketing to Solve Complex Problems.


From: google-a...@googlegroups.com <google-a...@googlegroups.com> on behalf of Mua Rachmann <muara...@gmail.com>
Sent: Tuesday, February 4, 2020 7:19 AM
To: google-a...@googlegroups.com <google-a...@googlegroups.com>
Subject: Re: [google-appengine] PHP project deployment generates unknown errors suddenly
 

Aref Amiri (Cloud Platform Support)

unread,
Feb 4, 2020, 3:18:28 PM2/4/20
to Google App Engine
I'd suggest to post your issue on Public Issue Tracker, as this requires further investigation. 
Reply all
Reply to author
Forward
0 new messages