I had the same issue today. I found out the php mcrypt library was not installed.
I just installed it on my server using apt install php7.4-mcrypt
Now installation worked perfectly
I had the same issue today. I found out the php mcrypt library was not installed.
I just installed it on my server using apt install php7.4-mcrypt
Now installation worked perfectly