Upgrade DSpace from 7.4 to 7.6

215 views
Skip to first unread message

Alex B

unread,
Sep 5, 2023, 6:11:10 AM9/5/23
to DSpace Technical Support
Dear colleagues, 
I'm Upgrade DSpace from 7.4 to 7.6 and UI 7.3 to 7.6
after updating according to the instructions I get an error -
500 service unavailable.

DSpace version:  7.6
  SCM revision:  ${buildNumber}
    SCM branch:  UNKNOWN_BRANCH
            OS:  Linux(amd64) version 5.15.0-104.119.4.2.el8uek.x86_64
  Applications:
     Discovery:  enabled.
           JRE:  Red Hat, Inc. version 17.0.8
   Ant version:  Apache Ant(TM) version 1.10.13 compiled on January 4 2023
 Maven version:  3.9.0
   DSpace home:  /dspace
--------------------------------------------------------
yarn run v1.22.19
$ ts-node --project ./tsconfig.ts-node.json scripts/test-rest.ts
Building production app config
Overriding app config with /dspace/dspace-angular-dspace-7.6/config/config.yml
Unable to find env config file at /dspace/dspace-angular-dspace-7.6/config/config.production.yaml
...Testing connection to REST API at http://10.220.17.24:8080/server/api...

RESPONSE: 404  

ERROR: INVALID DSPACE REST API! Response is not valid JSON!
Response returned:
<!doctype html><html lang="en"><head><title>HTTP Status 404 – Not Found</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {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> The requested resource [&#47;server&#47;api] is not available</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/9.0.72</h3></body></html>

Please tell me what settings to check?

Best regards,
Alex

DSpace Technical Support

unread,
Sep 6, 2023, 12:03:32 PM9/6/23
to DSpace Technical Support
Hi Alex,

That error sounds like either the Backend (REST API) is not running, or maybe has not also been updated to DSpace 7.6?  Obviously, you need to make sure to update both the backend and frontend from 7.4 -> 7.6.

Otherwise, if you are confident the backend is running, you might want to check the backend logs to see if it is throwing an error.  See our troubleshooting guide: https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)

Tim

Alex B

unread,
Sep 29, 2023, 3:30:10 PM9/29/23
to DSpace Technical Support
Dear Tim, 
I installed version Dspace 7.6 / UI 7.6.
ran the command /dspace/bin/dspace initialize-entities -f /dspace/config/entities/relationship-types.xml
uncommented the option
researcher-profile.entity-type = Person
in researcher-profile.cfg
uncommented the option
choices.plugin.dspace.object.owner = EPersonAuthority
choices.presentation.dspace.object.owner = suggest
authority.controlled.dspace.object.owner = true
in authority.cfg

But the option to create an entity item did not start (see 2023-09-29 12-36-08)
in version 7.4 this option worked (see Screenshot from 2023-09-29 12-39-31 )


how to enable the item ?
help me please!

Best regards,
Alex

среда, 6 сентября 2023 г. в 19:03:32 UTC+3, DSpace Technical Support:
2023-09-29 в 22.21.22.png
Screenshot from 2023-09-29 12-36-08.png
Screenshot from 2023-09-29 12-39-31.png

Alex B

unread,
Oct 3, 2023, 7:42:15 AM10/3/23
to DSpace Technical Support
the issue is resolved!

пятница, 29 сентября 2023 г. в 22:30:10 UTC+3, Alex B:
Reply all
Reply to author
Forward
0 new messages