docker compose up -d --build

← العودة
Blog Post

عنوان المحادثة: docker compose up -d --build

التاريخ: 14.04.2026

التصنيف: 💻 البرمجة وتطوير البرمجيات

إجمالي الرسائل: 18 | ياسر: 6 | M: 12

المحادثة الكاملة - 14.04.2026
ياسر
docker compose up -d --build
14.04.2026 17:46
ياسر
docker compose down
14.04.2026 17:48
M
root@ubuntu-4gb-hel1-2:~/tele# docker compose up -d --build
14.04.2026 17:50
ياسر
docker compose logs
14.04.2026 17:51
ياسر
docker compose up -d --build
14.04.2026 17:53
ياسر
لما قلتلك تشغلي البرنامج ك api
14.04.2026 18:01
M
[SQL: ALTER TABLE group_members DROP CONSTRAINT IF EXISTS uq_group_member](Background on this error at: https://sqlalche.me/e/20/dbapi)⁠db 2026-04-14 15:09:11.565 UTC [48] ERROR: current transaction is aborted, commands ignored until end of transaction block2026-04-14 15:09:11.565 UTC [48] STATEMENT: ALTER TABLE group_members DROP COLUMN IF EXISTS telegram_group_idbackend migration skipped: (sqlalchemy.dialects.postgresql.asyncpg.Error) : current transaction is aborted, commands ignored until end of transaction block[SQL: ALTER TABLE group_members DROP COLUMN IF EXISTS telegram_group_id](Background on this error at: https://sqlalche.me/e/20/dbapi)⁠db 2026-04-14 15:09:11.567 UTC [48] ERROR: current transaction is aborted, commands ignored until end of transaction block2026-04-14 15:09:11.567 UTC [48] STATEMENT: DO $$ BEGIN IF NOT EXISTS (SELECT 1 FROM pg_constraint WHERE conname = 'uq_member_user_id') THEN ALTER TABLE group_members ADD CONSTRAINT uq_member_user_id UNIQUE (user_id); END IF; END $$backend migration skipped: (sqlalchemy.dialects.postgresql.asyncpg.Error) : current transaction is aborted, commands ignored until end of transaction block[SQL: DO $$ BEGIN IF NOT EXISTS (SELECT 1 FROM pg_constraint WHERE conname = 'uq_member_user_id') THEN ALTER TABLE group_members ADD CONSTRAINT uq_member_user_id UNIQUE (user_id); END IF; END $$](Background on this error at: https://sqlalche.me/e/20/dbapi)⁠INFO: Application startup complete.INFO: Uvicorn running on http://0.0.0.0:8000⁠ (Press CTRL+C to quit)
14.04.2026 18:09
M
frontend | 2026-04-14 18:09:48.999 | 172.20.0.1 - - [14/Apr/2026:15:09:48 +0000] "GET / HTTP/1.1" 200 562 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36" "-"frontend | 2026-04-14 18:09:49.051 | 172.20.0.1 - - [14/Apr/2026:15:09:49 +0000] "GET /assets/index-DKJnaxGD.js HTTP/1.1" 200 564250 "http://localhost:3000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36" "-"frontend | 2026-04-14 18:09:49.060 | 172.20.0.1 - - [14/Apr/2026:15:09:49 +0000] "GET /assets/index-07I4Tu5z.css HTTP/1.1" 200 51241 "http://localhost:3000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36" "-"frontend | 2026-04-14 18:09:49.856 | 172.20.0.1 - - [14/Apr/2026:15:09:49 +0000] "GET /favicon.ico HTTP/1.1" 304 0 "http://localhost:3000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36" "-"db | 2026-04-14 18:09:50.526 | 2026-04-14 15:09:50.526 UTC [48] ERROR: relation "accounts" does not exist at character 288db | 2026-04-14 18:09:50.526 | 2026-04-14 15:09:50.526 UTC [48] STATEMENT: SELECT accounts.id, accounts.phone, accounts.api_id, accounts.api_hash, accounts.session_name, accounts.first_name, accounts.last_name, accounts.username, accounts.user_id, accounts.session_string, accounts.is_active, accounts.force_proxy, accounts.created_at, accounts.updated_at db | 2026-04-14 18:09:50.526 | FROM accounts ORDER BY accounts.created_at DESCbackend | 2026-04-14 18:09:50.532 | INFO: 172.20.0.4:43386 - "GET /api/accounts/ HTTP/1.1" 500 Internal Server Errorbackend | 2026-04-14 18:09:50.569 | ERROR: Exception in ASGI applicationbackend | 2026-04-14 18:09:50.569 | Traceback (most recent call last):backend | 2026-04-14 18:09:50.569 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 510, in _prepare_and_executebackend | 2026-04-14 18:09:50.569 | prepared_stmt, attributes = await adapt_connection._prepare(backend | 2026-04-14 18:09:50.569 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.569 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 756, in _preparebackend | 2026-04-14 18:09:50.569 | prepared_stmt = await self._connection.prepare(backend | 2026-04-14 18:09:50.569 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.569 | File "/usr/local/lib/python3.11/site-packages/asyncpg/connection.py", line 635, in preparebackend | 2026-04-14 18:09:50.569 | return await self._prepare(backend | 2026-04-14 18:09:50.569 | ^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.569 | File "/usr/local/lib/python3.11/site-packages/asyncpg/connection.py", line 653, in _preparebackend | 2026-04-14 18:09:50.569 | stmt = await self._get_statement(backend | 2026-04-14 18:09:50.569 | ^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.569 | File "/usr/local/lib/python3.11/site-packages/asyncpg/connection.py", line 432, in _get_statementbackend | 2026-04-14 18:09:50.569 | statement = await self._protocol.prepare(backend | 2026-04-14 18:09:50.569 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.569 | File "asyncpg/protocol/protocol.pyx", line 165, in preparebackend | 2026-04-14 18:09:50.569 | asyncpg.exceptions.UndefinedTableError: relation "accounts" does not existbackend | 2026-04-14 18:09:50.569 | backend | 2026-04-14 18:09:50.569 | The above exception was the direct cause of the following exception:backend | 2026-04-14 18:09:50.569 | backend | 2026-04-14 18:09:50.569 | Traceback (most recent call last):backend | 2026-04-14 18:09:50.569 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
14.04.2026 18:10
M
backend | 2026-04-14 18:09:50.570 | ^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.570 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2247, in _execute_internalbackend | 2026-04-14 18:09:50.570 | result: Result[Any] = compile_state_cls.orm_execute_statement(backend | 2026-04-14 18:09:50.570 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.570 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/context.py", line 305, in orm_execute_statementbackend | 2026-04-14 18:09:50.570 | result = conn.execute(backend | 2026-04-14 18:09:50.570 | ^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.570 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1418, in executebackend | 2026-04-14 18:09:50.570 | return meth(backend | 2026-04-14 18:09:50.570 | ^^^^^backend | 2026-04-14 18:09:50.570 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connectionbackend | 2026-04-14 18:09:50.570 | return connection._execute_clauseelement(backend | 2026-04-14 18:09:50.570 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.570 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelementbackend | 2026-04-14 18:09:50.570 | ret = self._execute_context(backend | 2026-04-14 18:09:50.570 | ^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.570 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_contextbackend | 2026-04-14 18:09:50.570 | return self._exec_single_context(backend | 2026-04-14 18:09:50.570 | ^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.570 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_contextbackend | 2026-04-14 18:09:50.570 | self._handle_dbapi_exception(backend | 2026-04-14 18:09:50.570 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 2355, in _handle_dbapi_exceptionbackend | 2026-04-14 18:09:50.570 | raise sqlalchemy_exception.with_traceback(exc_info[2]) from ebackend | 2026-04-14 18:09:50.570 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_contextbackend | 2026-04-14 18:09:50.570 | self.dialect.do_execute(backend | 2026-04-14 18:09:50.570 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 941, in do_executebackend | 2026-04-14 18:09:50.570 | cursor.execute(statement, parameters)backend | 2026-04-14 18:09:50.570 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 568, in executebackend | 2026-04-14 18:09:50.570 | self._adapt_connection.await_(backend | 2026-04-14 18:09:50.570 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 132, in await_onlybackend | 2026-04-14 18:09:50.570 | return current.parent.switch(awaitable) # type: ignore[no-any-return,attr-defined] # noqa: E501backend | 2026-04-14 18:09:50.570 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.570 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 196, in greenlet_spawnbackend | 2026-04-14 18:09:50.570 | value = await resultbackend | 2026-04-14 18:09:50.570 | ^^^^^^^^^^^^backend | 2026-04-14 18:09:50.570 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 546, in _prepare_and_executebackend | 2026-04-14 18:09:50.570 | self._handle_exception(error)backend | 2026-04-14 18:09:50.570 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 497, in _handle_exception
14.04.2026 18:10
M
backend | 2026-04-14 18:09:50.570 | self._adapt_connection._handle_exception(error)backend | 2026-04-14 18:09:50.570 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 780, in _handle_exceptionbackend | 2026-04-14 18:09:50.570 | raise translated_error from errorbackend | 2026-04-14 18:09:50.570 | sqlalchemy.exc.ProgrammingError: (sqlalchemy.dialects.postgresql.asyncpg.ProgrammingError) : relation "accounts" does not existbackend | 2026-04-14 18:09:50.570 | [SQL: SELECT accounts.id, accounts.phone, accounts.api_id, accounts.api_hash, accounts.session_name, accounts.first_name, accounts.last_name, accounts.username, accounts.user_id, accounts.session_string, accounts.is_active, accounts.force_proxy, accounts.created_at, accounts.updated_at backend | 2026-04-14 18:09:50.570 | FROM accounts ORDER BY accounts.created_at DESC]backend | 2026-04-14 18:09:50.570 | (Background on this error at: https://sqlalche.me/e/20/f405)db | 2026-04-14 18:09:50.657 | 2026-04-14 15:09:50.657 UTC [48] ERROR: relation "accounts" does not exist at character 288db | 2026-04-14 18:09:50.657 | 2026-04-14 15:09:50.657 UTC [48] STATEMENT: SELECT accounts.id, accounts.phone, accounts.api_id, accounts.api_hash, accounts.session_name, accounts.first_name, accounts.last_name, accounts.username, accounts.user_id, accounts.session_string, accounts.is_active, accounts.force_proxy, accounts.created_at, accounts.updated_at db | 2026-04-14 18:09:50.657 | FROM accounts ORDER BY accounts.created_at DESCbackend | 2026-04-14 18:09:50.660 | INFO: 172.20.0.4:43408 - "GET /api/accounts/ HTTP/1.1" 500 Internal Server Errorbackend | 2026-04-14 18:09:50.672 | ERROR: Exception in ASGI applicationbackend | 2026-04-14 18:09:50.672 | Traceback (most recent call last):backend | 2026-04-14 18:09:50.672 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 510, in _prepare_and_executebackend | 2026-04-14 18:09:50.672 | prepared_stmt, attributes = await adapt_connection._prepare(backend | 2026-04-14 18:09:50.672 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.672 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 756, in _preparebackend | 2026-04-14 18:09:50.672 | prepared_stmt = await self._connection.prepare(backend | 2026-04-14 18:09:50.672 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.672 | File "/usr/local/lib/python3.11/site-packages/asyncpg/connection.py", line 635, in preparebackend | 2026-04-14 18:09:50.672 | return await self._prepare(backend | 2026-04-14 18:09:50.672 | ^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.672 | File "/usr/local/lib/python3.11/site-packages/asyncpg/connection.py", line 653, in _preparebackend | 2026-04-14 18:09:50.672 | stmt = await self._get_statement(backend | 2026-04-14 18:09:50.672 | ^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.672 | File "/usr/local/lib/python3.11/site-packages/asyncpg/connection.py", line 432, in _get_statementbackend | 2026-04-14 18:09:50.672 | statement = await self._protocol.prepare(backend | 2026-04-14 18:09:50.672 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.672 | File "asyncpg/protocol/protocol.pyx", line 165, in preparebackend | 2026-04-14 18:09:50.672 | asyncpg.exceptions.UndefinedTableError: relation "accounts" does not existbackend | 2026-04-14 18:09:50.672 | backend | 2026-04-14 18:09:50.672 | The above exception was the direct cause of the following exception:backend | 2026-04-14 18:09:50.672 | backend | 2026-04-14 18:09:50.672 | Traceback (most recent call last):backend | 2026-04-14 18:09:50.672 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
14.04.2026 18:10
M
backend | 2026-04-14 18:09:50.673 | ^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.673 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2247, in _execute_internalbackend | 2026-04-14 18:09:50.673 | result: Result[Any] = compile_state_cls.orm_execute_statement(backend | 2026-04-14 18:09:50.673 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.673 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/context.py", line 305, in orm_execute_statementbackend | 2026-04-14 18:09:50.673 | result = conn.execute(backend | 2026-04-14 18:09:50.673 | ^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.673 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1418, in executebackend | 2026-04-14 18:09:50.673 | return meth(backend | 2026-04-14 18:09:50.673 | ^^^^^backend | 2026-04-14 18:09:50.673 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connectionbackend | 2026-04-14 18:09:50.673 | return connection._execute_clauseelement(backend | 2026-04-14 18:09:50.673 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.673 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelementbackend | 2026-04-14 18:09:50.673 | ret = self._execute_context(backend | 2026-04-14 18:09:50.673 | ^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.673 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_contextbackend | 2026-04-14 18:09:50.673 | return self._exec_single_context(backend | 2026-04-14 18:09:50.673 | ^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.673 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_contextbackend | 2026-04-14 18:09:50.673 | self._handle_dbapi_exception(backend | 2026-04-14 18:09:50.673 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 2355, in _handle_dbapi_exceptionbackend | 2026-04-14 18:09:50.673 | raise sqlalchemy_exception.with_traceback(exc_info[2]) from ebackend | 2026-04-14 18:09:50.673 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_contextbackend | 2026-04-14 18:09:50.673 | self.dialect.do_execute(backend | 2026-04-14 18:09:50.673 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 941, in do_executebackend | 2026-04-14 18:09:50.673 | cursor.execute(statement, parameters)backend | 2026-04-14 18:09:50.673 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 568, in executebackend | 2026-04-14 18:09:50.673 | self._adapt_connection.await_(backend | 2026-04-14 18:09:50.673 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 132, in await_onlybackend | 2026-04-14 18:09:50.673 | return current.parent.switch(awaitable) # type: ignore[no-any-return,attr-defined] # noqa: E501backend | 2026-04-14 18:09:50.673 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.673 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 196, in greenlet_spawnbackend | 2026-04-14 18:09:50.673 | value = await resultbackend | 2026-04-14 18:09:50.673 | ^^^^^^^^^^^^backend | 2026-04-14 18:09:50.673 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 546, in _prepare_and_executebackend | 2026-04-14 18:09:50.673 | self._handle_exception(error)backend | 2026-04-14 18:09:50.673 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 497, in _handle_exception
14.04.2026 18:10
M
backend | 2026-04-14 18:09:50.673 | self._adapt_connection._handle_exception(error)backend | 2026-04-14 18:09:50.673 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 780, in _handle_exceptionbackend | 2026-04-14 18:09:50.673 | raise translated_error from errorbackend | 2026-04-14 18:09:50.673 | sqlalchemy.exc.ProgrammingError: (sqlalchemy.dialects.postgresql.asyncpg.ProgrammingError) : relation "accounts" does not existbackend | 2026-04-14 18:09:50.673 | [SQL: SELECT accounts.id, accounts.phone, accounts.api_id, accounts.api_hash, accounts.session_name, accounts.first_name, accounts.last_name, accounts.username, accounts.user_id, accounts.session_string, accounts.is_active, accounts.force_proxy, accounts.created_at, accounts.updated_at backend | 2026-04-14 18:09:50.673 | FROM accounts ORDER BY accounts.created_at DESC]backend | 2026-04-14 18:09:50.673 | (Background on this error at: https://sqlalche.me/e/20/f405)db | 2026-04-14 18:09:50.689 | 2026-04-14 15:09:50.688 UTC [108] ERROR: relation "session_groups" does not exist at character 108db | 2026-04-14 18:09:50.689 | 2026-04-14 15:09:50.688 UTC [108] STATEMENT: SELECT session_groups.id, session_groups.name, session_groups.description, session_groups.created_at db | 2026-04-14 18:09:50.689 | FROM session_groups ORDER BY session_groups.created_at DESCbackend | 2026-04-14 18:09:50.693 | INFO: 172.20.0.4:43398 - "GET /api/groups/ HTTP/1.1" 500 Internal Server Errorfrontend | 2026-04-14 18:09:50.701 | 172.20.0.1 - - [14/Apr/2026:15:09:50 +0000] "GET /api/groups/ HTTP/1.1" 500 21 "http://localhost:3000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36" "-"backend | 2026-04-14 18:09:50.700 | ERROR: Exception in ASGI applicationbackend | 2026-04-14 18:09:50.700 | Traceback (most recent call last):backend | 2026-04-14 18:09:50.700 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 510, in _prepare_and_executebackend | 2026-04-14 18:09:50.700 | prepared_stmt, attributes = await adapt_connection._prepare(backend | 2026-04-14 18:09:50.700 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.700 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 756, in _preparebackend | 2026-04-14 18:09:50.700 | prepared_stmt = await self._connection.prepare(backend | 2026-04-14 18:09:50.700 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.700 | File "/usr/local/lib/python3.11/site-packages/asyncpg/connection.py", line 635, in preparebackend | 2026-04-14 18:09:50.700 | return await self._prepare(backend | 2026-04-14 18:09:50.700 | ^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.700 | File "/usr/local/lib/python3.11/site-packages/asyncpg/connection.py", line 653, in _preparebackend | 2026-04-14 18:09:50.700 | stmt = await self._get_statement(backend | 2026-04-14 18:09:50.700 | ^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.700 | File "/usr/local/lib/python3.11/site-packages/asyncpg/connection.py", line 432, in _get_statementbackend | 2026-04-14 18:09:50.700 | statement = await self._protocol.prepare(backend | 2026-04-14 18:09:50.700 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.700 | File "asyncpg/protocol/protocol.pyx", line 165, in preparebackend | 2026-04-14 18:09:50.700 | asyncpg.exceptions.UndefinedTableError: relation "session_groups" does not existbackend | 2026-04-14 18:09:50.701 | backend | 2026-04-14 18:09:50.701 | The above exception was the direct cause of the following exception:backend | 2026-04-14 18:09:50.701 | backend | 2026-04-14 18:09:50.701 | Traceback (most recent call last):
14.04.2026 18:10
M
backend | 2026-04-14 18:09:50.701 | return self._execute_internal(backend | 2026-04-14 18:09:50.701 | ^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.701 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2247, in _execute_internalbackend | 2026-04-14 18:09:50.701 | result: Result[Any] = compile_state_cls.orm_execute_statement(backend | 2026-04-14 18:09:50.701 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.701 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/context.py", line 305, in orm_execute_statementbackend | 2026-04-14 18:09:50.701 | result = conn.execute(backend | 2026-04-14 18:09:50.701 | ^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.701 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1418, in executebackend | 2026-04-14 18:09:50.701 | return meth(backend | 2026-04-14 18:09:50.701 | ^^^^^backend | 2026-04-14 18:09:50.701 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connectionbackend | 2026-04-14 18:09:50.701 | return connection._execute_clauseelement(backend | 2026-04-14 18:09:50.701 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.701 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelementbackend | 2026-04-14 18:09:50.701 | ret = self._execute_context(backend | 2026-04-14 18:09:50.701 | ^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.701 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_contextbackend | 2026-04-14 18:09:50.701 | return self._exec_single_context(backend | 2026-04-14 18:09:50.701 | ^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.701 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_contextbackend | 2026-04-14 18:09:50.701 | self._handle_dbapi_exception(backend | 2026-04-14 18:09:50.701 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 2355, in _handle_dbapi_exceptionbackend | 2026-04-14 18:09:50.701 | raise sqlalchemy_exception.with_traceback(exc_info[2]) from ebackend | 2026-04-14 18:09:50.701 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_contextbackend | 2026-04-14 18:09:50.701 | self.dialect.do_execute(backend | 2026-04-14 18:09:50.701 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 941, in do_executebackend | 2026-04-14 18:09:50.701 | cursor.execute(statement, parameters)backend | 2026-04-14 18:09:50.701 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 568, in executebackend | 2026-04-14 18:09:50.701 | self._adapt_connection.await_(backend | 2026-04-14 18:09:50.701 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 132, in await_onlybackend | 2026-04-14 18:09:50.701 | return current.parent.switch(awaitable) # type: ignore[no-any-return,attr-defined] # noqa: E501backend | 2026-04-14 18:09:50.701 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^backend | 2026-04-14 18:09:50.701 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 196, in greenlet_spawnbackend | 2026-04-14 18:09:50.701 | value = await resultbackend | 2026-04-14 18:09:50.701 | ^^^^^^^^^^^^backend | 2026-04-14 18:09:50.701 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 546, in _prepare_and_executebackend | 2026-04-14 18:09:50.701 | self._handle_exception(error)backend | 2026-04-14 18:09:50.701 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 497, in _handle_exception
14.04.2026 18:10
M
backend | 2026-04-14 18:09:50.701 | self._adapt_connection._handle_exception(error)backend | 2026-04-14 18:09:50.701 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 780, in _handle_exceptionbackend | 2026-04-14 18:09:50.701 | raise translated_error from errorbackend | 2026-04-14 18:09:50.701 | sqlalchemy.exc.ProgrammingError: (sqlalchemy.dialects.postgresql.asyncpg.ProgrammingError) : relation "session_groups" does not existbackend | 2026-04-14 18:09:50.701 | [SQL: SELECT session_groups.id, session_groups.name, session_groups.description, session_groups.created_at backend | 2026-04-14 18:09:50.701 | FROM session_groups ORDER BY session_groups.created_at DESC]backend | 2026-04-14 18:09:50.701 | (Background on this error at: https://sqlalche.me/e/20/f405)
14.04.2026 18:10
M
2026-04-14 18:40:10.867 | 2026-04-14 15:40:10.866 UTC [62] ERROR: relation "accounts" does not exist at character 2882026-04-14 18:40:10.867 | 2026-04-14 15:40:10.866 UTC [62] STATEMENT: SELECT accounts.id, accounts.phone, accounts.api_id, accounts.api_hash, accounts.session_name, accounts.first_name, accounts.last_name, accounts.username, accounts.user_id, accounts.session_string, accounts.is_active, accounts.force_proxy, accounts.created_at, accounts.updated_at 2026-04-14 18:40:10.867 | FROM accounts ORDER BY accounts.created_at DESC2026-04-14 18:40:10.868 | 2026-04-14 15:40:10.868 UTC [130] ERROR: relation "accounts" does not exist at character 2882026-04-14 18:40:10.868 | 2026-04-14 15:40:10.868 UTC [130] STATEMENT: SELECT accounts.id, accounts.phone, accounts.api_id, accounts.api_hash, accounts.session_name, accounts.first_name, accounts.last_name, accounts.username, accounts.user_id, accounts.session_string, accounts.is_active, accounts.force_proxy, accounts.created_at, accounts.updated_at 2026-04-14 18:40:10.868 | FROM accounts ORDER BY accounts.created_at DESC2026-04-14 18:40:10.868 | 2026-04-14 15:40:10.868 UTC [226] ERROR: relation "session_groups" does not exist at character 1082026-04-14 18:40:10.869 | 2026-04-14 15:40:10.868 UTC [226] STATEMENT: SELECT session_groups.id, session_groups.name, session_groups.description, session_groups.created_at 2026-04-14 18:40:10.869 | FROM session_groups ORDER BY session_groups.created_at DESC
14.04.2026 18:40
M
Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint telegram_marketing-backend-1 (1cd59fb144974676c51e68e4d5012b901d37040d5553c7146305f4f77399b8c6): Bind for 0.0.0.0:8000 failed: port is already allocated
14.04.2026 19:06
ياسر
لهذا أنا المبرمج وليس إنتي
14.04.2026 19:38
M
انا والله بنفذ طلبات العميل لما ألاقيه مصمم على اشي .. يعني على سبيل المثال أنا قلت من البداية إن فكرة دمج شات بوت مع صفحة بكون أفضل لكن انت قلت انو هالفكرة موجودة وبدك بوت ف مين أنا اللي أحكم على مرادك ... و عملت البوت ورجعت قلت ماني شات مو مناسب وانت أصريت عليه ف برضو أنا مين عشان أحكم عليه .. ف والله أنا بنفذ المطلوب بس قلت مرات كتير انو مش مناسب و حتى بتتذكر بأول لقاء خبرتك بهالموضوع إن أنا رح أنفذلك و رح أقترح عليك اللي بشوفه أفضل من ناحية تقنية ك مبرمجة
14.04.2026 21:29
← العودة إلى الرئيسية