Targeted discussion among implementers and between implementers and the CollectionSpace development team
View all threadsPlease 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
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
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
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
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
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
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
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
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
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
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
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
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
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