I’m not very familiar with the wallet and got confused by the error messages
Wallet file not specified (must request wallet RPC through /wallet/<filename> uri-path).
Try adding "-rpcwallet=<filename>" option to bitcoin-cli command line.
not knowing which filename to put here (some wallet.dat
in the wallet’s directory?), when actually, at least for newer wallets, just the wallet name is expected.