postgresql keeps erasing it self after /scripts/upcp