Maybe ask in the thread of your rom what others use for root.
For LOS 15.1, maybe try the official LineageOS Su here: https://download.lineageos.org/extras
Start from scratch, wipe data, cache, dalvik, system
Flash rom, gapps, su (from LOS).
Reboot and activate Su from developer options.