Very pleased with Octoprint, running Octopi with an Ender 3 V2.
I have noticed a couple of bugs with the Octoprint gcode viewer.
Numbering, Octoprint appears to number layers from 0 to N-1 (which is a little distracting because my slicer numbers from 1 to N), However the gcode viewer numbers the layers from 1 to N+1 which is even more distracting! The extra layer is N°2 - with just the purge line on it.
On larger prints the first layer often does not show, sometimes there is just the purge line (or part of it).
This doesn't stop anything from working, so I'm not complaining.
OctoPrint itself doesn't track the layer numbers, but various plugins do. If you have the layers displayed in the state pane, printer LCD, etc you may be using Display Layer Progress and it does have an option to compensate for layers starting at 0. In any case, this would need to be resolved in the particular plugin.
The bundled gcode viewer plugin has an option to skip the purge line: