Unable to upload ODK Aggregate During installation using ODK Aggregate v1.7.1 for Windows

odk-aggregate

(Amrita Pal) #1

Hello @yanokwa @Grzesiek2010 @Xiphware
I am trying to upload ODK Aggregate using v1.7.1 in Windows. I have tried more than 100 times but this is not working. I have created app engine using Google Cloud Platform, therefore when I'm trying to upload ODK Aggregate but always an error was coming.`

ERROR:

getToken!:  Mar 17, 2019 2:38:34 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\my lapi\.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!:  Mar 17, 2019 2:39:34 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 :  
getToken :  max_file_count: 10000
getToken :  
getToken :  max_file_size: 32000000
getToken :  
getToken :  max_files_to_clone: 2000
getToken :  
getToken :  max_total_file_size: 9223372036854775807
getToken :  
getToken :  Success.
getToken :  
getToken :  Cleaning up temporary files for module 
getToken :  default...
getToken :  
getToken!:  
status :  Action Succeeded!
listBackends :  Reading application configuration data...
listBackends!:  Mar 17, 2019 2:40:04 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!:  Mar 17, 2019 2:40:05 AM com.google.appengine.tools.admin.AbstractServerConnection send1
listBackends!:  WARNING: Error posting to URL: https://appengine.google.com/api/backends/list?app_id=impalamrita&
listBackends!:  400 Bad Request
listBackends!:  Backends API is deprecated and currently unavailable. Please migrate to Services API, following our guides for Python (https://cloud.google.com/appengine/docs/standard/python/modules/converting), Java (https://cloud.google.com/appengine/docs/standard/java/modules/converting), and Go (https://cloud.google.com/appengine/docs/standard/go/modules/converting).
listBackends!:  This is try #0
listBackends!:  Mar 17, 2019 2:40:06 AM com.google.appengine.tools.admin.AbstractServerConnection send1
listBackends!:  WARNING: Error posting to URL: https://appengine.google.com/api/backends/list?app_id=impalamrita&
listBackends!:  400 Bad Request
listBackends!:  Backends API is deprecated and currently unavailable. Please migrate to Services API, following our guides for Python (https://cloud.google.com/appengine/docs/standard/python/modules/converting), Java (https://cloud.google.com/appengine/docs/standard/java/modules/converting), and Go (https://cloud.google.com/appengine/docs/standard/go/modules/converting).
listBackends!:  This is try #1
listBackends!:  Mar 17, 2019 2:40:07 AM com.google.appengine.tools.admin.AbstractServerConnection send1
listBackends!:  WARNING: Error posting to URL: https://appengine.google.com/api/backends/list?app_id=impalamrita&
listBackends!:  400 Bad Request
listBackends!:  Backends API is deprecated and currently unavailable. Please migrate to Services API, following our guides for Python (https://cloud.google.com/appengine/docs/standard/python/modules/converting), Java (https://cloud.google.com/appengine/docs/standard/java/modules/converting), and Go (https://cloud.google.com/appengine/docs/standard/go/modules/converting).
listBackends!:  This is try #2
listBackends!:  Mar 17, 2019 2:40:08 AM com.google.appengine.tools.admin.AbstractServerConnection send1
listBackends!:  WARNING: Error posting to URL: https://appengine.google.com/api/backends/list?app_id=impalamrita&
listBackends!:  400 Bad Request
listBackends!:  Backends API is deprecated and currently unavailable. Please migrate to Services API, following our guides for Python (https://cloud.google.com/appengine/docs/standard/python/modules/converting), Java (https://cloud.google.com/appengine/docs/standard/java/modules/converting), and Go (https://cloud.google.com/appengine/docs/standard/go/modules/converting).
listBackends!:  This is try #3
listBackends :  Unable to list backends: Error posting to URL: https://appengine.google.com/api/backends/list?app_id=impalamrita&
listBackends :  400 Bad Request
listBackends :  Backends API is deprecated and currently unavailable. Please migrate to Services API, following our guides for Python (https://cloud.google.com/appengine/docs/standard/python/modules/converting), Java (https://cloud.google.com/appengine/docs/standard/java/modules/converting), and Go (https://cloud.google.com/appengine/docs/standard/go/modules/converting).
listBackends :  
listBackends :  Please see the logs [C:\Users\MYLAPI~1\AppData\Local\Temp\appcfg8685514882106575381.log] for further information.
listBackends :  
listBackends!:  
listBackends :  
status :  Action failed or aborted by user

Can anyone help me on this issue? And the another thing is the recent ODK Aggregate v2.0.2 is not showing Google Cloud Platform option, so how can i upload using this version?


(Guillermo) #3

Hi @Amrita_Pal!

I think this issue has to do with the deprecation of the AppEngine Backends API. We're already working on a solution, and will release a new Aggregate v1.7.2 version that will include a workaround very soon.


(Amrita Pal) #4

Dear @ggalmazor !

Thank you vary much for your response. This is for your kind information that i have tried the same in Aggregate v1.6.1 and found the same error.

Please let me know when you release new Aggregate v1.7.2.

Thank you once again :slight_smile:


(Yaw Anokwa) #5

@Amrita_Pal, Aggregate v1.7.2 is out. Give it a try.