You don't really need to follow the command-line instruction.
There's a more suitable version for most users that relies on web interface:
Note that the CLI instruction is not a guide, but a how-to.
The initial setup is intentionally minimalistic for better modularity.
So that it can be extended on demand using the extras how-to.
It's not clear if I should copy and paste those commands in the CLI or put them in a script and run it on the router. Can the guide be more explicit on how to do this?
Copying blocks of the code direct into the command line work with some commands but not others.
Actually, both ways should work, otherwise you can try another terminal emulator.
Creating a script might also be helpful if you want to customize it or achieve a reproducible result.
In addition, there's an automated method that basically relies on a script: https://openwrt.org/docs/guide-user/services/vpn/openvpn/extras#automated
This means you are likely running more than one server instance.
If you don't need multiple instances, keep only one server config and remove the others.
Restart the router if the issue persists.
Yes. I imported the server.conf (after renaming to server.ovpn since the webgui wouldn't let me import server.conf). I think that was the error.
Anyway, I reset the router and started from scratch using your batch script. I installed luci-openvpn so I could "see" the configuration, however "custom_config" is blank and nothing else shows up as enabled and running. This seems wrong?
I'd like to see explanations for all comments, and clear requirements maybe with an example OpenVPN server configuration.
Lines like "Save your client profile and configure VPN service." make no sense to a new user. A new user thinks where exactly should I run this from? Where should I configure clients? What server config do I need and so on.