I have not tried repartitioning yet because the guides recommend you have at least 18.104.22.168 installed before you try to run the partition script. are you sure repartitioning in my current 2.8.x.x version will be ok?
You should follow Clamors repartition guide here
Check out my LOS daily builds at https://lineageos.wickenberg.nu
thanks for the reply, I did go there and some suggested it's important to use the latest version of twrp before partitioning. Would it be ok to try to repartition it with my older version of twrp as above quoted user recommends? if not i need to get twrp updated first somehow
any suggestions on what I should wipe or clean in order to potentially fix this error and allow upgrading recovery flash version of twrp without bricking it?
EDIT: I managed to get it working, description is here https://forum.xda-developers.com/showpost.php?p=81818907&postcount=272
IT turned out repartitioning the device was not necessary, the newest twrp installed and works without having done any repartition