PhasecoreX / docker-red-discordbot

The newest Red-Discordbot in a convenient container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Container Consistently Fails to Update Red-DiscordBot Without User Intervention

Ryonez opened this issue · comments

Describe the bug
When a new version of Red-DiscordBot is released, restarting the container fails to update the bot. Manual user intervention is required to update now.
This has been the case for at least the last three versions of Red-DiscordBot:
3.4.10
3.4.11
3.4.12

Run command

/usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker create --name='XXX' --net='docker-secure' --cpuset-cpus='4,1,5' -e TZ="Pacific/Auckland" -e HOST_OS="Unraid" -e 'PREFIX'='~' -e 'TOKEN'='XXX' -e 'STORAGE_TYPE'='postgres' -e 'STORAGE_DETAILS'='{ "host": "XXX", "port": null, "user": "XXX", "password": "XXX", "database": "XXX" }' -e 'EXTRA_ARGS'='' -e 'PUID'='99' -e 'PGID'='100' -v '/mnt/user/appdata/XXX':'/data':'rw' 'phasecorex/red-discordbot:full'

Environment info:
unRaid 6.9.2

Additional context
To only way to update currently is to stop the container, delete the venv folder, then start the container.

Do you have any logs from the failed attempts?

I do, sorry I forgot to include them.

`

| |/ /__ | | ______ | | | | ___ ___ ___ _ __ | | | |/ / ___ | |
| // _ / | |______| | | | | / __|/ __/ _ \| '__/ _ | | ___ / _ | __|
| |\ \ __/ (
| | | |/ /| __ \ (| () | | | (| | | |/ / () | |
_| __
|_,| |
/ ||/__/|| _,| _/ ___/ __|

╭─────────── Annabelle ───────────╮ ╭───────────────────────╮
│ Prefixes │ ~ │ │ Shards │ 1 │
│ Language │ en-US │ │ Servers │ 22 │
│ Red version │ 3.4.11 │ │ Unique Users │ 2103 │

│ Discord.py version │ 1.7.3 │ ╰───────────────────────╯

│ Storage type │ Postgres │
╰─────────────────────────────────╯
Loaded 33 cogs with 178 commands

Invite URL:
https://discord.com/oauth2/authorize?client_id=XXX&scope=bot
[2021-06-13 06:16:32] [ERROR] red.core.cogs.Streams: Twitch OAuth2 API request failed with status code 400 and error message: missing client id

[2021-06-13 06:16:34] [INFO] red.Audio.manager: Internal Lavalink server started. PID: 194
[2021-06-13 06:16:40] [INFO] red.Audio.manager: Internal Lavalink server is ready to receive requests.
[2021-06-13 06:16:40] [INFO] red.Audio.WS.LLServer: Lavalink WS connecting to ws://localhost:2333 with headers {'Authorization': 'XXX', 'User-Id': 'XXX', 'Num-Shards': '1', 'Resume-Key': 'Red-Core-Audio-231241068383961088-docker'}
[2021-06-15 02:15:23] [INFO] red.cleanup: Lemon Collective 🍋(735309947713355878) deleted 55 messages in channel cooldown-2.
[2021-06-15 15:58:04] [INFO] red.cleanup: OldManHorseFace(193870173092970497) deleted 19 messages in channel cooldown-1.
[2021-06-15 17:35:24] [INFO] red.cleanup: Pekoe(120928765156130816) deleted 54 messages in channel cooldown-1.
[2021-06-17 03:51:11] [ERROR] red.aikaterna.rndstatus: Something went wrong in maybe_update_presence task:

Traceback (most recent call last):
File "/data/cogs/CogManager/cogs/rndstatus/rndstatus.py", line 142, in maybe_update_presence
await self.presence_updater()
File "/data/cogs/CogManager/cogs/rndstatus/rndstatus.py", line 150, in presence_updater
cog_settings = await self.config.all()
File "/data/venv/lib/python3.8/site-packages/redbot/core/config.py", line 304, in _get
raw = await super()._get(default)
File "/data/venv/lib/python3.8/site-packages/redbot/core/config.py", line 176, in _get
ret = await self.driver.get(self.identifier_data)

File "/data/venv/lib/python3.8/site-packages/redbot/core/drivers/postgres/postgres.py", line 141, in get
result = await self._execute(
File "/data/venv/lib/python3.8/site-packages/redbot/core/drivers/postgres/postgres.py", line 237, in _execute
return await method(query, args)
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 565, in fetchval
async with self.acquire() as con:
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 785, in aenter
self.connection = await self.pool._acquire(self.timeout)
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 625, in _acquire
return await _acquire_impl()
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 610, in _acquire_impl
proxy = await ch.acquire() # type: PoolConnectionProxy
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 135, in acquire
await self.connect()
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 127, in connect
self._con = await self._pool._get_new_connection()
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 491, in _get_new_connection
con = await connect_utils._connect_addr(
File "/data/venv/lib/python3.8/site-packages/asyncpg/connect_utils.py", line 634, in _connect_addr
tr, pr = await compat.wait_for(connector, timeout=timeout)
File "/data/venv/lib/python3.8/site-packages/asyncpg/compat.py", line 103, in wait_for
return await asyncio.wait_for(fut, timeout)
File "/usr/local/lib/python3.8/asyncio/tasks.py", line 494, in wait_for
return fut.result()
File "/data/venv/lib/python3.8/site-packages/asyncpg/connect_utils.py", line 544, in _create_ssl_connection
tr, pr = await loop.create_connection(
File "uvloop/loop.pyx", line 1928, in create_connection
socket.gaierror: [Errno -2] Name or service not known
[2021-06-18 06:21:47] [INFO] red.Audio.manager: Shutting down internal Lavalink server
[2021-06-18 06:21:47] [INFO] red.Audio.WS.LLServer: [NODE] | Listener closing: None
[2021-06-18 06:21:47] [WARNING] red.Audio.WS.LLServer: [NODE] | <Node: state=DISCONNECTING, host=localhost, port=2333, password=
**************, resume_key=Red-Core-Audio-231241068383961088-docker, shards=1, user=231241068383961088, stats=<NoteStats: uptime=432305407, players=0, playing_players=0, memory_free=493884928, memory_used=52423168, cpu_cores=3, system_load=0.18928189982820495, lavalink_load=0.0008289406563509608>> - WS True SHUTDOWN True.

[2021-06-18 06:21:47] [INFO] red.Audio.WS.LLServer: [NODE] | Shutting down Lavalink WS.
[2021-06-18 06:21:47] [INFO] red.Audio.WS.LLServer: Shutdown Lavalink WS.
[2021-06-18 06:21:47] [INFO] red.main: Shutting down with exit code: ExitCodes.RESTART
[2021-06-18 06:21:47] [INFO] red.main: Please wait, cleaning up a bit more
Ignoring exception in on_message
Traceback (most recent call last):
File "/data/venv/lib/python3.8/site-packages/discord/client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "/data/cogs/CogManager/cogs/defender/core/events.py", line 43, in on_message
if not await self.config.guild(guild).enabled():
File "/data/venv/lib/python3.8/site-packages/redbot/core/config.py", line 176, in _get
ret = await self.driver.get(self.identifier_data)

File "/data/venv/lib/python3.8/site-packages/redbot/core/drivers/postgres/postgres.py", line 141, in get
result = await self._execute(
File "/data/venv/lib/python3.8/site-packages/redbot/core/drivers/postgres/postgres.py", line 237, in _execute
return await method(query, *args)
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 565, in fetchval
async with self.acquire() as con:
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 785, in aenter
self.connection = await self.pool._acquire(self.timeout)
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 625, in _acquire
return await _acquire_impl()
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 610, in _acquire_impl
proxy = await ch.acquire() # type: PoolConnectionProxy
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 135, in acquire
await self.connect()
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 127, in connect
self._con = await self._pool._get_new_connection()
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 491, in _get_new_connection
con = await connect_utils._connect_addr(
File "/data/venv/lib/python3.8/site-packages/asyncpg/connect_utils.py", line 634, in _connect_addr
tr, pr = await compat.wait_for(connector, timeout=timeout)
File "/data/venv/lib/python3.8/site-packages/asyncpg/compat.py", line 103, in wait_for
return await asyncio.wait_for(fut, timeout)
File "/usr/local/lib/python3.8/asyncio/tasks.py", line 494, in wait_for
return fut.result()
File "/data/venv/lib/python3.8/site-packages/asyncpg/connect_utils.py", line 544, in _create_ssl_connection
tr, pr = await loop.create_connection(
File "uvloop/loop.pyx", line 1928, in create_connection
socket.gaierror: [Errno -2] Name or service not known
Ignoring exception in on_message
Traceback (most recent call last):
File "/data/venv/lib/python3.8/site-packages/discord/client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "/data/venv/lib/python3.8/site-packages/redbot/cogs/mod/events.py", line 148, in on_message
mod_or_superior = await is_mod_or_superior(self.bot, obj=author)
File "/data/venv/lib/python3.8/site-packages/redbot/core/utils/mod.py", line 156, in is_mod_or_superior
if await bot.is_mod(user):
File "/data/venv/lib/python3.8/site-packages/redbot/core/bot.py", line 1166, in is_mod
for snowflake in await self._config.guild(member.guild).admin_role():
File "/data/venv/lib/python3.8/site-packages/redbot/core/config.py", line 176, in _get
ret = await self.driver.get(self.identifier_data)

File "/data/venv/lib/python3.8/site-packages/redbot/core/drivers/postgres/postgres.py", line 141, in get
result = await self._execute(
File "/data/venv/lib/python3.8/site-packages/redbot/core/drivers/postgres/postgres.py", line 237, in _execute
return await method(query, *args)
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 565, in fetchval
async with self.acquire() as con:
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 785, in aenter
self.connection = await self.pool._acquire(self.timeout)
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 625, in _acquire
return await _acquire_impl()
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 610, in _acquire_impl
proxy = await ch.acquire() # type: PoolConnectionProxy
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 135, in acquire
await self.connect()
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 127, in connect
self._con = await self._pool._get_new_connection()
File "/data/venv/lib/python3.8/site-packages/asyncpg/pool.py", line 491, in _get_new_connection
con = await connect_utils._connect_addr(
File "/data/venv/lib/python3.8/site-packages/asyncpg/connect_utils.py", line 634, in _connect_addr
tr, pr = await compat.wait_for(connector, timeout=timeout)
File "/data/venv/lib/python3.8/site-packages/asyncpg/compat.py", line 103, in wait_for
return await asyncio.wait_for(fut, timeout)
File "/usr/local/lib/python3.8/asyncio/tasks.py", line 494, in wait_for
return fut.result()
File "/data/venv/lib/python3.8/site-packages/asyncpg/connect_utils.py", line 544, in _create_ssl_connection
tr, pr = await loop.create_connection(
File "uvloop/loop.pyx", line 1928, in create_connection
socket.gaierror: [Errno -2] Name or service not known
Updating Red-DiscordBot[postgres]...
Requirement already satisfied: pip in /data/venv/lib/python3.8/site-packages (21.1.2)
Requirement already satisfied: setuptools in /data/venv/lib/python3.8/site-packages (57.0.0)
Requirement already satisfied: wheel in /data/venv/lib/python3.8/site-packages (0.36.2)
Requirement already satisfied: Red-DiscordBot[postgres] in /data/venv/lib/python3.8/site-packages (3.4.11)
Requirement already satisfied: Red-Lavalink==0.8.1 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.8.1)
Requirement already satisfied: aiosqlite==0.16.1 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.16.1)
Requirement already satisfied: aiohttp==3.7.3 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (3.7.3)
Requirement already satisfied: commonmark==0.9.1 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.9.1)
Requirement already satisfied: python-dateutil==2.8.1 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (2.8.1)
Requirement already satisfied: typing-extensions==3.7.4.3 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (3.7.4.3)
Requirement already satisfied: rich==9.9.0 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (9.9.0)
Requirement already satisfied: PyYAML==5.4.1 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (5.4.1)
Requirement already satisfied: distro==1.5.0 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (1.5.0)
Requirement already satisfied: discord.py==1.7.3 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (1.7.3)
Requirement already satisfied: chardet==3.0.4 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (3.0.4)
Requirement already satisfied: pytz==2021.1 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (2021.1)
Requirement already satisfied: schema==0.7.4 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.7.4)
Requirement already satisfied: idna==2.10 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (2.10)
Requirement already satisfied: click==7.1.2 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (7.1.2)
Requirement already satisfied: appdirs==1.4.4 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (1.4.4)
Requirement already satisfied: async-timeout==3.0.1 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (3.0.1)
Requirement already satisfied: apsw-wheels==3.34.1.post1 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (3.34.1.post1)
Requirement already satisfied: six==1.15.0 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (1.15.0)
Requirement already satisfied: Pygments==2.7.4 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (2.7.4)
Requirement already satisfied: attrs==20.3.0 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (20.3.0)
Requirement already satisfied: contextlib2==0.6.0.post1 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.6.0.post1)
Requirement already satisfied: yarl==1.6.3 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (1.6.3)
Requirement already satisfied: uvloop==0.15.0 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.15.0)
Requirement already satisfied: fuzzywuzzy==0.18.0 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.18.0)
Requirement already satisfied: multidict==5.1.0 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (5.1.0)
Requirement already satisfied: Markdown==3.3.3 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (3.3.3)
Requirement already satisfied: python-Levenshtein-wheels==0.13.2 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.13.2)
Requirement already satisfied: aiohttp-json-rpc==0.13.3 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.13.3)
Requirement already satisfied: colorama==0.4.4 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.4.4)
Requirement already satisfied: Babel==2.9.0 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (2.9.0)
Requirement already satisfied: PyNaCl==1.3.0 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (1.3.0)
Requirement already satisfied: asyncpg==0.22.0 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.22.0)
Requirement already satisfied: cffi>=1.4.1 in /data/venv/lib/python3.8/site-packages (from PyNaCl==1.3.0->Red-DiscordBot[postgres]) (1.14.5)
Requirement already satisfied: pycparser in /data/venv/lib/python3.8/site-packages (from cffi>=1.4.1->PyNaCl==1.3.0->Red-DiscordBot[postgres]) (2.20)
Starting Red-DiscordBot!
[2021-06-18 06:22:01] [INFO] red: Loading packages...
WARNING: 22 shift/reduce conflicts

[2021-06-18 06:22:04] [INFO] red: Loaded packages: permissions, admin, antimentionspam, alias, modlog, mod, cleanup, general, dice, stickyroles, audio, dungeon, updatenotify, sbansync, downloader, reports, lockdown, away, pony, mutes, streams, remindme, retrigger, datautils, say, ticketer, rndstatus, welcome, defender, roletools, starboard, extendedmodlog
[2021-06-18 06:22:06] [INFO] red: Connected to Discord. Getting ready...


| ___ \ | | | _ () | | | ___ \ | |
| |
/ /___ | | ______ | | | | ___ ___ ___ _ __ | | | |/ / ___ | |
| // _ / | |______| | | | | / __|/ __/ _ \| '__/ _ | | ___ / _ | __|
| |\ \ __/ (
| | | |/ /| __ \ (| () | | | (| | | |/ / () | |
_| __
|_,| |
/ ||/__/|| _,| _/ ___/ __|

╭─────────── Annabelle ───────────╮ ╭───────────────────────╮
│ Prefixes │ ~ │ │ Shards │ 1 │
│ Language │ en-US │ │ Servers │ 22 │
│ Red version │ 3.4.11 │ │ Unique Users │ 2129 │

│ Discord.py version │ 1.7.3 │ ╰───────────────────────╯

│ Storage type │ Postgres │
╰─────────────────────────────────╯
Loaded 33 cogs with 178 commands

Invite URL:
https://discord.com/oauth2/authorize?client_id=XXX&scope=bot
Outdated version!

!!!Version 3.4.12 is available, but you're using 3.4.11!!!

[2021-06-18 06:22:10] [ERROR] red.core.cogs.Streams: Twitch OAuth2 API request failed with status code 400 and error message: missing client id

[2021-06-18 06:22:12] [INFO] red.Audio.manager: Internal Lavalink server started. PID: 1010
[2021-06-18 06:22:18] [INFO] red.Audio.manager: Internal Lavalink server is ready to receive requests.
[2021-06-18 06:22:18] [INFO] red.Audio.WS.LLServer: Lavalink WS connecting to ws://localhost:2333 with headers {'Authorization': 'XXX', 'User-Id': 'XXX', 'Num-Shards': '1', 'Resume-Key': 'Red-Core-Audio-231241068383961088-docker'}
[2021-06-18 06:23:33] [INFO] red.main: Signals.SIGTERM received. Quitting...
[2021-06-18 06:23:33] [INFO] red.main: Shutting down with exit code: ExitCodes.SHUTDOWN
[2021-06-18 06:23:33] [INFO] red.Audio.manager: Shutting down internal Lavalink server
[2021-06-18 06:23:33] [INFO] red.Audio.WS.LLServer: [NODE] | Listener closing: None
[2021-06-18 06:23:33] [WARNING] red.Audio.WS.LLServer: [NODE] | <Node: state=DISCONNECTING, host=localhost, port=2333, password=***************, resume_key=Red-Core-Audio-231241068383961088-docker, shards=1, user=231241068383961088, stats=<NoteStats: uptime=65619, players=0, playing_players=0, memory_free=435613224, memory_used=103354840, cpu_cores=3, system_load=0.12118589746301052, lavalink_load=0.001204513756815012>> - WS True SHUTDOWN True.

[2021-06-18 06:23:33] [INFO] red.Audio.WS.LLServer: [NODE] | Shutting down Lavalink WS.
[2021-06-18 06:23:33] [INFO] red.Audio.WS.LLServer: Shutdown Lavalink WS.
[2021-06-18 06:23:34] [INFO] red.main: Please wait, cleaning up a bit more
Timezone set to Pacific/Auckland
Starting with UID/GID: 99/100
Activating Python virtual environment...
Updating Red-DiscordBot[postgres]...
Requirement already satisfied: pip in /data/venv/lib/python3.8/site-packages (21.1.1)
Collecting pip
Downloading pip-21.1.2-py3-none-any.whl (1.5 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 21.1.1
Uninstalling pip-21.1.1:
Successfully uninstalled pip-21.1.1
Successfully installed pip-21.1.2
Requirement already satisfied: setuptools in /data/venv/lib/python3.8/site-packages (56.0.0)
Collecting setuptools
Downloading setuptools-57.0.0-py3-none-any.whl (821 kB)
Collecting wheel
Downloading wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel, setuptools
Attempting uninstall: setuptools
Found existing installation: setuptools 56.0.0
Uninstalling setuptools-56.0.0:
Successfully uninstalled setuptools-56.0.0
Successfully installed setuptools-57.0.0 wheel-0.36.2
Collecting Red-DiscordBot[postgres]
Downloading Red_DiscordBot-3.4.12-py3-none-any.whl (5.0 MB)
Collecting fuzzywuzzy==0.18.0
Downloading fuzzywuzzy-0.18.0-py2.py3-none-any.whl (18 kB)
Collecting aiohttp-json-rpc==0.13.3
Downloading aiohttp_json_rpc-0.13.3-py3-none-any.whl (30 kB)
Collecting uvloop==0.15.0
Downloading uvloop-0.15.0-cp38-cp38-manylinux2010_x86_64.whl (4.7 MB)
Collecting Red-Lavalink==0.8.1
Downloading Red_Lavalink-0.8.1-py3-none-any.whl (34 kB)
Collecting yarl==1.6.3
Downloading yarl-1.6.3-cp38-cp38-manylinux2014_x86_64.whl (324 kB)
Collecting distro==1.5.0
Downloading distro-1.5.0-py2.py3-none-any.whl (18 kB)
Collecting six==1.15.0
Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs==1.4.4
Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting idna==2.10
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting aiohttp==3.7.3
Downloading aiohttp-3.7.3-cp38-cp38-manylinux2014_x86_64.whl (1.5 MB)
Collecting attrs==20.3.0
Downloading attrs-20.3.0-py2.py3-none-any.whl (49 kB)
Collecting contextlib2==0.6.0.post1
Downloading contextlib2-0.6.0.post1-py2.py3-none-any.whl (9.8 kB)
Collecting PyYAML==5.4.1
Downloading PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl (662 kB)
Collecting Pygments==2.7.4
Downloading Pygments-2.7.4-py3-none-any.whl (950 kB)
Collecting apsw-wheels==3.34.1.post1
Downloading apsw_wheels-3.34.1.post1-cp38-cp38-manylinux2010_x86_64.whl (2.6 MB)
Collecting rich==9.9.0
Downloading rich-9.9.0-py3-none-any.whl (187 kB)
Collecting Markdown==3.3.3
Downloading Markdown-3.3.3-py3-none-any.whl (96 kB)
Collecting pytz==2021.1
Downloading pytz-2021.1-py2.py3-none-any.whl (510 kB)
Collecting discord.py==1.7.3
Downloading discord.py-1.7.3-py3-none-any.whl (786 kB)
Collecting chardet==3.0.4
Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting PyNaCl==1.3.0
Downloading PyNaCl-1.3.0-cp34-abi3-manylinux1_x86_64.whl (759 kB)
Collecting python-Levenshtein-wheels==0.13.2
Downloading python_Levenshtein_wheels-0.13.2-cp38-cp38-manylinux2010_x86_64.whl (146 kB)
Collecting async-timeout==3.0.1
Downloading async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
Collecting python-dateutil==2.8.1
Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting multidict==5.1.0
Downloading multidict-5.1.0-cp38-cp38-manylinux2014_x86_64.whl (159 kB)
Collecting Babel==2.9.0
Downloading Babel-2.9.0-py2.py3-none-any.whl (8.8 MB)
Collecting schema==0.7.4
Downloading schema-0.7.4-py2.py3-none-any.whl (16 kB)
Collecting colorama==0.4.4
Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting click==7.1.2
Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting typing-extensions==3.7.4.3
Downloading typing_extensions-3.7.4.3-py3-none-any.whl (22 kB)
Collecting commonmark==0.9.1
Downloading commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
Collecting aiosqlite==0.16.1
Downloading aiosqlite-0.16.1-py3-none-any.whl (15 kB)
Collecting asyncpg==0.22.0
Downloading asyncpg-0.22.0-cp38-cp38-manylinux1_x86_64.whl (3.0 MB)
Collecting cffi>=1.4.1
Downloading cffi-1.14.5-cp38-cp38-manylinux1_x86_64.whl (411 kB)
Collecting pycparser
Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
Installing collected packages: multidict, idna, yarl, typing-extensions, chardet, attrs, async-timeout, pycparser, aiohttp, six, pytz, Pygments, discord.py, contextlib2, commonmark, colorama, cffi, uvloop, schema, rich, Red-Lavalink, PyYAML, python-Levenshtein-wheels, python-dateutil, PyNaCl, Markdown, fuzzywuzzy, distro, click, Babel, apsw-wheels, appdirs, aiosqlite, aiohttp-json-rpc, Red-DiscordBot, asyncpg
Successfully installed Babel-2.9.0 Markdown-3.3.3 PyNaCl-1.3.0 PyYAML-5.4.1 Pygments-2.7.4 Red-DiscordBot-3.4.12 Red-Lavalink-0.8.1 aiohttp-3.7.3 aiohttp-json-rpc-0.13.3 aiosqlite-0.16.1 appdirs-1.4.4 apsw-wheels-3.34.1.post1 async-timeout-3.0.1 asyncpg-0.22.0 attrs-20.3.0 cffi-1.14.5 chardet-3.0.4 click-7.1.2 colorama-0.4.4 commonmark-0.9.1 contextlib2-0.6.0.post1 discord.py-1.7.3 distro-1.5.0 fuzzywuzzy-0.18.0 idna-2.10 multidict-5.1.0 pycparser-2.20 python-Levenshtein-wheels-0.13.2 python-dateutil-2.8.1 pytz-2021.1 rich-9.9.0 schema-0.7.4 six-1.15.0 typing-extensions-3.7.4.3 uvloop-0.15.0 yarl-1.6.3
Setting bot token...
Setting bot prefix(es)...
Starting Red-DiscordBot!
[2021-06-18 06:25:45] [INFO] red: Loading packages...
WARNING: 22 shift/reduce conflicts

[2021-06-18 06:25:47] [INFO] red: Loaded packages: permissions, admin, antimentionspam, alias, modlog, mod, cleanup, general, dice, stickyroles, audio, dungeon, updatenotify, sbansync, downloader, reports, lockdown, away, pony, mutes, streams, remindme, retrigger, datautils, say, ticketer, rndstatus, welcome, defender, roletools, starboard, extendedmodlog
[2021-06-18 06:25:49] [INFO] red: Connected to Discord. Getting ready...


| ___ \ | | | _ () | | | ___ \ | |
| |
/ /___ | | ______ | | | | ___ ___ ___ _ __ | | | |/ / ___ | |
| // _ / | |______| | | | | / __|/ __/ _ \| '__/ _ | | ___ / _ | __|
| |\ \ __/ (
| | | |/ /| __ \ (| () | | | (| | | |/ / () | |
_| __
|_,| |
/ ||/__/|| _,| _/ ___/ __|

╭─────────── Annabelle ───────────╮ ╭───────────────────────╮
│ Prefixes │ ~ │ │ Shards │ 1 │
│ Language │ en-US │ │ Servers │ 22 │
│ Red version │ 3.4.12 │ │ Unique Users │ 2129 │

│ Discord.py version │ 1.7.3 │ ╰───────────────────────╯

│ Storage type │ Postgres │
╰─────────────────────────────────╯
Loaded 33 cogs with 178 commands

Invite URL:
https://discord.com/oauth2/authorize?client_id=XXX&scope=bot
[2021-06-18 06:25:53] [ERROR] red.core.cogs.Streams: Twitch OAuth2 API request failed with status code 400 and error message: missing client id

[2021-06-18 06:25:54] [INFO] red.Audio.manager: Internal Lavalink server started. PID: 195
[2021-06-18 06:25:59] [INFO] red.Audio.manager: Internal Lavalink server is ready to receive requests.
[2021-06-18 06:25:59] [INFO] red.Audio.WS.LLServer: Lavalink WS connecting to ws://localhost:2333 with headers {'Authorization': 'XXX', 'User-Id': 'XXX', 'Num-Shards': '1', 'Resume-Key': 'Red-Core-Audio-231241068383961088-docker'}
`

Interesting. Yes, when I do the following in a test python virtual environment (not even in my docker image):

python -m pip install --upgrade --no-cache-dir "Red-DiscordBot[postgres]==3.4.11"
python -m pip install --upgrade --no-cache-dir "Red-DiscordBot[postgres]"

The second command just says:

Requirement already satisfied: Red-DiscordBot[postgres] in ./redbot-test/lib/python3.8/site-packages (3.4.11)

However if I do:

python -m pip install --upgrade --no-cache-dir "Red-DiscordBot==3.4.11"
python -m pip install --upgrade --no-cache-dir "Red-DiscordBot"

It updates to 3.4.12 as expected.

Might be a pip issue, not sure.

With 20e486d I have made it so that the updater is "eager" to update. With my testing this should fix this issue. Let me know if it isn't the case with the next Red-DiscordBot update!

@PhasecoreX This didn't do it sorry, logs are below.

[2021-06-24 10:02:22] [INFO] red.Audio.WS.LLServer: [NODE] | Shutting down Lavalink WS.
[2021-06-24 10:02:22] [INFO] red.Audio.WS.LLServer: Shutdown Lavalink WS.
[2021-06-24 10:02:22] [INFO] red.main: Shutting down with exit code: ExitCodes.RESTART
[2021-06-24 10:02:22] [INFO] red.main: Please wait, cleaning up a bit more
Updating Red-DiscordBot[postgres]...
Requirement already satisfied: pip in /data/venv/lib/python3.8/site-packages (21.1.2)
Requirement already satisfied: setuptools in /data/venv/lib/python3.8/site-packages (57.0.0)
Requirement already satisfied: wheel in /data/venv/lib/python3.8/site-packages (0.36.2)
Requirement already satisfied: Red-DiscordBot[postgres] in /data/venv/lib/python3.8/site-packages (3.4.12)
Requirement already satisfied: typing-extensions==3.7.4.3 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (3.7.4.3)
Requirement already satisfied: Markdown==3.3.3 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (3.3.3)
Requirement already satisfied: colorama==0.4.4 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.4.4)
Requirement already satisfied: appdirs==1.4.4 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (1.4.4)
Requirement already satisfied: commonmark==0.9.1 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.9.1)
Requirement already satisfied: six==1.15.0 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (1.15.0)
Requirement already satisfied: aiohttp-json-rpc==0.13.3 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.13.3)
Requirement already satisfied: rich==9.9.0 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (9.9.0)
Requirement already satisfied: aiohttp==3.7.3 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (3.7.3)
Requirement already satisfied: contextlib2==0.6.0.post1 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.6.0.post1)
Requirement already satisfied: chardet==3.0.4 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (3.0.4)
Requirement already satisfied: discord.py==1.7.3 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (1.7.3)
Requirement already satisfied: python-dateutil==2.8.1 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (2.8.1)
Requirement already satisfied: attrs==20.3.0 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (20.3.0)
Requirement already satisfied: click==7.1.2 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (7.1.2)
Requirement already satisfied: aiosqlite==0.16.1 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.16.1)
Requirement already satisfied: PyYAML==5.4.1 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (5.4.1)
Requirement already satisfied: Red-Lavalink==0.8.1 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.8.1)
Requirement already satisfied: multidict==5.1.0 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (5.1.0)
Requirement already satisfied: Pygments==2.7.4 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (2.7.4)
Requirement already satisfied: pytz==2021.1 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (2021.1)
Requirement already satisfied: schema==0.7.4 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.7.4)
Requirement already satisfied: PyNaCl==1.3.0 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (1.3.0)
Requirement already satisfied: fuzzywuzzy==0.18.0 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.18.0)
Requirement already satisfied: yarl==1.6.3 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (1.6.3)
Requirement already satisfied: distro==1.5.0 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (1.5.0)
Requirement already satisfied: async-timeout==3.0.1 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (3.0.1)
Requirement already satisfied: idna==2.10 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (2.10)
Requirement already satisfied: Babel==2.9.0 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (2.9.0)
Requirement already satisfied: python-Levenshtein-wheels==0.13.2 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.13.2)
Requirement already satisfied: apsw-wheels==3.34.1.post1 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (3.34.1.post1)
Requirement already satisfied: uvloop==0.15.0 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.15.0)
Requirement already satisfied: asyncpg==0.22.0 in /data/venv/lib/python3.8/site-packages (from Red-DiscordBot[postgres]) (0.22.0)
Requirement already satisfied: cffi>=1.4.1 in /data/venv/lib/python3.8/site-packages (from PyNaCl==1.3.0->Red-DiscordBot[postgres]) (1.14.5)
Requirement already satisfied: pycparser in /data/venv/lib/python3.8/site-packages (from cffi>=1.4.1->PyNaCl==1.3.0->Red-DiscordBot[postgres]) (2.20)
Starting Red-DiscordBot!
[2021-06-24 10:02:44] [INFO] red: Loading packages...
WARNING: 22 shift/reduce conflicts

[2021-06-24 10:02:47] [INFO] red: Loaded packages: permissions, admin, antimentionspam, alias, modlog, mod, cleanup, general, dice, stickyroles, audio, dungeon, updatenotify, sbansync, downloader, reports, lockdown, away, pony, mutes, streams, retrigger, ticketer, rndstatus, welcome, roletools, starboard, datautils, extendedmodlog, say, defender, remindme
[2021-06-24 10:02:49] [INFO] red: Connected to Discord. Getting ready...

Requirement already satisfied: Red-DiscordBot[postgres] in /data/venv/lib/python3.8/site-packages (3.4.12)

3.4.12 is the latest though, so it technically has worked. To test, you could manually install 3.4.11 by adding the environment variable REDBOT_VERSION="==3.4.11", recreating and starting the container, removing that environment variable, and then recreating and starting the container. Or you could just wait for 3.4.13 (or whatever the next version is) to come out.

Oh crap, sorry. It was a notification for an update for the container image, not the bot itself. Did a derp there.