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 with someone having the same issue, but it is unclear how it was actually solved.