Dspace 7.1 error.top-level-communites

118 views
Skip to first unread message

Lewatle Johannes Phaladi

unread,
Mar 28, 2022, 9:52:17 AM3/28/22
to DSpace Technical Support
Dear DSpace Colleagues,

Just installed DSpace 7.1 on development machine, when first loaded web interface it displays message "error.top-level-communites" also when trying to login it keeps on loading endlessly, I have attached 2 files for help.

Regards,
Lewatle
dspace.log
image_2022-03-28_154104.png

Tim Donohue

unread,
Mar 28, 2022, 10:46:11 AM3/28/22
to Lewatle Johannes Phaladi, DSpace Technical Support
Hi Lewatle,

In your dspace.log, you'll notice the error says:
Error from server at http://localhost:8983/solr/search
followed by... 
HTTP ERROR 404 Not Found
That is telling you that DSpace cannot find your Solr.  It must not be accessible at the URL http://localhost:8983/solr/   So, either your "solr.server" setting in your local.cfg needs to be changed to the correct location of Solr, or you need to review your Solr setup, which is step 13 of the Backend Installation guide: https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-InstallingtheBackend(ServerAPI)
Tim

From: dspac...@googlegroups.com <dspac...@googlegroups.com> on behalf of Lewatle Johannes Phaladi <joem...@gmail.com>
Sent: Monday, March 28, 2022 8:52 AM
To: DSpace Technical Support <dspac...@googlegroups.com>
Subject: [dspace-tech] Dspace 7.1 error.top-level-communites
 
--
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 dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/b31c36f6-dbbe-4bdf-ab27-8d9eb2cf460an%40googlegroups.com.

Lewatle Johannes Phaladi

unread,
Mar 30, 2022, 5:44:03 AM3/30/22
to DSpace Technical Support
Dear Tim,

here is our solr details in dspace.cfg and local.cfg

# Solr server/webapp.
# DSpace uses Solr for all search/browse capability (and for usage statistics).
# Since DSpace 7, SOLR must be installed as a stand-alone service
solr.server = http://localhost:8983/solr

tomcat has been restarted and still getting similar errors , does SolrCore Initialization Failures  and additional information underneath not indicating as to what needs to be done to resolve solr errors. please see screenshot bellow 

solr init failues.png

Tim Donohue

unread,
Mar 30, 2022, 6:01:59 PM3/30/22
to Lewatle Johannes Phaladi, DSpace Technical Support
Hi Lewatle,

According to that error message from Solr, it's looking for something called "new_core" (in the directory it lists).  This isn't needed for DSpace and seems unrelated to DSpace ... maybe it's something you accidentally created? 

I also noticed from your screenshot that on the left Solr says you have no "cores".  That means Solr hasn't been setup with the required DSpace Solr cores (See step 13 of the Backend Installation):  https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-BackendInstallation

When Solr is initialized properly, you should see a "Core Selector" dropdown on the left hand side of that dashboard which lists at least​ the 4 required DSpace Solr cores: authority, oai, search & statistics.   Those are created during that step 13 above in the backend installation process.

I'm not sure what that "new_core" is...that sounds like some sort of test/demo Solr core that was somehow created.  It's not related to DSpace at all.  You could try removing the "new_core" directory (if it exists), or try reinstalling Solr if you cannot figure out a way to remove it.

Tim

From: dspac...@googlegroups.com <dspac...@googlegroups.com> on behalf of Lewatle Johannes Phaladi <joem...@gmail.com>
Sent: Wednesday, March 30, 2022 4:44 AM

To: DSpace Technical Support <dspac...@googlegroups.com>
Subject: Re: [dspace-tech] Dspace 7.1 error.top-level-communites
 

Lewatle Johannes Phaladi

unread,
Mar 31, 2022, 9:54:26 AM3/31/22
to DSpace Technical Support
Hello Tim,

I have deleted new_core file and solr error is removed, Error on frontend it is still there, please see attached screenshots, I have copied cores from dspace backend to solr, also note that user and group having access to dspacebackend and dspace-angular-front end is dspace , another user having access to solr is root while only for configsets directory  is solr,  and on solr interface there is no Core selector dropdown


Regards,
Lewatle 



no core available.png
solr web interface.png
frontend error1.png
additional log error.png
configsets access.png

Lewatle Johannes Phaladi

unread,
Mar 31, 2022, 2:38:09 PM3/31/22
to DSpace Technical Support
Hello Tim,

Solr issue is resolved and Dspace 7.1 is able to open frontend without error. The only new problem is  I am unable to log in to Dspace web interface, postgres is running well, I will check log file and screen errors and log new issue.
see attached screenshots indicating solr and frontend responds well.

Regards,
Lewatle
frontend clear.png
core selector.png

Tim Donohue

unread,
Mar 31, 2022, 5:55:02 PM3/31/22
to DSpace Technical Support
Hi Lewatle,

If you cannot login, there's likely an error blocking you.  See our troubleshooting guide for help locating the detailed error message (it may be either a browser-only error on an error in the backend logs, or both): https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)

Since you just finished installing DSpace, it's also *highly likely* your error will turn out to be one of these Common Installation Issues (in which case the solution might be documented on this page): https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-CommonInstallationIssues

Good luck,

Tim
Reply all
Reply to author
Forward
0 new messages