Expected flush after ref listing

Got this error after trying to push my local repository to the local server. Attempting to clone from the local server results in the same error. Please advise how to solve this problem.