Hi Sam, A 404 error from Tomcat generally means that Tomcat didn't deploy the "server" webapp. So, you should check both the Tomcat logs and *DSpace* logs. If there are no DSpace logs, then Tomcat is not starting DSpace at all...it's ignoring whatever you did, or it's just starting up with no webapps.
Basically, I suspect you didn't "install" the server webapp into Tomcat per the installation instructions: https://wiki.lyrasis.org/display/DSDOC9x/Installing+DSpace Also, if you want to run DSpace directly via the "server-boot.jar" then you must use the correct folder path. You were using the wrong path. The correct path is also documented in that Installation Guide an is: "java -jar [dspace]/webapps/server-boot.jar", where the "[dspace]" placeholder is the full path of where you installed DSpace (i.e. where it was installed after running "ant fresh_install"). Good luck, Tim On Friday, July 4, 2025 at 1:16:08 PM UTC-5 [email protected] wrote: > Hi Andrew, > > Thanks for your thoughts. I tried the to do the same but keep getting the > same 404. I'm pretty much at a total loss at this point. No idea what I > should do... > > Sam > > On Thursday, July 3, 2025 at 5:31:51 PM UTC-6 [email protected] wrote: > >> Hi Sam, >> >> >> >> I know it’s simple, does accessing /server/api give any results on the >> backend? >> >> >> >> /server returns 404 on my instance, but /server/ returns the HAL browser, >> and /server/api returns the API. >> >> >> >> -Andrew >> >> >> >> *From: *[email protected] <[email protected]> on behalf >> of Samuel Stoker <[email protected]> >> *Date: *Thursday, 3 July 2025 at 7:55 am >> *To: *DSpace Technical Support <[email protected]> >> *Subject: *Re: [Extern] [dspace-tech] dSpace Install, Tomcat 404 error, >> and TypeError >> >> *…* >> >> >> Again, many thanks for your responses! >> >> >> >> Sam >> >> On Wednesday, July 2, 2025 at 10:28:54 AM UTC-6 Michael Plate wrote: >> >> Hi Sam, >> >> Am 02.07.25 um 06:24 schrieb Samuel Stoker: >> > Hello everyone, >> > >> > I've am near completion of my first dSpace 9 installation on two Ubuntu >> > 22.04 servers and am stuck on two final, stubborn issues: >> > >> > 1. >> > >> > *Backend (209.182.253.58):* The Tomcat Manager says the /server >> > application is *Running: true*. Solr and PostgreSQL are also running >> > and verified. However, visiting http://209.182.253.58:8080/server >> > gives a Tomcat 404 error, and the /dspace/log/dspace.log file is >> > never created, indicating a silent startup failure. >> >> >> as a first try, stop tomcat and start dspace directly as the dspace user >> on the cli: >> >> java -jar webapps/server-boot.jar >> >> it should listen on port 8080, usually localhost (if you configured the >> real IP, it might not run w/o TLS, so try localhost first). >> If the program returns immediately, you have a problem - remove the >> logs/dspace.log file before, it will grow fast… >> >> >> > >> > 2. >> > >> > *Frontend (209.182.253.60):* The Angular application has been built >> > and is served by Nginx. However, the browser console shows a >> > TypeError: can't access property "nameSpace", _.ui is undefined. >> > This happens even after repeatedly rebuilding the application with a >> > correct config.prod.yml and deploying it to /var/www/html/dspace. >> […] >> >> try the config.example.yml (with demo.dspace.org) as long as you don't >> have a running backend. >> >> Michael >> >> -- >> 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 visit >> https://groups.google.com/d/msgid/dspace-tech/587a0cda-89a6-4788-921c-f99e63130533n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/dspace-tech/587a0cda-89a6-4788-921c-f99e63130533n%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 visit https://groups.google.com/d/msgid/dspace-tech/a71344cb-af00-49e3-a6bb-2b742d222cc0n%40googlegroups.com.
