Hi Gavin,

Could you look for errors on the backend or in your browser's dev tools?  Those 
are the easiest ways to narrow down the problem.  Here's a guide for finding 
those errors in either the front or backend:
https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)

I strongly suspect it's a configuration issue, and likely you'll find one of 
these common installation issues in either the backend logs or in your 
browser's dev tools:
https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-CommonInstallationIssues

That said, it's hard to say exactly what the problem is without first finding 
the error that is thrown.  You also should verify that both you and the server 
running the frontend can access the REST API....if there's a proxy or firewall 
blocking access to the REST API that'd definitely be an issue.

Good luck, and let us know what you find on this list.

Tim
________________________________
From: [email protected] <[email protected]> on behalf of 
Gavin Spomer <[email protected]>
Sent: Tuesday, September 21, 2021 2:05 PM
To: DSpace Technical Support <[email protected]>
Subject: [dspace-tech] After 7.0 Installation Server / Hal Browser Not Loading 
CSS Or Javascript

Just did an install of 7.0 and the /server page isn't loading css or js. When I 
view source and click on the hyperlinks for any css or js, I get 404's from 
tomcat. The css and js files all seem to be in a subdirectory of a directory 
named "browser", I used the find utility from the command line and there is no 
such directory in webapps/server.
The only content on the page is links for "Go To Entry Point", "About The HAL 
Browser" and "Login". The Login page flashes a message "Could Not Load / Failed 
to connect with backend. Please check for errors in Javascript console".

My system / dependancies:

  *   FreeBSD 12.2-RELEASE
  *   DSpace-dspace-7.0

  *   openjdk11-11.0.12

  *

maven33-3.3.9

  *

apache-ant-1.10.8

  *

postgresql12-server-12.8

  *

apache-solr-8.9.0

Building with Maven it indicates everything built just fine:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] DSpace Parent Project .............................. SUCCESS [  2.131 s]
[INFO] DSpace Services Framework :: API and Implementation  SUCCESS [  9.354 s]
[INFO] DSpace Kernel :: API and Implementation ............ SUCCESS [ 57.350 s]
[INFO] DSpace Addon Modules ............................... SUCCESS [  0.336 s]
[INFO] DSpace Kernel :: Additions and Local Customizations  SUCCESS [  1.094 s]
[INFO] DSpace OAI-PMH ..................................... SUCCESS [  1.181 s]
[INFO] DSpace RDF ......................................... SUCCESS [  0.568 s]
[INFO] DSpace SWORD ....................................... SUCCESS [  4.036 s]
[INFO] DSpace SWORD v2 .................................... SUCCESS [  0.523 s]
[INFO] DSpace Server Webapp ............................... SUCCESS [  9.174 s]
[INFO] DSpace Server Webapp:: Local Customizations ........ SUCCESS [ 10.084 s]
[INFO] DSpace Assembly and Configuration .................. SUCCESS [ 19.344 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:55 min
[INFO] Finished at: 2021-09-20T14:56:01-07:00
[INFO] Final Memory: 154M/524M
[INFO] ------------------------------------------------------------------------

Apache Ant suggest it was successful installing everything:

copy_webapps:

     [copy] Copying 1008 files to /usr/local/dspace/webapps

     [copy] Copying 1 file to /usr/local/dspace/webapps

build_webapps_wars:

check_spiders:

init_spiders:

     [echo]

     [echo] ====================================================================

     [echo]  The DSpace code has been installed.

     [echo]

     [echo]  To complete installation, you should do the following:

     [echo]

     [echo]  * Setup your Web servlet container (e.g. Tomcat) to look for your

     [echo]    DSpace web applications in: /usr/local/dspace/webapps/

     [echo]

     [echo]    OR, copy any web applications from /usr/local/dspace/webapps/ to

     [echo]    the appropriate place for your servlet container.

     [echo]    (e.g. '$CATALINA_HOME/webapps' for Tomcat)

     [echo]

     [echo]  * Start up your servlet container (e.g. Tomcat). DSpace now will

     [echo]    initialize the database on the first startup.

     [echo]

     [echo]  * Make an initial administrator account (an e-person) in DSpace:

     [echo]

     [echo]    /usr/local/dspace/bin/dspace create-administrator

     [echo]

     [echo]  You should then be able to access your DSpace's REST API:

     [echo]

     [echo]    http://barristan.lib.cwu.edu:8080/server

     [echo]

     [echo] ====================================================================

     [echo]

BUILD SUCCESSFUL

Total time: 12 seconds

I've meticulously gone over everything in the installation process three times 
now. I've also tried several Google searches to try to find the answer on my 
own, but am just plain stuck. I did find this 
post<https://groups.google.com/g/dspace-community/c/-JKj_xrgLYM> with someone 
having the same issue, but it is unclear how it was actually solved.

 - Gavin

--
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/ed497c51-b5d4-4af8-b035-2b40983f6da9n%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/ed497c51-b5d4-4af8-b035-2b40983f6da9n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/DM5PR2201MB11486EB3CC3B7ECC48714293EDA29%40DM5PR2201MB1148.namprd22.prod.outlook.com.

Reply via email to