Sudo Autopsy in Ubuntu

I cannot run Autopsy 19.1.1 in my Ubuntu 20.04 in sudo mode or in sudo -E, the SOLR server does not run, so no keyword ingest and no core created.
Is there a solution?

[SOLVED] I simply changed the variable FORCE = false into FORCE = true in the file autopsy/solr/bin/autopsy-solr
so the SOLR server starts in sudo modeā€¦