Hi  Agustin,

Check https://github.com/DSpace/DSpace/issues/8181

BR


On Thursday, February 9, 2023 at 2:54:48 PM UTC+3 Agustín Alfieri wrote:

> Hi Chris,
>
> I ran into a similar problem as yours. It too get this exception when 
> reindexing the statistics:
> *Exception: Error from server at http://localhost:8983/solr 
> <http://localhost:8983/solr>: Path /dspace/solr/statistics must be relative 
> to SOLR_HOME, SOLR_DATA_HOME coreRootDirectory. Set system property 
> 'solr.allowPaths' to add other allowed paths.*
>
> Do you remember how were you able to fix it? Or a general idea of what was 
> the issue?
>
> Agustin.
> El jueves, 6 de enero de 2022 a la(s) 14:41:09 UTC-3, Tim Donohue escribió:
>
>> Hi Chris,
>>
>> We'd definitely appreciate feedback you have on the install instructions 
>> at https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace
>>
>> We've done our best to describe the steps (and various common issues) 
>> that everyone will need to get DSpace installed. But if you've stumbled on 
>> major gaps in our docs, please feel free to either submit them as comments 
>> on that wiki page (you can ask for a free wiki acct by emailing 
>> wiki...@lyrasis.org), or you are welcome to document the changes you'd 
>> recommend at another location & send them my way.  I'll see if I can use it 
>> to improve the main docs.  
>>
>> However, one thing to keep in mind is that we unfortunately need to keep 
>> our instructions "generic" and avoid tailoring them to a specific Operating 
>> System (as DSpace will work on any operating system, it'd be very hard to 
>> maintain / keep up to date instructions for every operating system out 
>> there). So, it's a difficult balance in giving folks the information we 
>> need, while avoiding overwhelming people with too many operating system 
>> specific notes.
>>
>> In any case, feedback is more than welcome.  And, it definitely could 
>> help us to improve these instructions for others
>>
>> Tim
>> On Thursday, January 6, 2022 at 11:16:06 AM UTC-6 Chris Clawson wrote:
>>
>>> Thanks, Tim.
>>> My installation of DSpace 7 is mostly complete. It is up and running, I 
>>> can login, add communities and items. Thanks to Mohamed AlMutairi, he has 
>>> help investigate and resolve many points I hope get into the installation 
>>> documentation. I have been trying to keep a diary on all this, and might 
>>> consider submitting it to the team for review (when ready, if I knew where 
>>> to submit it). At my skill level, there seems to be many missing points 
>>> which might be provided for future users. It is a great package and I look 
>>> forward to further development and a greater acceptance to a wider, less 
>>> technical audience. This would especially benefit small libraries, non 
>>> profit community collections and historical societies.
>>>
>>> On Thursday, January 6, 2022 at 12:05:55 PM UTC-5 Tim Donohue wrote:
>>>
>>>> Hi Chris,
>>>>
>>>> For hints on solving CORS errors, see the notes in our "Common 
>>>> Installation Issues" in our documentation:
>>>>
>>>> https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-%22XMLHttpRequest..hasbeenblockedbyCORSpolicy%22or%22CORSerror%22or%22InvalidCORSrequest%22
>>>>
>>>> Usually, the cause is that the *backend* (REST API) local.cfg configs 
>>>> have the wrong dspace.ui.url setting.
>>>>
>>>> Tim
>>>>
>>>> On Monday, December 27, 2021 at 6:52:16 PM UTC-6 Chris Clawson wrote:
>>>>
>>>>> Another Question: Below is the Rest portion of my environment.prods.ts 
>>>>> file in /dspace-angular. I am using port 8443, rather than 443. Might 
>>>>> this 
>>>>> be causing all the 'CORS header ‘Access-Control-Allow-Origin’ missing). 
>>>>> Status code: 403' messages?
>>>>>
>>>>>   rest: {
>>>>>       ssl: true,
>>>>>       host: 'mywebsite.com',
>>>>>       port: 8443,
>>>>>       // NOTE: Space is capitalized because 'namespace' is a reserved 
>>>>> string in TypeScript
>>>>>       nameSpace: '/server'
>>>>>   }
>>>>>
>>>>> On Monday, December 27, 2021 at 7:36:51 PM UTC-5 Chris Clawson wrote:
>>>>>
>>>>>> More reading led me to my Firefox debug console. There are messages, 
>>>>>> like "Cross-Origin Request Blocked: The Same Origin Policy disallows 
>>>>>> reading the remote resource at https://myserver.com"; all over the 
>>>>>> place. I still have no idea what to do about it, but I guess this is 
>>>>>> where 
>>>>>> I keep studying..
>>>>>>
>>>>>> On Monday, December 27, 2021 at 3:41:04 PM UTC-5 Chris Clawson wrote:
>>>>>>
>>>>>>> First DSpace 7 Angular UI screen! – (but) Unable to log in.
>>>>>>>
>>>>>>> I would appreciate some guidance. I was just successful in getting a 
>>>>>>> DSpace 7 welcome screen from my remote webserver. I am unable to log in 
>>>>>>> or 
>>>>>>> browse the default database . Below the home page search box (Search 
>>>>>>> the 
>>>>>>> repository) is a message which says “error.top-level-communites “. If I 
>>>>>>> click on any of the top menus (Communities, Statistics, etc) the screen 
>>>>>>> attempts to load the page and then hangs (… loading..), as if waiting 
>>>>>>> forever. I have added two Epersons and an Administrator using the 
>>>>>>> ./dspace 
>>>>>>> command line utility and am able to list them back, but the ui login 
>>>>>>> says 
>>>>>>> “invalid email or password”. So far, any command line database utility 
>>>>>>> I 
>>>>>>> have attempted has worked. The default database seems to be there 
>>>>>>> (including my own two added epersons), but the ui doesn't appear to be 
>>>>>>> accessing it. (right?)
>>>>>>>
>>>>>>> I had earlier issues installing Solr. Solr is running now as user 
>>>>>>> 'solr'. The installation directories in /opt are owned by 'root', but 
>>>>>>> the 
>>>>>>> /server/solr/configsets are owned by 'solr'. When I try and run the 
>>>>>>> command 
>>>>>>> './dspace solr-reindex-statistics' I get an error: 
>>>>>>>
>>>>>>> Exception: Error from server at http://localhost:8983/solr: Path 
>>>>>>> /dspace/solr/statistics must be relative to SOLR_HOME, SOLR_DATA_HOME 
>>>>>>> coreRootDirectory. Set system property 'solr.allowPaths' to add other 
>>>>>>> allowed paths.
>>>>>>>
>>>>>>> ?? Is this related to my primary problem? Where are these paths 
>>>>>>> defined (SOLR_HOME, SOLR_DATA_HOME, etc)? I didn't see them in 
>>>>>>> dspace.cfg 
>>>>>>> or local.cfg.
>>>>>>>
>>>>>>> Some help in guiding the blind would be appreciated, here!
>>>>>>>
>>>>>>> Chris
>>>>>>>
>>>>>>>
>>>>>>> Ubuntu 18.04
>>>>>>>
>>>>>>> KVM Cloud server
>>>>>>>
>>>>>>> 2 cpu cores 
>>>>>>>
>>>>>>> 4GB ram
>>>>>>>
>>>>>>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/5219c3e9-3edb-410f-a170-6a4a014d4657n%40googlegroups.com.

Reply via email to