I have found out that it has something to do with ProtectSystem=strict in the tomcat9 systemd unit. I will debug some more. setting ProtectSystem=full worked one time(and then something else went wrong and tomcat never got properly started)
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1829611 Title: tomcat cannot create the index directory for solr on startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lucene-solr/+bug/1829611/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
