Infrastructure · Systemd service
SearchAll Discord Bot
Long-running Discord bot for SearchAll.
Control panel
Run it now or change the timing.
Read-only view. Unlock the controls to run jobs, post now, or change schedules.
Actions
SearchAll Discord Bot controls
Starting…
Waiting for the server.
Timing
Service state.
The control panel above can run this job now or rewrite its timer.
Systemd
searchall-discord.service
- Active state
- active / running
- Result
- success
- Exit status
- 0
- Started
- Mon Nov 16, 7:55 PM
- Finished
- Mon Nov 16, 7:55 PM
- Uptime
- 2d 15h
- Restarts
- 1
Logs
Latest output
File "/opt/searchall-bots/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 393, in handle_async_request
with map_httpcore_exceptions():
File "/usr/lib/python3.12/contextlib.py", line 158, in __exit__
self.gen.throw(value)
File "/opt/searchall-bots/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectError: [Errno -2] Name or service not known
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/searchall-bots/bots/discord_bot.py", line 2368, in poll_notifications
payload = await self.api.feed("discord", limit=50)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/searchall-bots/bots/api.py", line 284, in feed
return await self._request(
^^^^^^^^^^^^^^^^^^^^
File "/opt/searchall-bots/bots/api.py", line 64, in _request
raise BotAPIError("Could not reach the SearchAll API.", code="network") from exc
bots.api.BotAPIError: Could not reach the SearchAll API.
Paths and runbook
Where it lives, how to run it.
Token values are never rendered. Copy paths and commands directly from here.
Paths
Files and services
Working Directory
/opt/searchall-bots
Config
/opt/searchall-bots/.env
Logs
journalctl -u searchall-discord
Runbook
Commands
Restart
sudo systemctl restart searchall-discord.service
Logs
journalctl -u searchall-discord -f