Updating Aggregate problem GAE

1. What is the problem? Be very detailed.

Hi ODK forum, I decided to take this time when a lot of us are pausing data collection to update my version of Aggregate, something I have not been very good at keeping on top of. I had Aggregate v1.4.15, running on my google app engine. I have made an attempt to update to v.1.7.4, and it seemed to be successful according to the updater (see screenshot). However, when I return to my server, I receive the app engine application error message (see screenshot).

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

-Previously had Aggregate v1.4.15, tried to update to v1.7.4
-Google App Engine to host my server.
-Java v8 update 231.

3. What you have you tried to fix the problem?
The AppEngine Error screen is one I've received often when I've uploaded too many versions of a survey in the field within 1 day, and I know that it resets within 24 hours. So the first thing I did was wait 24 hours and checked again, the problem remains. I also checked my billing status, I have not exceeded any limits, and I have the server set up with an active credit card.

In the google console, I am seeing an error, titled: BeanCreationException: Error creating bean with name 'hierarchicalRoleRelationships' defined in ServletContext resource
See last 2 screenshots with those errors.

The last thing I tried was to update to an earlier version of Aggregate, (v1.7.1), or just re-install what I had before (v1.4.15) by running those installers. Finally I worried that my instance name was not correct because in my notes I had it capitalized (NDIGD) but perhaps it should have been lower case. I tried both ways, and I even tried using my project name as the instance name. All of these attempts have failed and when I try to access my server I see the same message.

4. What steps can we take to reproduce the problem?
I don't think this problem can be reproduced outside of my machine and server.

5. Anything else we should know or have? If you have a test form or screenshots or logs, attach below.
Screenshots are below. Thank you for your help on this!




Hi,

Since there is a long gap between v1.4.15 and v.1.7.4. you should try to update step by step. You can try to update to v1.5 from v1.4 then v1.6 then v1.7 series.

Please take back up of your data before updating the Aggregate server.

Hope this helps

Thanks

Thanks for the feedback! I backed up all my data before doing this, so we are good there. But of course I still want the server to be back up and running!

I am trying to revert back to 1.4.15 now and am receiving this error. I will also try 1.5.

listBackends : Reading application configuration data...
listBackends!: Mar 31, 2020 8:13:00 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 31, 2020 8:13:00 AM com.google.appengine.tools.admin.AbstractServerConnection send1
listBackends!: WARNING: Error posting to URL: https://appengine.google.com/api/backends/list?app_id=db-ndigd&
listBackends!: 404 Not Found
listBackends!: 404 Not Found

404 Not Found

The resource could not be found.


listBackends!: This is try #0
listBackends!: Mar 31, 2020 8:13:00 AM com.google.appengine.tools.admin.AbstractServerConnection send1
listBackends!: WARNING: Error posting to URL: https://appengine.google.com/api/backends/list?app_id=db-ndigd&
listBackends!: 404 Not Found
listBackends!: 404 Not Found

404 Not Found

The resource could not be found.


listBackends!: This is try #1
listBackends!: Mar 31, 2020 8:13:00 AM com.google.appengine.tools.admin.AbstractServerConnection send1
listBackends!: WARNING: Error posting to URL: https://appengine.google.com/api/backends/list?app_id=db-ndigd&
listBackends!: 404 Not Found
listBackends!: 404 Not Found

404 Not Found

The resource could not be found.


listBackends!: This is try #2
listBackends!: Mar 31, 2020 8:13:00 AM com.google.appengine.tools.admin.AbstractServerConnection send1
listBackends!: WARNING: Error posting to URL: https://appengine.google.com/api/backends/list?app_id=db-ndigd&
listBackends!: 404 Not Found
listBackends!: 404 Not Found

404 Not Found

The resource could not be found.


listBackends!: This is try #3
listBackends : Unable to list backends: Error posting to URL: https://appengine.google.com/api/backends/list?app_id=db-ndigd&
listBackends : 404 Not Found
listBackends : 404 Not Found

404 Not Found

The resource could not be found.


listBackends :
listBackends : Please see the logs [C:\Users\jkguzman\AppData\Local\Temp\appcfg3778155956700827055.log] for further information.
listBackends :
listBackends!:
listBackends :
status : Action failed or aborted by user

Update. I tried reverting back to 1.4.15 and then I tried 1.5 and I received this same error. The weird part is that v1.7.4 installer is the only one which reports a successful install, yet I still receive that Aggregate error screen when I go to access my server. Anything else I could try?

Hi ODK hivemind! Any other ideas on this? Or should I just give up and create a new server?

Thanks in advance,
Danice

@DaniceBrown It sounds like you don't need to use the old server, so I'd leave it be and not worry about updating. I'd probably just delete the project to make sure no one can send data to it accidentally.

We don't support Google App Engine anymore, but if you still want to deploy there for some reason, you can grab the latest release at https://github.com/opendatakit/aggregate/releases/tag/v1.7.3. The docs are at https://docs.opendatakit.org/aggregate-app-engine-legacy. If it's a fresh server, it should work, but again, no guarantees because we don't support it.

All that said, it sounds like you don't have an ongoing campaign, so now might be a good time to try ODK Central. It's out of beta and it's the server we are putting all our energy toward. You can get started at https://docs.opendatakit.org/central-intro.