The website encountered an unexpected error due to installing custom module
It looks like a simple naming error. Your route name in the links file is:

route_name : mymodule.admin_form


But in your routing.yml you have:

 mymodule.settings:


Update one or the other so they both match, clear the cache, and it should work.