I\'m getting this error when I try to create a new core in solr.
root@ubuntu:/opt/solr# bin/solr create -c gettingstarted -n data_driven_schema_configs
Setup n
Please notice that before creating a core you should make a directory with the same name into :
C:\...\solr-8.3.11\server\solr
Then copy conf folder from examples or the default folder.
I had a same problem in windows I copied conf folder from examples:
C:\...\solr-8.3.1\example\files
to here :
C:\...\solr-8.3.1\server\solr\new_core
And my problem solved.
You can also copy conf folder from its default folder:
C:\...\solr-8.3.11\server\solr\configsets_default
in here new_core is the name of my new core which I was adding.
so maybe in Ubuntu coping this folder solve your problem.
next solution : after running solr with command prompt or the terminal, to create a core use this command :
solr create -c new_core_name