GAE deployment issue

227 views
Skip to first unread message

tejashree mahadik

unread,
Dec 14, 2016, 2:26:13 AM12/14/16
to Google Cloud Endpoints

I am getting issue on GAE with datastore using php. i followed GAE with datastore using php,I am able to connect with datastore from localhost server, but once i hit gcloud app deploy to actually deploy code on google cloud , getting below errors, here is error log:

  • su www-data -c 'php /usr/local/bin/composer --no-ansi run-script -l' PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php56/lib/php/ex tensions/no-debug-non-zts-20131226/memcached.so' - /opt/php56/lib/php/extensions /no-debug-non-zts-20131226/memcached.so: cannot open shared object file: No such file or directory in Unknown on line 0
  • chown -R root.www-data appweb chown: cannot access 'appweb': No such file or directory

Can anybody help me to resolve this error?

Wesley Wong

unread,
Dec 14, 2016, 2:23:34 PM12/14/16
to Google Cloud Endpoints, tejashree mahadik
To clarify, are you using Google Cloud Endpoints at this point in time, or are you just following GAE with datastore using php directly without modifications and getting these errors?

Thanks,
Wesley

bette...@google.com

unread,
Dec 14, 2016, 5:46:59 PM12/14/16
to Google Cloud Endpoints, tejashree mahadik
Please help us understand the issue by running "gcloud beta app gen-config --custom", select "N" when asked "Would you like to update it now?" and then post the contents of the generated Dockerfile here.  You should then remove the Dockerfile.

Also, could you tell us your OS and what version of gcloud you're using?

Thank you!

- Brent

tejashree mahadik

unread,
Dec 15, 2016, 12:41:23 AM12/15/16
to Google Cloud Endpoints, tejashree mahadik
Hi , i am not using Google Cloud Endpoints. i want GAE with datastore using PHP. , so i am just following the steps which they mentioned.

tejashree mahadik

unread,
Dec 15, 2016, 12:45:01 AM12/15/16
to Google Cloud Endpoints, tejashree mahadik, bette...@google.com
Hi , as per your reply , i hit that command, here is content of Dockerfile :

------------------------------------------------------------------------------------------------------
# Dockerfile extending the generic PHP image with application files for a
# single application.

# The Docker image will configure the document root according to this
# environment variable.
ENV DOCUMENT_ROOT \app\web

------------------------------------------------------------------------------------------------------

tejashree mahadik

unread,
Dec 15, 2016, 12:47:13 AM12/15/16
to Google Cloud Endpoints, tejashree mahadik, bette...@google.com
I am using Windows OS , Here is my configuration :

------------------------------------------------------------------

Google Cloud SDK 137.0.1
app-engine-java 1.9.46
app-engine-python 1.9.40
beta 2016.01.12
bq 2.0.24
bq-win 2.0.24
bundled-python 2.7.10
cloud-datastore-emulator 1.2.1
core 2016.12.08
core-win 2016.11.07
gcloud
gsutil 4.22
gsutil-win 4.20
powershell 1.0.0.1
windows-ssh-tools 2016.05.13

-----------------------------------------------------------------

tejashree mahadik

unread,
Dec 15, 2016, 1:01:55 AM12/15/16
to Google Cloud Endpoints, tejashree mahadik
Hi , I am using Google Cloud Endpoints also but not with this code . I am using Google Cloud Endpoints only to create Web-services for iOS & Android and  I am using Google App Engine with Datastore just to create Admin panel .so for this , i am following steps provided with GAE with datastore using php 


On Thursday, December 15, 2016 at 12:53:34 AM UTC+5:30, Wesley Wong wrote:
Reply all
Reply to author
Forward
0 new messages