For everyone having the same porblem,
The solution was to move the configsets from /opt/solr/server/solr/configsets
that are suggested on the installation instructions.
to
/var/solr/data/configsets
configsets did not exists in /var/solr/data I had to created and set the right permissions.