talk@lists.collectionspace.org

Targeted discussion among implementers and between implementers and the CollectionSpace development team

View all threads

Fw: collectionspace installation/login

MF
Megan Forbes
Thu, Apr 30, 2020 12:59 PM

Please see the below question from a new implementer - I've cc'd him on this as his note couldn't get through talk for some reason, so please include him on any response. Thanks!

Megan Forbes
CollectionSpace Program Manager
megan.forbes@lyrasis.org
917.267.9676 Cell
meganbforbes Skype


From: TJ toralf.jabs@gmail.com
Sent: Wednesday, April 29, 2020 5:37 PM
To: info@collectionspace.org
Subject: collectionspace installation/login

(i tried sending this to talk@collectionspace.org as suggested in the
DOCs but it could not be delivered)

I installed collection space (and apache) according to
https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/701465498/Installing+on+Ubuntu+LTS
and
https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/701465672/Add+Apache+TLS+SSL+landing+page+for+CollectionSpace
everything went smooth
but:
the link/url in the mentioned index.html is
http://home.collectionspace.lan/collectionspace/ui/core/html/index.html

but that doesn't work at all and gets me a 404

I changed that to
http://home.collectionspace.lan/cspace/core/login

that gives me the collectionspace demo page and refers to the login
"You should be able to log in to the default core tenant using the user
admin@core.collectionspace.org and the password Administrator."

but no matter if I try this or any other combination of admin@
the page says:

Sign in failed.

Any suggestion? Did I miss or overlook something?

Thank you and kind regards
Toralf

I also tried to verify the installion...

root@9201739f540c:/var/www/html# curl -i
http://localhost:8180/cspace-services/collectionobjects -u
admin@core.collectionspace.org:Administrator
HTTP/1.1 404
Content-Type: text/html;charset=utf-8
Content-Language: en
Content-Length: 1111
Date: Wed, 29 Apr 2020 21:06:31 GMT

<!doctype html><html lang="en"><head><title>HTTP Status 404 – Not
Found</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-
serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-
family:Tahoma,Arial,sans-serif;color:white;background-
color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-
serif;color:white;background-color:#525D76;font-size:14px;} body {font-
family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b
{font-family:Tahoma,Arial,sans-serif;color:white;background-
color:#525D76;} p {font-family:Tahoma,Arial,sans-
serif;background:white;color:black;font-size:12px;} a {color:black;}
a.name {color:black;} .line {height:1px;background-
color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404 –
Not Found</h1><hr class="line" /><p><b>Type</b> Status
Report</p><p><b>Message</b> /cspace-
services/collectionobjects</p><p><b>Description</b> The origin
server did not find a current representation for the target resource or
is not willing to disclose that one exists.</p><hr class="line" /><h3>Apache Tomcat/8.5.40</h3></body></html>


root@9201739f540c:/var/www/html# curl -i
http://localhost:8180/cspace/core/login -u
admin@core.collectionspace.org:Administrator

HTTP/1.1 200
Cache-Control: max-age=7200
Expires: Wed, 29 Apr 2020 23:05:32 GMT
Accept-Ranges: bytes
ETag: W/"276-1588188662000"
Last-Modified: Wed, 29 Apr 2020 19:31:02 GMT
Content-Type: text/html
Content-Length: 276
Date: Wed, 29 Apr 2020 21:05:32 GMT

<html> <head> <meta charset="UTF-8" /> </head> <body> <div id="cspace"></div> <script src="/cspace-ui/cspaceUI@3.1.2.min.js"></script <script> cspaceUI({ basename: '/cspace/core', prettyUrls: true, tenantId: '1', }); </script> </body> </html>
Please see the below question from a new implementer - I've cc'd him on this as his note couldn't get through talk for some reason, so please include him on any response. Thanks! Megan Forbes CollectionSpace Program Manager megan.forbes@lyrasis.org 917.267.9676 Cell meganbforbes Skype ________________________________________ From: TJ <toralf.jabs@gmail.com> Sent: Wednesday, April 29, 2020 5:37 PM To: info@collectionspace.org Subject: collectionspace installation/login (i tried sending this to talk@collectionspace.org as suggested in the DOCs but it could not be delivered) I installed collection space (and apache) according to https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/701465498/Installing+on+Ubuntu+LTS and https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/701465672/Add+Apache+TLS+SSL+landing+page+for+CollectionSpace everything went smooth but: the link/url in the mentioned index.html is http://home.collectionspace.lan/collectionspace/ui/core/html/index.html but that doesn't work at all and gets me a 404 I changed that to http://home.collectionspace.lan/cspace/core/login that gives me the collectionspace demo page and refers to the login "You should be able to log in to the default core tenant using the user admin@core.collectionspace.org and the password Administrator." but no matter if I try this or any other combination of admin@ the page says: Sign in failed. Any suggestion? Did I miss or overlook something? Thank you and kind regards Toralf I also tried to verify the installion... --------- root@9201739f540c:/var/www/html# curl -i http://localhost:8180/cspace-services/collectionobjects -u admin@core.collectionspace.org:Administrator HTTP/1.1 404 Content-Type: text/html;charset=utf-8 Content-Language: en Content-Length: 1111 Date: Wed, 29 Apr 2020 21:06:31 GMT <!doctype html><html lang="en"><head><title>HTTP Status 404 – Not Found</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans- serif;color:white;background-color:#525D76;font-size:22px;} h2 {font- family:Tahoma,Arial,sans-serif;color:white;background- color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans- serif;color:white;background-color:#525D76;font-size:14px;} body {font- family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background- color:#525D76;} p {font-family:Tahoma,Arial,sans- serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background- color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404 – Not Found</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> &#47;cspace- services&#47;collectionobjects</p><p><b>Description</b> The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.</p><hr class="line" /><h3>Apache Tomcat/8.5.40</h3></body></html> --------- root@9201739f540c:/var/www/html# curl -i http://localhost:8180/cspace/core/login -u admin@core.collectionspace.org:Administrator HTTP/1.1 200 Cache-Control: max-age=7200 Expires: Wed, 29 Apr 2020 23:05:32 GMT Accept-Ranges: bytes ETag: W/"276-1588188662000" Last-Modified: Wed, 29 Apr 2020 19:31:02 GMT Content-Type: text/html Content-Length: 276 Date: Wed, 29 Apr 2020 21:05:32 GMT <html> <head> <meta charset="UTF-8" /> </head> <body> <div id="cspace"></div> <script src="/cspace-ui/cspaceUI@3.1.2.min.js"></script <script> cspaceUI({ basename: '/cspace/core', prettyUrls: true, tenantId: '1', }); </script> </body> </html>
RL
Ray Lee
Thu, Apr 30, 2020 4:52 PM

Hi Toralf,
That usually means the server wasn't able to start up. Take a look at catalina.out in the logs directory under tomcat. Are there any exceptions or error messages?

Ray


From: Talk talk-bounces@lists.collectionspace.org on behalf of Megan Forbes megan.forbes@lyrasis.org
Sent: Thursday, April 30, 2020 8:59 AM
To: talk@lists.collectionspace.org
Cc: TJ
Subject: [Talk] Fw: collectionspace installation/login

Please see the below question from a new implementer - I've cc'd him on this as his note couldn't get through talk for some reason, so please include him on any response. Thanks!

Megan Forbes
CollectionSpace Program Manager
megan.forbes@lyrasis.org
917.267.9676 Cell
meganbforbes Skype


From: TJ toralf.jabs@gmail.com
Sent: Wednesday, April 29, 2020 5:37 PM
To: info@collectionspace.org
Subject: collectionspace installation/login

(i tried sending this to talk@collectionspace.org as suggested in the
DOCs but it could not be delivered)

I installed collection space (and apache) according to
https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/701465498/Installing+on+Ubuntu+LTS
and
https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/701465672/Add+Apache+TLS+SSL+landing+page+for+CollectionSpace
everything went smooth
but:
the link/url in the mentioned index.html is
http://home.collectionspace.lan/collectionspace/ui/core/html/index.html

but that doesn't work at all and gets me a 404

I changed that to
http://home.collectionspace.lan/cspace/core/login

that gives me the collectionspace demo page and refers to the login
"You should be able to log in to the default core tenant using the user
admin@core.collectionspace.org and the password Administrator."

but no matter if I try this or any other combination of admin@
the page says:

Sign in failed.

Any suggestion? Did I miss or overlook something?

Thank you and kind regards
Toralf

I also tried to verify the installion...

root@9201739f540c:/var/www/html# curl -i
http://localhost:8180/cspace-services/collectionobjects -u
admin@core.collectionspace.org:Administrator
HTTP/1.1 404
Content-Type: text/html;charset=utf-8
Content-Language: en
Content-Length: 1111
Date: Wed, 29 Apr 2020 21:06:31 GMT

<!doctype html><html lang="en"><head><title>HTTP Status 404 – Not
Found</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-
serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-
family:Tahoma,Arial,sans-serif;color:white;background-
color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-
serif;color:white;background-color:#525D76;font-size:14px;} body {font-
family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b
{font-family:Tahoma,Arial,sans-serif;color:white;background-
color:#525D76;} p {font-family:Tahoma,Arial,sans-
serif;background:white;color:black;font-size:12px;} a {color:black;}
a.name {color:black;} .line {height:1px;background-
color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404 –
Not Found</h1><hr class="line" /><p><b>Type</b> Status
Report</p><p><b>Message</b> /cspace-
services/collectionobjects</p><p><b>Description</b> The origin
server did not find a current representation for the target resource or
is not willing to disclose that one exists.</p><hr class="line" /><h3>Apache Tomcat/8.5.40</h3></body></html>


root@9201739f540c:/var/www/html# curl -i
http://localhost:8180/cspace/core/login -u
admin@core.collectionspace.org:Administrator

HTTP/1.1 200
Cache-Control: max-age=7200
Expires: Wed, 29 Apr 2020 23:05:32 GMT
Accept-Ranges: bytes
ETag: W/"276-1588188662000"
Last-Modified: Wed, 29 Apr 2020 19:31:02 GMT
Content-Type: text/html
Content-Length: 276
Date: Wed, 29 Apr 2020 21:05:32 GMT

<html> <head> <meta charset="UTF-8" /> </head> <body> <div id="cspace"></div> <script src="/cspace-ui/cspaceUI@3.1.2.min.js"></script <script> cspaceUI({ basename: '/cspace/core', prettyUrls: true, tenantId: '1', }); </script> </body> </html>
Hi Toralf, That usually means the server wasn't able to start up. Take a look at catalina.out in the logs directory under tomcat. Are there any exceptions or error messages? Ray ________________________________________ From: Talk <talk-bounces@lists.collectionspace.org> on behalf of Megan Forbes <megan.forbes@lyrasis.org> Sent: Thursday, April 30, 2020 8:59 AM To: talk@lists.collectionspace.org Cc: TJ Subject: [Talk] Fw: collectionspace installation/login Please see the below question from a new implementer - I've cc'd him on this as his note couldn't get through talk for some reason, so please include him on any response. Thanks! Megan Forbes CollectionSpace Program Manager megan.forbes@lyrasis.org 917.267.9676 Cell meganbforbes Skype ________________________________________ From: TJ <toralf.jabs@gmail.com> Sent: Wednesday, April 29, 2020 5:37 PM To: info@collectionspace.org Subject: collectionspace installation/login (i tried sending this to talk@collectionspace.org as suggested in the DOCs but it could not be delivered) I installed collection space (and apache) according to https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/701465498/Installing+on+Ubuntu+LTS and https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/701465672/Add+Apache+TLS+SSL+landing+page+for+CollectionSpace everything went smooth but: the link/url in the mentioned index.html is http://home.collectionspace.lan/collectionspace/ui/core/html/index.html but that doesn't work at all and gets me a 404 I changed that to http://home.collectionspace.lan/cspace/core/login that gives me the collectionspace demo page and refers to the login "You should be able to log in to the default core tenant using the user admin@core.collectionspace.org and the password Administrator." but no matter if I try this or any other combination of admin@ the page says: Sign in failed. Any suggestion? Did I miss or overlook something? Thank you and kind regards Toralf I also tried to verify the installion... --------- root@9201739f540c:/var/www/html# curl -i http://localhost:8180/cspace-services/collectionobjects -u admin@core.collectionspace.org:Administrator HTTP/1.1 404 Content-Type: text/html;charset=utf-8 Content-Language: en Content-Length: 1111 Date: Wed, 29 Apr 2020 21:06:31 GMT <!doctype html><html lang="en"><head><title>HTTP Status 404 – Not Found</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans- serif;color:white;background-color:#525D76;font-size:22px;} h2 {font- family:Tahoma,Arial,sans-serif;color:white;background- color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans- serif;color:white;background-color:#525D76;font-size:14px;} body {font- family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background- color:#525D76;} p {font-family:Tahoma,Arial,sans- serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background- color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404 – Not Found</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> &#47;cspace- services&#47;collectionobjects</p><p><b>Description</b> The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.</p><hr class="line" /><h3>Apache Tomcat/8.5.40</h3></body></html> --------- root@9201739f540c:/var/www/html# curl -i http://localhost:8180/cspace/core/login -u admin@core.collectionspace.org:Administrator HTTP/1.1 200 Cache-Control: max-age=7200 Expires: Wed, 29 Apr 2020 23:05:32 GMT Accept-Ranges: bytes ETag: W/"276-1588188662000" Last-Modified: Wed, 29 Apr 2020 19:31:02 GMT Content-Type: text/html Content-Length: 276 Date: Wed, 29 Apr 2020 21:05:32 GMT <html> <head> <meta charset="UTF-8" /> </head> <body> <div id="cspace"></div> <script src="/cspace-ui/cspaceUI@3.1.2.min.js"></script <script> cspaceUI({ basename: '/cspace/core', prettyUrls: true, tenantId: '1', }); </script> </body> </html>
T
TJ
Thu, Apr 30, 2020 5:57 PM

Hello,

yes indeed cspace-services doesnt start, first i said it could create
convertcache, but the directory exists, so i deleted it and restarted
and now it says something about nuxeo-schemas

root@9201739f540c:/usr/local/share/apache-tomcat-8.5.40/logs# grep -A1
ERR cspace-services.log
2020-04-29 21:52:23,014 ERROR [localhost-startStop-1]
[org.nuxeo.osgi.OSGiAdapter:226] Error during Framework Listener
execution : class org.nuxeo.runtime.osgi.OSGiRuntimeService
org.nuxeo.ecm.core.api.NuxeoException: Cannot create cache dir
/usr/local/share/apache-tomcat-8.5.40/nuxeo-server/data/convertcache

2020-04-29 21:52:23,147 ERROR [localhost-startStop-1]
[org.collectionspace.services.nuxeo.client.java.NuxeoConnectorEmbedded:
137] No repository defined
2020-04-29 21:52:28,564 WARN  [localhost-startStop-1]
[org.apache.catalina.util.SessionIdGeneratorBase:123] Creation of
SecureRandom instance for session ID generation using [SHA1PRNG] took
[5,003] milliseconds.

2020-04-29 21:56:29,647 ERROR [localhost-startStop-1]
[org.nuxeo.osgi.OSGiAdapter:226] Error during Framework Listener
execution : class org.nuxeo.runtime.osgi.OSGiRuntimeService
java.lang.RuntimeException: java.io.IOException: Failed to list
contents of /usr/local/share/apache-tomcat-8.5.40/nuxeo-
server/tmp/schemas

On Thu, 2020-04-30 at 16:52 +0000, Ray Lee wrote:

Hi Toralf,
That usually means the server wasn't able to start up. Take a look at
catalina.out in the logs directory under tomcat. Are there any
exceptions or error messages?

Ray


From: Talk talk-bounces@lists.collectionspace.org on behalf of
Megan Forbes megan.forbes@lyrasis.org
Sent: Thursday, April 30, 2020 8:59 AM
To: talk@lists.collectionspace.org
Cc: TJ
Subject: [Talk] Fw: collectionspace installation/login

Please see the below question from a new implementer - I've cc'd him
on this as his note couldn't get through talk for some reason, so
please include him on any response. Thanks!

Megan Forbes
CollectionSpace Program Manager
megan.forbes@lyrasis.org
917.267.9676 Cell
meganbforbes Skype


From: TJ toralf.jabs@gmail.com
Sent: Wednesday, April 29, 2020 5:37 PM
To: info@collectionspace.org
Subject: collectionspace installation/login

(i tried sending this to talk@collectionspace.org as suggested in the
DOCs but it could not be delivered)

I installed collection space (and apache) according to
https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/701465498/Installing+on+Ubuntu+LTS
and
https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/701465672/Add+Apache+TLS+SSL+landing+page+for+CollectionSpace
everything went smooth
but:
the link/url in the mentioned index.html is
http://home.collectionspace.lan/collectionspace/ui/core/html/index.html

but that doesn't work at all and gets me a 404

I changed that to
http://home.collectionspace.lan/cspace/core/login

that gives me the collectionspace demo page and refers to the login
"You should be able to log in to the default core tenant using the
user
admin@core.collectionspace.org and the password Administrator."

but no matter if I try this or any other combination of admin@
the page says:

Sign in failed.

Any suggestion? Did I miss or overlook something?

Thank you and kind regards
Toralf

I also tried to verify the installion...

root@9201739f540c:/var/www/html# curl -i
http://localhost:8180/cspace-services/collectionobjects -u
admin@core.collectionspace.org:Administrator
HTTP/1.1 404
Content-Type: text/html;charset=utf-8
Content-Language: en
Content-Length: 1111
Date: Wed, 29 Apr 2020 21:06:31 GMT

<!doctype html><html lang="en"><head><title>HTTP Status 404 – Not
Found</title><style type="text/css">h1 {font-
family:Tahoma,Arial,sans-
serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-
family:Tahoma,Arial,sans-serif;color:white;background-
color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-
serif;color:white;background-color:#525D76;font-size:14px;} body
{font-
family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b
{font-family:Tahoma,Arial,sans-serif;color:white;background-
color:#525D76;} p {font-family:Tahoma,Arial,sans-
serif;background:white;color:black;font-size:12px;} a {color:black;}
a.name {color:black;} .line {height:1px;background-
color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404 –
Not Found</h1><hr class="line" /><p><b>Type</b> Status
Report</p><p><b>Message</b> /cspace-
services/collectionobjects</p><p><b>Description</b> The origin
server did not find a current representation for the target resource
or
is not willing to disclose that one exists.</p><hr class="line" /><h3>Apache Tomcat/8.5.40</h3></body></html>


root@9201739f540c:/var/www/html# curl -i
http://localhost:8180/cspace/core/login -u
admin@core.collectionspace.org:Administrator

HTTP/1.1 200
Cache-Control: max-age=7200
Expires: Wed, 29 Apr 2020 23:05:32 GMT
Accept-Ranges: bytes
ETag: W/"276-1588188662000"
Last-Modified: Wed, 29 Apr 2020 19:31:02 GMT
Content-Type: text/html
Content-Length: 276
Date: Wed, 29 Apr 2020 21:05:32 GMT

<html> <head> <meta charset="UTF-8" /> </head> <body> <div id="cspace"></div> <script src="/cspace-ui/cspaceUI@3.1.2.min.js"></scri pt <script> cspaceUI({ basename: '/cspace/core', prettyUrls: true, tenantId: '1', }); </script> </body> </html>
Hello, yes indeed cspace-services doesnt start, first i said it could create convertcache, but the directory exists, so i deleted it and restarted and now it says something about nuxeo-schemas root@9201739f540c:/usr/local/share/apache-tomcat-8.5.40/logs# grep -A1 ERR cspace-services.log 2020-04-29 21:52:23,014 ERROR [localhost-startStop-1] [org.nuxeo.osgi.OSGiAdapter:226] Error during Framework Listener execution : class org.nuxeo.runtime.osgi.OSGiRuntimeService org.nuxeo.ecm.core.api.NuxeoException: Cannot create cache dir /usr/local/share/apache-tomcat-8.5.40/nuxeo-server/data/convertcache -- 2020-04-29 21:52:23,147 ERROR [localhost-startStop-1] [org.collectionspace.services.nuxeo.client.java.NuxeoConnectorEmbedded: 137] No repository defined 2020-04-29 21:52:28,564 WARN [localhost-startStop-1] [org.apache.catalina.util.SessionIdGeneratorBase:123] Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [5,003] milliseconds. -- 2020-04-29 21:56:29,647 ERROR [localhost-startStop-1] [org.nuxeo.osgi.OSGiAdapter:226] Error during Framework Listener execution : class org.nuxeo.runtime.osgi.OSGiRuntimeService java.lang.RuntimeException: java.io.IOException: Failed to list contents of /usr/local/share/apache-tomcat-8.5.40/nuxeo- server/tmp/schemas On Thu, 2020-04-30 at 16:52 +0000, Ray Lee wrote: > Hi Toralf, > That usually means the server wasn't able to start up. Take a look at > catalina.out in the logs directory under tomcat. Are there any > exceptions or error messages? > > Ray > > ________________________________________ > From: Talk <talk-bounces@lists.collectionspace.org> on behalf of > Megan Forbes <megan.forbes@lyrasis.org> > Sent: Thursday, April 30, 2020 8:59 AM > To: talk@lists.collectionspace.org > Cc: TJ > Subject: [Talk] Fw: collectionspace installation/login > > Please see the below question from a new implementer - I've cc'd him > on this as his note couldn't get through talk for some reason, so > please include him on any response. Thanks! > > Megan Forbes > CollectionSpace Program Manager > megan.forbes@lyrasis.org > 917.267.9676 Cell > meganbforbes Skype > > > > ________________________________________ > From: TJ <toralf.jabs@gmail.com> > Sent: Wednesday, April 29, 2020 5:37 PM > To: info@collectionspace.org > Subject: collectionspace installation/login > > (i tried sending this to talk@collectionspace.org as suggested in the > DOCs but it could not be delivered) > > I installed collection space (and apache) according to > https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/701465498/Installing+on+Ubuntu+LTS > and > https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/701465672/Add+Apache+TLS+SSL+landing+page+for+CollectionSpace > everything went smooth > but: > the link/url in the mentioned index.html is > http://home.collectionspace.lan/collectionspace/ui/core/html/index.html > > but that doesn't work at all and gets me a 404 > > I changed that to > http://home.collectionspace.lan/cspace/core/login > > that gives me the collectionspace demo page and refers to the login > "You should be able to log in to the default core tenant using the > user > admin@core.collectionspace.org and the password Administrator." > > but no matter if I try this or any other combination of admin@ > the page says: > > Sign in failed. > > Any suggestion? Did I miss or overlook something? > > Thank you and kind regards > Toralf > > > I also tried to verify the installion... > --------- > root@9201739f540c:/var/www/html# curl -i > http://localhost:8180/cspace-services/collectionobjects -u > admin@core.collectionspace.org:Administrator > HTTP/1.1 404 > Content-Type: text/html;charset=utf-8 > Content-Language: en > Content-Length: 1111 > Date: Wed, 29 Apr 2020 21:06:31 GMT > > <!doctype html><html lang="en"><head><title>HTTP Status 404 – Not > Found</title><style type="text/css">h1 {font- > family:Tahoma,Arial,sans- > serif;color:white;background-color:#525D76;font-size:22px;} h2 {font- > family:Tahoma,Arial,sans-serif;color:white;background- > color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans- > serif;color:white;background-color:#525D76;font-size:14px;} body > {font- > family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b > {font-family:Tahoma,Arial,sans-serif;color:white;background- > color:#525D76;} p {font-family:Tahoma,Arial,sans- > serif;background:white;color:black;font-size:12px;} a {color:black;} > a.name {color:black;} .line {height:1px;background- > color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404 – > Not Found</h1><hr class="line" /><p><b>Type</b> Status > Report</p><p><b>Message</b> &#47;cspace- > services&#47;collectionobjects</p><p><b>Description</b> The origin > server did not find a current representation for the target resource > or > is not willing to disclose that one exists.</p><hr class="line" > /><h3>Apache Tomcat/8.5.40</h3></body></html> > > --------- > root@9201739f540c:/var/www/html# curl -i > http://localhost:8180/cspace/core/login -u > admin@core.collectionspace.org:Administrator > > HTTP/1.1 200 > Cache-Control: max-age=7200 > Expires: Wed, 29 Apr 2020 23:05:32 GMT > Accept-Ranges: bytes > ETag: W/"276-1588188662000" > Last-Modified: Wed, 29 Apr 2020 19:31:02 GMT > Content-Type: text/html > Content-Length: 276 > Date: Wed, 29 Apr 2020 21:05:32 GMT > > <html> > <head> > <meta charset="UTF-8" /> > </head> > <body> > <div id="cspace"></div> > <script src="/cspace-ui/cspaceUI@3.1.2.min.js"></scri > pt > <script> > cspaceUI({ > basename: '/cspace/core', > prettyUrls: true, > tenantId: '1', > }); > </script> > </body> > </html> >
RL
Ray Lee
Fri, May 1, 2020 8:39 PM

Hi Toralf,
My first thought is that there's a permissions problem. Is everything in the tomcat directory owned by the user that runs tomcat (typically named cspace)?

Ray


From: TJ toralf.jabs@gmail.com
Sent: Thursday, April 30, 2020 1:57 PM
To: Ray Lee; Megan Forbes; talk@lists.collectionspace.org
Subject: Re: collectionspace installation/login

Hello,

yes indeed cspace-services doesnt start, first i said it could create
convertcache, but the directory exists, so i deleted it and restarted
and now it says something about nuxeo-schemas

root@9201739f540c:/usr/local/share/apache-tomcat-8.5.40/logs# grep -A1
ERR cspace-services.log
2020-04-29 21:52:23,014 ERROR [localhost-startStop-1]
[org.nuxeo.osgi.OSGiAdapter:226] Error during Framework Listener
execution : class org.nuxeo.runtime.osgi.OSGiRuntimeService
org.nuxeo.ecm.core.api.NuxeoException: Cannot create cache dir
/usr/local/share/apache-tomcat-8.5.40/nuxeo-server/data/convertcache

2020-04-29 21:52:23,147 ERROR [localhost-startStop-1]
[org.collectionspace.services.nuxeo.client.java.NuxeoConnectorEmbedded:
137] No repository defined
2020-04-29 21:52:28,564 WARN  [localhost-startStop-1]
[org.apache.catalina.util.SessionIdGeneratorBase:123] Creation of
SecureRandom instance for session ID generation using [SHA1PRNG] took
[5,003] milliseconds.

2020-04-29 21:56:29,647 ERROR [localhost-startStop-1]
[org.nuxeo.osgi.OSGiAdapter:226] Error during Framework Listener
execution : class org.nuxeo.runtime.osgi.OSGiRuntimeService
java.lang.RuntimeException: java.io.IOException: Failed to list
contents of /usr/local/share/apache-tomcat-8.5.40/nuxeo-
server/tmp/schemas

On Thu, 2020-04-30 at 16:52 +0000, Ray Lee wrote:

Hi Toralf,
That usually means the server wasn't able to start up. Take a look at
catalina.out in the logs directory under tomcat. Are there any
exceptions or error messages?

Ray


From: Talk talk-bounces@lists.collectionspace.org on behalf of
Megan Forbes megan.forbes@lyrasis.org
Sent: Thursday, April 30, 2020 8:59 AM
To: talk@lists.collectionspace.org
Cc: TJ
Subject: [Talk] Fw: collectionspace installation/login

Please see the below question from a new implementer - I've cc'd him
on this as his note couldn't get through talk for some reason, so
please include him on any response. Thanks!

Megan Forbes
CollectionSpace Program Manager
megan.forbes@lyrasis.org
917.267.9676 Cell
meganbforbes Skype


From: TJ toralf.jabs@gmail.com
Sent: Wednesday, April 29, 2020 5:37 PM
To: info@collectionspace.org
Subject: collectionspace installation/login

(i tried sending this to talk@collectionspace.org as suggested in the
DOCs but it could not be delivered)

I installed collection space (and apache) according to
https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/701465498/Installing+on+Ubuntu+LTS
and
https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/701465672/Add+Apache+TLS+SSL+landing+page+for+CollectionSpace
everything went smooth
but:
the link/url in the mentioned index.html is
http://home.collectionspace.lan/collectionspace/ui/core/html/index.html

but that doesn't work at all and gets me a 404

I changed that to
http://home.collectionspace.lan/cspace/core/login

that gives me the collectionspace demo page and refers to the login
"You should be able to log in to the default core tenant using the
user
admin@core.collectionspace.org and the password Administrator."

but no matter if I try this or any other combination of admin@
the page says:

Sign in failed.

Any suggestion? Did I miss or overlook something?

Thank you and kind regards
Toralf

I also tried to verify the installion...

root@9201739f540c:/var/www/html# curl -i
http://localhost:8180/cspace-services/collectionobjects -u
admin@core.collectionspace.org:Administrator
HTTP/1.1 404
Content-Type: text/html;charset=utf-8
Content-Language: en
Content-Length: 1111
Date: Wed, 29 Apr 2020 21:06:31 GMT

<!doctype html><html lang="en"><head><title>HTTP Status 404 – Not
Found</title><style type="text/css">h1 {font-
family:Tahoma,Arial,sans-
serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-
family:Tahoma,Arial,sans-serif;color:white;background-
color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-
serif;color:white;background-color:#525D76;font-size:14px;} body
{font-
family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b
{font-family:Tahoma,Arial,sans-serif;color:white;background-
color:#525D76;} p {font-family:Tahoma,Arial,sans-
serif;background:white;color:black;font-size:12px;} a {color:black;}
a.name {color:black;} .line {height:1px;background-
color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404 –
Not Found</h1><hr class="line" /><p><b>Type</b> Status
Report</p><p><b>Message</b> /cspace-
services/collectionobjects</p><p><b>Description</b> The origin
server did not find a current representation for the target resource
or
is not willing to disclose that one exists.</p><hr class="line" /><h3>Apache Tomcat/8.5.40</h3></body></html>


root@9201739f540c:/var/www/html# curl -i
http://localhost:8180/cspace/core/login -u
admin@core.collectionspace.org:Administrator

HTTP/1.1 200
Cache-Control: max-age=7200
Expires: Wed, 29 Apr 2020 23:05:32 GMT
Accept-Ranges: bytes
ETag: W/"276-1588188662000"
Last-Modified: Wed, 29 Apr 2020 19:31:02 GMT
Content-Type: text/html
Content-Length: 276
Date: Wed, 29 Apr 2020 21:05:32 GMT

<html> <head> <meta charset="UTF-8" /> </head> <body> <div id="cspace"></div> <script src="/cspace-ui/cspaceUI@3.1.2.min.js"></scri pt <script> cspaceUI({ basename: '/cspace/core', prettyUrls: true, tenantId: '1', }); </script> </body> </html>
Hi Toralf, My first thought is that there's a permissions problem. Is everything in the tomcat directory owned by the user that runs tomcat (typically named cspace)? Ray ________________________________________ From: TJ <toralf.jabs@gmail.com> Sent: Thursday, April 30, 2020 1:57 PM To: Ray Lee; Megan Forbes; talk@lists.collectionspace.org Subject: Re: collectionspace installation/login Hello, yes indeed cspace-services doesnt start, first i said it could create convertcache, but the directory exists, so i deleted it and restarted and now it says something about nuxeo-schemas root@9201739f540c:/usr/local/share/apache-tomcat-8.5.40/logs# grep -A1 ERR cspace-services.log 2020-04-29 21:52:23,014 ERROR [localhost-startStop-1] [org.nuxeo.osgi.OSGiAdapter:226] Error during Framework Listener execution : class org.nuxeo.runtime.osgi.OSGiRuntimeService org.nuxeo.ecm.core.api.NuxeoException: Cannot create cache dir /usr/local/share/apache-tomcat-8.5.40/nuxeo-server/data/convertcache -- 2020-04-29 21:52:23,147 ERROR [localhost-startStop-1] [org.collectionspace.services.nuxeo.client.java.NuxeoConnectorEmbedded: 137] No repository defined 2020-04-29 21:52:28,564 WARN [localhost-startStop-1] [org.apache.catalina.util.SessionIdGeneratorBase:123] Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [5,003] milliseconds. -- 2020-04-29 21:56:29,647 ERROR [localhost-startStop-1] [org.nuxeo.osgi.OSGiAdapter:226] Error during Framework Listener execution : class org.nuxeo.runtime.osgi.OSGiRuntimeService java.lang.RuntimeException: java.io.IOException: Failed to list contents of /usr/local/share/apache-tomcat-8.5.40/nuxeo- server/tmp/schemas On Thu, 2020-04-30 at 16:52 +0000, Ray Lee wrote: > Hi Toralf, > That usually means the server wasn't able to start up. Take a look at > catalina.out in the logs directory under tomcat. Are there any > exceptions or error messages? > > Ray > > ________________________________________ > From: Talk <talk-bounces@lists.collectionspace.org> on behalf of > Megan Forbes <megan.forbes@lyrasis.org> > Sent: Thursday, April 30, 2020 8:59 AM > To: talk@lists.collectionspace.org > Cc: TJ > Subject: [Talk] Fw: collectionspace installation/login > > Please see the below question from a new implementer - I've cc'd him > on this as his note couldn't get through talk for some reason, so > please include him on any response. Thanks! > > Megan Forbes > CollectionSpace Program Manager > megan.forbes@lyrasis.org > 917.267.9676 Cell > meganbforbes Skype > > > > ________________________________________ > From: TJ <toralf.jabs@gmail.com> > Sent: Wednesday, April 29, 2020 5:37 PM > To: info@collectionspace.org > Subject: collectionspace installation/login > > (i tried sending this to talk@collectionspace.org as suggested in the > DOCs but it could not be delivered) > > I installed collection space (and apache) according to > https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/701465498/Installing+on+Ubuntu+LTS > and > https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/701465672/Add+Apache+TLS+SSL+landing+page+for+CollectionSpace > everything went smooth > but: > the link/url in the mentioned index.html is > http://home.collectionspace.lan/collectionspace/ui/core/html/index.html > > but that doesn't work at all and gets me a 404 > > I changed that to > http://home.collectionspace.lan/cspace/core/login > > that gives me the collectionspace demo page and refers to the login > "You should be able to log in to the default core tenant using the > user > admin@core.collectionspace.org and the password Administrator." > > but no matter if I try this or any other combination of admin@ > the page says: > > Sign in failed. > > Any suggestion? Did I miss or overlook something? > > Thank you and kind regards > Toralf > > > I also tried to verify the installion... > --------- > root@9201739f540c:/var/www/html# curl -i > http://localhost:8180/cspace-services/collectionobjects -u > admin@core.collectionspace.org:Administrator > HTTP/1.1 404 > Content-Type: text/html;charset=utf-8 > Content-Language: en > Content-Length: 1111 > Date: Wed, 29 Apr 2020 21:06:31 GMT > > <!doctype html><html lang="en"><head><title>HTTP Status 404 – Not > Found</title><style type="text/css">h1 {font- > family:Tahoma,Arial,sans- > serif;color:white;background-color:#525D76;font-size:22px;} h2 {font- > family:Tahoma,Arial,sans-serif;color:white;background- > color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans- > serif;color:white;background-color:#525D76;font-size:14px;} body > {font- > family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b > {font-family:Tahoma,Arial,sans-serif;color:white;background- > color:#525D76;} p {font-family:Tahoma,Arial,sans- > serif;background:white;color:black;font-size:12px;} a {color:black;} > a.name {color:black;} .line {height:1px;background- > color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404 – > Not Found</h1><hr class="line" /><p><b>Type</b> Status > Report</p><p><b>Message</b> &#47;cspace- > services&#47;collectionobjects</p><p><b>Description</b> The origin > server did not find a current representation for the target resource > or > is not willing to disclose that one exists.</p><hr class="line" > /><h3>Apache Tomcat/8.5.40</h3></body></html> > > --------- > root@9201739f540c:/var/www/html# curl -i > http://localhost:8180/cspace/core/login -u > admin@core.collectionspace.org:Administrator > > HTTP/1.1 200 > Cache-Control: max-age=7200 > Expires: Wed, 29 Apr 2020 23:05:32 GMT > Accept-Ranges: bytes > ETag: W/"276-1588188662000" > Last-Modified: Wed, 29 Apr 2020 19:31:02 GMT > Content-Type: text/html > Content-Length: 276 > Date: Wed, 29 Apr 2020 21:05:32 GMT > > <html> > <head> > <meta charset="UTF-8" /> > </head> > <body> > <div id="cspace"></div> > <script src="/cspace-ui/cspaceUI@3.1.2.min.js"></scri > pt > <script> > cspaceUI({ > basename: '/cspace/core', > prettyUrls: true, > tenantId: '1', > }); > </script> > </body> > </html> >
T
TJ
Fri, May 1, 2020 8:52 PM

hello,

yes permissions and such all were fine.
I gave up on the manual install and tried the ansible procedure
it got me a bit further but cspace-services could not start due to

  • the user cspace_default was not in the db
  • the database cspace_default was not created

I tried to create them both via the scripts in
tomcat.../cspace/services/db/postgres/*.sql

Q: how are they supposed to get created normally?

but now cspace-services.log gives me

2020-05-01 18:35:41,999 ERROR [localhost-startStop-1]
[org.collectionspace.services.common.ServiceMain:266] Default
create/update of tenants, accounts, roles and permissions setup failed
with exception(s): One or more of the required default CollectionSpace
administrator roles is missing or was never created.
java.lang.RuntimeException: One or more of the required default
CollectionSpace administrator roles is missing or was never created.

Kind regards
Toralf

On Fri, 2020-05-01 at 20:39 +0000, Ray Lee wrote:

Hi Toralf,
My first thought is that there's a permissions problem. Is everything
in the tomcat directory owned by the user that runs tomcat (typically
named cspace)?

Ray


From: TJ toralf.jabs@gmail.com
Sent: Thursday, April 30, 2020 1:57 PM
To: Ray Lee; Megan Forbes; talk@lists.collectionspace.org
Subject: Re: collectionspace installation/login

Hello,

yes indeed cspace-services doesnt start, first i said it could create
convertcache, but the directory exists, so i deleted it and restarted
and now it says something about nuxeo-schemas

root@9201739f540c:/usr/local/share/apache-tomcat-8.5.40/logs# grep
-A1
ERR cspace-services.log
2020-04-29 21:52:23,014 ERROR [localhost-startStop-1]
[org.nuxeo.osgi.OSGiAdapter:226] Error during Framework Listener
execution : class org.nuxeo.runtime.osgi.OSGiRuntimeService
org.nuxeo.ecm.core.api.NuxeoException: Cannot create cache dir
/usr/local/share/apache-tomcat-8.5.40/nuxeo-server/data/convertcache

2020-04-29 21:52:23,147 ERROR [localhost-startStop-1]
[org.collectionspace.services.nuxeo.client.java.NuxeoConnectorEmbedde
d:
137] No repository defined
2020-04-29 21:52:28,564 WARN  [localhost-startStop-1]
[org.apache.catalina.util.SessionIdGeneratorBase:123] Creation of
SecureRandom instance for session ID generation using [SHA1PRNG] took
[5,003] milliseconds.

2020-04-29 21:56:29,647 ERROR [localhost-startStop-1]
[org.nuxeo.osgi.OSGiAdapter:226] Error during Framework Listener
execution : class org.nuxeo.runtime.osgi.OSGiRuntimeService
java.lang.RuntimeException: java.io.IOException: Failed to list
contents of /usr/local/share/apache-tomcat-8.5.40/nuxeo-
server/tmp/schemas

On Thu, 2020-04-30 at 16:52 +0000, Ray Lee wrote:

Hi Toralf,
That usually means the server wasn't able to start up. Take a look
at
catalina.out in the logs directory under tomcat. Are there any
exceptions or error messages?

Ray


From: Talk talk-bounces@lists.collectionspace.org on behalf of
Megan Forbes megan.forbes@lyrasis.org
Sent: Thursday, April 30, 2020 8:59 AM
To: talk@lists.collectionspace.org
Cc: TJ
Subject: [Talk] Fw: collectionspace installation/login

Please see the below question from a new implementer - I've cc'd
him
on this as his note couldn't get through talk for some reason, so
please include him on any response. Thanks!

Megan Forbes
CollectionSpace Program Manager
megan.forbes@lyrasis.org
917.267.9676 Cell
meganbforbes Skype


From: TJ toralf.jabs@gmail.com
Sent: Wednesday, April 29, 2020 5:37 PM
To: info@collectionspace.org
Subject: collectionspace installation/login

(i tried sending this to talk@collectionspace.org as suggested in
the
DOCs but it could not be delivered)

I installed collection space (and apache) according to
https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/701465498/Installing+on+Ubuntu+LTS
and
https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/701465672/Add+Apache+TLS+SSL+landing+page+for+CollectionSpace
everything went smooth
but:
the link/url in the mentioned index.html is
http://home.collectionspace.lan/collectionspace/ui/core/html/index.html

but that doesn't work at all and gets me a 404

I changed that to
http://home.collectionspace.lan/cspace/core/login

that gives me the collectionspace demo page and refers to the login
"You should be able to log in to the default core tenant using the
user
admin@core.collectionspace.org and the password Administrator."

but no matter if I try this or any other combination of admin@
the page says:

Sign in failed.

Any suggestion? Did I miss or overlook something?

Thank you and kind regards
Toralf

I also tried to verify the installion...

root@9201739f540c:/var/www/html# curl -i
http://localhost:8180/cspace-services/collectionobjects -u
admin@core.collectionspace.org:Administrator
HTTP/1.1 404
Content-Type: text/html;charset=utf-8
Content-Language: en
Content-Length: 1111
Date: Wed, 29 Apr 2020 21:06:31 GMT

<!doctype html><html lang="en"><head><title>HTTP Status 404 – Not
Found</title><style type="text/css">h1 {font-
family:Tahoma,Arial,sans-
serif;color:white;background-color:#525D76;font-size:22px;} h2
{font-
family:Tahoma,Arial,sans-serif;color:white;background-
color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-
serif;color:white;background-color:#525D76;font-size:14px;} body
{font-
family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
b
{font-family:Tahoma,Arial,sans-serif;color:white;background-
color:#525D76;} p {font-family:Tahoma,Arial,sans-
serif;background:white;color:black;font-size:12px;} a
{color:black;}
a.name {color:black;} .line {height:1px;background-
color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404

Not Found</h1><hr class="line" /><p><b>Type</b> Status
Report</p><p><b>Message</b> /cspace-
services/collectionobjects</p><p><b>Description</b> The origin
server did not find a current representation for the target
resource
or
is not willing to disclose that one exists.</p><hr class="line" /><h3>Apache Tomcat/8.5.40</h3></body></html>


root@9201739f540c:/var/www/html# curl -i
http://localhost:8180/cspace/core/login -u
admin@core.collectionspace.org:Administrator

HTTP/1.1 200
Cache-Control: max-age=7200
Expires: Wed, 29 Apr 2020 23:05:32 GMT
Accept-Ranges: bytes
ETag: W/"276-1588188662000"
Last-Modified: Wed, 29 Apr 2020 19:31:02 GMT
Content-Type: text/html
Content-Length: 276
Date: Wed, 29 Apr 2020 21:05:32 GMT

<html> <head> <meta charset="UTF-8" /> </head> <body> <div id="cspace"></div> <script src="/cspace-ui/cspaceUI@3.1.2.min.js"></sc ri pt <script> cspaceUI({ basename: '/cspace/core', prettyUrls: true, tenantId: '1', }); </script> </body> </html>
hello, yes permissions and such all were fine. I gave up on the manual install and tried the ansible procedure it got me a bit further but cspace-services could not start due to - the user cspace_default was not in the db - the database cspace_default was not created I tried to create them both via the scripts in tomcat.../cspace/services/db/postgres/*.sql Q: how are they supposed to get created normally? but now cspace-services.log gives me 2020-05-01 18:35:41,999 ERROR [localhost-startStop-1] [org.collectionspace.services.common.ServiceMain:266] Default create/update of tenants, accounts, roles and permissions setup failed with exception(s): One or more of the required default CollectionSpace administrator roles is missing or was never created. java.lang.RuntimeException: One or more of the required default CollectionSpace administrator roles is missing or was never created. Kind regards Toralf On Fri, 2020-05-01 at 20:39 +0000, Ray Lee wrote: > Hi Toralf, > My first thought is that there's a permissions problem. Is everything > in the tomcat directory owned by the user that runs tomcat (typically > named cspace)? > > Ray > > ________________________________________ > From: TJ <toralf.jabs@gmail.com> > Sent: Thursday, April 30, 2020 1:57 PM > To: Ray Lee; Megan Forbes; talk@lists.collectionspace.org > Subject: Re: collectionspace installation/login > > Hello, > > yes indeed cspace-services doesnt start, first i said it could create > convertcache, but the directory exists, so i deleted it and restarted > and now it says something about nuxeo-schemas > > root@9201739f540c:/usr/local/share/apache-tomcat-8.5.40/logs# grep > -A1 > ERR cspace-services.log > 2020-04-29 21:52:23,014 ERROR [localhost-startStop-1] > [org.nuxeo.osgi.OSGiAdapter:226] Error during Framework Listener > execution : class org.nuxeo.runtime.osgi.OSGiRuntimeService > org.nuxeo.ecm.core.api.NuxeoException: Cannot create cache dir > /usr/local/share/apache-tomcat-8.5.40/nuxeo-server/data/convertcache > -- > 2020-04-29 21:52:23,147 ERROR [localhost-startStop-1] > [org.collectionspace.services.nuxeo.client.java.NuxeoConnectorEmbedde > d: > 137] No repository defined > 2020-04-29 21:52:28,564 WARN [localhost-startStop-1] > [org.apache.catalina.util.SessionIdGeneratorBase:123] Creation of > SecureRandom instance for session ID generation using [SHA1PRNG] took > [5,003] milliseconds. > -- > 2020-04-29 21:56:29,647 ERROR [localhost-startStop-1] > [org.nuxeo.osgi.OSGiAdapter:226] Error during Framework Listener > execution : class org.nuxeo.runtime.osgi.OSGiRuntimeService > java.lang.RuntimeException: java.io.IOException: Failed to list > contents of /usr/local/share/apache-tomcat-8.5.40/nuxeo- > server/tmp/schemas > > On Thu, 2020-04-30 at 16:52 +0000, Ray Lee wrote: > > Hi Toralf, > > That usually means the server wasn't able to start up. Take a look > > at > > catalina.out in the logs directory under tomcat. Are there any > > exceptions or error messages? > > > > Ray > > > > ________________________________________ > > From: Talk <talk-bounces@lists.collectionspace.org> on behalf of > > Megan Forbes <megan.forbes@lyrasis.org> > > Sent: Thursday, April 30, 2020 8:59 AM > > To: talk@lists.collectionspace.org > > Cc: TJ > > Subject: [Talk] Fw: collectionspace installation/login > > > > Please see the below question from a new implementer - I've cc'd > > him > > on this as his note couldn't get through talk for some reason, so > > please include him on any response. Thanks! > > > > Megan Forbes > > CollectionSpace Program Manager > > megan.forbes@lyrasis.org > > 917.267.9676 Cell > > meganbforbes Skype > > > > > > > > ________________________________________ > > From: TJ <toralf.jabs@gmail.com> > > Sent: Wednesday, April 29, 2020 5:37 PM > > To: info@collectionspace.org > > Subject: collectionspace installation/login > > > > (i tried sending this to talk@collectionspace.org as suggested in > > the > > DOCs but it could not be delivered) > > > > I installed collection space (and apache) according to > > https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/701465498/Installing+on+Ubuntu+LTS > > and > > https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/701465672/Add+Apache+TLS+SSL+landing+page+for+CollectionSpace > > everything went smooth > > but: > > the link/url in the mentioned index.html is > > http://home.collectionspace.lan/collectionspace/ui/core/html/index.html > > > > but that doesn't work at all and gets me a 404 > > > > I changed that to > > http://home.collectionspace.lan/cspace/core/login > > > > that gives me the collectionspace demo page and refers to the login > > "You should be able to log in to the default core tenant using the > > user > > admin@core.collectionspace.org and the password Administrator." > > > > but no matter if I try this or any other combination of admin@ > > the page says: > > > > Sign in failed. > > > > Any suggestion? Did I miss or overlook something? > > > > Thank you and kind regards > > Toralf > > > > > > I also tried to verify the installion... > > --------- > > root@9201739f540c:/var/www/html# curl -i > > http://localhost:8180/cspace-services/collectionobjects -u > > admin@core.collectionspace.org:Administrator > > HTTP/1.1 404 > > Content-Type: text/html;charset=utf-8 > > Content-Language: en > > Content-Length: 1111 > > Date: Wed, 29 Apr 2020 21:06:31 GMT > > > > <!doctype html><html lang="en"><head><title>HTTP Status 404 – Not > > Found</title><style type="text/css">h1 {font- > > family:Tahoma,Arial,sans- > > serif;color:white;background-color:#525D76;font-size:22px;} h2 > > {font- > > family:Tahoma,Arial,sans-serif;color:white;background- > > color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans- > > serif;color:white;background-color:#525D76;font-size:14px;} body > > {font- > > family:Tahoma,Arial,sans-serif;color:black;background-color:white;} > > b > > {font-family:Tahoma,Arial,sans-serif;color:white;background- > > color:#525D76;} p {font-family:Tahoma,Arial,sans- > > serif;background:white;color:black;font-size:12px;} a > > {color:black;} > > a.name {color:black;} .line {height:1px;background- > > color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404 > > – > > Not Found</h1><hr class="line" /><p><b>Type</b> Status > > Report</p><p><b>Message</b> &#47;cspace- > > services&#47;collectionobjects</p><p><b>Description</b> The origin > > server did not find a current representation for the target > > resource > > or > > is not willing to disclose that one exists.</p><hr class="line" > > /><h3>Apache Tomcat/8.5.40</h3></body></html> > > > > --------- > > root@9201739f540c:/var/www/html# curl -i > > http://localhost:8180/cspace/core/login -u > > admin@core.collectionspace.org:Administrator > > > > HTTP/1.1 200 > > Cache-Control: max-age=7200 > > Expires: Wed, 29 Apr 2020 23:05:32 GMT > > Accept-Ranges: bytes > > ETag: W/"276-1588188662000" > > Last-Modified: Wed, 29 Apr 2020 19:31:02 GMT > > Content-Type: text/html > > Content-Length: 276 > > Date: Wed, 29 Apr 2020 21:05:32 GMT > > > > <html> > > <head> > > <meta charset="UTF-8" /> > > </head> > > <body> > > <div id="cspace"></div> > > <script src="/cspace-ui/cspaceUI@3.1.2.min.js"></sc > > ri > > pt > > <script> > > cspaceUI({ > > basename: '/cspace/core', > > prettyUrls: true, > > tenantId: '1', > > }); > > </script> > > </body> > > </html> > >