Troubleshooting - altoiddealer/ad_discordbot GitHub Wiki
Troubleshooting
There's many features in the bot, so there's plenty of opportunity for a screw or two to come loose.
'/image' command does not initialize with ControlNet:
- The '/image' command now requires the
/controlnet/control_type/
API endpoint. - If you are using SD WebUI Forge, then you likely do not have the
/controlnet/control_type/
API endpoint, because they foolishly omitted it. - I personally ported this endpoint from the ControlNet extension into a Pull Request at Forge.
- Simply replace your
api.py
andglobal_state.py
in your...\stable-diffusion-webui-forge\extensions-builtin\sd_forge_controlnet\lib_controlnet
directory, and this API endpoint will be added and ControlNet will be enabled for the '/image' command.
'/restart_sd_client' command does not work:
- Your Stable Diffusion client (A1111/Forge) must be launched with the
--api-server-stop
flag to enable the /sdapi/v1/server-restart API endpoint.