Tyson, did you ever discover what the root cause of this issue was?  I'm 
experiencing the exact same problem with DSpace 7.1.1.  A request to 
"/server" works, but none of the Javascript or CSS files load; everything 
returns a 404.  I've used "find" to search the disk and none of those 
assets exist anywhere. It seems like something is missing from the 
install/build, like mvn didn't download something it was supposed to.

Requests to /server/api also return a 404 so the entire server webapp seems 
to have issues.

- Darryl


On Thursday, May 20, 2021 at 6:50:40 PM UTC-6 Tyson wrote:

> Stop press! I switch to beta 5 again, did mvn clean, and eureka! All is 
> well. Thanks again!
>
> On Friday, 21 May 2021 at 10:29:20 UTC+10 Tyson wrote:
>
>> I also failed to mention, this is all on my local Macbook, so no proxies. 
>>
>> On Friday, 21 May 2021 at 10:28:26 UTC+10 Tyson wrote:
>>
>>> Thanks very much Tim!
>>>
>>> DSPACE VERSION
>>> ===============
>>>
>>> DSpace version:  7.0-beta6-SNAPSHOT
>>>
>>>   SCM revision:  3c1b90d60395f89041ae20f01229907f25e74f37
>>>
>>>     SCM branch:  main
>>>
>>>             OS:  Mac OS X(aarch64) version 11.2.3
>>>
>>>   Applications:
>>>
>>>      Discovery:  enabled.
>>>
>>>            JRE:  Oracle Corporation version 11.0.10
>>>
>>>    Ant version:  Apache Ant(TM) version 1.10.10 compiled on April 12 2021
>>>
>>>  Maven version:  3.8.1
>>>
>>>    DSpace home:  /Users/tlloydthwaites/dspace7-deploy
>>>
>>> * Built according to docs with mvn package, then ant fresh_build in 
>>> installer dir - all works fine
>>> * Added an admin user successfully
>>>
>>>
>>> ANGULAR .env
>>>
>>> ============
>>>
>>> DSPACE_HOST=localhost
>>>
>>> DSPACE_PORT=4000
>>>
>>> DSPACE_NAMESPACE=/
>>>
>>> DSPACE_SSL=false
>>>
>>>
>>> DSPACE_REST_HOST=localhost
>>>
>>> DSPACE_REST_PORT=8080
>>>
>>> DSPACE_REST_NAMESPACE=/server
>>>
>>> DSPACE_REST_SSL=false
>>>
>>>
>>> ANGULAR environment.ts
>>> =====================
>>> export const environment = 
>>> {"production":true,"ui":{"ssl":false,"host":"localhost","port":4000,"nameSpace":"/","rateLimiter":{"windowMs":60000,"max":500},"baseUrl":"
>>> http://localhost:4000/
>>> "},"rest":{"ssl":false,"host":"localhost","port":8080,"nameSpace":"/server","baseUrl":"
>>> http://localhost:8080/server"},"cache":{"msToLive":{"default":900000},"control":"max-age=60","autoSync":{"defaultTime":0,"maxBufferSize":100,"timePerMethod":{"PATCH":3}}},"form":{"validatorMap":{"required":"required","regex":"pattern"}},"notifications":{"rtl":false,"position":["top","right"],"maxStack":8,"timeOut":5000,"clickToClose":true,"animate":"scale"},"submission":{"autosave":{"metadata":[],"timer":0},"icons":{"metadata":[{"name":"dc.author","style":"fas
>>>  
>>> fa-user"},{"name":"default","style":""}],"authority":{"confidence":[{"value":600,"style":"text-success"},{"value":500,"style":"text-info"},{"value":400,"style":"text-warning"},{"value":"default","style":"text-muted"}]}}},"universal":{"preboot":true,"async":true,"time":false},"logDirectory":".","debug":false,"defaultLanguage":"en","languages":[{"code":"en","label":"English","active":true},{"code":"de","label":"Deutsch","active":true},{"code":"cs","label":"Čeština","active":true},{"code":"nl","label":"Nederlands","active":true},{"code":"pt-BR","label":"Português
>>>  
>>> do 
>>> Brasil","active":true},{"code":"pt-PT","label":"Português","active":true},{"code":"fr","label":"Français","active":true},{"code":"lv","label":"Latviešu","active":true},{"code":"fi","label":"Suomi","active":true},{"code":"hu","label":"magyar","active":true}],"browseBy":{"oneYearLimit":10,"fiveYearLimit":30,"defaultLowerLimit":1900,"types":[{"id":"title","type":"title"},{"id":"dateissued","type":"date","metadataField":"dc.date.issued"},{"id":"author","type":"metadata"},{"id":"subject","type":"metadata"}]},"item":{"edit":{"undoTimeout":10000}},"collection":{"edit":{"undoTimeout":10000}},"themes":[{"name":"dspace"}],"rewriteDownloadUrls":false,"mediaViewer":{"image":false,"video":false}}
>>>
>>> When I visit the test server at api7.dspace.org I see:
>>>
>>> [image: Screen Shot 2021-05-21 at 10.19.54 am.png]
>>>
>>> But on my local install I see:
>>>
>>> [image: Screen Shot 2021-05-21 at 10.20.29 am.png]
>>>
>>> with this in the JS console:
>>>
>>> Failed 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 ()
>>> uritemplates.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> URI.min.js:1 Failed to load resource: the server responded with a status 
>>> of 404 ()
>>> bootstrap.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> hal.js:1 Failed to load resource: the server responded with a status of 
>>> 404 ()
>>> browser.js:1 Failed to load resource: the server responded with a status 
>>> of 404 ()
>>> resource.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> browser.js:1 Failed to load resource: the server responded with a status 
>>> of 404 ()
>>> explorer.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> inspector.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> navigation.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> location_bar.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> request_headers.js:1 Failed to load resource: the server responded with 
>>> a status of 404 ()
>>> resource.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> properties.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> links.js:1 Failed to load resource: the server responded with a status 
>>> of 404 ()
>>> embedded_resources.js:1 Failed to load resource: the server responded 
>>> with a status of 404 ()
>>> embedded_resource.js:1 Failed to load resource: the server responded 
>>> with a status of 404 ()
>>> non_safe_request_dialog.js:1 Failed to load resource: the server 
>>> responded with a status of 404 ()
>>> query_uri_dialog.js:1 Failed to load resource: the server responded with 
>>> a status of 404 ()
>>> response.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> response_headers.js:1 Failed to load resource: the server responded with 
>>> a status of 404 ()
>>> response_body.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> documentation.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> jsoneditor.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> CustomPostForm.js: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 ()
>>> uritemplates.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> URI.min.js:1 Failed to load resource: the server responded with a status 
>>> of 404 ()
>>> bootstrap.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> hal.js:1 Failed to load resource: the server responded with a status of 
>>> 404 ()
>>> browser.js:1 Failed to load resource: the server responded with a status 
>>> of 404 ()
>>> client.js:10 Uncaught ReferenceError: HAL is not defined
>>>     at client.js:10
>>> resource.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> browser.js:1 Failed to load resource: the server responded with a status 
>>> of 404 ()
>>> explorer.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> inspector.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> navigation.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> location_bar.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> request_headers.js:1 Failed to load resource: the server responded with 
>>> a status of 404 ()
>>> resource.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> properties.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> links.js:1 Failed to load resource: the server responded with a status 
>>> of 404 ()
>>> embedded_resources.js:1 Failed to load resource: the server responded 
>>> with a status of 404 ()
>>> embedded_resource.js:1 Failed to load resource: the server responded 
>>> with a status of 404 ()
>>> non_safe_request_dialog.js:1 Failed to load resource: the server 
>>> responded with a status of 404 ()
>>> query_uri_dialog.js:1 Failed to load resource: the server responded with 
>>> a status of 404 ()
>>> response.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> response_headers.js:1 Failed to load resource: the server responded with 
>>> a status of 404 ()
>>> response_body.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> documentation.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> jsoneditor.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> CustomPostForm.js:1 Failed to load resource: the server responded with a 
>>> status of 404 ()
>>> (index):295 Uncaught ReferenceError: HAL is not defined
>>>     at (index):295
>>> bootstrap.css:1 Failed 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 ()
>>>
>>> I also realised I am on beta 6 snapshot, but I got similar results with 
>>> beta 5. I am going to try beta 5 again and turn on debug logging next.
>>>
>>> Thank you again! So close!
>>>
>>

-- 
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 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/8ecd1a64-4096-45b6-8f75-b645522ba08fn%40googlegroups.com.

Reply via email to