Error while MOH module upgrade - FreePBX-2.3.1

While doing the module upgrade after installing FreePBX 2.3.1 The process stalled after exploding the tar for MOH
ERROR was “Cannot write to file ()”

is there a way to correct this.

ANy help will be appreciated.