You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Ne...@web.de.INVALID on 2024/10/19 11:09:06 UTC

SolrException: ByteBuffersDirectory can only be used with the 'single' lock factory type

Hello,



When starting up Solr Docker Image 9.7.0 I always get the following error
when loading my core 'places': org.apache.solr.common.SolrException:
ByteBuffersDirectory can only be used with the 'single' lock factory type.
The complete log is in the appendix.



I mount the following files to /var/solr/data

- solr.xml

- places/core.properties

- places/places.csv

- places/schema.xml

- places/solrconfig.xml



In the solrconfig.xml the locktype is set to single:



    <indexConfig>

        <lockType>single</lockType>

    </indexConfig>



Does anyone have an idea how to fix this error?


Re: SolrException: ByteBuffersDirectory can only be used with the 'single' lock factory type

Posted by David Smiley <ds...@apache.org>.
Hi,
Presumably a previous version worked?  What version was that?

On Sat, Oct 19, 2024 at 7:10 AM <Ne...@web.de.invalid> wrote:

> Hello,
>
>
>
> When starting up Solr Docker Image 9.7.0 I always get the following error
> when loading my core 'places': org.apache.solr.common.SolrException:
> ByteBuffersDirectory can only be used with the 'single' lock factory type.
> The complete log is in the appendix.
>
>
>
> I mount the following files to /var/solr/data
>
> - solr.xml
>
> - places/core.properties
>
> - places/places.csv
>
> - places/schema.xml
>
> - places/solrconfig.xml
>
>
>
> In the solrconfig.xml the locktype is set to single:
>
>
>
>     <indexConfig>
>
>         <lockType>single</lockType>
>
>     </indexConfig>
>
>
>
> Does anyone have an idea how to fix this error?
>