Upgrading A Datapack

I tried to upgrade from 1.7 to 1.21 and i added in the datapack pack_format: 48 and still not working. I mean the commands are not showing but in another 1.20.1 server it works

Continue to help post