move nextsynclogid to server