Update Failure with Minecraft - it does not want to install the version 1.20.1 forge

The mods folder only generates after the server has started. Nothing is preventing you from making the folder yourself however.
There’s also a modpack guide here:
https://discourse.cubecoders.com/t/setting-up-a-modded-java-minecraft-server/26535