gdaladdo
seems very sensitive to options order and formatting. Just took me 15+ minutes to figure out my solution to " ERROR 4: PREDICTOR OVERVIEW' does not exist in the file system" was to move
--config PREDICTOR_OVERVIEW 2` to the beginning of the command list instead of the end. Or something.