I am having trouble accessing my dspaceUI on my LAN which I could originally access together with all the staff on the LAN using the IP http://192.168.1.211:4000 . When I run the yarn start command I get the output
Environment extended with app config dspace-angular Version: 8.0.0 Environment: Production [HPM] Proxy created: / -> http://localhost:8080/server/sitemaps [HPM] Proxy created: / -> http://localhost:8080/server [17:02:58 GMT+0300 (East Africa Time)] Listening at http://localhost:4000/ which should mean I can access it on the localhost:400 but the UI just flashes on the screen for a split second then displays 500 service unavailable message instead. After troubleshooting for sometime and going through the common fixes for 500 error page i ahvent been able to resolve it. Here is a copy of how my configuration files are looking. config.yml rest: ssl: false host: localhost port: 8080 nameSpace: /server local.cfg dspace.dir=/dspace dspace.server.url = http://192.168.1.211:8080/server dspace.ui.url = http://192.168.1.211:4000 dspace.name = DSpace at My University solr.server = http://localhost:8983/solr db.url = jdbc:postgresql://localhost:5432/dspace db.username = dspace db.password = dspace ldn.enabled = true rest.cors.allowed-origins = http://192.168.1.211:4000 the output i get for running yarn test:rest is; yarn run v1.22.22 $ ts-node --project ./tsconfig.ts-node.json scripts/test-rest.ts Building production app config Overriding app config with /opt/dspace-angular/config/config.yml Unable to find env config file at /opt/dspace-angular/config/config.production.yaml ...Testing connection to REST API at http://localhost:8080/server/api... RESPONSE: 200 Checking JSON returned for validity... "dspaceVersion" = DSpace 8.0 "dspaceUI" = http://192.168.1.211:4000 "dspaceServer" = http://192.168.1.211:8080/server "dspaceServer" property matches UI's "rest" config? false Does "/api" endpoint have HAL links ("_links" section)? true Done in 8.39s. I am not sure what else to do. Any help would be much appreciated and before you ask I am not realy looking to access the dspace UI on the web just on our LAN. Kind regards, Wanangwa. -- All messages to this mailing list should adhere to the Code of Conduct: https://lyrasis.org/code-of-conduct/ --- 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 visit https://groups.google.com/d/msgid/dspace-tech/3328ae6c-129b-49fb-b23b-e0d6173abdb4n%40googlegroups.com.
