Google APP engine setup

Hii All,

**1. Unusual behavior of odk Aggregate while uploading the aggregate to Google Engine.
Here, I have pasted the whole error log where verifying of token working fine while upload cant be done properly. Furthermore, I am using 1.7.1 version of Aggregate.

getToken :  ********************************************************
getToken :  There is a new version of the SDK available.
getToken :  -----------
getToken :  Latest SDK:
getToken :  Release: 1.9.78
getToken :  Timestamp: Thu Jan 16 13:31:14 IST 2020
getToken :  API versions: [1.0]
getToken :  
getToken :  -----------
getToken :  Your SDK:
getToken :  Release: 1.9.63
getToken :  Timestamp: Fri Feb 23 05:16:09 IST 2018
getToken :  API versions: [1.0]
getToken :  
getToken :  -----------
getToken :  Please visit https://developers.google.com/appengine/downloads for the latest SDK.
getToken :  ********************************************************
getToken :  Reading application configuration data...
getToken!:  Jan 29, 2020 2:24:17 AM com.google.apphosting.utils.config.IndexesXmlReader readConfigXml
getToken!:  INFO: Successfully processed ./LegacyRemoval\WEB-INF/datastore-indexes.xml
getToken :  
getToken :  
getToken :  Beginning interaction for module default...
getToken :  max_blob_size: 32000000
getToken :  max_file_count: 10000
getToken :  max_file_size: 33554432
getToken :  max_files_to_clone: 2000
getToken :  max_total_file_size: 9223372036854775807
getToken :  Success.
getToken :  Cleaning up temporary files for module default...
getToken :  
getToken!:  
status :  Action Succeeded!
listBackends :  Reading application configuration data...
listBackends!:  Jan 29, 2020 2:24:31 AM com.google.apphosting.utils.config.IndexesXmlReader readConfigXml
listBackends!:  INFO: Successfully processed ./LegacyRemoval\WEB-INF/datastore-indexes.xml
listBackends :  
listBackends :  
listBackends :  Beginning interaction for module default...
listBackends :  Warning: This application uses Backends, a deprecated feature that has been replaced by Modules, which offers additional functionality. Please convert your backends to modules as described at: https://developers.google.com/appengine/docs/java/modules/converting.
listBackends :  Warning: This application uses Backends, a deprecated feature that has been replaced by Modules, which offers additional functionality. Please convert your backends to modules as described at: https://developers.google.com/appengine/docs/java/modules/converting.
listBackends!:  Jan 29, 2020 2:24:32 AM com.google.appengine.tools.admin.AbstractServerConnection send1
listBackends!:  WARNING: Error posting to URL: https://appengine.google.com/api/backends/list?app_id=idcg-server&
listBackends!:  404 Not Found
listBackends!:  <html> <head>  <title>404 Not Found</title> </head> <body>  <h1>404 Not Found</h1>  The resource could not be found.<br /><br /> </body></html>
listBackends!:  This is try #0
listBackends!:  Jan 29, 2020 2:24:32 AM com.google.appengine.tools.admin.AbstractServerConnection send1
listBackends!:  WARNING: Error posting to URL: https://appengine.google.com/api/backends/list?app_id=idcg-server&
listBackends!:  404 Not Found
listBackends!:  <html> <head>  <title>404 Not Found</title> </head> <body>  <h1>404 Not Found</h1>  The resource could not be found.<br /><br /> </body></html>
listBackends!:  This is try #1
listBackends!:  Jan 29, 2020 2:24:33 AM com.google.appengine.tools.admin.AbstractServerConnection send1
listBackends!:  WARNING: Error posting to URL: https://appengine.google.com/api/backends/list?app_id=idcg-server&
listBackends!:  404 Not Found
listBackends!:  <html> <head>  <title>404 Not Found</title> </head> <body>  <h1>404 Not Found</h1>  The resource could not be found.<br /><br /> </body></html>
listBackends!:  This is try #2
listBackends!:  Jan 29, 2020 2:24:33 AM com.google.appengine.tools.admin.AbstractServerConnection send1
listBackends!:  WARNING: Error posting to URL: https://appengine.google.com/api/backends/list?app_id=idcg-server&
listBackends!:  404 Not Found
listBackends!:  <html> <head>  <title>404 Not Found</title> </head> <body>  <h1>404 Not Found</h1>  The resource could not be found.<br /><br /> </body></html>
listBackends!:  This is try #3
listBackends :  Unable to list backends: Error posting to URL: https://appengine.google.com/api/backends/list?app_id=idcg-server&
listBackends :  404 Not Found
listBackends :  <html> <head>  <title>404 Not Found</title> </head> <body>  <h1>404 Not Found</h1>  The resource could not be found.<br /><br /> </body></html>
listBackends :  
listBackends :  Please see the logs [C:\Users\meena\AppData\Local\Temp\appcfg7013463256884207788.log] for further information.
listBackends :  
listBackends!:  
status :  Action failed or aborted by user
getToken!:  Jan 29, 2020 2:24:40 AM com.google.appengine.repackaged.com.google.api.client.extensions.java6.auth.oauth2.FileCredentialStore <init>
getToken!:  WARNING: unable to change file permissions for everybody: C:\Users\meena\.appcfg_oauth2_tokens_java
getToken :  The following URL can be used to authenticate:
getToken :    https://accounts.google.com/o/oauth2/auth?access_type=offline&approval_prompt=force&client_id=550516889912.apps.googleusercontent.com&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&scope=https://www.googleapis.com/auth/appengine.admin%20https://www.googleapis.com/auth/cloud-platform
getToken :  Attempting to open it in your browser now.
getToken :  Please enter code: 
getToken :  Reading application configuration data...
getToken!:  Jan 29, 2020 2:25:07 AM com.google.apphosting.utils.config.IndexesXmlReader readConfigXml
getToken!:  INFO: Successfully processed ./LegacyRemoval\WEB-INF/datastore-indexes.xml
getToken :  
getToken :  
getToken :  Beginning interaction for module default...
getToken :  max_blob_size: 32000000
getToken :  max_file_count: 10000
getToken :  max_file_size: 33554432
getToken :  max_files_to_clone: 2000
getToken :  max_total_file_size: 9223372036854775807
getToken :  Success.
getToken :  Cleaning up temporary files for module default...
getToken!:  
getToken :  
status :  Action Succeeded!
listBackends :  Reading application configuration data...
listBackends!:  Jan 29, 2020 2:25:15 AM com.google.apphosting.utils.config.IndexesXmlReader readConfigXml
listBackends!:  INFO: Successfully processed ./LegacyRemoval\WEB-INF/datastore-indexes.xml
listBackends :  
listBackends :  
listBackends :  Beginning interaction for module default...
listBackends :  Warning: This application uses Backends, a deprecated feature that has been replaced by Modules, which offers additional functionality. Please convert your backends to modules as described at: https://developers.google.com/appengine/docs/java/modules/converting.
listBackends :  Warning: This application uses Backends, a deprecated feature that has been replaced by Modules, which offers additional functionality. Please convert your backends to modules as described at: https://developers.google.com/appengine/docs/java/modules/converting.
listBackends!:  Jan 29, 2020 2:25:15 AM com.google.appengine.tools.admin.AbstractServerConnection send1
listBackends!:  WARNING: Error posting to URL: https://appengine.google.com/api/backends/list?app_id=idcg-server&
listBackends!:  404 Not Found
listBackends!:  <html> <head>  <title>404 Not Found</title> </head> <body>  <h1>404 Not Found</h1>  The resource could not be found.<br /><br /> </body></html>
listBackends!:  This is try #0
listBackends!:  Jan 29, 2020 2:25:16 AM com.google.appengine.tools.admin.AbstractServerConnection send1
listBackends!:  WARNING: Error posting to URL: https://appengine.google.com/api/backends/list?app_id=idcg-server&
listBackends!:  404 Not Found
listBackends!:  <html> <head>  <title>404 Not Found</title> </head> <body>  <h1>404 Not Found</h1>  The resource could not be found.<br /><br /> </body></html>
listBackends!:  This is try #1
listBackends!:  Jan 29, 2020 2:25:16 AM com.google.appengine.tools.admin.AbstractServerConnection send1
listBackends!:  WARNING: Error posting to URL: https://appengine.google.com/api/backends/list?app_id=idcg-server&
listBackends!:  404 Not Found
listBackends!:  <html> <head>  <title>404 Not Found</title> </head> <body>  <h1>404 Not Found</h1>  The resource could not be found.<br /><br /> </body></html>
listBackends!:  This is try #2
listBackends!:  Jan 29, 2020 2:25:17 AM com.google.appengine.tools.admin.AbstractServerConnection send1
listBackends!:  WARNING: Error posting to URL: https://appengine.google.com/api/backends/list?app_id=idcg-server&
listBackends!:  404 Not Found
listBackends!:  <html> <head>  <title>404 Not Found</title> </head> <body>  <h1>404 Not Found</h1>  The resource could not be found.<br /><br /> </body></html>
listBackends!:  This is try #3
listBackends :  Unable to list backends: Error posting to URL: https://appengine.google.com/api/backends/list?app_id=idcg-server&
listBackends :  404 Not Found
listBackends :  <html> <head>  <title>404 Not Found</title> </head> <body>  <h1>404 Not Found</h1>  The resource could not be found.<br /><br /> </body></html>
listBackends :  
listBackends :  Please see the logs [C:\Users\meena\AppData\Local\Temp\appcfg5670493734867956338.log] for further information.
listBackends!:  
listBackends :  
status :  Action failed or aborted by user

I am sure that below video can help you to setup ODK server on GAE(Google App Engine).

Best,
@iamnarendrasingh

I don't know much about google app engine setup. But anyways thanks for your support. :slight_smile:

I would like to say that if you do not know much about Google App engine then you should go with Digital Ocean, because digital ocean is one of best server then google app engine.

Best,
@iamnarendrasingh

Thanku so much sir for your reply,

But the issue still is there, I believe google have done some internal updation in their server due to which, whenever i try to deploy my app in engine it gives me an error stating:

Error 1: An app.yaml or appengine-wen.xml is required
Error 2: glcoud.app.deploy[/home/servers2021] cold not be identified as a valid source directory or file.

I have tried each and every possible way to solve this problem but, at the end i dont think that any old google engine configuration video would help

Could you share error log file with me.

Best,
@iamnarendrasingh

  1. What is the problem? Be very detailed.
    Google app engine is denying to upload Aggregate Folder(V1.7)
    App Engine Error

  2. What app or server are you using and on what device and operating system? Include version numbers.
    ODK Aggregate 1.7

  3. What you have you tried to fix the problem?
    I have tried every possible way to upload the folder, while at the side of aggregate setup, I was getting error specified below:
    Error.docx (16.6 KB)

  4. What steps can we take to reproduce the problem?

I tried both the way , and as I have uploaded the error log in the above mentioned heads.

Please suggest me latest updated procedure, as all other procedure uploaded to the youtube or suggested earlier, I believe, are old procedures which do not help in installing and setting up the server accurately now.

Hey @Parveen_Negi,

Try to use below steps on google cloud app engine.

gcloud config set project <<Project_Name>>
gcloud app create
select server from country
gcloud app deploy
Do you want to continue (Y/n)? y

Best,
@iamnarendrasingh

Hello,

I have tried everything by that step and everything goes well to this point but as I try to deploy my app i get my first point error attached in detail of my error list