I try but it UI is not opening but back-end is working fine
$ ts-node --project ./tsconfig.ts-node.json scripts/test-rest.ts Building production app config Overriding app config with /opt/dspace-ui/config/config.yml Overriding app config with /opt/dspace-ui/config/config.prod.yml ...Testing connection to REST API at http://52.15.74.25:8080/server/api... RESPONSE: 200 Checking JSON returned for validity... "dspaceVersion" = DSpace 7.4 "dspaceUI" = http://52.15.74.25:80 "dspaceServer" = http://52.15.74.25:8080/server "dspaceServer" property matches UI's "rest" config? true Does "/api" endpoint have HAL links ("_links" section)? true Done in 3.40s. On Friday, February 10, 2023 at 4:36:43 AM UTC+5:30 Mohammad S. AlMutairi wrote: > On Wednesday, February 8, 2023 at 4:02:52 PM UTC+3 AFA wrote: > *I install the DSpace 7.4 Backend successfully in AWS ubuntu 22.04 server > and It is accessible through MYIP:8080/server* > > *and I install the UI also and I did the test run it is also successful > but I unable to access it through myIP:4000* > > *then it is accessible by myIP:80 but it through 500 error, Please help me > to solve this issue* > You don't need a web server or a reverse proxy for this unrecommended or > unsupported configuration. If you have to have it you can stop the > webserver or disable it and change your configs as you see it below. (For > this to work you must have dspace version 7.3 or above). > > # In local.cfg or dspace.cfg > dspace.server.url = http://myIP:8080/server > dspace.ui.url = http://myIP > > # In config.prod.yml > ui: > ssl: false > host: myIP > port: 80 > > rest: > ssl: false > host: myIP > port: 8080 > nameSpace: /server > > 1) yarn test:rest > 2) yarn start:prod > 3) Access DSpace at http://myIP > > BR > -- 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/7e23964c-47b1-44da-af75-92f484166271n%40googlegroups.com.
