I had the same issue appear on ver 5.0.
The system.openoffice=on variable was listed after the system.openoffice={openoffice path} in the config file. Swapping these over resolved this.
The system.openoffice=on variable was listed after the system.openoffice={openoffice path} in the config file. Swapping these over resolved this.