Curious behavior of local aggregate installation

Greetings from Malawi. I am attempting to install ODK Aggregate 1.4 on 2
PCs to use as local servers, one Windows 7 32 bit and the other Windows 8.1
64 bit. On both machines, when I completed the installation and entered
the URL, I was taken immediately to the Aggregate forms submission page,
not the Aggregate login page I expected. The site management tab was
missing. When I clicked the Login link at the top of the page, then the
login page appeared. However, after entering the gmail account and
password specified during setup, I got the following error message:
HTTP Status 401 - Authentication Failed: Log in failed - identity could
not be verified type Status report message Authentication Failed: Log
in failed - identity could not be verified description This request
requires HTTP authentication. Apache Tomcat/6.0.37
Subsequent attempts also directly opened the Aggregate submissions page,
but clicking the login link immediately displayed the above error message,
without first showing the Aggregate login page. This has not happened with
earlier installations on other computers. Any help to solve this problem
would be greatly appreciated. Thanks in advance. (Apache Catalina log
from the 32 bit machine attached).

catalina.2014-04-29.log (6.16 KB)

You are dating yourself! We changed the initial-install behavior in 1.3.2
to give the anonymous user access to the submissions and forms management
tabs.

You must then log in and use the Site Admin tab to restrict access; on
subsequent upgrades, the existing site settings are retained (so you can
upgrade to newer versions without fear that there will be a period where
your server is 'open').

The login most often fails because of a mismatch in the system date setting
w.r.t. what Google thinks the time is. From a recent e-mail chain, if you
are off by 4 minutes, that is enough to cause the initial login to fail
(and for these Google account logins, you need to have internet
connectivity, because we contact and use Google to do the authentication).

In the same directory as the catalina log, there should be a tomcat6-stdout
log. You can look in that to see what the error was during login.

Also, search for 'superUserEmail' -- this will be the e-mail you should use
to log in. It needs to match exactly what Google reports if you click your
image / person icon when logged into that account on Gmail.

Mitch

The opening to the submissions tab is a new behavior in 1.3.2 or so.

ยทยทยท On Wed, Apr 30, 2014 at 12:18 AM, Hayden Boyd wrote:

Greetings from Malawi. I am attempting to install ODK Aggregate 1.4 on 2
PCs to use as local servers, one Windows 7 32 bit and the other Windows 8.1
64 bit. On both machines, when I completed the installation and entered
the URL, I was taken immediately to the Aggregate forms submission page,
not the Aggregate login page I expected. The site management tab was
missing. When I clicked the Login link at the top of the page, then the
login page appeared. However, after entering the gmail account and
password specified during setup, I got the following error message:
HTTP Status 401 - Authentication Failed: Log in failed - identity could
not be verified type Status report message Authentication Failed: Log
in failed - identity could not be verified description This request
requires HTTP authentication. Apache Tomcat/6.0.37
Subsequent attempts also directly opened the Aggregate submissions page,
but clicking the login link immediately displayed the above error message,
without first showing the Aggregate login page. This has not happened with
earlier installations on other computers. Any help to solve this problem
would be greatly appreciated. Thanks in advance. (Apache Catalina log
from the 32 bit machine attached).

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


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

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Many thanks, Mitch! This is most helpful. The time difference issue is most
likely causing the log in problem, but I never would have guessed. I'm
traveling now but will work on this some more in a few days.