WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org
View all threadsHello everyone.
I've been working with the automated installer this weekend which has left me some information to share and a couple of questions.
1 - Using the automated installer with Ubuntu 16.04 fails repeatedly. I've tried it several times on a freshly created Ubuntu 16.04 Server based virtual machine, always ending with a failure report in the terminal. Using the "-y" flag makes no difference when executing the script. The online documentation should be changed if this is a new problem. Someone else please do verify this behavior on Ubuntu 16.04 Server.
2 – Using the automated installer as a standard user account with sudo privileges does yield a successful installation under Ubuntu 18.04 Server and starts properly after the startup command is executed.
The browser login page presents fine for the default core tenant in Firefox and Google Chrome but I cannot login using the canned admin or reader accounts, it always says “the sign in failed”. Editing the postgresql user database and performing a full reboot has no effect, same “the sign in failed” error. I reused the encrypted password form my previous CollectionSpace 5.0 installation.
What did I miss?
Any help would be appreciated, thanks again everyone.
Ed Haardt
edmundhaardt@halosecuritysystems.com
Hi Ed,
Sorry, the documentation should have been updated to say Ubuntu 18.04 LTS -- I just changed it.
For the login, the first thing I'd try is to make a request to the REST API using basic auth, to see if that works. You can do this in the browser by going to http://{host}/cspace-services/collectionobjects, and enter the login when prompted by the browser. Or use curl on the command line:
curl -i -u {username}:{password} http://{host}/cspace-services/collectionobjects
You should get back some XML.
If that fails, there's a problem on the server side. Are there any error messages in catalina.out when you start up tomcat?
If that works, there's a problem with the UI. Are there any error messages in the browser's JavaScript console?
Ray
From: Talk talk-bounces@lists.collectionspace.org on behalf of edmundhaardt@halosecuritysystems.com edmundhaardt@halosecuritysystems.com
Sent: Saturday, April 13, 2019 2:12:13 PM
To: talk@lists.collectionspace.org
Subject: [Talk] Automated Installer Problems and Information
Hello everyone.
I've been working with the automated installer this weekend which has left me some information to share and a couple of questions.
1 - Using the automated installer with Ubuntu 16.04 fails repeatedly. I've tried it several times on a freshly created Ubuntu 16.04 Server based virtual machine, always ending with a failure report in the terminal. Using the "-y" flag makes no difference when executing the script. The online documentation should be changed if this is a new problem. Someone else please do verify this behavior on Ubuntu 16.04 Server.
2 – Using the automated installer as a standard user account with sudo privileges does yield a successful installation under Ubuntu 18.04 Server and starts properly after the startup command is executed.
The browser login page presents fine for the default core tenant in Firefox and Google Chrome but I cannot login using the canned admin or reader accounts, it always says “the sign in failed”. Editing the postgresql user database and performing a full reboot has no effect, same “the sign in failed” error. I reused the encrypted password form my previous CollectionSpace 5.0 installation.
What did I miss?
Any help would be appreciated, thanks again everyone.
Ed Haardt
edmundhaardt@halosecuritysystems.com