Migration fails: LoadError: libssl.so.1.0.2: cannot open shared object file: No such file or directory

Dear Community,

I try to move my ticket system from one server to another.
Both are on Ubuntu 20.04
The Ticketsystem was on Zammad 5.0, but I Updatet through apt update / upgrade

I installed Zammad on the new server by package (so I did before with the old server).
Both servers run with postgresql.

Backup ran smoothly and most of the restore also but I got one Error saying

LoadError: libssl.so.1.0.2: cannot open shared object file: No such file or directory - /opt/zammad/vendor/bundle/ruby/3.0.0/gems/openssl-3.0.0/lib/openssl.so

But the path and file is there.
Zammad Services are starting up but I cannot access the page.

I also tried zammad run rake db:migrate but I get the same error message here.

I really don’t know what to do.

Any hints? Thank you in advance!