My config file has rest_command: !include_dir_merge_list rest_command/
for all of my rest commands. I recently added a new file to that directory, checked the config in Developer Tools, and restarted. Since then I have lost all rest commands, new and old. I have tried everything I can think of: restarted several times, removed the new file, removed the rest_command then added it back in, upgraded, redeployed the container, etc, but nothing ever brings any rest command services back. The logs never say anything about them, either. I’ve downloaded the full logs and there’s nothing in there at all about rest commands.
Then the only reason I see is that the name of the directory is wrong.
You do have a /config/rest_command
directory where you put your yaml files, right?
Yup I double checked that as well, but since I already had existing services from that directory then I know it was working.