Re: Simian Deployment to App Engine

49 views
Skip to first unread message

Justin McWilliams

unread,
Oct 30, 2015, 6:52:12 PM10/30/15
to Simian Discuss

> then deployed it to App Engine according to the GoogleAppEngineLauncher:

Can you instead use "make release" in Terminal?

It sounds like you're inadvertently releasing a HelloWorld example app instead of Simian.

// mobile

On Oct 30, 2015 5:06 PM, "Thomas Maerz" <deathb...@gmail.com> wrote:
Hi,

I'm following the admin guide and I'm having a little trouble, hopefully someone can help me.

I followed the guide and set up a new App Engine project called ******* with app ID *******.

I then compiled Simian successfully on a 10.10.5 machine with XCode 7.1, then deployed it to App Engine according to the GoogleAppEngineLauncher:

*** Running appcfg.py with the following flags:

    --oauth2_credential_file=~/.appcfg_oauth2_tokens update

03:24 PM Application: brewerscience-1114; version: 1

03:24 PM Host: appengine.google.com

03:24 PM 

Starting update of app: brewerscience-1114, version: 1

03:24 PM Getting current resource limits.

03:24 PM Scanning files on local disk.

03:24 PM Cloning 1 static file.

03:24 PM Cloning 3 application files.

03:24 PM Uploading 1 files and blobs.

03:24 PM Uploaded 1 files and blobs.

03:24 PM Compilation starting.

03:24 PM Compilation completed.

03:24 PM Starting deployment.

03:24 PM Checking if deployment succeeded.

03:24 PM Deployment successful.

03:24 PM Checking if updated app version is serving.

03:24 PM Completed update of app: *******, version: 1

03:24 PM Uploading index definitions.

If deploy fails you might need to 'rollback' manually.

The "Make Symlinks..." menu option can help with command-line work.

*** appcfg.py has finished with exit code 0 ***


But now when I go to https://*******.appspot.com/admin/config, I just get a 404 error. If I go to https://*******.appspot.com I get "Hello World". Looking in the Google Developers Console logs I see this:


I 2015-10-30 14:27:33.122  404     188 B  126 ms I 14:27:33.247 /admin/config
  67.210.180.2 - - [30/Oct/2015:13:27:33 -0700] "GET /admin/config HTTP/1.1" 404 188 - "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36" "brewerscience-1114.appspot.com" ms=126 cpu_ms=130 cpm_usd=2.101e-05 instance=00c61b117c1d2fa3883e31d0f9251cf2b6f1bc49 app_engine_release=1.9.28 trace_id=-
    I 14:27:33.247 This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application.

After which, each log entry of myself trying to visit the page results in this:

14:36:23.732
404
188 B
4 ms
/admin/config
67.210.180.2 - - [30/Oct/2015:13:36:23 -0700] "GET /admin/config HTTP/1.1" 404 188 - "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:41.0) Gecko/20100101 Firefox/41.0" "brewerscience-1114.appspot.com" ms=4 cpu_ms=1 cpm_usd=2.101e-05 instance=00c61b117c1d2fa3883e31d0f9251cf2b6f1bc49 app_engine_release=1.9.28 trace_id=-

Any ideas? I have probably done something wrong, but I'm not sure what!

--
You received this message because you are subscribed to the Google Groups "Simian Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simian-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thomas Maerz

unread,
Nov 2, 2015, 3:41:54 PM11/2/15
to Simian Discuss
Yeah, I figured this out then deleted this topic but I guess the email still went out! Stupid mistake. I was using the AppEngine application to create a new application then deploying that rather than deploying an existing one. Thank you for the reply. make release from the terminal works!
Reply all
Reply to author
Forward
0 new messages