Hi Stevenson,

A 500 error usually means there's an error in the backend's logs (dspace.log or 
Tomcat logs).  Here's a guide for finding error messages in DSpace 7:
https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)

My guess is that you'll find a more specific error on the backend. It could be 
a database problem or a Solr issue, or similar. But it's hard to say without 
looking at the error message / stacktrace.

Once you find the error, if you need more help, feel free to send it to this 
list.  You also may want to search the list first to see if someone else 
already found a solution.

Tim

________________________________
From: [email protected] <[email protected]> on behalf of 
Stevenson Gossage <[email protected]>
Sent: Tuesday, October 19, 2021 11:41 AM
To: DSpace Technical Support <[email protected]>
Subject: [dspace-tech] DSpace partially works

Hi all,

We have a sandbox running DSpace 7 frontend and backend from a single AWS ec2 
instance using the latest Amazon linux ami. We are using  Apache HTTPD to proxy 
https to tomcat/pm2. Currently, we can create account via UI and login and we 
can create communities but not much else. Seems like post is working but not 
Gets which makes it impoassible to create sub-communities and collections. We 
have created only have 5 top level communities and no collections as can be 
seen by querying the DB directly:

dspace=> select * from community;
 community_id |                 uuid                 | admin | logo_bitstream_id
--------------+--------------------------------------+-------+-------------------
              | b3a59125-6d63-4095-a3ae-478a3515e578 |       |
              | 63023b8d-b789-47b0-9a0c-4d8792dc73bd |       |
              | 9cf4f8f1-50b1-46ff-a084-fe56213d0bb4 |       |
              | 2f2f2d1f-d2aa-4c82-a68b-0ee8559e5b86 |       |
              | 9e76cc96-f7a2-4600-8460-ebd12c5b86ba |       |

However, even with one of the UUID above we v=can hit the community from the UI

test 2 
(ospr.link)<https://www.ospr.link/communities/9e76cc96-f7a2-4600-8460-ebd12c5b86ba>


Here is our homepage

www.ospr.link

The HAL Browser (customized for DSpace Server Webapp) 
(ospr.link)<https://www.ospr.link/server/#/server/api>

For example using the HAL Browser, a get on communities:

https://www.ospr.link/server/api/core/communities

gives a 500 error:

headers:

500 500

 cache-control: no-cache, no-store, max-age=0, must-revalidate

connection: Keep-Alive

content-language: en

content-type: application/hal+json;charset=UTF-8

date: Tue, 19 Oct 2021 11:57:41 GMT

expires: 0

pragma: no-cache

server: Apache/2.4.51 () OpenSSL/1.0.2k-fips

strict-transport-security: max-age=31536000 ; includeSubDomains

transfer-encoding: chunked

vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers

x-content-type-options: nosniff

x-frame-options: DENY

x-xss-protection: 1; mode=block



Response body:

{

  "timestamp": "2021-10-19T11:57:41.580+00:00",

  "status": 500,

  "error": "Internal Server Error",

  "message": "An exception has occurred",

  "path": "/server/api/core/communities"

}

An attempt to browse communities in UI just never returns any data:



Please let me know what else you may need to help troubleshoot this problem.



Thanks very much,



Stevenson

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/fdcba9f2-47bd-43c9-8ab6-42dbdbf8a40dn%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/fdcba9f2-47bd-43c9-8ab6-42dbdbf8a40dn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/DM5PR2201MB1148C5B386BF30C92939450FEDBD9%40DM5PR2201MB1148.namprd22.prod.outlook.com.

Reply via email to