Encryption progress bar. Command encryption:encrypt-all

Hi, I’m using sudo -u www-data php occ encryption:encrypt-all command. The problem is that the encryption progress bar doesn’t load. I’m running the command over ssh connection. At first I thought it was the ssh connection tool, but I ran the test with other tools and the problem still persists. Do you have any suggestions?