Dspace 7.6 server webapp not starting after fresh_install

661 views
Skip to first unread message

federico....@gmail.com

unread,
Jul 7, 2023, 8:10:52 PM7/7/23
to DSpace Technical Support
Hi,

After completing the installation of Dspace 7.6 (a fresh installation on a fresh VM), having solr and tomcat 9 running OK, the server webapp is not starting (see atacched dspace and catalina logs showing a lot of errors).  
See also attached mvn and ant fresh_install outputs

I triple checked each step of the installation process and spent hours browsing the web for similar errors, with no success.  

fyemurenko@ip-10-0-2-234:~$ ll /opt/
total 4
drwxr-xr-x  5 root   root     96 Jul  7 16:02 ./
drwxr-xr-x 20 root   root   4096 Jul  7 15:04 ../
drwxr-xr-x  9 tomcat tomcat  257 Jul  6 18:06 apache-tomcat-9.0.76/
drwxr-xr-x  3 dspace dspace   31 Jul  7 16:00 dspace76/
lrwxrwxrwx  1 solr   solr     16 Jun 22 14:09 solr -> /opt/solr-8.11.2/
drwxr-xr-x  9 solr   solr    201 Jun 22 14:09 solr-8.11.2/
lrwxrwxrwx  1 tomcat tomcat   25 Jun 22 15:04 tomcat9 -> /opt/apache-tomcat-9.0.76/
fyemurenko@ip-10-0-2-234:~$

fyemurenko@ip-10-0-2-234:~$ ll /opt/dspace76/
total 24
drwxr-xr-x 15 dspace dspace   200 Jul  7 20:33 ./
drwxr-xr-x  5 root   root      96 Jul  7 16:02 ../
drwxr-xr-x 15 dspace dspace  4096 Jul  7 16:00 DSpace-dspace-7.6/
drwxrwxr-x  2 dspace dspace   142 Jul  7 20:33 bin/
drwxrwxr-x 11 dspace dspace  4096 Jul  7 20:33 config/
drwxrwxr-x  3 dspace dspace    22 Jul  7 20:33 exports/
drwxrwxr-x  2 dspace dspace     6 Jul  7 20:33 handle-server/
drwxrwxr-x  2 dspace dspace 12288 Jul  7 20:33 lib/
drwxrwxr-x  2 dspace dspace     6 Jul  7 20:33 log/
drwxrwxr-x  2 dspace dspace     6 Jul  7 20:33 reports/
drwxrwxr-x  6 dspace dspace    66 Jul  7 20:33 solr/
drwxrwxr-x  2 dspace dspace     6 Jul  7 20:33 triplestore/
drwxrwxr-x  2 dspace dspace     6 Jul  7 20:33 upload/
drwxrwxr-x  3 dspace dspace    17 Jul  7 20:33 var/
drwxrwxr-x  3 dspace dspace    20 Jul  7 20:33 webapps/
fyemurenko@ip-10-0-2-234:~$

fyemurenko@ip-10-0-2-234:~$ ll /opt/dspace76/webapps/
total 0
drwxrwxr-x  3 dspace dspace  20 Jul  7 20:33 ./
drwxr-xr-x 15 dspace dspace 200 Jul  7 20:33 ../
drwxrwxr-x  5 dspace dspace 101 Jul  7 20:33 server/
fyemurenko@ip-10-0-2-234:~$

fyemurenko@ip-10-0-2-234:~$ ll /opt/tomcat9/webapps/
total 4
drwxr-xr-x  9 tomcat tomcat  105 Jul  7 20:41 ./
drwxr-xr-x  9 tomcat tomcat  257 Jul  6 18:06 ../
drwxr-x---  3 tomcat tomcat  223 Jun 22 14:51 ROOT/
drwxr-x--- 16 tomcat tomcat 4096 Jun 22 14:51 docs/
drwxr-x---  7 tomcat tomcat   99 Jun 22 14:51 examples/
drwxr-x---  6 tomcat tomcat   79 Jun 22 14:51 host-manager/
drwxr-xr-x  2 tomcat tomcat   60 Jul  7 14:18 kk/
drwxr-x---  6 tomcat tomcat  114 Jun 22 14:51 manager/
drwxr-xr-x  5 tomcat tomcat  101 Jul  7 20:41 server/
fyemurenko@ip-10-0-2-234:~$ ll /opt/tomcat9/webapps/server/
total 32
drwxr-xr-x 5 tomcat tomcat   101 Jul  7 20:41 ./
drwxr-xr-x 9 tomcat tomcat   105 Jul  7 20:41 ../
drwxr-xr-x 3 tomcat tomcat    38 Jul  7 20:41 META-INF/
drwxr-xr-x 4 tomcat tomcat    32 Jul  7 20:41 WEB-INF/
-rw-r--r-- 1 tomcat tomcat 13127 Jul  7 20:41 index.html
drwxr-xr-x 4 tomcat tomcat    31 Jul  7 20:41 js/
-rw-r--r-- 1 tomcat tomcat 10475 Jul  7 20:41 login.html
-rw-r--r-- 1 tomcat tomcat  2086 Jul  7 20:41 styles.css
fyemurenko@ip-10-0-2-234:~$

fyemurenko@ip-10-0-2-234:~$ ll /opt/solr/server/solr/configsets/
total 0
drwxr-xr-x 8 solr solr 117 Jul  7 20:46 ./
drwxr-xr-x 3 solr solr  73 Jun 22 14:09 ../
drwxr-xr-x 3 solr solr  18 May 12  2022 _default/
drwxr-xr-x 3 solr solr  41 Jul  7 20:46 authority/
drwxr-xr-x 3 solr solr  41 Jul  7 20:46 oai/
drwxr-xr-x 3 solr solr  18 May 12  2022 sample_techproducts_configs/
drwxr-xr-x 3 solr solr  41 Jul  7 20:46 search/
drwxr-xr-x 3 solr solr  41 Jul  7 20:46 statistics/
fyemurenko@ip-10-0-2-234:~$

And the result is ....... 404 ......The requested resource [/server] is not available
(attached screen pic)

The only funny thing is the solr cores are not showed in 
(I´ll let 8983 open for a while)

Please help.  Let me know if you need more information.

Regards

PS: I also tried with 7.5 with the same result

ds76-install-1.txt
ds76-comp-1.txt
dspace.log
catalina.2023-07-07.log
404-screen.pdf

federico....@gmail.com

unread,
Jul 12, 2023, 5:05:54 PM7/12/23
to DSpace Technical Support
SOLVED

The DSpace cores must be in /var/solr/data
Following https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-BackendInstallation I had copied them to /opt/solr/server/solr/configsets/, that is where I have solr installed 
I also add user tomcat to solr group
Reply all
Reply to author
Forward
0 new messages