Hi Tyson, You haven't told us much about your installation/setup for the UI or REST API, but you may want to first review the common issues:
https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-CommonInstallationIssues Pay very close attention to your URL-based configurations on both the UI and REST API side. It's very important to get the URLs correct in both those configs. If they are not correct, either the UI won't be able to communicate with the REST API, or the REST API won't "trust" the UI (and will actively block it). The configs I'm mentioning are the "ui" and "rest" sections in your UI's "environment.prod.ts", as well as the "dspace.ui.url" and "dspace.server.url" in your REST API's "local.cfg". Finally, if you are running behind an http proxy, be aware of this new fix (currently in review/testing): https://github.com/DSpace/DSpace/pull/3273 Simply put, if you have an HTTP Proxy in front of the REST API, we've found that you need to set "server.forward-headers-strategy=FRAMEWORK" in your "local.cfg", or else the REST API will ignore very important X-Forwarded-* headers from your http proxy (which can result in very odd behavior). We're likely going to make that setting the default value prior to 7.0 final (which is what that PR is doing), as several folks have hit this problem. Good luck! If somehow none of these suggestions work for you, then you'll need to provide us more details about your setup, and perhaps more detailed errors (from your browser or REST API logs). See https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove) Tim ________________________________ From: [email protected] <[email protected]> on behalf of Tyson <[email protected]> Sent: Thursday, May 20, 2021 2:58 AM To: DSpace Community <[email protected]> Subject: [dspace-community] Help with DS7 local install - HAL browser assets missing Hello, My institution is looking to migrate to DSpace and I am hoping to be an early adopter of DS7 when it's released. I have installed a test on my Macbook Air (M1) and all goes well with the Angular interface. The REST interface builds and deploys fine, but it seems to be incomplete as none of the assets seem to be present. The Angular log says: No _links section found at http://localhost:8080/server/api And indeed, when I visit that I get a 404. When I visit the root page, the console shows: to load resource: the server responded with a status of 404 () bootstrap-responsive.css:1 Failed to load resource: the server responded with a status of 404 () styles.css:1 Failed to load resource: the server responded with a status of 404 () underscore.js:1 Failed to load resource: the server responded with a status of 404 () backbone.js:1 Failed to load resource: the server responded with a status of 404 () ...etc. I followed the instruction at https://wiki.lyrasis.org/display/DSDOC7x and everything seemed to go well! Is there something I'm missing? PS I also tried the Docker images but had problems with them... perhaps because I'm on an M1 chip... Thank you for any help! SOURCE: DSpace/DSpace (tried with main and tags/dspace-7.0-beta5) ENVIRONMENT: MacBook Air (M1, 2020) MacOS: Big Sur 11.2.3 (20D91) Maven: Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d) ANT: Apache Ant(TM) version 1.10.10 compiled on April 12 2021 Java: OpenJDK 64-Bit Server VM (build 11.0.10+9, mixed mode) -- All messages to this mailing list should adhere to the Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Community" 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-community/3f788655-f4bb-4405-821e-11c2838ebfabn%40googlegroups.com<https://groups.google.com/d/msgid/dspace-community/3f788655-f4bb-4405-821e-11c2838ebfabn%40googlegroups.com?utm_medium=email&utm_source=footer>. -- All messages to this mailing list should adhere to the Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Community" 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-community/DM5PR2201MB1148C4503C9D2F76FC2A74B5ED2A9%40DM5PR2201MB1148.namprd22.prod.outlook.com.
