Aggregate 1.4.14 windows not "installing" correctly

Hi, I'm running some tests to see what happens with upgrading Aggregate on google app engine. Trying to install (which I realise isn't a true install) Aggregate 1.4.14 I get as far as "Building configuration jar" and then an error message pops up:

"Problem running post-configuration setup.
Configuration may not complete correctly
Installer.Error.ZipUnknownError"

Indeed it doesn't complete properly as when I run the updater the folder LegacyRemoval is missing. I think there's some other things missing too.

After running the "install" the only subfolder that gets created is "appengine-java-sdk".

Cheers,

Oliver

Update

I can get the token verified by copying across the LegacyRemoval folder from a previous install (and changing the value in the appengine.xml file) but without an ODKaggregate subfolder I feel that and "upload odk aggregate" would be pointless. Unless I can copy that across too without damaging any currently running appengine instances.

Second update

Fixed! I think it was an instance of WAMP running at the same time (seemed to be having trouble accessinng localhost). Turned WAMP off and rebooted (quit skype and slack too just incase) and reran the installer. Everything worked.

Hi Oliver! What instructions are you following to do this "install"?

Hi Yaw,

I'm following the one from the ODK page https://opendatakit.org/use/aggregate/

They've worked fine in the past. I've also tried:

1.4.13 (same problem)
Running everything as administrator
Checked that there are no spaces in paths
Copied the token link to a private browser

Attached is the log from trying to install 1.4.14 after I've manually added the LegacyRemoval folder and it's contents.

This is the log from trying to upload:

listBackends : Reading application configuration data...
listBackends!: Jul 04, 2017 9:15: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 : Success.
listBackends : Cleaning up temporary files for module default...
listBackends!:
listBackends :
deleteBackendBackground : Reading application configuration data...
deleteBackendBackground!: Jul 04, 2017 9:15:18 AM com.google.apphosting.utils.config.IndexesXmlReader readConfigXml
deleteBackendBackground!: INFO: Successfully processed ./LegacyRemoval\WEB-INF/datastore-indexes.xml
deleteBackendBackground :
deleteBackendBackground :
deleteBackendBackground : Beginning interaction for module default...
deleteBackendBackground : 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.
deleteBackendBackground : 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.
deleteBackendBackground!: Jul 04, 2017 9:15:19 AM com.google.appengine.tools.admin.AbstractServerConnection send1
deleteBackendBackground!: WARNING: Error posting to URL: https://appengine.google.com/api/backends/delete?backend=background&app_id=odk-testground&
deleteBackendBackground!: 400 Bad Request
deleteBackendBackground!: Deleting backend: backgroundBackend 'background' has not been defined.
deleteBackendBackground!: This is try #0
deleteBackendBackground!: Jul 04, 2017 9:15:19 AM com.google.appengine.tools.admin.AbstractServerConnection send1
deleteBackendBackground!: WARNING: Error posting to URL: https://appengine.google.com/api/backends/delete?backend=background&app_id=odk-testground&
deleteBackendBackground!: 400 Bad Request
deleteBackendBackground!: Deleting backend: backgroundBackend 'background' has not been defined.
deleteBackendBackground!: This is try #1
deleteBackendBackground!: Jul 04, 2017 9:15:20 AM com.google.appengine.tools.admin.AbstractServerConnection send1
deleteBackendBackground!: WARNING: Error posting to URL: https://appengine.google.com/api/backends/delete?backend=background&app_id=odk-testground&
deleteBackendBackground!: 400 Bad Request
deleteBackendBackground!: Deleting backend: backgroundBackend 'background' has not been defined.
deleteBackendBackground!: This is try #2
deleteBackendBackground!: Jul 04, 2017 9:15:20 AM com.google.appengine.tools.admin.AbstractServerConnection send1
deleteBackendBackground!: WARNING: Error posting to URL: https://appengine.google.com/api/backends/delete?backend=background&app_id=odk-testground&
deleteBackendBackground!: 400 Bad Request
deleteBackendBackground!: Deleting backend: backgroundBackend 'background' has not been defined.
deleteBackendBackground!: This is try #3
deleteBackendBackground : Unable to delete backend: Error posting to URL: https://appengine.google.com/api/backends/delete?backend=background&app_id=odk-testground&
deleteBackendBackground : 400 Bad Request
deleteBackendBackground : Deleting backend: backgroundBackend 'background' has not been defined.
deleteBackendBackground :
deleteBackendBackground : Please see the logs [C:\Users\Oliver\AppData\Local\Temp\appcfg5314616425151232793.log] for further information.
deleteBackendBackground :
deleteBackendBackground!:
update : Unable to find the webapp directory .\ODKAggregate
update : usage: AppCfg [options] [] []
update :
update : Action must be one of:
update : help: Print help for a specific action.
update : download_app: Download a previously uploaded app version.
update : request_logs: Write request logs in Apache common log format.
update : rollback: Rollback an in-progress update.
update : start_module_version: Start the specified module version.
update : stop_module_version: Stop the specified module version.
update : update: Create or update an app version.
update : update_indexes: Update application indexes.
update : update_cron: Update application cron jobs.
update : update_queues: Update application task queue definitions.
update : update_dispatch: Update the application dispatch configuration.
update : update_dos: Update application DoS protection configuration.
update : version: Prints version information.
update : set_default_version: Set the default serving version.
update : cron_info: Displays times for the next several runs of each cron job.
update : resource_limits_info: Display resource limits.
update : vacuum_indexes: Delete unused indexes from application.
update : backends list: List the currently configured backends.
update : backends update: Update the specified backend or all backends.
update : backends rollback: Roll back a previously in-progress update.
update : backends start: Start the specified backend.
update : backends stop: Stop the specified backend.
update : backends delete: Delete the specified backend.
update : backends configure: Configure the specified backend.
update : list_versions: List the currently uploaded versions.
update : delete_version: Delete the specified version.
update : Use 'help ' for a detailed description.
update :
update : options:
update : -s SERVER, --server=SERVER
update : The server to connect to.
update : -e EMAIL, --email=EMAIL
update : The username to use. Will prompt if omitted.
update : -H HOST, --host=HOST Overrides the Host header sent with all RPCs.
update : -p PROXYHOST[:PORT], --proxy=PROXYHOST[:PORT]
update : Proxies requests through the given proxy server.
update : If --proxy_https is also set, only HTTP will be
update : proxied here, otherwise both HTTP and HTTPS will.
update : --proxy_https=PROXYHOST[:PORT]
update : Proxies HTTPS requests through the given proxy server.
update : --no_cookies Do not save/load access credentials to/from disk.
update : --sdk_root=root Overrides where the SDK is located.
update : --passin Always read the login password from stdin.
update : -A APP_ID, --application=APP_ID
update : Override application id from appengine-web.xml or app.yaml
update : -M MODULE, --module=MODULE
update : Override module from appengine-web.xml or app.yaml
update : -V VERSION, --version=VERSION
update : Override (major) version from appengine-web.xml or app.yaml
update : --oauth2 Ignored (OAuth2 is the default).
update : --noisy
update : Log much more information about what the tool is doing.
update : --enable_jar_splitting
update : Split large jar files (> 10M) into smaller fragments.
update : --jar_splitting_excludes=SUFFIXES
update : When --enable-jar-splitting is set, files that match
update : the list of comma separated SUFFIXES will be excluded
update : from all jars.
update : --disable_jar_jsps
update : Do not jar the classes generated from JSPs.
update : --enable_jar_classes
update : Jar the WEB-INF/classes content.
update : --delete_jsps
update : Delete the JSP source files after compilation.
update : --retain_upload_dir
update : Do not delete temporary (staging) directory used in
update : uploading.
update : --compile_encoding
update : The character encoding to use when compiling JSPs.
update : -n NUM_DAYS, --num_days=NUM_DAYS
update : Number of days worth of log data to get. The cut-off
update : point is midnight UTC. Use 0 to get all available
update : logs. Default is 1.
update : --severity=SEVERITY Severity of app-level log messages to get. The range
update : is 0 (DEBUG) through 4 (CRITICAL). If omitted, only
update : request logs are returned.
update : --include_all Include everything in log messages.
update : -a, --append Append to existing file.
update : -n NUM_RUNS, --num_runs=NUM_RUNS
update : Number of scheduled execution times to compute
update : -f, --force Force deletion of indexes without being prompted.
update : --no_usage_reporting
update : Disable usage reporting.
update : --use_google_application_default_credentials
update : Use Google Application Default Credentials as described in https://developers.google.com/identity/protocols/application-default-credentials
update : --service_account_json_key_file=path
update : location of the service account json key file for a
update : Service Account Credential login.
update : (The cloud SDK uses ~/.config/gcloud/application_default_credentials.json )
update : -D, --auto_update_dispatch
update : Include dispatch.yaml in updates
update :
update :
status : Action failed or aborted by user

Fixed it Yaw!

I realised I had a WAMP instance running. Turned that off and rebooted (turning off Skype and Slack too just to be safe) and now all is well.

Thanks for your help,

Oliver

1 Like