Guest User

Untitled

a guest
Jan 19th, 2025
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 200.89 KB | None | 0 0
  1. 2025-01-13 18:58:12 backend-1 | INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
  2. 2025-01-13 18:58:11 meilisearch-1 |
  3. 2025-01-13 18:58:12 backend-1 | INFO [alembic.runtime.migration] Will assume transactional DDL.
  4. 2025-01-13 18:58:11 redis-1 | 1:C 13 Jan 2025 17:58:11.091 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
  5. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade -> a114496676c9, Initial user and login models
  6. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade a114496676c9 -> f2cdc8de8169, Model tweaks for github users
  7. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade f2cdc8de8169 -> 7f294d530215, Github repository models
  8. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 7f294d530215 -> 7fdac6ecd738, User deleted flag
  9. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 7fdac6ecd738 -> b8261271e24f, Add gitlab login support
  10. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade b8261271e24f -> 18bbc5ea44de, Add google login support
  11. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 18bbc5ea44de -> 9e19eeef7ab4, Initial transaction models
  12. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 18bbc5ea44de -> 253ab628caf8, user_verified_app
  13. 2025-01-13 18:58:11 pgadmin | email config is {'CHECK_EMAIL_DELIVERABILITY': False, 'ALLOW_SPECIAL_EMAIL_DOMAINS': []}
  14. 2025-01-13 18:58:11 smtp-test-server-1 | smtp4dev version 3.6.1+5e577a8b4152ceb7276a5b8d4432430c9ff9055d
  15. 2025-01-13 18:58:11 redis-1 | 1:C 13 Jan 2025 17:58:11.091 # Redis version=6.2.17, bits=64, commit=00000000, modified=0, pid=1, just started
  16. 2025-01-13 18:58:11 redis-1 | 1:C 13 Jan 2025 17:58:11.091 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
  17. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 253ab628caf8, 9e19eeef7ab4 -> 7589e5e508b9, Merge wallet and verified app model branches
  18. 2025-01-13 18:58:11 redis-1 | 1:M 13 Jan 2025 17:58:11.091 * monotonic clock: POSIX clock_gettime
  19. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 7589e5e508b9 -> ff2ed634a1e9, Initial vending models
  20. 2025-01-13 18:58:11 backend-node-1 | Server is running on port 8001
  21. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade ff2ed634a1e9 -> e0e33ce55700, UserOwnedApp
  22. 2025-01-13 18:58:11 meilisearch-1 | 888b d888 d8b 888 d8b 888
  23. 2025-01-13 18:58:12 worker-1 | [2025-01-13 17:58:12,941] [PID 1] [MainThread] [dramatiq.MainProcess] [INFO] Dramatiq '1.17.1' is booting up.
  24. 2025-01-13 18:58:18 pgadmin | NOTE: Configuring authentication for SERVER mode.
  25. 2025-01-13 19:07:37 backend-node-1 | Server is running on port 8001
  26. 2025-01-13 18:58:18 pgadmin |
  27. 2025-01-13 18:58:11 smtp-test-server-1 | https://github.com/rnwood/smtp4dev
  28. 2025-01-13 18:58:11 redis-1 | 1:M 13 Jan 2025 17:58:11.092 * Running mode=standalone, port=6379.
  29. 2025-01-19 17:23:27 backend-node-1 | Server is running on port 8001
  30. 2025-01-13 18:58:11 meilisearch-1 | 8888b d8888 Y8P 888 Y8P 888
  31. 2025-01-13 18:58:12 worker-1 | [2025-01-13 17:58:12,939] [PID 7] [MainThread] [dramatiq.WorkerProcess(0)] [INFO] Worker process is ready for action.
  32. 2025-01-13 18:58:11 db-1 | The files belonging to this database system will be owned by user "postgres".
  33. 2025-01-13 18:58:18 pgadmin | pgAdmin 4 - Application Initialisation
  34. 2025-01-13 18:58:11 smtp-test-server-1 | .NET Core runtime version: .NET 8.0.4
  35. 2025-01-13 18:58:11 db-1 | This user must also own the server process.
  36. 2025-01-13 18:58:11 redis-1 | 1:M 13 Jan 2025 17:58:11.092 # Server initialized
  37. 2025-01-13 18:58:11 meilisearch-1 | 88888b.d88888 888 888
  38. 2025-01-13 18:58:11 db-1 |
  39. 2025-01-13 18:58:11 meilisearch-1 | 888Y88888P888 .d88b. 888 888 888 .d8888b .d88b. 8888b. 888d888 .d8888b 88888b.
  40. 2025-01-13 18:58:11 redis-1 | 1:M 13 Jan 2025 17:58:11.092 * Ready to accept connections
  41. 2025-01-13 18:58:11 smtp-test-server-1 |
  42. 2025-01-13 18:58:11 db-1 | The database cluster will be initialized with locale "en_US.utf8".
  43. 2025-01-13 19:03:12 redis-1 | 1:M 13 Jan 2025 18:03:12.026 * 100 changes in 300 seconds. Saving...
  44. 2025-01-13 18:58:11 db-1 | The default database encoding has accordingly been set to "UTF8".
  45. 2025-01-13 19:03:12 redis-1 | 1:M 13 Jan 2025 18:03:12.026 * Background saving started by pid 20
  46. 2025-01-13 18:58:11 db-1 | The default text search configuration will be set to "english".
  47. 2025-01-13 18:58:18 pgadmin | ======================================
  48. 2025-01-13 18:58:11 db-1 |
  49. 2025-01-13 19:03:12 redis-1 | 20:C 13 Jan 2025 18:03:12.029 * DB saved on disk
  50. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade ff2ed634a1e9 -> fgbceb410b8d, upload_tokens
  51. 2025-01-13 18:58:11 meilisearch-1 | 888 Y888P 888 d8P Y8b 888 888 888 88K d8P Y8b "88b 888P" d88P" 888 "88b
  52. 2025-01-13 18:58:12 worker-1 | [2025-01-13 17:58:12,941] [PID 13] [MainThread] [dramatiq.ForkProcess(0)] [INFO] Fork process 'dramatiq.middleware.prometheus:_run_exposition_server' is ready for action.
  53. 2025-01-13 18:58:11 meilisearch-1 | 888 Y8P 888 88888888 888 888 888 "Y8888b. 88888888 .d888888 888 888 888 888
  54. 2025-01-13 18:58:11 meilisearch-1 | 888 " 888 Y8b. 888 888 888 X88 Y8b. 888 888 888 Y88b. 888 888
  55. 2025-01-13 18:58:11 db-1 | Data page checksums are disabled.
  56. 2025-01-13 18:58:11 meilisearch-1 | 888 888 "Y8888 888 888 888 88888P' "Y8888 "Y888888 888 "Y8888P 888 888
  57. 2025-01-13 18:58:18 pgadmin |
  58. 2025-01-13 19:03:12 redis-1 | 20:C 13 Jan 2025 18:03:12.029 * RDB: 0 MB of memory used by copy-on-write
  59. 2025-01-13 18:58:22 pgadmin | ----------
  60. 2025-01-13 18:58:22 pgadmin | Loading servers with:
  61. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade e0e33ce55700 -> e56739493e1e, Initial vending models
  62. 2025-01-13 19:06:20 worker-1 | [2025-01-13 18:06:20,760] [PID 1] [MainThread] [dramatiq.MainProcess] [INFO] Sending signal 15 to subprocesses...
  63. 2025-01-13 18:58:11 db-1 |
  64. 2025-01-13 18:58:11 db-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
  65. 2025-01-13 18:58:11 db-1 | creating subdirectories ... ok
  66. 2025-01-13 18:58:11 db-1 | selecting dynamic shared memory implementation ... posix
  67. 2025-01-13 18:58:11 db-1 | selecting default max_connections ... 100
  68. 2025-01-13 18:58:11 db-1 | selecting default shared_buffers ... 128MB
  69. 2025-01-13 18:58:11 db-1 | selecting default time zone ... Etc/UTC
  70. 2025-01-13 18:58:11 meilisearch-1 |
  71. 2025-01-13 19:06:20 worker-1 | [2025-01-13 18:06:20,760] [PID 7] [MainThread] [dramatiq.WorkerProcess(0)] [INFO] Stopping worker process...
  72. 2025-01-13 19:06:20 worker-1 | [2025-01-13 18:06:20,760] [PID 13] [MainThread] [dramatiq.ForkProcess(0)] [INFO] Stopping fork process...
  73. 2025-01-13 19:03:12 redis-1 | 1:M 13 Jan 2025 18:03:12.127 * Background saving terminated with success
  74. 2025-01-13 18:58:11 smtp-test-server-1 | > For help use argument --help
  75. 2025-01-13 19:06:23 redis-1 | 1:signal-handler (1736791583) Received SIGTERM scheduling shutdown...
  76. 2025-01-13 18:58:11 smtp-test-server-1 |
  77. 2025-01-13 18:58:11 smtp-test-server-1 | Install location: /
  78. 2025-01-13 19:06:20 worker-1 | [2025-01-13 18:06:20,979] [PID 7] [MainThread] [dramatiq.worker.Worker] [INFO] Shutting down...
  79. 2025-01-13 19:06:21 worker-1 | [2025-01-13 18:06:21,816] [PID 7] [MainThread] [dramatiq.worker.Worker] [INFO] Worker has been shut down.
  80. 2025-01-13 19:06:23 redis-1 | 1:M 13 Jan 2025 18:06:23.295 # User requested shutdown...
  81. 2025-01-13 18:58:11 meilisearch-1 | Config file path:"none"
  82. 2025-01-13 19:06:23 redis-1 | 1:M 13 Jan 2025 18:06:23.295 * Saving the final RDB snapshot before exiting.
  83. 2025-01-13 19:06:23 redis-1 | 1:M 13 Jan 2025 18:06:23.297 * DB saved on disk
  84. 2025-01-13 19:06:23 redis-1 | 1:M 13 Jan 2025 18:06:23.297 # Redis is now ready to exit, bye bye...
  85. 2025-01-13 19:07:37 redis-1 | 1:C 13 Jan 2025 18:07:37.043 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
  86. 2025-01-13 18:58:11 meilisearch-1 | Database path:"./data.ms"
  87. 2025-01-13 18:58:11 db-1 | creating configuration files ... ok
  88. 2025-01-13 18:58:11 meilisearch-1 | Server listening on:"http://0.0.0.0:7700"
  89. 2025-01-13 18:58:11 meilisearch-1 | Environment:"development"
  90. 2025-01-13 18:58:11 meilisearch-1 | Commit SHA:"6b8b6062bcb5e31f150427961d9da1a9e81758aa"
  91. 2025-01-13 18:58:11 smtp-test-server-1 | DataDir: /smtp4dev
  92. 2025-01-13 18:58:11 db-1 | running bootstrap script ... ok
  93. 2025-01-13 18:58:11 db-1 | performing post-bootstrap initialization ... ok
  94. 2025-01-13 18:58:11 db-1 | initdb: warning: enabling "trust" authentication for local connections
  95. 2025-01-13 18:58:11 db-1 | You can change this by editing pg_hba.conf or using the option -A, or
  96. 2025-01-13 18:58:11 db-1 | --auth-local and --auth-host, the next time you run initdb.
  97. 2025-01-13 18:58:11 db-1 | syncing data to disk ... ok
  98. 2025-01-13 18:58:11 meilisearch-1 | Commit date:"2023-09-19T16:51:54+00:00"
  99. 2025-01-13 18:58:22 pgadmin | User: [email protected]
  100. 2025-01-13 18:58:11 meilisearch-1 | Package version:"1.3.5"
  101. 2025-01-13 18:58:22 pgadmin | SQLite pgAdmin config: /var/lib/pgadmin/pgadmin4.db
  102. 2025-01-13 18:58:11 db-1 |
  103. 2025-01-13 18:58:11 smtp-test-server-1 | Default settings file: /app/appsettings.json
  104. 2025-01-13 18:58:11 db-1 |
  105. 2025-01-13 18:58:11 meilisearch-1 | Anonymous telemetry:"Disabled"
  106. 2025-01-13 18:58:11 meilisearch-1 |
  107. 2025-01-13 18:58:11 meilisearch-1 |
  108. 2025-01-13 18:58:11 meilisearch-1 |
  109. 2025-01-13 18:58:22 pgadmin | ----------
  110. 2025-01-13 18:58:25 pgadmin | Added 0 Server Group(s) and 1 Server(s).
  111. 2025-01-13 18:58:25 pgadmin | postfix/postlog: starting the Postfix mail system
  112. 2025-01-13 18:58:11 smtp-test-server-1 | User settings file: /smtp4dev/appsettings.json
  113. 2025-01-13 19:07:38 worker-1 | [2025-01-13 18:07:38,526] [PID 1] [MainThread] [dramatiq.MainProcess] [INFO] Dramatiq '1.17.1' is booting up.
  114. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade e0e33ce55700 -> 6750f9fd90fa, Add GNOME login support
  115. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 6750f9fd90fa, e56739493e1e -> 180bf9e57e38, Merge migrations
  116. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 180bf9e57e38 -> 045d9e1bf830, Vending constraints
  117. 2025-01-13 18:58:28 pgadmin | [2025-01-13 17:58:28 +0000] [1] [INFO] Starting gunicorn 22.0.0
  118. 2025-01-13 18:58:28 pgadmin | [2025-01-13 17:58:28 +0000] [1] [INFO] Listening at: http://[::]:80 (1)
  119. 2025-01-13 18:58:28 pgadmin | [2025-01-13 17:58:28 +0000] [1] [INFO] Using worker: gthread
  120. 2025-01-13 18:58:28 pgadmin | [2025-01-13 17:58:28 +0000] [125] [INFO] Booting worker with pid: 125
  121. 2025-01-13 19:06:20 pgadmin | [2025-01-13 18:06:20 +0000] [1] [INFO] Handling signal: term
  122. 2025-01-13 18:58:11 smtp-test-server-1 | Storing keys in a directory '/root/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
  123. 2025-01-13 19:07:38 worker-1 | [2025-01-13 18:07:38,524] [PID 7] [MainThread] [dramatiq.WorkerProcess(0)] [INFO] Worker process is ready for action.
  124. 2025-01-13 19:07:38 worker-1 | [2025-01-13 18:07:38,526] [PID 13] [MainThread] [dramatiq.ForkProcess(0)] [INFO] Fork process 'dramatiq.middleware.prometheus:_run_exposition_server' is ready for action.
  125. 2025-01-19 17:23:36 worker-1 | [2025-01-19 16:23:36,496] [PID 1] [MainThread] [dramatiq.MainProcess] [INFO] Dramatiq '1.17.1' is booting up.
  126. 2025-01-13 19:06:21 pgadmin | [2025-01-13 18:06:21 +0000] [125] [INFO] Worker exiting (pid: 125)
  127. 2025-01-13 19:07:37 redis-1 | 1:C 13 Jan 2025 18:07:37.043 # Redis version=6.2.17, bits=64, commit=00000000, modified=0, pid=1, just started
  128. 2025-01-13 19:07:37 redis-1 | 1:C 13 Jan 2025 18:07:37.043 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
  129. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 045d9e1bf830 -> a0c787564b32, Redeemable app tokens
  130. 2025-01-13 18:58:11 db-1 | Success. You can now start the database server using:
  131. 2025-01-19 17:23:36 worker-1 | Process Process-1:
  132. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade a0c787564b32 -> fc96ab9ec804, fix-vending-constraint
  133. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade fc96ab9ec804 -> 4daddefa74c5, limit-payments
  134. 2025-01-13 18:58:11 db-1 |
  135. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 4daddefa74c5 -> 9af224e54e82, verification_overhaul
  136. 2025-01-13 18:58:11 db-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
  137. 2025-01-13 18:58:11 db-1 |
  138. 2025-01-13 19:07:37 redis-1 | 1:M 13 Jan 2025 18:07:37.043 * monotonic clock: POSIX clock_gettime
  139. 2025-01-13 18:58:11 db-1 | waiting for server to start....2025-01-13 17:58:11.621 UTC [48] LOG: starting PostgreSQL 14.15 (Debian 14.15-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
  140. 2025-01-13 19:07:37 redis-1 | 1:M 13 Jan 2025 18:07:37.043 * Running mode=standalone, port=6379.
  141. 2025-01-13 18:58:11 db-1 | 2025-01-13 17:58:11.623 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
  142. 2025-01-13 19:07:37 redis-1 | 1:M 13 Jan 2025 18:07:37.044 # Server initialized
  143. 2025-01-13 18:58:11 db-1 | 2025-01-13 17:58:11.686 UTC [49] LOG: database system was shut down at 2025-01-13 17:58:11 UTC
  144. 2025-01-19 17:23:36 worker-1 | Traceback (most recent call last):
  145. 2025-01-13 18:58:11 smtp-test-server-1 | Parsing AutomaticRelayExpression
  146. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 9af224e54e82 -> 8dd0ebda209e, Create stripependingtransfer
  147. 2025-01-13 18:58:11 smtp-test-server-1 | Parsing CredentialsValidationExpression
  148. 2025-01-13 18:58:11 meilisearch-1 | No master key was found. The server will accept unidentified requests.
  149. 2025-01-13 18:58:11 db-1 | 2025-01-13 17:58:11.692 UTC [48] LOG: database system is ready to accept connections
  150. 2025-01-13 18:58:11 meilisearch-1 |
  151. 2025-01-13 18:58:11 meilisearch-1 | A master key of at least 16 bytes will be required when switching to a production environment.
  152. 2025-01-13 18:58:11 db-1 | done
  153. 2025-01-13 18:58:11 meilisearch-1 |
  154. 2025-01-13 18:58:11 db-1 | server started
  155. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 8dd0ebda209e -> 7ebbc1edab57, verification_login_is_organization
  156. 2025-01-13 18:58:11 meilisearch-1 |
  157. 2025-01-13 19:06:21 pgadmin | [2025-01-13 18:06:21 +0000] [1] [INFO] Shutting down: Master
  158. 2025-01-13 18:58:11 db-1 | CREATE DATABASE
  159. 2025-01-13 19:07:37 redis-1 | 1:M 13 Jan 2025 18:07:37.044 * Loading RDB produced by version 6.2.17
  160. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connection.py", line 174, in _new_conn
  161. 2025-01-13 19:07:37 pgadmin | postfix/postlog: starting the Postfix mail system
  162. 2025-01-13 18:58:11 smtp-test-server-1 | Parsing RecipientValidationExpression
  163. 2025-01-13 18:58:11 db-1 |
  164. 2025-01-13 18:58:11 smtp-test-server-1 | Parsing MessageValidationExpression
  165. 2025-01-13 18:58:11 db-1 |
  166. 2025-01-13 18:58:11 smtp-test-server-1 | No XML encryptor configured. Key {0ecc801e-6e10-43e8-ae9a-e186f0b096d7} may be persisted to storage in unencrypted form.
  167. 2025-01-13 18:58:11 smtp-test-server-1 | Using Sqlite database at /smtp4dev/database.db
  168. 2025-01-13 18:58:11 db-1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
  169. 2025-01-13 18:58:11 db-1 |
  170. 2025-01-19 17:23:36 worker-1 | conn = connection.create_connection(
  171. 2025-01-13 18:58:11 db-1 | 2025-01-13 17:58:11.803 UTC [48] LOG: received fast shutdown request
  172. 2025-01-13 18:58:11 db-1 | waiting for server to shut down....2025-01-13 17:58:11.805 UTC [48] LOG: aborting any active transactions
  173. 2025-01-13 19:07:40 pgadmin | [2025-01-13 18:07:40 +0000] [1] [INFO] Starting gunicorn 22.0.0
  174. 2025-01-13 18:58:11 db-1 | 2025-01-13 17:58:11.806 UTC [48] LOG: background worker "logical replication launcher" (PID 55) exited with exit code 1
  175. 2025-01-13 19:07:37 redis-1 | 1:M 13 Jan 2025 18:07:37.044 * RDB age 74 seconds
  176. 2025-01-13 18:58:11 smtp-test-server-1 | Updating DB schema with migrations: 20181020095712_InitialCreate, 20181021072518_AddSessionToMessageReln, 20181021105259_AddSessionStartData, 20181022132948_AddSessionErrorInfo, 20181022163054_AddAttachmentCount, 20190310130227_AddMessageUnreadFlag, 20200904135503_AddRelayError, 20200924120747_AddImapState, 20210211134331_AddMessageSecurity, 20210731045851_UTCTimeMigration, 20210807032903_MessageRelay, 20210901140449_Fix_Messages_PK, 20240308081358_AddSessionEncoding, 20240309084542_AddMessageEightBitTransport, 20240425190525_AddMailboxes, 20240511110456_AddDeliveredTo, 20240515191815_FixSessionMessageCascasing
  177. 2025-01-13 18:58:11 meilisearch-1 | We generated a new secure master key for you (you can safely use this token):
  178. 2025-01-13 18:58:12 smtp-test-server-1 | Creating mailbox Default
  179. 2025-01-13 18:58:11 meilisearch-1 |
  180. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 7ebbc1edab57 -> 3fba41121353, Add KDE GitLab authentication
  181. 2025-01-13 18:58:11 db-1 | 2025-01-13 17:58:11.806 UTC [50] LOG: shutting down
  182. 2025-01-19 17:23:36 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  183. 2025-01-13 18:58:11 db-1 | 2025-01-13 17:58:11.817 UTC [48] LOG: database system is shut down
  184. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 3fba41121353 -> 1a9d5e4a1719, moderation
  185. 2025-01-13 18:58:11 db-1 | done
  186. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/util/connection.py", line 72, in create_connection
  187. 2025-01-13 19:07:40 pgadmin | [2025-01-13 18:07:40 +0000] [1] [INFO] Listening at: http://[::]:80 (1)
  188. 2025-01-19 17:23:36 worker-1 | for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  189. 2025-01-13 18:58:12 smtp-test-server-1 | TLS mode: None
  190. 2025-01-13 18:58:11 meilisearch-1 | >> --master-key EuGx2pM673G8ufNDyXgEAalChtxgMHU0aR3F12WK15s <<
  191. 2025-01-13 18:58:11 meilisearch-1 |
  192. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 1a9d5e4a1719 -> 22cb6643c6f7, direct_upload_app
  193. 2025-01-13 18:58:11 meilisearch-1 | Restart Meilisearch with the argument above to use this new and secure master key.
  194. 2025-01-13 19:07:37 redis-1 | 1:M 13 Jan 2025 18:07:37.044 * RDB memory usage when created 0.79 Mb
  195. 2025-01-13 18:58:11 db-1 | server stopped
  196. 2025-01-13 19:07:37 redis-1 | 1:M 13 Jan 2025 18:07:37.044 # Done loading RDB, keys loaded: 1, keys expired: 0.
  197. 2025-01-13 19:07:37 redis-1 | 1:M 13 Jan 2025 18:07:37.044 * DB loaded from disk: 0.000 seconds
  198. 2025-01-13 19:07:37 redis-1 | 1:M 13 Jan 2025 18:07:37.044 * Ready to accept connections
  199. 2025-01-13 18:58:11 db-1 |
  200. 2025-01-13 18:58:12 smtp-test-server-1 | SMTP Server is listening on port 25 (::).
  201. 2025-01-13 19:12:38 redis-1 | 1:M 13 Jan 2025 18:12:38.074 * 100 changes in 300 seconds. Saving...
  202. 2025-01-13 19:12:38 redis-1 | 1:M 13 Jan 2025 18:12:38.075 * Background saving started by pid 20
  203. 2025-01-13 19:12:38 redis-1 | 20:C 13 Jan 2025 18:12:38.079 * DB saved on disk
  204. 2025-01-13 19:12:38 redis-1 | 20:C 13 Jan 2025 18:12:38.079 * RDB: 0 MB of memory used by copy-on-write
  205. 2025-01-13 19:12:38 redis-1 | 1:M 13 Jan 2025 18:12:38.175 * Background saving terminated with success
  206. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 22cb6643c6f7 -> da1ce859085a, publisher_agreement
  207. 2025-01-13 18:58:12 smtp-test-server-1 | Keeping last 100 messages per mailbox and 100 sessions.
  208. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade da1ce859085a -> 84a7c36f7eaf, invite_developers
  209. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 84a7c36f7eaf -> 554c998365fb, default_account
  210. 2025-01-13 18:58:12 smtp-test-server-1 | IMAP Server is listening on port 143 (::)
  211. 2025-01-13 18:58:11 meilisearch-1 |
  212. 2025-01-13 18:58:11 meilisearch-1 | Check out Meilisearch Cloud!https://www.meilisearch.com/cloud?utm_campaign=oss&utm_source=engine&utm_medium=cli
  213. 2025-01-13 18:58:11 db-1 | PostgreSQL init process complete; ready for start up.
  214. 2025-01-13 18:58:11 db-1 |
  215. 2025-01-19 17:23:36 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  216. 2025-01-13 18:58:11 db-1 | 2025-01-13 17:58:11.916 UTC [1] LOG: starting PostgreSQL 14.15 (Debian 14.15-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
  217. 2025-01-13 19:07:40 pgadmin | [2025-01-13 18:07:40 +0000] [1] [INFO] Using worker: gthread
  218. 2025-01-19 17:23:36 worker-1 | File "/usr/lib/python3.12/socket.py", line 963, in getaddrinfo
  219. 2025-01-13 18:58:12 smtp-test-server-1 | Overriding HTTP_PORTS '80' and HTTPS_PORTS ''. Binding to values defined by URLS instead 'http://*:80'.
  220. 2025-01-19 17:23:36 worker-1 | for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
  221. 2025-01-19 17:23:36 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  222. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 554c998365fb -> 019dcfa425b1, quality_moderation
  223. 2025-01-13 18:58:11 meilisearch-1 | Documentation:https://www.meilisearch.com/docs
  224. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 019dcfa425b1 -> faf85e2db160, Add app pick tables
  225. 2025-01-13 18:58:11 meilisearch-1 | Source code:https://github.com/meilisearch/meilisearch
  226. 2025-01-13 18:58:11 db-1 | 2025-01-13 17:58:11.917 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
  227. 2025-01-13 18:58:11 db-1 | 2025-01-13 17:58:11.917 UTC [1] LOG: listening on IPv6 address "::", port 5432
  228. 2025-01-13 19:17:39 redis-1 | 1:M 13 Jan 2025 18:17:39.021 * 100 changes in 300 seconds. Saving...
  229. 2025-01-13 18:58:11 db-1 | 2025-01-13 17:58:11.919 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
  230. 2025-01-13 19:17:39 redis-1 | 1:M 13 Jan 2025 18:17:39.022 * Background saving started by pid 21
  231. 2025-01-13 18:58:11 meilisearch-1 | Discord:https://discord.meilisearch.com
  232. 2025-01-13 19:17:39 redis-1 | 21:C 13 Jan 2025 18:17:39.031 * DB saved on disk
  233. 2025-01-13 19:07:40 pgadmin | [2025-01-13 18:07:40 +0000] [83] [INFO] Booting worker with pid: 83
  234. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade faf85e2db160 -> f8b57ec1337e, Add position to apps of the week
  235. 2025-01-13 18:58:11 db-1 | 2025-01-13 17:58:11.922 UTC [63] LOG: database system was shut down at 2025-01-13 17:58:11 UTC
  236. 2025-01-19 17:23:36 worker-1 | socket.gaierror: [Errno -2] Name or service not known
  237. 2025-01-13 19:17:39 redis-1 | 21:C 13 Jan 2025 18:17:39.032 * RDB: 0 MB of memory used by copy-on-write
  238. 2025-01-19 17:23:36 worker-1 |
  239. 2025-01-13 18:58:12 smtp-test-server-1 | Now listening on: http://[::]:80
  240. 2025-01-19 17:23:36 worker-1 | During handling of the above exception, another exception occurred:
  241. 2025-01-13 19:06:20 smtp-test-server-1 | SMTP server stopping...
  242. 2025-01-19 17:23:36 worker-1 |
  243. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade f8b57ec1337e -> 4467f5d6002d, Add quality moderation request
  244. 2025-01-13 19:06:20 smtp-test-server-1 | SMTP server stopped.
  245. 2025-01-13 18:58:11 db-1 | 2025-01-13 17:58:11.925 UTC [1] LOG: database system is ready to accept connections
  246. 2025-01-13 19:06:23 db-1 | 2025-01-13 18:06:23.239 UTC [1] LOG: received fast shutdown request
  247. 2025-01-13 18:58:11 meilisearch-1 |
  248. 2025-01-13 19:17:39 redis-1 | 1:M 13 Jan 2025 18:17:39.124 * Background saving terminated with success
  249. 2025-01-19 17:23:36 worker-1 | Traceback (most recent call last):
  250. 2025-01-13 19:22:40 redis-1 | 1:M 13 Jan 2025 18:22:40.079 * 100 changes in 300 seconds. Saving...
  251. 2025-01-13 19:22:40 redis-1 | 1:M 13 Jan 2025 18:22:40.079 * Background saving started by pid 22
  252. 2025-01-13 19:06:20 smtp-test-server-1 | Exiting
  253. 2025-01-19 17:24:00 pgadmin | postfix/postlog: starting the Postfix mail system
  254. 2025-01-13 19:07:37 smtp-test-server-1 | smtp4dev version 3.6.1+5e577a8b4152ceb7276a5b8d4432430c9ff9055d
  255. 2025-01-19 17:24:04 pgadmin | [2025-01-19 16:24:04 +0000] [1] [INFO] Starting gunicorn 22.0.0
  256. 2025-01-13 19:07:37 smtp-test-server-1 | https://github.com/rnwood/smtp4dev
  257. 2025-01-19 17:24:04 pgadmin | [2025-01-19 16:24:04 +0000] [1] [INFO] Listening at: http://[::]:80 (1)
  258. 2025-01-13 19:07:37 smtp-test-server-1 | .NET Core runtime version: .NET 8.0.4
  259. 2025-01-19 17:24:04 pgadmin | [2025-01-19 16:24:04 +0000] [1] [INFO] Using worker: gthread
  260. 2025-01-13 18:58:11 meilisearch-1 | [2025-01-13T17:58:11Z INFO actix_server::builder] starting 10 workers
  261. 2025-01-19 17:24:04 pgadmin | [2025-01-19 16:24:04 +0000] [83] [INFO] Booting worker with pid: 83
  262. 2025-01-13 19:07:37 smtp-test-server-1 |
  263. 2025-01-13 18:58:11 meilisearch-1 | [2025-01-13T17:58:11Z INFO actix_server::server] Actix runtime found; starting in Actix runtime
  264. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 4467f5d6002d, fgbceb410b8d -> 66b535348e74, Merge migrations
  265. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 716, in urlopen
  266. 2025-01-19 17:23:36 worker-1 | httplib_response = self._make_request(
  267. 2025-01-13 19:06:23 db-1 | 2025-01-13 18:06:23.240 UTC [1] LOG: aborting any active transactions
  268. 2025-01-13 19:07:37 smtp-test-server-1 | > For help use argument --help
  269. 2025-01-13 19:06:23 db-1 | 2025-01-13 18:06:23.242 UTC [1] LOG: background worker "logical replication launcher" (PID 69) exited with exit code 1
  270. 2025-01-13 19:07:37 smtp-test-server-1 |
  271. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 66b535348e74 -> fb0b29dfa4c3, Move guideline to database
  272. 2025-01-13 19:22:40 redis-1 | 22:C 13 Jan 2025 18:22:40.082 * DB saved on disk
  273. 2025-01-13 19:06:23 db-1 | 2025-01-13 18:06:23.242 UTC [64] LOG: shutting down
  274. 2025-01-13 19:06:23 db-1 | 2025-01-13 18:06:23.254 UTC [1] LOG: database system is shut down
  275. 2025-01-13 19:07:36 db-1 |
  276. 2025-01-19 17:23:36 worker-1 | ^^^^^^^^^^^^^^^^^^^
  277. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 416, in _make_request
  278. 2025-01-19 17:23:36 worker-1 | conn.request(method, url, **httplib_request_kw)
  279. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connection.py", line 244, in request
  280. 2025-01-13 19:22:40 redis-1 | 22:C 13 Jan 2025 18:22:40.082 * RDB: 0 MB of memory used by copy-on-write
  281. 2025-01-13 19:07:36 db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
  282. 2025-01-13 19:22:40 redis-1 | 1:M 13 Jan 2025 18:22:40.180 * Background saving terminated with success
  283. 2025-01-13 19:07:36 db-1 |
  284. 2025-01-19 17:23:36 worker-1 | super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  285. 2025-01-13 19:07:36 db-1 | 2025-01-13 18:07:36.758 UTC [1] LOG: starting PostgreSQL 14.15 (Debian 14.15-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
  286. 2025-01-13 19:07:37 smtp-test-server-1 | Install location: /
  287. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade fb0b29dfa4c3 -> 20dfd311b2a3, add build_log_url to ModerationRequest
  288. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 20dfd311b2a3 -> f62cbfbf4e20, add archived column to directuploadapp
  289. 2025-01-13 19:07:37 smtp-test-server-1 | DataDir: /smtp4dev
  290. 2025-01-19 17:23:36 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1336, in request
  291. 2025-01-13 19:07:37 smtp-test-server-1 | Default settings file: /app/appsettings.json
  292. 2025-01-13 18:58:12 meilisearch-1 | [2025-01-13T17:58:12Z INFO actix_web::middleware::logger] 172.18.0.9 "POST /indexes HTTP/1.1" 202 120 "-" "Meilisearch Python (v0.32.0)" 0.002994
  293. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade f62cbfbf4e20 -> e87774655843, add created_at column to directuploadapp
  294. 2025-01-13 19:27:41 redis-1 | 1:M 13 Jan 2025 18:27:41.063 * 100 changes in 300 seconds. Saving...
  295. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade e87774655843 -> 248a867312b4, Add branding quality guideline
  296. 2025-01-19 17:23:36 worker-1 | self._send_request(method, url, body, headers, encode_chunked)
  297. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 248a867312b4 -> 791157f45e1b, Add roles and permissions
  298. 2025-01-13 19:27:41 redis-1 | 1:M 13 Jan 2025 18:27:41.063 * Background saving started by pid 23
  299. 2025-01-13 19:07:36 db-1 | 2025-01-13 18:07:36.803 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
  300. 2025-01-13 19:27:41 redis-1 | 23:C 13 Jan 2025 18:27:41.066 * DB saved on disk
  301. 2025-01-13 19:07:36 db-1 | 2025-01-13 18:07:36.803 UTC [1] LOG: listening on IPv6 address "::", port 5432
  302. 2025-01-13 19:27:41 redis-1 | 23:C 13 Jan 2025 18:27:41.066 * RDB: 0 MB of memory used by copy-on-write
  303. 2025-01-13 19:07:36 db-1 | 2025-01-13 18:07:36.807 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
  304. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 791157f45e1b -> bdf08b670cbb, Add unique
  305. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade bdf08b670cbb -> d74f7d372dd2, Better connection tables
  306. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 248a867312b4 -> 91123486fcc5, Add updated at to app table
  307. 2025-01-13 19:07:37 smtp-test-server-1 | User settings file: /smtp4dev/appsettings.json
  308. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 91123486fcc5, d74f7d372dd2 -> 5c6c6459f661, empty message
  309. 2025-01-13 19:07:37 smtp-test-server-1 | Storing keys in a directory '/root/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
  310. 2025-01-19 17:23:36 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1382, in _send_request
  311. 2025-01-13 19:07:36 db-1 | 2025-01-13 18:07:36.976 UTC [27] LOG: database system was shut down at 2025-01-13 18:06:23 UTC
  312. 2025-01-13 18:58:12 meilisearch-1 | [2025-01-13T17:58:12Z INFO actix_web::middleware::logger] 172.18.0.9 "PUT /indexes/apps/settings/sortable-attributes HTTP/1.1" 202 121 "-" "Meilisearch Python (v0.32.0)" 0.005317
  313. 2025-01-13 18:58:12 meilisearch-1 | [2025-01-13T17:58:12Z INFO index_scheduler] A batch of tasks was successfully completed.
  314. 2025-01-13 18:58:12 meilisearch-1 | [2025-01-13T17:58:12Z INFO actix_web::middleware::logger] 172.18.0.9 "PUT /indexes/apps/settings/searchable-attributes HTTP/1.1" 202 121 "-" "Meilisearch Python (v0.32.0)" 0.001755
  315. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 5c6c6459f661 -> 4f9a128a8008, add direct-upload role
  316. 2025-01-13 19:07:36 db-1 | 2025-01-13 18:07:36.979 UTC [1] LOG: database system is ready to accept connections
  317. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 4f9a128a8008 -> 87db4e14adea, Remove unused fields
  318. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 87db4e14adea -> 3e830e325336, add desktop-application to apps type enum
  319. 2025-01-13 19:07:37 smtp-test-server-1 | Parsing AutomaticRelayExpression
  320. 2025-01-13 18:58:12 meilisearch-1 | [2025-01-13T17:58:12Z INFO actix_web::middleware::logger] 172.18.0.9 "PUT /indexes/apps/settings/filterable-attributes HTTP/1.1" 202 121 "-" "Meilisearch Python (v0.32.0)" 0.002139
  321. 2025-01-19 17:24:02 db-1 |
  322. 2025-01-19 17:23:36 worker-1 | self.endheaders(body, encode_chunked=encode_chunked)
  323. 2025-01-19 17:24:02 db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
  324. 2025-01-19 17:24:02 db-1 |
  325. 2025-01-13 19:27:41 redis-1 | 1:M 13 Jan 2025 18:27:41.163 * Background saving terminated with success
  326. 2025-01-13 19:07:37 smtp-test-server-1 | Parsing CredentialsValidationExpression
  327. 2025-01-13 19:32:42 redis-1 | 1:M 13 Jan 2025 18:32:42.002 * 100 changes in 300 seconds. Saving...
  328. 2025-01-13 18:58:12 meilisearch-1 | [2025-01-13T17:58:12Z INFO index_scheduler] A batch of tasks was successfully completed.
  329. 2025-01-13 19:07:37 smtp-test-server-1 | Parsing RecipientValidationExpression
  330. 2025-01-13 18:58:12 meilisearch-1 | [2025-01-13T17:58:12Z INFO index_scheduler] A batch of tasks was successfully completed.
  331. 2025-01-13 19:07:37 smtp-test-server-1 | Parsing MessageValidationExpression
  332. 2025-01-19 17:23:36 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1331, in endheaders
  333. 2025-01-13 19:07:37 smtp-test-server-1 | Using Sqlite database at /smtp4dev/database.db
  334. 2025-01-19 17:23:36 worker-1 | self._send_output(message_body, encode_chunked=encode_chunked)
  335. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 3e830e325336 -> b9820325d99d, Add localization for app
  336. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade b9820325d99d -> 833167a72fbf, Add app type index
  337. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 833167a72fbf -> 60a0f4c43817, Fix guideline order
  338. 2025-01-13 19:32:42 redis-1 | 1:M 13 Jan 2025 18:32:42.002 * Background saving started by pid 24
  339. 2025-01-13 19:07:38 smtp-test-server-1 | TLS mode: None
  340. 2025-01-19 17:23:36 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1091, in _send_output
  341. 2025-01-13 19:07:38 smtp-test-server-1 | SMTP Server is listening on port 25 (::).
  342. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade 60a0f4c43817 -> ebfa674573a8, Add User Role Unique Index
  343. 2025-01-13 18:58:14 meilisearch-1 | [2025-01-13T17:58:14Z INFO actix_web::middleware::logger] 172.18.0.7 "POST /indexes HTTP/1.1" 202 120 "-" "Meilisearch Python (v0.32.0)" 0.002446
  344. 2025-01-13 18:58:14 meilisearch-1 | [2025-01-13T17:58:14Z INFO actix_web::middleware::logger] 172.18.0.7 "PUT /indexes/apps/settings/sortable-attributes HTTP/1.1" 202 121 "-" "Meilisearch Python (v0.32.0)" 0.001701
  345. 2025-01-13 18:58:14 meilisearch-1 | [2025-01-13T17:58:14Z INFO index_scheduler] A batch of tasks was successfully completed.
  346. 2025-01-13 18:58:14 meilisearch-1 | [2025-01-13T17:58:14Z INFO actix_web::middleware::logger] 172.18.0.7 "PUT /indexes/apps/settings/searchable-attributes HTTP/1.1" 202 121 "-" "Meilisearch Python (v0.32.0)" 0.003459
  347. 2025-01-13 18:58:14 meilisearch-1 | [2025-01-13T17:58:14Z INFO actix_web::middleware::logger] 172.18.0.7 "PUT /indexes/apps/settings/filterable-attributes HTTP/1.1" 202 121 "-" "Meilisearch Python (v0.32.0)" 0.002434
  348. 2025-01-13 18:58:14 meilisearch-1 | [2025-01-13T17:58:14Z INFO index_scheduler] A batch of tasks was successfully completed.
  349. 2025-01-13 18:58:14 meilisearch-1 | [2025-01-13T17:58:14Z INFO index_scheduler] A batch of tasks was successfully completed.
  350. 2025-01-13 19:07:36 meilisearch-1 |
  351. 2025-01-13 19:07:36 meilisearch-1 | 888b d888 d8b 888 d8b 888
  352. 2025-01-13 19:07:36 meilisearch-1 | 8888b d8888 Y8P 888 Y8P 888
  353. 2025-01-13 19:07:36 meilisearch-1 | 88888b.d88888 888 888
  354. 2025-01-13 19:07:36 meilisearch-1 | 888Y88888P888 .d88b. 888 888 888 .d8888b .d88b. 8888b. 888d888 .d8888b 88888b.
  355. 2025-01-13 19:07:36 meilisearch-1 | 888 Y888P 888 d8P Y8b 888 888 888 88K d8P Y8b "88b 888P" d88P" 888 "88b
  356. 2025-01-13 19:07:36 meilisearch-1 | 888 Y8P 888 88888888 888 888 888 "Y8888b. 88888888 .d888888 888 888 888 888
  357. 2025-01-13 19:07:36 meilisearch-1 | 888 " 888 Y8b. 888 888 888 X88 Y8b. 888 888 888 Y88b. 888 888
  358. 2025-01-13 19:07:36 meilisearch-1 | 888 888 "Y8888 888 888 888 88888P' "Y8888 "Y888888 888 "Y8888P 888 888
  359. 2025-01-19 17:23:36 worker-1 | self.send(msg)
  360. 2025-01-19 17:24:02 db-1 | 2025-01-19 16:24:02.134 UTC [1] LOG: starting PostgreSQL 14.15 (Debian 14.15-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
  361. 2025-01-19 17:23:36 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1035, in send
  362. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade ebfa674573a8 -> b94c4046195e, Add developers table
  363. 2025-01-19 17:23:36 worker-1 | self.connect()
  364. 2025-01-13 19:07:38 smtp-test-server-1 | Keeping last 100 messages per mailbox and 100 sessions.
  365. 2025-01-13 18:58:13 backend-1 | INFO [alembic.runtime.migration] Running upgrade b94c4046195e -> 82cc97da0e54, Add new user permissions
  366. 2025-01-19 17:24:02 db-1 | 2025-01-19 16:24:02.135 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
  367. 2025-01-13 19:07:38 smtp-test-server-1 | IMAP Server is listening on port 143 (::)
  368. 2025-01-19 17:24:02 db-1 | 2025-01-19 16:24:02.135 UTC [1] LOG: listening on IPv6 address "::", port 5432
  369. 2025-01-13 19:07:36 meilisearch-1 |
  370. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connection.py", line 205, in connect
  371. 2025-01-13 19:07:36 meilisearch-1 | Config file path:"none"
  372. 2025-01-13 19:07:36 meilisearch-1 | Database path:"./data.ms"
  373. 2025-01-19 17:23:36 worker-1 | conn = self._new_conn()
  374. 2025-01-13 19:07:38 smtp-test-server-1 | Overriding HTTP_PORTS '80' and HTTPS_PORTS ''. Binding to values defined by URLS instead 'http://*:80'.
  375. 2025-01-13 19:07:38 smtp-test-server-1 | Now listening on: http://[::]:80
  376. 2025-01-19 17:23:26 smtp-test-server-1 | smtp4dev version 3.6.1+5e577a8b4152ceb7276a5b8d4432430c9ff9055d
  377. 2025-01-19 17:23:26 smtp-test-server-1 | https://github.com/rnwood/smtp4dev
  378. 2025-01-19 17:24:02 db-1 | 2025-01-19 16:24:02.138 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
  379. 2025-01-13 18:58:14 backend-1 | INFO: Will watch for changes in these directories: ['/app']
  380. 2025-01-13 18:58:14 backend-1 | INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
  381. 2025-01-13 19:32:42 redis-1 | 24:C 13 Jan 2025 18:32:42.004 * DB saved on disk
  382. 2025-01-13 19:07:36 meilisearch-1 | Server listening on:"http://0.0.0.0:7700"
  383. 2025-01-13 19:32:42 redis-1 | 24:C 13 Jan 2025 18:32:42.004 * RDB: 0 MB of memory used by copy-on-write
  384. 2025-01-13 19:32:42 redis-1 | 1:M 13 Jan 2025 18:32:42.102 * Background saving terminated with success
  385. 2025-01-13 19:07:36 meilisearch-1 | Environment:"development"
  386. 2025-01-19 17:23:36 worker-1 | ^^^^^^^^^^^^^^^^
  387. 2025-01-13 19:07:36 meilisearch-1 | Commit SHA:"6b8b6062bcb5e31f150427961d9da1a9e81758aa"
  388. 2025-01-13 19:37:43 redis-1 | 1:M 13 Jan 2025 18:37:43.013 * 100 changes in 300 seconds. Saving...
  389. 2025-01-19 17:23:26 smtp-test-server-1 | .NET Core runtime version: .NET 8.0.4
  390. 2025-01-13 19:37:43 redis-1 | 1:M 13 Jan 2025 18:37:43.013 * Background saving started by pid 25
  391. 2025-01-13 19:37:43 redis-1 | 25:C 13 Jan 2025 18:37:43.015 * DB saved on disk
  392. 2025-01-13 18:58:14 backend-1 | INFO: Started reloader process [1] using StatReload
  393. 2025-01-13 19:07:36 meilisearch-1 | Commit date:"2023-09-19T16:51:54+00:00"
  394. 2025-01-13 18:58:16 backend-1 | INFO: Started server process [9]
  395. 2025-01-13 19:07:36 meilisearch-1 | Package version:"1.3.5"
  396. 2025-01-13 18:58:16 backend-1 | INFO: Waiting for application startup.
  397. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connection.py", line 186, in _new_conn
  398. 2025-01-13 18:58:16 backend-1 | INFO: Application startup complete.
  399. 2025-01-19 17:23:36 worker-1 | raise NewConnectionError(
  400. 2025-01-19 17:24:02 db-1 | 2025-01-19 16:24:02.142 UTC [27] LOG: database system was interrupted; last known up at 2025-01-13 18:12:37 UTC
  401. 2025-01-19 17:23:26 smtp-test-server-1 |
  402. 2025-01-19 17:24:02 db-1 | 2025-01-19 16:24:02.277 UTC [27] LOG: database system was not properly shut down; automatic recovery in progress
  403. 2025-01-19 17:24:02 db-1 | 2025-01-19 16:24:02.279 UTC [27] LOG: redo starts at 0/1883240
  404. 2025-01-19 17:23:36 worker-1 | urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7eff4b98a150>: Failed to establish a new connection: [Errno -2] Name or service not known
  405. 2025-01-19 17:24:02 db-1 | 2025-01-19 16:24:02.279 UTC [27] LOG: invalid record length at 0/1883328: wanted 24, got 0
  406. 2025-01-13 19:37:43 redis-1 | 25:C 13 Jan 2025 18:37:43.015 * RDB: 0 MB of memory used by copy-on-write
  407. 2025-01-19 17:24:02 db-1 | 2025-01-19 16:24:02.279 UTC [27] LOG: redo done at 0/18832F0 system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s
  408. 2025-01-19 17:23:36 worker-1 |
  409. 2025-01-19 17:23:36 worker-1 | During handling of the above exception, another exception occurred:
  410. 2025-01-13 19:07:36 meilisearch-1 | Anonymous telemetry:"Disabled"
  411. 2025-01-13 19:07:36 meilisearch-1 |
  412. 2025-01-13 19:07:36 meilisearch-1 |
  413. 2025-01-19 17:23:26 smtp-test-server-1 | > For help use argument --help
  414. 2025-01-19 17:23:36 worker-1 |
  415. 2025-01-13 19:37:43 redis-1 | 1:M 13 Jan 2025 18:37:43.113 * Background saving terminated with success
  416. 2025-01-13 19:01:59 backend-1 | WARNING: Invalid HTTP request received.
  417. 2025-01-13 19:07:36 meilisearch-1 |
  418. 2025-01-13 19:01:59 backend-1 | WARNING: Invalid HTTP request received.
  419. 2025-01-13 19:07:36 meilisearch-1 | No master key was found. The server will accept unidentified requests.
  420. 2025-01-19 17:24:02 db-1 | 2025-01-19 16:24:02.292 UTC [1] LOG: database system is ready to accept connections
  421. 2025-01-13 19:42:44 redis-1 | 1:M 13 Jan 2025 18:42:44.036 * 100 changes in 300 seconds. Saving...
  422. 2025-01-13 19:42:44 redis-1 | 1:M 13 Jan 2025 18:42:44.037 * Background saving started by pid 26
  423. 2025-01-19 17:23:36 worker-1 | Traceback (most recent call last):
  424. 2025-01-13 19:07:36 meilisearch-1 |
  425. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/requests/adapters.py", line 667, in send
  426. 2025-01-13 19:07:36 meilisearch-1 | A master key of at least 16 bytes will be required when switching to a production environment.
  427. 2025-01-19 17:23:36 worker-1 | resp = conn.urlopen(
  428. 2025-01-19 17:23:26 smtp-test-server-1 |
  429. 2025-01-19 17:23:36 worker-1 | ^^^^^^^^^^^^^
  430. 2025-01-19 17:23:26 smtp-test-server-1 | Install location: /
  431. 2025-01-19 17:23:26 smtp-test-server-1 | DataDir: /smtp4dev
  432. 2025-01-13 19:07:36 meilisearch-1 |
  433. 2025-01-13 19:42:44 redis-1 | 26:C 13 Jan 2025 18:42:44.039 * DB saved on disk
  434. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 802, in urlopen
  435. 2025-01-19 17:23:26 smtp-test-server-1 | Default settings file: /app/appsettings.json
  436. 2025-01-13 19:07:36 meilisearch-1 |
  437. 2025-01-19 17:23:26 smtp-test-server-1 | User settings file: /smtp4dev/appsettings.json
  438. 2025-01-19 17:23:27 smtp-test-server-1 | Storing keys in a directory '/root/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
  439. 2025-01-19 17:23:27 smtp-test-server-1 | Parsing AutomaticRelayExpression
  440. 2025-01-13 19:07:36 meilisearch-1 | We generated a new secure master key for you (you can safely use this token):
  441. 2025-01-13 19:07:36 meilisearch-1 |
  442. 2025-01-13 19:06:21 backend-1 | INFO: Shutting down
  443. 2025-01-13 19:07:36 meilisearch-1 | >> --master-key pOk_w49eI4t6U1RkFoNvtbBQ-sBiHEAVt8gnDjhBXDk <<
  444. 2025-01-13 19:06:21 backend-1 | INFO: Waiting for application shutdown.
  445. 2025-01-13 19:07:36 meilisearch-1 |
  446. 2025-01-13 19:06:21 backend-1 | INFO: Application shutdown complete.
  447. 2025-01-13 19:07:36 meilisearch-1 | Restart Meilisearch with the argument above to use this new and secure master key.
  448. 2025-01-19 17:23:27 smtp-test-server-1 | Parsing CredentialsValidationExpression
  449. 2025-01-13 19:42:44 redis-1 | 26:C 13 Jan 2025 18:42:44.039 * RDB: 0 MB of memory used by copy-on-write
  450. 2025-01-13 19:06:21 backend-1 | INFO: Finished server process [9]
  451. 2025-01-13 19:07:36 meilisearch-1 |
  452. 2025-01-13 19:07:36 meilisearch-1 | Check out Meilisearch Cloud!https://www.meilisearch.com/cloud?utm_campaign=oss&utm_source=engine&utm_medium=cli
  453. 2025-01-13 19:07:36 meilisearch-1 | Documentation:https://www.meilisearch.com/docs
  454. 2025-01-13 19:07:36 meilisearch-1 | Source code:https://github.com/meilisearch/meilisearch
  455. 2025-01-19 17:23:27 smtp-test-server-1 | Parsing RecipientValidationExpression
  456. 2025-01-13 19:06:21 backend-1 | INFO: Stopping reloader process [1]
  457. 2025-01-19 17:23:27 smtp-test-server-1 | Parsing MessageValidationExpression
  458. 2025-01-19 17:23:36 worker-1 | retries = retries.increment(
  459. 2025-01-13 19:07:38 backend-1 | INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
  460. 2025-01-13 19:07:36 meilisearch-1 | Discord:https://discord.meilisearch.com
  461. 2025-01-13 19:07:38 backend-1 | INFO [alembic.runtime.migration] Will assume transactional DDL.
  462. 2025-01-19 17:23:27 smtp-test-server-1 | Using Sqlite database at /smtp4dev/database.db
  463. 2025-01-13 19:07:36 meilisearch-1 |
  464. 2025-01-13 19:42:44 redis-1 | 1:M 13 Jan 2025 18:42:44.138 * Background saving terminated with success
  465. 2025-01-19 17:23:36 worker-1 | ^^^^^^^^^^^^^^^^^^
  466. 2025-01-13 19:07:36 meilisearch-1 | [2025-01-13T18:07:36Z INFO actix_server::builder] starting 10 workers
  467. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/util/retry.py", line 594, in increment
  468. 2025-01-19 17:23:36 worker-1 | raise MaxRetryError(_pool, url, error or ResponseError(cause))
  469. 2025-01-13 19:07:36 meilisearch-1 | [2025-01-13T18:07:36Z INFO actix_server::server] Actix runtime found; starting in Actix runtime
  470. 2025-01-13 19:07:38 meilisearch-1 | [2025-01-13T18:07:38Z INFO actix_web::middleware::logger] 172.18.0.9 "POST /indexes HTTP/1.1" 202 120 "-" "Meilisearch Python (v0.32.0)" 0.004783
  471. 2025-01-19 17:23:27 smtp-test-server-1 | TLS mode: None
  472. 2025-01-13 19:47:45 redis-1 | 1:M 13 Jan 2025 18:47:45.061 * 100 changes in 300 seconds. Saving...
  473. 2025-01-19 17:23:36 worker-1 | urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='meilisearch', port=7700): Max retries exceeded with url: /indexes (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7eff4b98a150>: Failed to establish a new connection: [Errno -2] Name or service not known'))
  474. 2025-01-19 17:23:27 smtp-test-server-1 | SMTP Server is listening on port 25 (::).
  475. 2025-01-13 19:07:38 meilisearch-1 | [2025-01-13T18:07:38Z INFO actix_web::middleware::logger] 172.18.0.9 "PUT /indexes/apps/settings/sortable-attributes HTTP/1.1" 202 121 "-" "Meilisearch Python (v0.32.0)" 0.001591
  476. 2025-01-19 17:23:27 smtp-test-server-1 | Keeping last 100 messages per mailbox and 100 sessions.
  477. 2025-01-13 19:07:38 meilisearch-1 | [2025-01-13T18:07:38Z INFO index_scheduler] A batch of tasks was successfully completed.
  478. 2025-01-13 19:47:45 redis-1 | 1:M 13 Jan 2025 18:47:45.061 * Background saving started by pid 27
  479. 2025-01-13 19:07:38 meilisearch-1 | [2025-01-13T18:07:38Z INFO actix_web::middleware::logger] 172.18.0.9 "PUT /indexes/apps/settings/searchable-attributes HTTP/1.1" 202 122 "-" "Meilisearch Python (v0.32.0)" 0.002799
  480. 2025-01-19 17:23:36 worker-1 |
  481. 2025-01-13 19:07:38 meilisearch-1 | [2025-01-13T18:07:38Z INFO actix_web::middleware::logger] 172.18.0.9 "PUT /indexes/apps/settings/filterable-attributes HTTP/1.1" 202 122 "-" "Meilisearch Python (v0.32.0)" 0.001878
  482. 2025-01-19 17:23:27 smtp-test-server-1 | IMAP Server is listening on port 143 (::)
  483. 2025-01-13 19:07:38 meilisearch-1 | [2025-01-13T18:07:38Z INFO index_scheduler] A batch of tasks was successfully completed.
  484. 2025-01-19 17:23:27 smtp-test-server-1 | Overriding HTTP_PORTS '80' and HTTPS_PORTS ''. Binding to values defined by URLS instead 'http://*:80'.
  485. 2025-01-13 19:07:38 backend-1 | INFO: Will watch for changes in these directories: ['/app']
  486. 2025-01-13 19:07:38 backend-1 | INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
  487. 2025-01-13 19:07:38 backend-1 | INFO: Started reloader process [1] using StatReload
  488. 2025-01-13 19:47:45 redis-1 | 27:C 13 Jan 2025 18:47:45.065 * DB saved on disk
  489. 2025-01-13 19:47:45 redis-1 | 27:C 13 Jan 2025 18:47:45.065 * RDB: 0 MB of memory used by copy-on-write
  490. 2025-01-13 19:47:45 redis-1 | 1:M 13 Jan 2025 18:47:45.161 * Background saving terminated with success
  491. 2025-01-13 19:52:46 redis-1 | 1:M 13 Jan 2025 18:52:46.053 * 100 changes in 300 seconds. Saving...
  492. 2025-01-13 19:07:40 backend-1 | INFO: Started server process [9]
  493. 2025-01-19 17:23:27 smtp-test-server-1 | Now listening on: http://[::]:80
  494. 2025-01-19 17:23:36 worker-1 | During handling of the above exception, another exception occurred:
  495. 2025-01-13 19:52:46 redis-1 | 1:M 13 Jan 2025 18:52:46.054 * Background saving started by pid 28
  496. 2025-01-19 17:23:36 worker-1 |
  497. 2025-01-19 17:23:36 worker-1 | Traceback (most recent call last):
  498. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/_httprequests.py", line 65, in send_request
  499. 2025-01-19 17:23:36 worker-1 | request = http_method(
  500. 2025-01-19 17:23:36 worker-1 | ^^^^^^^^^^^^
  501. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/requests/api.py", line 115, in post
  502. 2025-01-19 17:23:36 worker-1 | return request("post", url, data=data, json=json, **kwargs)
  503. 2025-01-19 17:23:36 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  504. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/requests/api.py", line 59, in request
  505. 2025-01-19 17:23:36 worker-1 | return session.request(method=method, url=url, **kwargs)
  506. 2025-01-19 17:23:36 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  507. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
  508. 2025-01-19 17:23:36 worker-1 | resp = self.send(prep, **send_kwargs)
  509. 2025-01-13 19:52:46 redis-1 | 28:C 13 Jan 2025 18:52:46.059 * DB saved on disk
  510. 2025-01-13 19:07:38 meilisearch-1 | [2025-01-13T18:07:38Z INFO index_scheduler] A batch of tasks was successfully completed.
  511. 2025-01-13 19:07:39 meilisearch-1 | [2025-01-13T18:07:39Z INFO actix_web::middleware::logger] 172.18.0.8 "POST /indexes HTTP/1.1" 202 121 "-" "Meilisearch Python (v0.32.0)" 0.002593
  512. 2025-01-13 19:07:40 backend-1 | INFO: Waiting for application startup.
  513. 2025-01-19 17:23:36 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  514. 2025-01-13 19:52:46 redis-1 | 28:C 13 Jan 2025 18:52:46.059 * RDB: 0 MB of memory used by copy-on-write
  515. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
  516. 2025-01-19 17:23:36 worker-1 | r = adapter.send(request, **kwargs)
  517. 2025-01-19 17:23:36 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  518. 2025-01-13 19:07:39 meilisearch-1 | [2025-01-13T18:07:39Z INFO actix_web::middleware::logger] 172.18.0.8 "PUT /indexes/apps/settings/sortable-attributes HTTP/1.1" 202 122 "-" "Meilisearch Python (v0.32.0)" 0.002193
  519. 2025-01-13 19:52:46 redis-1 | 1:M 13 Jan 2025 18:52:46.154 * Background saving terminated with success
  520. 2025-01-13 19:57:47 redis-1 | 1:M 13 Jan 2025 18:57:47.064 * 100 changes in 300 seconds. Saving...
  521. 2025-01-13 19:07:39 meilisearch-1 | [2025-01-13T18:07:39Z INFO index_scheduler] A batch of tasks was successfully completed.
  522. 2025-01-13 19:57:47 redis-1 | 1:M 13 Jan 2025 18:57:47.065 * Background saving started by pid 29
  523. 2025-01-13 19:57:47 redis-1 | 29:C 13 Jan 2025 18:57:47.068 * DB saved on disk
  524. 2025-01-13 19:57:47 redis-1 | 29:C 13 Jan 2025 18:57:47.068 * RDB: 0 MB of memory used by copy-on-write
  525. 2025-01-13 19:57:47 redis-1 | 1:M 13 Jan 2025 18:57:47.166 * Background saving terminated with success
  526. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/requests/adapters.py", line 700, in send
  527. 2025-01-19 17:23:36 worker-1 | raise ConnectionError(e, request=request)
  528. 2025-01-13 20:02:48 redis-1 | 1:M 13 Jan 2025 19:02:48.067 * 100 changes in 300 seconds. Saving...
  529. 2025-01-19 17:23:36 worker-1 | requests.exceptions.ConnectionError: HTTPConnectionPool(host='meilisearch', port=7700): Max retries exceeded with url: /indexes (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7eff4b98a150>: Failed to establish a new connection: [Errno -2] Name or service not known'))
  530. 2025-01-13 20:02:48 redis-1 | 1:M 13 Jan 2025 19:02:48.067 * Background saving started by pid 30
  531. 2025-01-13 19:07:39 meilisearch-1 | [2025-01-13T18:07:39Z INFO actix_web::middleware::logger] 172.18.0.8 "PUT /indexes/apps/settings/searchable-attributes HTTP/1.1" 202 122 "-" "Meilisearch Python (v0.32.0)" 0.003117
  532. 2025-01-13 19:07:40 backend-1 | INFO: Application startup complete.
  533. 2025-01-13 19:07:39 meilisearch-1 | [2025-01-13T18:07:39Z INFO actix_web::middleware::logger] 172.18.0.8 "PUT /indexes/apps/settings/filterable-attributes HTTP/1.1" 202 122 "-" "Meilisearch Python (v0.32.0)" 0.001463
  534. 2025-01-13 20:02:48 redis-1 | 30:C 13 Jan 2025 19:02:48.070 * DB saved on disk
  535. 2025-01-13 19:07:39 meilisearch-1 | [2025-01-13T18:07:39Z INFO index_scheduler] A batch of tasks was successfully completed.
  536. 2025-01-19 17:23:36 worker-1 |
  537. 2025-01-13 20:02:48 redis-1 | 30:C 13 Jan 2025 19:02:48.070 * RDB: 0 MB of memory used by copy-on-write
  538. 2025-01-13 19:07:42 backend-1 | WARNING: Invalid HTTP request received.
  539. 2025-01-19 17:23:36 worker-1 | The above exception was the direct cause of the following exception:
  540. 2025-01-13 19:07:39 meilisearch-1 | [2025-01-13T18:07:39Z INFO index_scheduler] A batch of tasks was successfully completed.
  541. 2025-01-19 17:23:36 worker-1 |
  542. 2025-01-19 17:24:04 meilisearch-1 |
  543. 2025-01-19 17:23:36 worker-1 | Traceback (most recent call last):
  544. 2025-01-13 19:07:42 backend-1 | WARNING: Invalid HTTP request received.
  545. 2025-01-19 17:23:36 worker-1 | File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
  546. 2025-01-13 19:07:48 backend-1 | WARNING: Invalid HTTP request received.
  547. 2025-01-19 17:23:36 worker-1 | self.run()
  548. 2025-01-13 20:02:48 redis-1 | 1:M 13 Jan 2025 19:02:48.167 * Background saving terminated with success
  549. 2025-01-13 19:07:48 backend-1 | WARNING: Invalid HTTP request received.
  550. 2025-01-19 17:23:36 worker-1 | File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run
  551. 2025-01-13 20:07:49 redis-1 | 1:M 13 Jan 2025 19:07:49.073 * 100 changes in 300 seconds. Saving...
  552. 2025-01-19 17:23:36 worker-1 | self._target(*self._args, **self._kwargs)
  553. 2025-01-13 20:07:49 redis-1 | 1:M 13 Jan 2025 19:07:49.073 * Background saving started by pid 31
  554. 2025-01-13 20:07:49 redis-1 | 31:C 13 Jan 2025 19:07:49.075 * DB saved on disk
  555. 2025-01-13 19:07:48 backend-1 | WARNING: Invalid HTTP request received.
  556. 2025-01-19 17:24:04 meilisearch-1 | 888b d888 d8b 888 d8b 888
  557. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/dramatiq/cli.py", line 393, in worker_process
  558. 2025-01-19 17:23:36 worker-1 | module, broker = import_broker(args.broker)
  559. 2025-01-19 17:23:36 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  560. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/dramatiq/cli.py", line 123, in import_broker
  561. 2025-01-19 17:23:36 worker-1 | module, broker_or_callable = import_object(value)
  562. 2025-01-19 17:23:36 worker-1 | ^^^^^^^^^^^^^^^^^^^^
  563. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/dramatiq/cli.py", line 112, in import_object
  564. 2025-01-19 17:24:04 meilisearch-1 | 8888b d8888 Y8P 888 Y8P 888
  565. 2025-01-19 17:23:36 worker-1 | module = importlib.import_module(modname)
  566. 2025-01-19 17:24:04 meilisearch-1 | 88888b.d88888 888 888
  567. 2025-01-19 17:24:04 meilisearch-1 | 888Y88888P888 .d88b. 888 888 888 .d8888b .d88b. 8888b. 888d888 .d8888b 88888b.
  568. 2025-01-13 20:07:49 redis-1 | 31:C 13 Jan 2025 19:07:49.075 * RDB: 0 MB of memory used by copy-on-write
  569. 2025-01-19 17:24:04 meilisearch-1 | 888 Y888P 888 d8P Y8b 888 888 888 88K d8P Y8b "88b 888P" d88P" 888 "88b
  570. 2025-01-19 17:23:36 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  571. 2025-01-19 17:24:04 meilisearch-1 | 888 Y8P 888 88888888 888 888 888 "Y8888b. 88888888 .d888888 888 888 888 888
  572. 2025-01-19 17:23:36 worker-1 | File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
  573. 2025-01-19 17:24:04 meilisearch-1 | 888 " 888 Y8b. 888 888 888 X88 Y8b. 888 888 888 Y88b. 888 888
  574. 2025-01-13 20:07:49 redis-1 | 1:M 13 Jan 2025 19:07:49.174 * Background saving terminated with success
  575. 2025-01-19 17:24:04 meilisearch-1 | 888 888 "Y8888 888 888 888 88888P' "Y8888 "Y888888 888 "Y8888P 888 888
  576. 2025-01-13 20:12:50 redis-1 | 1:M 13 Jan 2025 19:12:50.011 * 100 changes in 300 seconds. Saving...
  577. 2025-01-13 19:07:48 backend-1 | WARNING: Invalid HTTP request received.
  578. 2025-01-19 17:23:36 worker-1 | return _bootstrap._gcd_import(name[level:], package, level)
  579. 2025-01-13 20:12:50 redis-1 | 1:M 13 Jan 2025 19:12:50.012 * Background saving started by pid 32
  580. 2025-01-13 20:12:50 redis-1 | 32:C 13 Jan 2025 19:12:50.019 * DB saved on disk
  581. 2025-01-19 17:24:04 meilisearch-1 |
  582. 2025-01-13 19:07:49 backend-1 | WARNING: Invalid HTTP request received.
  583. 2025-01-19 17:24:04 meilisearch-1 | Config file path:"none"
  584. 2025-01-13 19:07:49 backend-1 | WARNING: Invalid HTTP request received.
  585. 2025-01-13 20:12:50 redis-1 | 32:C 13 Jan 2025 19:12:50.020 * RDB: 0 MB of memory used by copy-on-write
  586. 2025-01-19 17:24:04 meilisearch-1 | Database path:"./data.ms"
  587. 2025-01-13 20:12:50 redis-1 | 1:M 13 Jan 2025 19:12:50.113 * Background saving terminated with success
  588. 2025-01-13 20:17:51 redis-1 | 1:M 13 Jan 2025 19:17:51.058 * 100 changes in 300 seconds. Saving...
  589. 2025-01-13 20:17:51 redis-1 | 1:M 13 Jan 2025 19:17:51.059 * Background saving started by pid 33
  590. 2025-01-13 20:17:51 redis-1 | 33:C 13 Jan 2025 19:17:51.063 * DB saved on disk
  591. 2025-01-19 17:24:04 meilisearch-1 | Server listening on:"http://0.0.0.0:7700"
  592. 2025-01-19 17:23:36 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  593. 2025-01-19 17:24:04 meilisearch-1 | Environment:"development"
  594. 2025-01-19 17:24:04 meilisearch-1 | Commit SHA:"6b8b6062bcb5e31f150427961d9da1a9e81758aa"
  595. 2025-01-19 17:24:04 meilisearch-1 | Commit date:"2023-09-19T16:51:54+00:00"
  596. 2025-01-19 17:24:04 meilisearch-1 | Package version:"1.3.5"
  597. 2025-01-13 19:12:37 backend-1 | WARNING: Invalid HTTP request received.
  598. 2025-01-19 17:24:04 meilisearch-1 | Anonymous telemetry:"Disabled"
  599. 2025-01-13 19:12:37 backend-1 | WARNING: Invalid HTTP request received.
  600. 2025-01-13 20:17:51 redis-1 | 33:C 13 Jan 2025 19:17:51.063 * RDB: 0 MB of memory used by copy-on-write
  601. 2025-01-19 17:24:04 meilisearch-1 |
  602. 2025-01-19 17:23:31 backend-1 | Traceback (most recent call last):
  603. 2025-01-19 17:24:04 meilisearch-1 |
  604. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
  605. 2025-01-19 17:24:04 meilisearch-1 |
  606. 2025-01-13 20:17:51 redis-1 | 1:M 13 Jan 2025 19:17:51.159 * Background saving terminated with success
  607. 2025-01-19 17:23:31 backend-1 | self._dbapi_connection = engine.raw_connection()
  608. 2025-01-13 20:22:52 redis-1 | 1:M 13 Jan 2025 19:22:52.009 * 100 changes in 300 seconds. Saving...
  609. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  610. 2025-01-13 20:22:52 redis-1 | 1:M 13 Jan 2025 19:22:52.009 * Background saving started by pid 34
  611. 2025-01-19 17:24:04 meilisearch-1 | No master key was found. The server will accept unidentified requests.
  612. 2025-01-19 17:24:04 meilisearch-1 |
  613. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 3302, in raw_connection
  614. 2025-01-13 20:22:52 redis-1 | 34:C 13 Jan 2025 19:22:52.015 * DB saved on disk
  615. 2025-01-19 17:23:31 backend-1 | return self.pool.connect()
  616. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^
  617. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 449, in connect
  618. 2025-01-13 20:22:52 redis-1 | 34:C 13 Jan 2025 19:22:52.016 * RDB: 0 MB of memory used by copy-on-write
  619. 2025-01-19 17:24:04 meilisearch-1 | A master key of at least 16 bytes will be required when switching to a production environment.
  620. 2025-01-19 17:23:31 backend-1 | return _ConnectionFairy._checkout(self)
  621. 2025-01-19 17:24:04 meilisearch-1 |
  622. 2025-01-19 17:23:36 worker-1 | File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  623. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  624. 2025-01-13 20:22:52 redis-1 | 1:M 13 Jan 2025 19:22:52.111 * Background saving terminated with success
  625. 2025-01-19 17:23:36 worker-1 | File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  626. 2025-01-19 17:23:36 worker-1 | File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  627. 2025-01-19 17:24:04 meilisearch-1 |
  628. 2025-01-13 20:27:53 redis-1 | 1:M 13 Jan 2025 19:27:53.064 * 100 changes in 300 seconds. Saving...
  629. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
  630. 2025-01-19 17:24:04 meilisearch-1 | We generated a new secure master key for you (you can safely use this token):
  631. 2025-01-13 20:27:53 redis-1 | 1:M 13 Jan 2025 19:27:53.065 * Background saving started by pid 35
  632. 2025-01-19 17:24:04 meilisearch-1 |
  633. 2025-01-19 17:23:31 backend-1 | fairy = _ConnectionRecord.checkout(pool)
  634. 2025-01-19 17:24:04 meilisearch-1 | >> --master-key LPOn03WSt-f6yYnpdlevo33i7StbEDGt8cnICVLXm_w <<
  635. 2025-01-13 20:27:53 redis-1 | 35:C 13 Jan 2025 19:27:53.069 * DB saved on disk
  636. 2025-01-19 17:24:04 meilisearch-1 |
  637. 2025-01-19 17:24:04 meilisearch-1 | Restart Meilisearch with the argument above to use this new and secure master key.
  638. 2025-01-13 20:27:53 redis-1 | 35:C 13 Jan 2025 19:27:53.069 * RDB: 0 MB of memory used by copy-on-write
  639. 2025-01-13 20:27:53 redis-1 | 1:M 13 Jan 2025 19:27:53.165 * Background saving terminated with success
  640. 2025-01-13 20:32:54 redis-1 | 1:M 13 Jan 2025 19:32:54.054 * 100 changes in 300 seconds. Saving...
  641. 2025-01-13 20:32:54 redis-1 | 1:M 13 Jan 2025 19:32:54.054 * Background saving started by pid 36
  642. 2025-01-13 20:32:54 redis-1 | 36:C 13 Jan 2025 19:32:54.056 * DB saved on disk
  643. 2025-01-19 17:24:04 meilisearch-1 |
  644. 2025-01-19 17:24:04 meilisearch-1 | Check out Meilisearch Cloud!https://www.meilisearch.com/cloud?utm_campaign=oss&utm_source=engine&utm_medium=cli
  645. 2025-01-19 17:24:04 meilisearch-1 | Documentation:https://www.meilisearch.com/docs
  646. 2025-01-19 17:24:04 meilisearch-1 | Source code:https://github.com/meilisearch/meilisearch
  647. 2025-01-13 20:32:54 redis-1 | 36:C 13 Jan 2025 19:32:54.056 * RDB: 0 MB of memory used by copy-on-write
  648. 2025-01-19 17:23:36 worker-1 | File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  649. 2025-01-19 17:23:36 worker-1 | File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  650. 2025-01-13 20:32:54 redis-1 | 1:M 13 Jan 2025 19:32:54.155 * Background saving terminated with success
  651. 2025-01-13 20:37:55 redis-1 | 1:M 13 Jan 2025 19:37:55.075 * 100 changes in 300 seconds. Saving...
  652. 2025-01-19 17:24:04 meilisearch-1 | Discord:https://discord.meilisearch.com
  653. 2025-01-19 17:24:04 meilisearch-1 |
  654. 2025-01-19 17:24:04 meilisearch-1 | [2025-01-19T16:24:04Z INFO actix_server::builder] starting 10 workers
  655. 2025-01-19 17:23:36 worker-1 | File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  656. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  657. 2025-01-19 17:23:36 worker-1 | File "/app/app/worker.py", line 14, in <module>
  658. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
  659. 2025-01-19 17:24:04 meilisearch-1 | [2025-01-19T16:24:04Z INFO actix_server::server] Actix runtime found; starting in Actix runtime
  660. 2025-01-13 20:37:55 redis-1 | 1:M 13 Jan 2025 19:37:55.076 * Background saving started by pid 37
  661. 2025-01-13 20:37:55 redis-1 | 37:C 13 Jan 2025 19:37:55.082 * DB saved on disk
  662. 2025-01-13 20:37:55 redis-1 | 37:C 13 Jan 2025 19:37:55.082 * RDB: 0 MB of memory used by copy-on-write
  663. 2025-01-19 17:23:36 worker-1 | from . import (
  664. 2025-01-19 17:23:31 backend-1 | rec = pool._do_get()
  665. 2025-01-19 17:23:36 worker-1 | File "/app/app/apps.py", line 7, in <module>
  666. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^
  667. 2025-01-19 17:23:36 worker-1 | from . import database, db, localize, models, schemas, search, utils
  668. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/impl.py", line 308, in _do_get
  669. 2025-01-19 17:23:36 worker-1 | File "/app/app/search.py", line 22, in <module>
  670. 2025-01-19 17:23:31 backend-1 | return self._create_connection()
  671. 2025-01-19 17:23:36 worker-1 | client.create_index("apps", {"primaryKey": "id"})
  672. 2025-01-19 17:24:06 meilisearch-1 | [2025-01-19T16:24:06Z INFO actix_web::middleware::logger] 172.18.0.9 "POST /indexes HTTP/1.1" 202 121 "-" "Meilisearch Python (v0.32.0)" 0.003589
  673. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
  674. 2025-01-13 20:37:55 redis-1 | 1:M 13 Jan 2025 19:37:55.176 * Background saving terminated with success
  675. 2025-01-19 17:24:06 meilisearch-1 | [2025-01-19T16:24:06Z INFO actix_web::middleware::logger] 172.18.0.9 "PUT /indexes/apps/settings/sortable-attributes HTTP/1.1" 202 122 "-" "Meilisearch Python (v0.32.0)" 0.003159
  676. 2025-01-13 20:42:56 redis-1 | 1:M 13 Jan 2025 19:42:56.073 * 100 changes in 300 seconds. Saving...
  677. 2025-01-19 17:24:06 meilisearch-1 | [2025-01-19T16:24:06Z INFO index_scheduler] A batch of tasks was successfully completed.
  678. 2025-01-13 20:42:56 redis-1 | 1:M 13 Jan 2025 19:42:56.074 * Background saving started by pid 38
  679. 2025-01-19 17:24:06 meilisearch-1 | [2025-01-19T16:24:06Z INFO actix_web::middleware::logger] 172.18.0.9 "PUT /indexes/apps/settings/searchable-attributes HTTP/1.1" 202 122 "-" "Meilisearch Python (v0.32.0)" 0.003549
  680. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/client.py", line 79, in create_index
  681. 2025-01-19 17:24:06 meilisearch-1 | [2025-01-19T16:24:06Z INFO actix_web::middleware::logger] 172.18.0.9 "PUT /indexes/apps/settings/filterable-attributes HTTP/1.1" 202 122 "-" "Meilisearch Python (v0.32.0)" 0.001959
  682. 2025-01-19 17:24:06 meilisearch-1 | [2025-01-19T16:24:06Z INFO index_scheduler] A batch of tasks was successfully completed.
  683. 2025-01-19 17:23:36 worker-1 | return Index.create(self.config, uid, options)
  684. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
  685. 2025-01-13 20:42:56 redis-1 | 38:C 13 Jan 2025 19:42:56.081 * DB saved on disk
  686. 2025-01-13 20:42:56 redis-1 | 38:C 13 Jan 2025 19:42:56.081 * RDB: 0 MB of memory used by copy-on-write
  687. 2025-01-19 17:23:36 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  688. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/index.py", line 172, in create
  689. 2025-01-19 17:23:36 worker-1 | task = HttpRequests(config).post(config.paths.index, payload)
  690. 2025-01-19 17:23:31 backend-1 | return _ConnectionRecord(self)
  691. 2025-01-19 17:23:36 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  692. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/_httprequests.py", line 88, in post
  693. 2025-01-19 17:23:36 worker-1 | return self.send_request(requests.post, path, body, content_type, serializer=serializer)
  694. 2025-01-19 17:24:06 meilisearch-1 | [2025-01-19T16:24:06Z INFO index_scheduler] A batch of tasks was successfully completed.
  695. 2025-01-13 20:42:56 redis-1 | 1:M 13 Jan 2025 19:42:56.175 * Background saving terminated with success
  696. 2025-01-19 17:24:09 meilisearch-1 | [2025-01-19T16:24:09Z INFO actix_web::middleware::logger] 172.18.0.3 "POST /indexes HTTP/1.1" 202 121 "-" "Meilisearch Python (v0.32.0)" 0.002796
  697. 2025-01-13 21:07:01 redis-1 | 1:M 13 Jan 2025 20:07:01.264 * 100 changes in 300 seconds. Saving...
  698. 2025-01-19 17:24:09 meilisearch-1 | [2025-01-19T16:24:09Z INFO actix_web::middleware::logger] 172.18.0.3 "PUT /indexes/apps/settings/sortable-attributes HTTP/1.1" 202 122 "-" "Meilisearch Python (v0.32.0)" 0.001354
  699. 2025-01-19 17:23:36 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  700. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  701. 2025-01-19 17:23:36 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/_httprequests.py", line 73, in send_request
  702. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
  703. 2025-01-19 17:24:09 meilisearch-1 | [2025-01-19T16:24:09Z INFO actix_web::middleware::logger] 172.18.0.3 "PUT /indexes/apps/settings/searchable-attributes HTTP/1.1" 202 121 "-" "Meilisearch Python (v0.32.0)" 0.002376
  704. 2025-01-13 21:07:01 redis-1 | 1:M 13 Jan 2025 20:07:01.264 * Background saving started by pid 39
  705. 2025-01-19 17:24:09 meilisearch-1 | [2025-01-19T16:24:09Z INFO index_scheduler] A batch of tasks was successfully completed.
  706. 2025-01-19 17:24:09 meilisearch-1 | [2025-01-19T16:24:09Z INFO actix_web::middleware::logger] 172.18.0.3 "PUT /indexes/apps/settings/filterable-attributes HTTP/1.1" 202 122 "-" "Meilisearch Python (v0.32.0)" 0.002075
  707. 2025-01-19 17:24:09 meilisearch-1 | [2025-01-19T16:24:09Z INFO index_scheduler] A batch of tasks was successfully completed.
  708. 2025-01-19 17:23:31 backend-1 | self.__connect()
  709. 2025-01-19 17:24:09 meilisearch-1 | [2025-01-19T16:24:09Z INFO index_scheduler] A batch of tasks was successfully completed.
  710. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 900, in __connect
  711. 2025-01-19 17:23:31 backend-1 | with util.safe_reraise():
  712. 2025-01-19 17:23:36 worker-1 | raise MeilisearchCommunicationError(str(err)) from err
  713. 2025-01-19 17:23:36 worker-1 | meilisearch.errors.MeilisearchCommunicationError: MeilisearchCommunicationError, HTTPConnectionPool(host='meilisearch', port=7700): Max retries exceeded with url: /indexes (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7eff4b98a150>: Failed to establish a new connection: [Errno -2] Name or service not known'))
  714. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
  715. 2025-01-19 17:23:31 backend-1 | raise exc_value.with_traceback(exc_tb)
  716. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
  717. 2025-01-19 17:23:43 worker-1 | [2025-01-19 16:23:43,132] [PID 1] [MainThread] [dramatiq.MainProcess] [INFO] Dramatiq '1.17.1' is booting up.
  718. 2025-01-19 17:23:43 worker-1 | [2025-01-19 16:23:43,152] [PID 1] [MainThread] [dramatiq.MainProcess] [CRITICAL] Worker with PID 7 exited unexpectedly (code 1). Shutting down...
  719. 2025-01-19 17:23:31 backend-1 | self.dbapi_connection = connection = pool._invoke_creator(self)
  720. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  721. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/create.py", line 643, in connect
  722. 2025-01-19 17:23:31 backend-1 | return dialect.connect(*cargs, **cparams)
  723. 2025-01-13 21:07:01 redis-1 | 39:C 13 Jan 2025 20:07:01.267 * DB saved on disk
  724. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  725. 2025-01-13 21:07:01 redis-1 | 39:C 13 Jan 2025 20:07:01.267 * RDB: 0 MB of memory used by copy-on-write
  726. 2025-01-13 21:07:01 redis-1 | 1:M 13 Jan 2025 20:07:01.364 * Background saving terminated with success
  727. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 621, in connect
  728. 2025-01-19 17:23:31 backend-1 | return self.loaded_dbapi.connect(*cargs, **cparams)
  729. 2025-01-19 17:24:02 redis-1 | 1:C 19 Jan 2025 16:24:02.731 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
  730. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  731. 2025-01-19 17:24:02 redis-1 | 1:C 19 Jan 2025 16:24:02.731 # Redis version=6.2.17, bits=64, commit=00000000, modified=0, pid=1, just started
  732. 2025-01-19 17:24:02 redis-1 | 1:C 19 Jan 2025 16:24:02.731 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
  733. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/psycopg2/__init__.py", line 122, in connect
  734. 2025-01-19 17:23:43 worker-1 | Process Process-1:
  735. 2025-01-19 17:23:31 backend-1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  736. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  737. 2025-01-19 17:24:02 redis-1 | 1:M 19 Jan 2025 16:24:02.731 * monotonic clock: POSIX clock_gettime
  738. 2025-01-19 17:24:02 redis-1 | 1:M 19 Jan 2025 16:24:02.732 * Running mode=standalone, port=6379.
  739. 2025-01-19 17:23:31 backend-1 | psycopg2.OperationalError: could not translate host name "db" to address: Name or service not known
  740. 2025-01-19 17:24:02 redis-1 | 1:M 19 Jan 2025 16:24:02.732 # Server initialized
  741. 2025-01-19 17:23:31 backend-1 |
  742. 2025-01-19 17:23:31 backend-1 |
  743. 2025-01-19 17:23:31 backend-1 | The above exception was the direct cause of the following exception:
  744. 2025-01-19 17:23:31 backend-1 |
  745. 2025-01-19 17:24:02 redis-1 | 1:M 19 Jan 2025 16:24:02.733 * Loading RDB produced by version 6.2.17
  746. 2025-01-19 17:23:43 worker-1 | Traceback (most recent call last):
  747. 2025-01-19 17:24:02 redis-1 | 1:M 19 Jan 2025 16:24:02.733 * RDB age 505021 seconds
  748. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connection.py", line 174, in _new_conn
  749. 2025-01-19 17:23:31 backend-1 | Traceback (most recent call last):
  750. 2025-01-19 17:23:43 worker-1 | conn = connection.create_connection(
  751. 2025-01-19 17:23:31 backend-1 | File "/venv/bin/alembic", line 8, in <module>
  752. 2025-01-19 17:24:02 redis-1 | 1:M 19 Jan 2025 16:24:02.733 * RDB memory usage when created 0.85 Mb
  753. 2025-01-19 17:23:43 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  754. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/util/connection.py", line 72, in create_connection
  755. 2025-01-19 17:23:43 worker-1 | for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  756. 2025-01-19 17:24:02 redis-1 | 1:M 19 Jan 2025 16:24:02.733 # Done loading RDB, keys loaded: 1, keys expired: 0.
  757. 2025-01-19 17:23:43 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  758. 2025-01-19 17:23:31 backend-1 | sys.exit(main())
  759. 2025-01-19 17:24:02 redis-1 | 1:M 19 Jan 2025 16:24:02.733 * DB loaded from disk: 0.000 seconds
  760. 2025-01-19 17:24:02 redis-1 | 1:M 19 Jan 2025 16:24:02.733 * Ready to accept connections
  761. 2025-01-19 17:23:43 worker-1 | File "/usr/lib/python3.12/socket.py", line 963, in getaddrinfo
  762. 2025-01-19 17:23:43 worker-1 | for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
  763. 2025-01-19 17:23:31 backend-1 | ^^^^^^
  764. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/config.py", line 636, in main
  765. 2025-01-19 17:23:31 backend-1 | CommandLine(prog=prog).main(argv=argv)
  766. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/config.py", line 626, in main
  767. 2025-01-19 17:23:31 backend-1 | self.run_cmd(cfg, options)
  768. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/config.py", line 603, in run_cmd
  769. 2025-01-19 17:23:43 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  770. 2025-01-19 17:23:43 worker-1 | socket.gaierror: [Errno -2] Name or service not known
  771. 2025-01-19 17:23:43 worker-1 |
  772. 2025-01-19 17:23:31 backend-1 | fn(
  773. 2025-01-19 17:23:43 worker-1 | During handling of the above exception, another exception occurred:
  774. 2025-01-19 17:23:43 worker-1 |
  775. 2025-01-19 17:23:43 worker-1 | Traceback (most recent call last):
  776. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 716, in urlopen
  777. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/command.py", line 406, in upgrade
  778. 2025-01-19 17:23:43 worker-1 | httplib_response = self._make_request(
  779. 2025-01-19 17:23:31 backend-1 | script.run_env()
  780. 2025-01-19 17:23:43 worker-1 | ^^^^^^^^^^^^^^^^^^^
  781. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/script/base.py", line 586, in run_env
  782. 2025-01-19 17:23:31 backend-1 | util.load_python_file(self.dir, "env.py")
  783. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
  784. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 416, in _make_request
  785. 2025-01-19 17:23:31 backend-1 | module = load_module_py(module_id, path)
  786. 2025-01-19 17:23:43 worker-1 | conn.request(method, url, **httplib_request_kw)
  787. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connection.py", line 244, in request
  788. 2025-01-19 17:23:43 worker-1 | super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  789. 2025-01-19 17:23:43 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1336, in request
  790. 2025-01-19 17:23:43 worker-1 | self._send_request(method, url, body, headers, encode_chunked)
  791. 2025-01-19 17:23:43 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1382, in _send_request
  792. 2025-01-19 17:23:43 worker-1 | self.endheaders(body, encode_chunked=encode_chunked)
  793. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  794. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
  795. 2025-01-19 17:23:31 backend-1 | spec.loader.exec_module(module) # type: ignore
  796. 2025-01-19 17:23:43 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1331, in endheaders
  797. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  798. 2025-01-19 17:23:31 backend-1 | File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  799. 2025-01-19 17:23:31 backend-1 | File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  800. 2025-01-19 17:23:31 backend-1 | File "/app/alembic/env.py", line 72, in <module>
  801. 2025-01-19 17:23:43 worker-1 | self._send_output(message_body, encode_chunked=encode_chunked)
  802. 2025-01-19 17:23:31 backend-1 | run_migrations_online()
  803. 2025-01-19 17:23:43 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1091, in _send_output
  804. 2025-01-19 17:23:31 backend-1 | File "/app/alembic/env.py", line 62, in run_migrations_online
  805. 2025-01-19 17:23:43 worker-1 | self.send(msg)
  806. 2025-01-19 17:23:43 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1035, in send
  807. 2025-01-19 17:23:43 worker-1 | self.connect()
  808. 2025-01-19 17:23:31 backend-1 | with connectable.connect() as connection:
  809. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connection.py", line 205, in connect
  810. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^
  811. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 3278, in connect
  812. 2025-01-19 17:23:31 backend-1 | return self._connection_cls(self)
  813. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  814. 2025-01-19 17:23:43 worker-1 | conn = self._new_conn()
  815. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 148, in __init__
  816. 2025-01-19 17:23:31 backend-1 | Connection._handle_dbapi_exception_noconnection(
  817. 2025-01-19 17:23:43 worker-1 | ^^^^^^^^^^^^^^^^
  818. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 2442, in _handle_dbapi_exception_noconnection
  819. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connection.py", line 186, in _new_conn
  820. 2025-01-19 17:23:43 worker-1 | raise NewConnectionError(
  821. 2025-01-19 17:23:43 worker-1 | urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8cd4e85a30>: Failed to establish a new connection: [Errno -2] Name or service not known
  822. 2025-01-19 17:23:31 backend-1 | raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  823. 2025-01-19 17:23:43 worker-1 |
  824. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
  825. 2025-01-19 17:23:31 backend-1 | self._dbapi_connection = engine.raw_connection()
  826. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  827. 2025-01-19 17:23:43 worker-1 | During handling of the above exception, another exception occurred:
  828. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 3302, in raw_connection
  829. 2025-01-19 17:23:31 backend-1 | return self.pool.connect()
  830. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^
  831. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 449, in connect
  832. 2025-01-19 17:23:43 worker-1 |
  833. 2025-01-19 17:23:31 backend-1 | return _ConnectionFairy._checkout(self)
  834. 2025-01-19 17:23:43 worker-1 | Traceback (most recent call last):
  835. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  836. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
  837. 2025-01-19 17:23:31 backend-1 | fairy = _ConnectionRecord.checkout(pool)
  838. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/requests/adapters.py", line 667, in send
  839. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  840. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
  841. 2025-01-19 17:23:43 worker-1 | resp = conn.urlopen(
  842. 2025-01-19 17:23:31 backend-1 | rec = pool._do_get()
  843. 2025-01-19 17:23:43 worker-1 | ^^^^^^^^^^^^^
  844. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^
  845. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/impl.py", line 308, in _do_get
  846. 2025-01-19 17:23:31 backend-1 | return self._create_connection()
  847. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 802, in urlopen
  848. 2025-01-19 17:23:43 worker-1 | retries = retries.increment(
  849. 2025-01-19 17:23:43 worker-1 | ^^^^^^^^^^^^^^^^^^
  850. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/util/retry.py", line 594, in increment
  851. 2025-01-19 17:23:43 worker-1 | raise MaxRetryError(_pool, url, error or ResponseError(cause))
  852. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
  853. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
  854. 2025-01-19 17:23:31 backend-1 | return _ConnectionRecord(self)
  855. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  856. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
  857. 2025-01-19 17:23:43 worker-1 | urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='meilisearch', port=7700): Max retries exceeded with url: /indexes (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cd4e85a30>: Failed to establish a new connection: [Errno -2] Name or service not known'))
  858. 2025-01-19 17:23:31 backend-1 | self.__connect()
  859. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 900, in __connect
  860. 2025-01-19 17:23:43 worker-1 |
  861. 2025-01-19 17:23:43 worker-1 | During handling of the above exception, another exception occurred:
  862. 2025-01-19 17:23:43 worker-1 |
  863. 2025-01-19 17:23:31 backend-1 | with util.safe_reraise():
  864. 2025-01-19 17:23:43 worker-1 | Traceback (most recent call last):
  865. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/_httprequests.py", line 65, in send_request
  866. 2025-01-19 17:23:43 worker-1 | request = http_method(
  867. 2025-01-19 17:23:43 worker-1 | ^^^^^^^^^^^^
  868. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
  869. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/requests/api.py", line 115, in post
  870. 2025-01-19 17:23:31 backend-1 | raise exc_value.with_traceback(exc_tb)
  871. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
  872. 2025-01-19 17:23:31 backend-1 | self.dbapi_connection = connection = pool._invoke_creator(self)
  873. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  874. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/create.py", line 643, in connect
  875. 2025-01-19 17:23:43 worker-1 | return request("post", url, data=data, json=json, **kwargs)
  876. 2025-01-19 17:23:31 backend-1 | return dialect.connect(*cargs, **cparams)
  877. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  878. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 621, in connect
  879. 2025-01-19 17:23:43 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  880. 2025-01-19 17:23:31 backend-1 | return self.loaded_dbapi.connect(*cargs, **cparams)
  881. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/requests/api.py", line 59, in request
  882. 2025-01-19 17:23:43 worker-1 | return session.request(method=method, url=url, **kwargs)
  883. 2025-01-19 17:23:43 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  884. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  885. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
  886. 2025-01-19 17:23:31 backend-1 | File "/venv/lib/python3.12/site-packages/psycopg2/__init__.py", line 122, in connect
  887. 2025-01-19 17:23:31 backend-1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  888. 2025-01-19 17:23:31 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  889. 2025-01-19 17:23:43 worker-1 | resp = self.send(prep, **send_kwargs)
  890. 2025-01-19 17:23:31 backend-1 | sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "db" to address: Name or service not known
  891. 2025-01-19 17:23:43 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  892. 2025-01-19 17:23:31 backend-1 |
  893. 2025-01-19 17:23:31 backend-1 | (Background on this error at: https://sqlalche.me/e/20/e3q8)
  894. 2025-01-19 17:23:36 backend-1 | Traceback (most recent call last):
  895. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
  896. 2025-01-19 17:23:43 worker-1 | r = adapter.send(request, **kwargs)
  897. 2025-01-19 17:23:43 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  898. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/requests/adapters.py", line 700, in send
  899. 2025-01-19 17:23:43 worker-1 | raise ConnectionError(e, request=request)
  900. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
  901. 2025-01-19 17:23:43 worker-1 | requests.exceptions.ConnectionError: HTTPConnectionPool(host='meilisearch', port=7700): Max retries exceeded with url: /indexes (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cd4e85a30>: Failed to establish a new connection: [Errno -2] Name or service not known'))
  902. 2025-01-19 17:23:43 worker-1 |
  903. 2025-01-19 17:23:43 worker-1 | The above exception was the direct cause of the following exception:
  904. 2025-01-19 17:23:43 worker-1 |
  905. 2025-01-19 17:23:36 backend-1 | self._dbapi_connection = engine.raw_connection()
  906. 2025-01-19 17:23:43 worker-1 | Traceback (most recent call last):
  907. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  908. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 3302, in raw_connection
  909. 2025-01-19 17:23:36 backend-1 | return self.pool.connect()
  910. 2025-01-19 17:23:43 worker-1 | File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
  911. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^
  912. 2025-01-19 17:23:43 worker-1 | self.run()
  913. 2025-01-19 17:23:43 worker-1 | File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run
  914. 2025-01-19 17:23:43 worker-1 | self._target(*self._args, **self._kwargs)
  915. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 449, in connect
  916. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/dramatiq/cli.py", line 393, in worker_process
  917. 2025-01-19 17:23:43 worker-1 | module, broker = import_broker(args.broker)
  918. 2025-01-19 17:23:43 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  919. 2025-01-19 17:23:36 backend-1 | return _ConnectionFairy._checkout(self)
  920. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/dramatiq/cli.py", line 123, in import_broker
  921. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  922. 2025-01-19 17:23:43 worker-1 | module, broker_or_callable = import_object(value)
  923. 2025-01-19 17:23:43 worker-1 | ^^^^^^^^^^^^^^^^^^^^
  924. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/dramatiq/cli.py", line 112, in import_object
  925. 2025-01-19 17:23:43 worker-1 | module = importlib.import_module(modname)
  926. 2025-01-19 17:23:43 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  927. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
  928. 2025-01-19 17:23:36 backend-1 | fairy = _ConnectionRecord.checkout(pool)
  929. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  930. 2025-01-19 17:23:43 worker-1 | File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
  931. 2025-01-19 17:23:43 worker-1 | return _bootstrap._gcd_import(name[level:], package, level)
  932. 2025-01-19 17:23:43 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  933. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
  934. 2025-01-19 17:23:36 backend-1 | rec = pool._do_get()
  935. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^
  936. 2025-01-19 17:23:43 worker-1 | File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  937. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/impl.py", line 308, in _do_get
  938. 2025-01-19 17:23:36 backend-1 | return self._create_connection()
  939. 2025-01-19 17:23:43 worker-1 | File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  940. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
  941. 2025-01-19 17:23:43 worker-1 | File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  942. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
  943. 2025-01-19 17:23:36 backend-1 | return _ConnectionRecord(self)
  944. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  945. 2025-01-19 17:23:43 worker-1 | File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  946. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
  947. 2025-01-19 17:23:43 worker-1 | File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  948. 2025-01-19 17:23:36 backend-1 | self.__connect()
  949. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 900, in __connect
  950. 2025-01-19 17:23:36 backend-1 | with util.safe_reraise():
  951. 2025-01-19 17:23:43 worker-1 | File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  952. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
  953. 2025-01-19 17:23:36 backend-1 | raise exc_value.with_traceback(exc_tb)
  954. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
  955. 2025-01-19 17:23:36 backend-1 | self.dbapi_connection = connection = pool._invoke_creator(self)
  956. 2025-01-19 17:23:43 worker-1 | File "/app/app/worker.py", line 14, in <module>
  957. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  958. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/create.py", line 643, in connect
  959. 2025-01-19 17:23:36 backend-1 | return dialect.connect(*cargs, **cparams)
  960. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  961. 2025-01-19 17:23:43 worker-1 | from . import (
  962. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 621, in connect
  963. 2025-01-19 17:23:43 worker-1 | File "/app/app/apps.py", line 7, in <module>
  964. 2025-01-19 17:23:43 worker-1 | from . import database, db, localize, models, schemas, search, utils
  965. 2025-01-19 17:23:43 worker-1 | File "/app/app/search.py", line 22, in <module>
  966. 2025-01-19 17:23:43 worker-1 | client.create_index("apps", {"primaryKey": "id"})
  967. 2025-01-19 17:23:36 backend-1 | return self.loaded_dbapi.connect(*cargs, **cparams)
  968. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  969. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/psycopg2/__init__.py", line 122, in connect
  970. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/client.py", line 79, in create_index
  971. 2025-01-19 17:23:36 backend-1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  972. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  973. 2025-01-19 17:23:36 backend-1 | psycopg2.OperationalError: could not translate host name "db" to address: Name or service not known
  974. 2025-01-19 17:23:36 backend-1 |
  975. 2025-01-19 17:23:43 worker-1 | return Index.create(self.config, uid, options)
  976. 2025-01-19 17:23:36 backend-1 |
  977. 2025-01-19 17:23:43 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  978. 2025-01-19 17:23:36 backend-1 | The above exception was the direct cause of the following exception:
  979. 2025-01-19 17:23:36 backend-1 |
  980. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/index.py", line 172, in create
  981. 2025-01-19 17:23:36 backend-1 | Traceback (most recent call last):
  982. 2025-01-19 17:23:36 backend-1 | File "/venv/bin/alembic", line 8, in <module>
  983. 2025-01-19 17:23:36 backend-1 | sys.exit(main())
  984. 2025-01-19 17:23:36 backend-1 | ^^^^^^
  985. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/config.py", line 636, in main
  986. 2025-01-19 17:23:36 backend-1 | CommandLine(prog=prog).main(argv=argv)
  987. 2025-01-19 17:23:43 worker-1 | task = HttpRequests(config).post(config.paths.index, payload)
  988. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/config.py", line 626, in main
  989. 2025-01-19 17:23:43 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  990. 2025-01-19 17:23:36 backend-1 | self.run_cmd(cfg, options)
  991. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/_httprequests.py", line 88, in post
  992. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/config.py", line 603, in run_cmd
  993. 2025-01-19 17:23:36 backend-1 | fn(
  994. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/command.py", line 406, in upgrade
  995. 2025-01-19 17:23:36 backend-1 | script.run_env()
  996. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/script/base.py", line 586, in run_env
  997. 2025-01-19 17:23:43 worker-1 | return self.send_request(requests.post, path, body, content_type, serializer=serializer)
  998. 2025-01-19 17:23:36 backend-1 | util.load_python_file(self.dir, "env.py")
  999. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
  1000. 2025-01-19 17:23:36 backend-1 | module = load_module_py(module_id, path)
  1001. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1002. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
  1003. 2025-01-19 17:23:43 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1004. 2025-01-19 17:23:36 backend-1 | spec.loader.exec_module(module) # type: ignore
  1005. 2025-01-19 17:23:43 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/_httprequests.py", line 73, in send_request
  1006. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1007. 2025-01-19 17:23:43 worker-1 | raise MeilisearchCommunicationError(str(err)) from err
  1008. 2025-01-19 17:23:36 backend-1 | File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  1009. 2025-01-19 17:23:43 worker-1 | meilisearch.errors.MeilisearchCommunicationError: MeilisearchCommunicationError, HTTPConnectionPool(host='meilisearch', port=7700): Max retries exceeded with url: /indexes (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cd4e85a30>: Failed to establish a new connection: [Errno -2] Name or service not known'))
  1010. 2025-01-19 17:23:36 backend-1 | File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  1011. 2025-01-19 17:23:53 worker-1 | [2025-01-19 16:23:53,449] [PID 1] [MainThread] [dramatiq.MainProcess] [INFO] Dramatiq '1.17.1' is booting up.
  1012. 2025-01-19 17:23:36 backend-1 | File "/app/alembic/env.py", line 72, in <module>
  1013. 2025-01-19 17:23:53 worker-1 | Process Process-1:
  1014. 2025-01-19 17:23:53 worker-1 | Traceback (most recent call last):
  1015. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connection.py", line 174, in _new_conn
  1016. 2025-01-19 17:23:53 worker-1 | conn = connection.create_connection(
  1017. 2025-01-19 17:23:36 backend-1 | run_migrations_online()
  1018. 2025-01-19 17:23:53 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1019. 2025-01-19 17:23:36 backend-1 | File "/app/alembic/env.py", line 62, in run_migrations_online
  1020. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/util/connection.py", line 72, in create_connection
  1021. 2025-01-19 17:23:36 backend-1 | with connectable.connect() as connection:
  1022. 2025-01-19 17:23:53 worker-1 | for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  1023. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^
  1024. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 3278, in connect
  1025. 2025-01-19 17:23:36 backend-1 | return self._connection_cls(self)
  1026. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  1027. 2025-01-19 17:23:53 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1028. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 148, in __init__
  1029. 2025-01-19 17:23:53 worker-1 | File "/usr/lib/python3.12/socket.py", line 963, in getaddrinfo
  1030. 2025-01-19 17:23:53 worker-1 | for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
  1031. 2025-01-19 17:23:53 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1032. 2025-01-19 17:23:53 worker-1 | socket.gaierror: [Errno -2] Name or service not known
  1033. 2025-01-19 17:23:36 backend-1 | Connection._handle_dbapi_exception_noconnection(
  1034. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 2442, in _handle_dbapi_exception_noconnection
  1035. 2025-01-19 17:23:53 worker-1 |
  1036. 2025-01-19 17:23:53 worker-1 | During handling of the above exception, another exception occurred:
  1037. 2025-01-19 17:23:53 worker-1 |
  1038. 2025-01-19 17:23:53 worker-1 | Traceback (most recent call last):
  1039. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 716, in urlopen
  1040. 2025-01-19 17:23:53 worker-1 | httplib_response = self._make_request(
  1041. 2025-01-19 17:23:53 worker-1 | ^^^^^^^^^^^^^^^^^^^
  1042. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 416, in _make_request
  1043. 2025-01-19 17:23:53 worker-1 | conn.request(method, url, **httplib_request_kw)
  1044. 2025-01-19 17:23:36 backend-1 | raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  1045. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connection.py", line 244, in request
  1046. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
  1047. 2025-01-19 17:23:53 worker-1 | super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  1048. 2025-01-19 17:23:53 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1336, in request
  1049. 2025-01-19 17:23:53 worker-1 | self._send_request(method, url, body, headers, encode_chunked)
  1050. 2025-01-19 17:23:53 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1382, in _send_request
  1051. 2025-01-19 17:23:53 worker-1 | self.endheaders(body, encode_chunked=encode_chunked)
  1052. 2025-01-19 17:23:53 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1331, in endheaders
  1053. 2025-01-19 17:23:53 worker-1 | self._send_output(message_body, encode_chunked=encode_chunked)
  1054. 2025-01-19 17:23:53 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1091, in _send_output
  1055. 2025-01-19 17:23:36 backend-1 | self._dbapi_connection = engine.raw_connection()
  1056. 2025-01-19 17:23:53 worker-1 | self.send(msg)
  1057. 2025-01-19 17:23:53 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1035, in send
  1058. 2025-01-19 17:23:53 worker-1 | self.connect()
  1059. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  1060. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connection.py", line 205, in connect
  1061. 2025-01-19 17:23:53 worker-1 | conn = self._new_conn()
  1062. 2025-01-19 17:23:53 worker-1 | ^^^^^^^^^^^^^^^^
  1063. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 3302, in raw_connection
  1064. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connection.py", line 186, in _new_conn
  1065. 2025-01-19 17:23:36 backend-1 | return self.pool.connect()
  1066. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^
  1067. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 449, in connect
  1068. 2025-01-19 17:23:53 worker-1 | raise NewConnectionError(
  1069. 2025-01-19 17:23:36 backend-1 | return _ConnectionFairy._checkout(self)
  1070. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1071. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
  1072. 2025-01-19 17:23:53 worker-1 | urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fd31c4a2000>: Failed to establish a new connection: [Errno -2] Name or service not known
  1073. 2025-01-19 17:23:36 backend-1 | fairy = _ConnectionRecord.checkout(pool)
  1074. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1075. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
  1076. 2025-01-19 17:23:36 backend-1 | rec = pool._do_get()
  1077. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^
  1078. 2025-01-19 17:23:53 worker-1 |
  1079. 2025-01-19 17:23:53 worker-1 | During handling of the above exception, another exception occurred:
  1080. 2025-01-19 17:23:53 worker-1 |
  1081. 2025-01-19 17:23:53 worker-1 | Traceback (most recent call last):
  1082. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/impl.py", line 308, in _do_get
  1083. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/requests/adapters.py", line 667, in send
  1084. 2025-01-19 17:23:36 backend-1 | return self._create_connection()
  1085. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
  1086. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
  1087. 2025-01-19 17:23:36 backend-1 | return _ConnectionRecord(self)
  1088. 2025-01-19 17:23:53 worker-1 | resp = conn.urlopen(
  1089. 2025-01-19 17:23:53 worker-1 | ^^^^^^^^^^^^^
  1090. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 802, in urlopen
  1091. 2025-01-19 17:23:53 worker-1 | retries = retries.increment(
  1092. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  1093. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
  1094. 2025-01-19 17:23:36 backend-1 | self.__connect()
  1095. 2025-01-19 17:23:53 worker-1 | ^^^^^^^^^^^^^^^^^^
  1096. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 900, in __connect
  1097. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/util/retry.py", line 594, in increment
  1098. 2025-01-19 17:23:53 worker-1 | raise MaxRetryError(_pool, url, error or ResponseError(cause))
  1099. 2025-01-19 17:23:36 backend-1 | with util.safe_reraise():
  1100. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
  1101. 2025-01-19 17:23:36 backend-1 | raise exc_value.with_traceback(exc_tb)
  1102. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
  1103. 2025-01-19 17:23:36 backend-1 | self.dbapi_connection = connection = pool._invoke_creator(self)
  1104. 2025-01-19 17:23:53 worker-1 | urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='meilisearch', port=7700): Max retries exceeded with url: /indexes (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd31c4a2000>: Failed to establish a new connection: [Errno -2] Name or service not known'))
  1105. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  1106. 2025-01-19 17:23:53 worker-1 |
  1107. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/create.py", line 643, in connect
  1108. 2025-01-19 17:23:36 backend-1 | return dialect.connect(*cargs, **cparams)
  1109. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1110. 2025-01-19 17:23:53 worker-1 | During handling of the above exception, another exception occurred:
  1111. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 621, in connect
  1112. 2025-01-19 17:23:53 worker-1 |
  1113. 2025-01-19 17:23:53 worker-1 | Traceback (most recent call last):
  1114. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/_httprequests.py", line 65, in send_request
  1115. 2025-01-19 17:23:53 worker-1 | request = http_method(
  1116. 2025-01-19 17:23:53 worker-1 | ^^^^^^^^^^^^
  1117. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/requests/api.py", line 115, in post
  1118. 2025-01-19 17:23:53 worker-1 | return request("post", url, data=data, json=json, **kwargs)
  1119. 2025-01-19 17:23:53 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1120. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/requests/api.py", line 59, in request
  1121. 2025-01-19 17:23:53 worker-1 | return session.request(method=method, url=url, **kwargs)
  1122. 2025-01-19 17:23:53 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1123. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
  1124. 2025-01-19 17:23:36 backend-1 | return self.loaded_dbapi.connect(*cargs, **cparams)
  1125. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1126. 2025-01-19 17:23:36 backend-1 | File "/venv/lib/python3.12/site-packages/psycopg2/__init__.py", line 122, in connect
  1127. 2025-01-19 17:23:53 worker-1 | resp = self.send(prep, **send_kwargs)
  1128. 2025-01-19 17:23:36 backend-1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  1129. 2025-01-19 17:23:53 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1130. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
  1131. 2025-01-19 17:23:53 worker-1 | r = adapter.send(request, **kwargs)
  1132. 2025-01-19 17:23:36 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1133. 2025-01-19 17:23:53 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1134. 2025-01-19 17:23:36 backend-1 | sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "db" to address: Name or service not known
  1135. 2025-01-19 17:23:36 backend-1 |
  1136. 2025-01-19 17:23:36 backend-1 | (Background on this error at: https://sqlalche.me/e/20/e3q8)
  1137. 2025-01-19 17:23:42 backend-1 | Traceback (most recent call last):
  1138. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/requests/adapters.py", line 700, in send
  1139. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
  1140. 2025-01-19 17:23:42 backend-1 | self._dbapi_connection = engine.raw_connection()
  1141. 2025-01-19 17:23:53 worker-1 | raise ConnectionError(e, request=request)
  1142. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  1143. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 3302, in raw_connection
  1144. 2025-01-19 17:23:42 backend-1 | return self.pool.connect()
  1145. 2025-01-19 17:23:53 worker-1 | requests.exceptions.ConnectionError: HTTPConnectionPool(host='meilisearch', port=7700): Max retries exceeded with url: /indexes (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd31c4a2000>: Failed to establish a new connection: [Errno -2] Name or service not known'))
  1146. 2025-01-19 17:23:53 worker-1 |
  1147. 2025-01-19 17:23:53 worker-1 | The above exception was the direct cause of the following exception:
  1148. 2025-01-19 17:23:53 worker-1 |
  1149. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^
  1150. 2025-01-19 17:23:53 worker-1 | Traceback (most recent call last):
  1151. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 449, in connect
  1152. 2025-01-19 17:23:42 backend-1 | return _ConnectionFairy._checkout(self)
  1153. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1154. 2025-01-19 17:23:53 worker-1 | File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
  1155. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
  1156. 2025-01-19 17:23:53 worker-1 | self.run()
  1157. 2025-01-19 17:23:53 worker-1 | File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run
  1158. 2025-01-19 17:23:53 worker-1 | self._target(*self._args, **self._kwargs)
  1159. 2025-01-19 17:23:42 backend-1 | fairy = _ConnectionRecord.checkout(pool)
  1160. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/dramatiq/cli.py", line 393, in worker_process
  1161. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1162. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
  1163. 2025-01-19 17:23:42 backend-1 | rec = pool._do_get()
  1164. 2025-01-19 17:23:53 worker-1 | module, broker = import_broker(args.broker)
  1165. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^
  1166. 2025-01-19 17:23:53 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  1167. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/impl.py", line 308, in _do_get
  1168. 2025-01-19 17:23:42 backend-1 | return self._create_connection()
  1169. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
  1170. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/dramatiq/cli.py", line 123, in import_broker
  1171. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
  1172. 2025-01-19 17:23:53 worker-1 | module, broker_or_callable = import_object(value)
  1173. 2025-01-19 17:23:53 worker-1 | ^^^^^^^^^^^^^^^^^^^^
  1174. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/dramatiq/cli.py", line 112, in import_object
  1175. 2025-01-19 17:23:53 worker-1 | module = importlib.import_module(modname)
  1176. 2025-01-19 17:23:42 backend-1 | return _ConnectionRecord(self)
  1177. 2025-01-19 17:23:53 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1178. 2025-01-19 17:23:53 worker-1 | File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
  1179. 2025-01-19 17:23:53 worker-1 | return _bootstrap._gcd_import(name[level:], package, level)
  1180. 2025-01-19 17:23:53 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1181. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  1182. 2025-01-19 17:23:53 worker-1 | File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  1183. 2025-01-19 17:23:53 worker-1 | File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  1184. 2025-01-19 17:23:53 worker-1 | File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  1185. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
  1186. 2025-01-19 17:23:53 worker-1 | File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  1187. 2025-01-19 17:23:42 backend-1 | self.__connect()
  1188. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 900, in __connect
  1189. 2025-01-19 17:23:42 backend-1 | with util.safe_reraise():
  1190. 2025-01-19 17:23:53 worker-1 | File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  1191. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
  1192. 2025-01-19 17:23:53 worker-1 | File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  1193. 2025-01-19 17:23:53 worker-1 | File "/app/app/worker.py", line 14, in <module>
  1194. 2025-01-19 17:23:53 worker-1 | from . import (
  1195. 2025-01-19 17:23:53 worker-1 | File "/app/app/apps.py", line 7, in <module>
  1196. 2025-01-19 17:23:42 backend-1 | raise exc_value.with_traceback(exc_tb)
  1197. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
  1198. 2025-01-19 17:23:42 backend-1 | self.dbapi_connection = connection = pool._invoke_creator(self)
  1199. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  1200. 2025-01-19 17:23:53 worker-1 | from . import database, db, localize, models, schemas, search, utils
  1201. 2025-01-19 17:23:53 worker-1 | File "/app/app/search.py", line 22, in <module>
  1202. 2025-01-19 17:23:53 worker-1 | client.create_index("apps", {"primaryKey": "id"})
  1203. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/create.py", line 643, in connect
  1204. 2025-01-19 17:23:42 backend-1 | return dialect.connect(*cargs, **cparams)
  1205. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1206. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/client.py", line 79, in create_index
  1207. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 621, in connect
  1208. 2025-01-19 17:23:42 backend-1 | return self.loaded_dbapi.connect(*cargs, **cparams)
  1209. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1210. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/psycopg2/__init__.py", line 122, in connect
  1211. 2025-01-19 17:23:42 backend-1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  1212. 2025-01-19 17:23:53 worker-1 | return Index.create(self.config, uid, options)
  1213. 2025-01-19 17:23:53 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1214. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/index.py", line 172, in create
  1215. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1216. 2025-01-19 17:23:53 worker-1 | task = HttpRequests(config).post(config.paths.index, payload)
  1217. 2025-01-19 17:23:53 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1218. 2025-01-19 17:23:42 backend-1 | psycopg2.OperationalError: could not translate host name "db" to address: Name or service not known
  1219. 2025-01-19 17:23:42 backend-1 |
  1220. 2025-01-19 17:23:42 backend-1 |
  1221. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/_httprequests.py", line 88, in post
  1222. 2025-01-19 17:23:53 worker-1 | return self.send_request(requests.post, path, body, content_type, serializer=serializer)
  1223. 2025-01-19 17:23:42 backend-1 | The above exception was the direct cause of the following exception:
  1224. 2025-01-19 17:23:53 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1225. 2025-01-19 17:23:42 backend-1 |
  1226. 2025-01-19 17:23:53 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/_httprequests.py", line 73, in send_request
  1227. 2025-01-19 17:23:53 worker-1 | raise MeilisearchCommunicationError(str(err)) from err
  1228. 2025-01-19 17:23:53 worker-1 | meilisearch.errors.MeilisearchCommunicationError: MeilisearchCommunicationError, HTTPConnectionPool(host='meilisearch', port=7700): Max retries exceeded with url: /indexes (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd31c4a2000>: Failed to establish a new connection: [Errno -2] Name or service not known'))
  1229. 2025-01-19 17:24:00 worker-1 | [2025-01-19 16:24:00,035] [PID 1] [MainThread] [dramatiq.MainProcess] [INFO] Dramatiq '1.17.1' is booting up.
  1230. 2025-01-19 17:23:42 backend-1 | Traceback (most recent call last):
  1231. 2025-01-19 17:23:42 backend-1 | File "/venv/bin/alembic", line 8, in <module>
  1232. 2025-01-19 17:24:00 worker-1 | [2025-01-19 16:24:00,084] [PID 1] [MainThread] [dramatiq.MainProcess] [CRITICAL] Worker with PID 7 exited unexpectedly (code 1). Shutting down...
  1233. 2025-01-19 17:23:42 backend-1 | sys.exit(main())
  1234. 2025-01-19 17:23:42 backend-1 | ^^^^^^
  1235. 2025-01-19 17:24:00 worker-1 | Process Process-1:
  1236. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/config.py", line 636, in main
  1237. 2025-01-19 17:24:00 worker-1 | Traceback (most recent call last):
  1238. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connection.py", line 174, in _new_conn
  1239. 2025-01-19 17:24:00 worker-1 | conn = connection.create_connection(
  1240. 2025-01-19 17:23:42 backend-1 | CommandLine(prog=prog).main(argv=argv)
  1241. 2025-01-19 17:24:00 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1242. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/config.py", line 626, in main
  1243. 2025-01-19 17:23:42 backend-1 | self.run_cmd(cfg, options)
  1244. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/config.py", line 603, in run_cmd
  1245. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/util/connection.py", line 72, in create_connection
  1246. 2025-01-19 17:23:42 backend-1 | fn(
  1247. 2025-01-19 17:24:00 worker-1 | for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  1248. 2025-01-19 17:24:00 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1249. 2025-01-19 17:24:00 worker-1 | File "/usr/lib/python3.12/socket.py", line 963, in getaddrinfo
  1250. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/command.py", line 406, in upgrade
  1251. 2025-01-19 17:24:00 worker-1 | for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
  1252. 2025-01-19 17:23:42 backend-1 | script.run_env()
  1253. 2025-01-19 17:24:00 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1254. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/script/base.py", line 586, in run_env
  1255. 2025-01-19 17:24:00 worker-1 | socket.gaierror: [Errno -2] Name or service not known
  1256. 2025-01-19 17:23:42 backend-1 | util.load_python_file(self.dir, "env.py")
  1257. 2025-01-19 17:24:00 worker-1 |
  1258. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
  1259. 2025-01-19 17:24:00 worker-1 | During handling of the above exception, another exception occurred:
  1260. 2025-01-19 17:24:00 worker-1 |
  1261. 2025-01-19 17:24:00 worker-1 | Traceback (most recent call last):
  1262. 2025-01-19 17:23:42 backend-1 | module = load_module_py(module_id, path)
  1263. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 716, in urlopen
  1264. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1265. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
  1266. 2025-01-19 17:23:42 backend-1 | spec.loader.exec_module(module) # type: ignore
  1267. 2025-01-19 17:24:00 worker-1 | httplib_response = self._make_request(
  1268. 2025-01-19 17:24:00 worker-1 | ^^^^^^^^^^^^^^^^^^^
  1269. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1270. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 416, in _make_request
  1271. 2025-01-19 17:24:00 worker-1 | conn.request(method, url, **httplib_request_kw)
  1272. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connection.py", line 244, in request
  1273. 2025-01-19 17:23:42 backend-1 | File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  1274. 2025-01-19 17:23:42 backend-1 | File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  1275. 2025-01-19 17:23:42 backend-1 | File "/app/alembic/env.py", line 72, in <module>
  1276. 2025-01-19 17:23:42 backend-1 | run_migrations_online()
  1277. 2025-01-19 17:23:42 backend-1 | File "/app/alembic/env.py", line 62, in run_migrations_online
  1278. 2025-01-19 17:24:00 worker-1 | super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  1279. 2025-01-19 17:24:00 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1336, in request
  1280. 2025-01-19 17:23:42 backend-1 | with connectable.connect() as connection:
  1281. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^
  1282. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 3278, in connect
  1283. 2025-01-19 17:24:00 worker-1 | self._send_request(method, url, body, headers, encode_chunked)
  1284. 2025-01-19 17:24:00 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1382, in _send_request
  1285. 2025-01-19 17:24:00 worker-1 | self.endheaders(body, encode_chunked=encode_chunked)
  1286. 2025-01-19 17:24:00 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1331, in endheaders
  1287. 2025-01-19 17:23:42 backend-1 | return self._connection_cls(self)
  1288. 2025-01-19 17:24:00 worker-1 | self._send_output(message_body, encode_chunked=encode_chunked)
  1289. 2025-01-19 17:24:00 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1091, in _send_output
  1290. 2025-01-19 17:24:00 worker-1 | self.send(msg)
  1291. 2025-01-19 17:24:00 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1035, in send
  1292. 2025-01-19 17:24:00 worker-1 | self.connect()
  1293. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connection.py", line 205, in connect
  1294. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  1295. 2025-01-19 17:24:00 worker-1 | conn = self._new_conn()
  1296. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 148, in __init__
  1297. 2025-01-19 17:24:00 worker-1 | ^^^^^^^^^^^^^^^^
  1298. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connection.py", line 186, in _new_conn
  1299. 2025-01-19 17:24:00 worker-1 | raise NewConnectionError(
  1300. 2025-01-19 17:24:00 worker-1 | urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8852885a90>: Failed to establish a new connection: [Errno -2] Name or service not known
  1301. 2025-01-19 17:24:00 worker-1 |
  1302. 2025-01-19 17:24:00 worker-1 | During handling of the above exception, another exception occurred:
  1303. 2025-01-19 17:24:00 worker-1 |
  1304. 2025-01-19 17:24:00 worker-1 | Traceback (most recent call last):
  1305. 2025-01-19 17:23:42 backend-1 | Connection._handle_dbapi_exception_noconnection(
  1306. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/requests/adapters.py", line 667, in send
  1307. 2025-01-19 17:24:00 worker-1 | resp = conn.urlopen(
  1308. 2025-01-19 17:24:00 worker-1 | ^^^^^^^^^^^^^
  1309. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 2442, in _handle_dbapi_exception_noconnection
  1310. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 802, in urlopen
  1311. 2025-01-19 17:23:42 backend-1 | raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  1312. 2025-01-19 17:24:00 worker-1 | retries = retries.increment(
  1313. 2025-01-19 17:24:00 worker-1 | ^^^^^^^^^^^^^^^^^^
  1314. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/util/retry.py", line 594, in increment
  1315. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
  1316. 2025-01-19 17:24:00 worker-1 | raise MaxRetryError(_pool, url, error or ResponseError(cause))
  1317. 2025-01-19 17:24:00 worker-1 | urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='meilisearch', port=7700): Max retries exceeded with url: /indexes (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8852885a90>: Failed to establish a new connection: [Errno -2] Name or service not known'))
  1318. 2025-01-19 17:24:00 worker-1 |
  1319. 2025-01-19 17:24:00 worker-1 | During handling of the above exception, another exception occurred:
  1320. 2025-01-19 17:23:42 backend-1 | self._dbapi_connection = engine.raw_connection()
  1321. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  1322. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 3302, in raw_connection
  1323. 2025-01-19 17:24:00 worker-1 |
  1324. 2025-01-19 17:23:42 backend-1 | return self.pool.connect()
  1325. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^
  1326. 2025-01-19 17:24:00 worker-1 | Traceback (most recent call last):
  1327. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 449, in connect
  1328. 2025-01-19 17:23:42 backend-1 | return _ConnectionFairy._checkout(self)
  1329. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1330. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
  1331. 2025-01-19 17:23:42 backend-1 | fairy = _ConnectionRecord.checkout(pool)
  1332. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1333. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
  1334. 2025-01-19 17:23:42 backend-1 | rec = pool._do_get()
  1335. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^
  1336. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/impl.py", line 308, in _do_get
  1337. 2025-01-19 17:23:42 backend-1 | return self._create_connection()
  1338. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
  1339. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/_httprequests.py", line 65, in send_request
  1340. 2025-01-19 17:24:00 worker-1 | request = http_method(
  1341. 2025-01-19 17:24:00 worker-1 | ^^^^^^^^^^^^
  1342. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/requests/api.py", line 115, in post
  1343. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
  1344. 2025-01-19 17:24:00 worker-1 | return request("post", url, data=data, json=json, **kwargs)
  1345. 2025-01-19 17:24:00 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1346. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/requests/api.py", line 59, in request
  1347. 2025-01-19 17:24:00 worker-1 | return session.request(method=method, url=url, **kwargs)
  1348. 2025-01-19 17:23:42 backend-1 | return _ConnectionRecord(self)
  1349. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  1350. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
  1351. 2025-01-19 17:23:42 backend-1 | self.__connect()
  1352. 2025-01-19 17:24:00 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1353. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
  1354. 2025-01-19 17:24:00 worker-1 | resp = self.send(prep, **send_kwargs)
  1355. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 900, in __connect
  1356. 2025-01-19 17:24:00 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1357. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
  1358. 2025-01-19 17:24:00 worker-1 | r = adapter.send(request, **kwargs)
  1359. 2025-01-19 17:24:00 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1360. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/requests/adapters.py", line 700, in send
  1361. 2025-01-19 17:24:00 worker-1 | raise ConnectionError(e, request=request)
  1362. 2025-01-19 17:24:00 worker-1 | requests.exceptions.ConnectionError: HTTPConnectionPool(host='meilisearch', port=7700): Max retries exceeded with url: /indexes (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8852885a90>: Failed to establish a new connection: [Errno -2] Name or service not known'))
  1363. 2025-01-19 17:23:42 backend-1 | with util.safe_reraise():
  1364. 2025-01-19 17:24:00 worker-1 |
  1365. 2025-01-19 17:24:00 worker-1 | The above exception was the direct cause of the following exception:
  1366. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
  1367. 2025-01-19 17:23:42 backend-1 | raise exc_value.with_traceback(exc_tb)
  1368. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
  1369. 2025-01-19 17:23:42 backend-1 | self.dbapi_connection = connection = pool._invoke_creator(self)
  1370. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  1371. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/create.py", line 643, in connect
  1372. 2025-01-19 17:24:00 worker-1 |
  1373. 2025-01-19 17:24:00 worker-1 | Traceback (most recent call last):
  1374. 2025-01-19 17:24:00 worker-1 | File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
  1375. 2025-01-19 17:24:00 worker-1 | self.run()
  1376. 2025-01-19 17:23:42 backend-1 | return dialect.connect(*cargs, **cparams)
  1377. 2025-01-19 17:24:00 worker-1 | File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run
  1378. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1379. 2025-01-19 17:24:00 worker-1 | self._target(*self._args, **self._kwargs)
  1380. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/dramatiq/cli.py", line 393, in worker_process
  1381. 2025-01-19 17:24:00 worker-1 | module, broker = import_broker(args.broker)
  1382. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 621, in connect
  1383. 2025-01-19 17:23:42 backend-1 | return self.loaded_dbapi.connect(*cargs, **cparams)
  1384. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1385. 2025-01-19 17:24:00 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  1386. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/dramatiq/cli.py", line 123, in import_broker
  1387. 2025-01-19 17:24:00 worker-1 | module, broker_or_callable = import_object(value)
  1388. 2025-01-19 17:24:00 worker-1 | ^^^^^^^^^^^^^^^^^^^^
  1389. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/dramatiq/cli.py", line 112, in import_object
  1390. 2025-01-19 17:24:00 worker-1 | module = importlib.import_module(modname)
  1391. 2025-01-19 17:24:00 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1392. 2025-01-19 17:24:00 worker-1 | File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
  1393. 2025-01-19 17:24:00 worker-1 | return _bootstrap._gcd_import(name[level:], package, level)
  1394. 2025-01-19 17:23:42 backend-1 | File "/venv/lib/python3.12/site-packages/psycopg2/__init__.py", line 122, in connect
  1395. 2025-01-19 17:24:00 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1396. 2025-01-19 17:24:00 worker-1 | File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  1397. 2025-01-19 17:24:00 worker-1 | File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  1398. 2025-01-19 17:24:00 worker-1 | File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  1399. 2025-01-19 17:23:42 backend-1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  1400. 2025-01-19 17:24:00 worker-1 | File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  1401. 2025-01-19 17:24:00 worker-1 | File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  1402. 2025-01-19 17:24:00 worker-1 | File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  1403. 2025-01-19 17:23:42 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1404. 2025-01-19 17:24:00 worker-1 | File "/app/app/worker.py", line 14, in <module>
  1405. 2025-01-19 17:24:00 worker-1 | from . import (
  1406. 2025-01-19 17:24:00 worker-1 | File "/app/app/apps.py", line 7, in <module>
  1407. 2025-01-19 17:24:00 worker-1 | from . import database, db, localize, models, schemas, search, utils
  1408. 2025-01-19 17:24:00 worker-1 | File "/app/app/search.py", line 22, in <module>
  1409. 2025-01-19 17:24:00 worker-1 | client.create_index("apps", {"primaryKey": "id"})
  1410. 2025-01-19 17:23:42 backend-1 | sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "db" to address: Name or service not known
  1411. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/client.py", line 79, in create_index
  1412. 2025-01-19 17:24:00 worker-1 | return Index.create(self.config, uid, options)
  1413. 2025-01-19 17:24:00 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1414. 2025-01-19 17:23:42 backend-1 |
  1415. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/index.py", line 172, in create
  1416. 2025-01-19 17:24:00 worker-1 | task = HttpRequests(config).post(config.paths.index, payload)
  1417. 2025-01-19 17:24:00 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1418. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/_httprequests.py", line 88, in post
  1419. 2025-01-19 17:24:00 worker-1 | return self.send_request(requests.post, path, body, content_type, serializer=serializer)
  1420. 2025-01-19 17:23:42 backend-1 | (Background on this error at: https://sqlalche.me/e/20/e3q8)
  1421. 2025-01-19 17:24:00 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1422. 2025-01-19 17:23:47 backend-1 | Traceback (most recent call last):
  1423. 2025-01-19 17:24:00 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/_httprequests.py", line 73, in send_request
  1424. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
  1425. 2025-01-19 17:23:47 backend-1 | self._dbapi_connection = engine.raw_connection()
  1426. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  1427. 2025-01-19 17:24:00 worker-1 | raise MeilisearchCommunicationError(str(err)) from err
  1428. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 3302, in raw_connection
  1429. 2025-01-19 17:24:00 worker-1 | meilisearch.errors.MeilisearchCommunicationError: MeilisearchCommunicationError, HTTPConnectionPool(host='meilisearch', port=7700): Max retries exceeded with url: /indexes (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8852885a90>: Failed to establish a new connection: [Errno -2] Name or service not known'))
  1430. 2025-01-19 17:23:47 backend-1 | return self.pool.connect()
  1431. 2025-01-19 17:24:07 worker-1 | [2025-01-19 16:24:07,126] [PID 1] [MainThread] [dramatiq.MainProcess] [INFO] Dramatiq '1.17.1' is booting up.
  1432. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^
  1433. 2025-01-19 17:24:07 worker-1 | [2025-01-19 16:24:07,149] [PID 1] [MainThread] [dramatiq.MainProcess] [CRITICAL] Worker with PID 7 exited unexpectedly (code 1). Shutting down...
  1434. 2025-01-19 17:24:07 worker-1 | Process Process-1:
  1435. 2025-01-19 17:24:07 worker-1 | Traceback (most recent call last):
  1436. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connection.py", line 174, in _new_conn
  1437. 2025-01-19 17:24:07 worker-1 | conn = connection.create_connection(
  1438. 2025-01-19 17:24:07 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1439. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 449, in connect
  1440. 2025-01-19 17:23:47 backend-1 | return _ConnectionFairy._checkout(self)
  1441. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/util/connection.py", line 72, in create_connection
  1442. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1443. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
  1444. 2025-01-19 17:23:47 backend-1 | fairy = _ConnectionRecord.checkout(pool)
  1445. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1446. 2025-01-19 17:24:07 worker-1 | for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  1447. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
  1448. 2025-01-19 17:24:07 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1449. 2025-01-19 17:24:07 worker-1 | File "/usr/lib/python3.12/socket.py", line 963, in getaddrinfo
  1450. 2025-01-19 17:24:07 worker-1 | for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
  1451. 2025-01-19 17:23:47 backend-1 | rec = pool._do_get()
  1452. 2025-01-19 17:24:07 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1453. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^
  1454. 2025-01-19 17:24:07 worker-1 | socket.gaierror: [Errno -2] Name or service not known
  1455. 2025-01-19 17:24:07 worker-1 |
  1456. 2025-01-19 17:24:07 worker-1 | During handling of the above exception, another exception occurred:
  1457. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/impl.py", line 308, in _do_get
  1458. 2025-01-19 17:24:07 worker-1 |
  1459. 2025-01-19 17:24:07 worker-1 | Traceback (most recent call last):
  1460. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 716, in urlopen
  1461. 2025-01-19 17:24:07 worker-1 | httplib_response = self._make_request(
  1462. 2025-01-19 17:24:07 worker-1 | ^^^^^^^^^^^^^^^^^^^
  1463. 2025-01-19 17:23:47 backend-1 | return self._create_connection()
  1464. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
  1465. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
  1466. 2025-01-19 17:23:47 backend-1 | return _ConnectionRecord(self)
  1467. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  1468. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 416, in _make_request
  1469. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
  1470. 2025-01-19 17:23:47 backend-1 | self.__connect()
  1471. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 900, in __connect
  1472. 2025-01-19 17:23:47 backend-1 | with util.safe_reraise():
  1473. 2025-01-19 17:24:07 worker-1 | conn.request(method, url, **httplib_request_kw)
  1474. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
  1475. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connection.py", line 244, in request
  1476. 2025-01-19 17:23:47 backend-1 | raise exc_value.with_traceback(exc_tb)
  1477. 2025-01-19 17:24:07 worker-1 | super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  1478. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
  1479. 2025-01-19 17:24:07 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1336, in request
  1480. 2025-01-19 17:23:47 backend-1 | self.dbapi_connection = connection = pool._invoke_creator(self)
  1481. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  1482. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/create.py", line 643, in connect
  1483. 2025-01-19 17:24:07 worker-1 | self._send_request(method, url, body, headers, encode_chunked)
  1484. 2025-01-19 17:23:47 backend-1 | return dialect.connect(*cargs, **cparams)
  1485. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1486. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 621, in connect
  1487. 2025-01-19 17:23:47 backend-1 | return self.loaded_dbapi.connect(*cargs, **cparams)
  1488. 2025-01-19 17:24:07 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1382, in _send_request
  1489. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1490. 2025-01-19 17:24:07 worker-1 | self.endheaders(body, encode_chunked=encode_chunked)
  1491. 2025-01-19 17:24:07 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1331, in endheaders
  1492. 2025-01-19 17:24:07 worker-1 | self._send_output(message_body, encode_chunked=encode_chunked)
  1493. 2025-01-19 17:24:07 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1091, in _send_output
  1494. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/psycopg2/__init__.py", line 122, in connect
  1495. 2025-01-19 17:24:07 worker-1 | self.send(msg)
  1496. 2025-01-19 17:24:07 worker-1 | File "/usr/lib/python3.12/http/client.py", line 1035, in send
  1497. 2025-01-19 17:23:47 backend-1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  1498. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1499. 2025-01-19 17:23:47 backend-1 | psycopg2.OperationalError: could not translate host name "db" to address: Name or service not known
  1500. 2025-01-19 17:24:07 worker-1 | self.connect()
  1501. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connection.py", line 205, in connect
  1502. 2025-01-19 17:24:07 worker-1 | conn = self._new_conn()
  1503. 2025-01-19 17:23:47 backend-1 |
  1504. 2025-01-19 17:24:07 worker-1 | ^^^^^^^^^^^^^^^^
  1505. 2025-01-19 17:23:47 backend-1 |
  1506. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connection.py", line 186, in _new_conn
  1507. 2025-01-19 17:24:07 worker-1 | raise NewConnectionError(
  1508. 2025-01-19 17:24:07 worker-1 | urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f626f2a1eb0>: Failed to establish a new connection: [Errno -2] Name or service not known
  1509. 2025-01-19 17:23:47 backend-1 | The above exception was the direct cause of the following exception:
  1510. 2025-01-19 17:24:07 worker-1 |
  1511. 2025-01-19 17:24:07 worker-1 | During handling of the above exception, another exception occurred:
  1512. 2025-01-19 17:24:07 worker-1 |
  1513. 2025-01-19 17:23:47 backend-1 |
  1514. 2025-01-19 17:24:07 worker-1 | Traceback (most recent call last):
  1515. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/requests/adapters.py", line 667, in send
  1516. 2025-01-19 17:24:07 worker-1 | resp = conn.urlopen(
  1517. 2025-01-19 17:24:07 worker-1 | ^^^^^^^^^^^^^
  1518. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 802, in urlopen
  1519. 2025-01-19 17:23:47 backend-1 | Traceback (most recent call last):
  1520. 2025-01-19 17:24:07 worker-1 | retries = retries.increment(
  1521. 2025-01-19 17:24:07 worker-1 | ^^^^^^^^^^^^^^^^^^
  1522. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/urllib3/util/retry.py", line 594, in increment
  1523. 2025-01-19 17:23:47 backend-1 | File "/venv/bin/alembic", line 8, in <module>
  1524. 2025-01-19 17:24:07 worker-1 | raise MaxRetryError(_pool, url, error or ResponseError(cause))
  1525. 2025-01-19 17:24:07 worker-1 | urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='meilisearch', port=7700): Max retries exceeded with url: /indexes (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f626f2a1eb0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
  1526. 2025-01-19 17:23:47 backend-1 | sys.exit(main())
  1527. 2025-01-19 17:24:07 worker-1 |
  1528. 2025-01-19 17:23:47 backend-1 | ^^^^^^
  1529. 2025-01-19 17:24:07 worker-1 | During handling of the above exception, another exception occurred:
  1530. 2025-01-19 17:24:07 worker-1 |
  1531. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/config.py", line 636, in main
  1532. 2025-01-19 17:24:07 worker-1 | Traceback (most recent call last):
  1533. 2025-01-19 17:23:47 backend-1 | CommandLine(prog=prog).main(argv=argv)
  1534. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/config.py", line 626, in main
  1535. 2025-01-19 17:23:47 backend-1 | self.run_cmd(cfg, options)
  1536. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/_httprequests.py", line 65, in send_request
  1537. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/config.py", line 603, in run_cmd
  1538. 2025-01-19 17:23:47 backend-1 | fn(
  1539. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/command.py", line 406, in upgrade
  1540. 2025-01-19 17:23:47 backend-1 | script.run_env()
  1541. 2025-01-19 17:24:07 worker-1 | request = http_method(
  1542. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/script/base.py", line 586, in run_env
  1543. 2025-01-19 17:24:07 worker-1 | ^^^^^^^^^^^^
  1544. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/requests/api.py", line 115, in post
  1545. 2025-01-19 17:23:47 backend-1 | util.load_python_file(self.dir, "env.py")
  1546. 2025-01-19 17:24:07 worker-1 | return request("post", url, data=data, json=json, **kwargs)
  1547. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
  1548. 2025-01-19 17:24:07 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1549. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/requests/api.py", line 59, in request
  1550. 2025-01-19 17:23:47 backend-1 | module = load_module_py(module_id, path)
  1551. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1552. 2025-01-19 17:24:07 worker-1 | return session.request(method=method, url=url, **kwargs)
  1553. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
  1554. 2025-01-19 17:23:47 backend-1 | spec.loader.exec_module(module) # type: ignore
  1555. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1556. 2025-01-19 17:24:07 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1557. 2025-01-19 17:23:47 backend-1 | File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  1558. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
  1559. 2025-01-19 17:23:47 backend-1 | File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  1560. 2025-01-19 17:24:07 worker-1 | resp = self.send(prep, **send_kwargs)
  1561. 2025-01-19 17:23:47 backend-1 | File "/app/alembic/env.py", line 72, in <module>
  1562. 2025-01-19 17:23:47 backend-1 | run_migrations_online()
  1563. 2025-01-19 17:23:47 backend-1 | File "/app/alembic/env.py", line 62, in run_migrations_online
  1564. 2025-01-19 17:24:07 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1565. 2025-01-19 17:23:47 backend-1 | with connectable.connect() as connection:
  1566. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^
  1567. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 3278, in connect
  1568. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
  1569. 2025-01-19 17:24:07 worker-1 | r = adapter.send(request, **kwargs)
  1570. 2025-01-19 17:24:07 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1571. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/requests/adapters.py", line 700, in send
  1572. 2025-01-19 17:24:07 worker-1 | raise ConnectionError(e, request=request)
  1573. 2025-01-19 17:23:47 backend-1 | return self._connection_cls(self)
  1574. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  1575. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 148, in __init__
  1576. 2025-01-19 17:23:47 backend-1 | Connection._handle_dbapi_exception_noconnection(
  1577. 2025-01-19 17:24:07 worker-1 | requests.exceptions.ConnectionError: HTTPConnectionPool(host='meilisearch', port=7700): Max retries exceeded with url: /indexes (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f626f2a1eb0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
  1578. 2025-01-19 17:24:07 worker-1 |
  1579. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 2442, in _handle_dbapi_exception_noconnection
  1580. 2025-01-19 17:23:47 backend-1 | raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  1581. 2025-01-19 17:24:07 worker-1 | The above exception was the direct cause of the following exception:
  1582. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
  1583. 2025-01-19 17:24:07 worker-1 |
  1584. 2025-01-19 17:24:07 worker-1 | Traceback (most recent call last):
  1585. 2025-01-19 17:24:07 worker-1 | File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
  1586. 2025-01-19 17:23:47 backend-1 | self._dbapi_connection = engine.raw_connection()
  1587. 2025-01-19 17:24:07 worker-1 | self.run()
  1588. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  1589. 2025-01-19 17:24:07 worker-1 | File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run
  1590. 2025-01-19 17:24:07 worker-1 | self._target(*self._args, **self._kwargs)
  1591. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/dramatiq/cli.py", line 393, in worker_process
  1592. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 3302, in raw_connection
  1593. 2025-01-19 17:24:07 worker-1 | module, broker = import_broker(args.broker)
  1594. 2025-01-19 17:23:47 backend-1 | return self.pool.connect()
  1595. 2025-01-19 17:24:07 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  1596. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^
  1597. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 449, in connect
  1598. 2025-01-19 17:23:47 backend-1 | return _ConnectionFairy._checkout(self)
  1599. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1600. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
  1601. 2025-01-19 17:23:47 backend-1 | fairy = _ConnectionRecord.checkout(pool)
  1602. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1603. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
  1604. 2025-01-19 17:23:47 backend-1 | rec = pool._do_get()
  1605. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/dramatiq/cli.py", line 123, in import_broker
  1606. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^
  1607. 2025-01-19 17:24:07 worker-1 | module, broker_or_callable = import_object(value)
  1608. 2025-01-19 17:24:07 worker-1 | ^^^^^^^^^^^^^^^^^^^^
  1609. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/impl.py", line 308, in _do_get
  1610. 2025-01-19 17:23:47 backend-1 | return self._create_connection()
  1611. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
  1612. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/dramatiq/cli.py", line 112, in import_object
  1613. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
  1614. 2025-01-19 17:24:07 worker-1 | module = importlib.import_module(modname)
  1615. 2025-01-19 17:24:07 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1616. 2025-01-19 17:24:07 worker-1 | File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
  1617. 2025-01-19 17:23:47 backend-1 | return _ConnectionRecord(self)
  1618. 2025-01-19 17:24:07 worker-1 | return _bootstrap._gcd_import(name[level:], package, level)
  1619. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  1620. 2025-01-19 17:24:07 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1621. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
  1622. 2025-01-19 17:24:07 worker-1 | File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  1623. 2025-01-19 17:23:47 backend-1 | self.__connect()
  1624. 2025-01-19 17:24:07 worker-1 | File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  1625. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 900, in __connect
  1626. 2025-01-19 17:24:07 worker-1 | File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  1627. 2025-01-19 17:23:47 backend-1 | with util.safe_reraise():
  1628. 2025-01-19 17:24:07 worker-1 | File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  1629. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
  1630. 2025-01-19 17:23:47 backend-1 | raise exc_value.with_traceback(exc_tb)
  1631. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
  1632. 2025-01-19 17:23:47 backend-1 | self.dbapi_connection = connection = pool._invoke_creator(self)
  1633. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  1634. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/create.py", line 643, in connect
  1635. 2025-01-19 17:23:47 backend-1 | return dialect.connect(*cargs, **cparams)
  1636. 2025-01-19 17:24:07 worker-1 | File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  1637. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1638. 2025-01-19 17:24:07 worker-1 | File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  1639. 2025-01-19 17:24:07 worker-1 | File "/app/app/worker.py", line 14, in <module>
  1640. 2025-01-19 17:24:07 worker-1 | from . import (
  1641. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 621, in connect
  1642. 2025-01-19 17:24:07 worker-1 | File "/app/app/apps.py", line 7, in <module>
  1643. 2025-01-19 17:23:47 backend-1 | return self.loaded_dbapi.connect(*cargs, **cparams)
  1644. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1645. 2025-01-19 17:24:07 worker-1 | from . import database, db, localize, models, schemas, search, utils
  1646. 2025-01-19 17:24:07 worker-1 | File "/app/app/search.py", line 22, in <module>
  1647. 2025-01-19 17:24:07 worker-1 | client.create_index("apps", {"primaryKey": "id"})
  1648. 2025-01-19 17:23:47 backend-1 | File "/venv/lib/python3.12/site-packages/psycopg2/__init__.py", line 122, in connect
  1649. 2025-01-19 17:23:47 backend-1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  1650. 2025-01-19 17:23:47 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1651. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/client.py", line 79, in create_index
  1652. 2025-01-19 17:23:47 backend-1 | sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "db" to address: Name or service not known
  1653. 2025-01-19 17:23:47 backend-1 |
  1654. 2025-01-19 17:24:07 worker-1 | return Index.create(self.config, uid, options)
  1655. 2025-01-19 17:23:47 backend-1 | (Background on this error at: https://sqlalche.me/e/20/e3q8)
  1656. 2025-01-19 17:24:07 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1657. 2025-01-19 17:23:53 backend-1 | Traceback (most recent call last):
  1658. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
  1659. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/index.py", line 172, in create
  1660. 2025-01-19 17:24:07 worker-1 | task = HttpRequests(config).post(config.paths.index, payload)
  1661. 2025-01-19 17:23:53 backend-1 | self._dbapi_connection = engine.raw_connection()
  1662. 2025-01-19 17:24:07 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1663. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/_httprequests.py", line 88, in post
  1664. 2025-01-19 17:24:07 worker-1 | return self.send_request(requests.post, path, body, content_type, serializer=serializer)
  1665. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  1666. 2025-01-19 17:24:07 worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1667. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 3302, in raw_connection
  1668. 2025-01-19 17:24:07 worker-1 | File "/venv/lib/python3.12/site-packages/meilisearch/_httprequests.py", line 73, in send_request
  1669. 2025-01-19 17:23:53 backend-1 | return self.pool.connect()
  1670. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^
  1671. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 449, in connect
  1672. 2025-01-19 17:24:07 worker-1 | raise MeilisearchCommunicationError(str(err)) from err
  1673. 2025-01-19 17:23:53 backend-1 | return _ConnectionFairy._checkout(self)
  1674. 2025-01-19 17:24:07 worker-1 | meilisearch.errors.MeilisearchCommunicationError: MeilisearchCommunicationError, HTTPConnectionPool(host='meilisearch', port=7700): Max retries exceeded with url: /indexes (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f626f2a1eb0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
  1675. 2025-01-19 17:24:10 worker-1 | [2025-01-19 16:24:10,015] [PID 1] [MainThread] [dramatiq.MainProcess] [INFO] Dramatiq '1.17.1' is booting up.
  1676. 2025-01-19 17:24:10 worker-1 | [2025-01-19 16:24:10,014] [PID 7] [MainThread] [dramatiq.WorkerProcess(0)] [INFO] Worker process is ready for action.
  1677. 2025-01-19 17:24:10 worker-1 | [2025-01-19 16:24:10,015] [PID 13] [MainThread] [dramatiq.ForkProcess(0)] [INFO] Fork process 'dramatiq.middleware.prometheus:_run_exposition_server' is ready for action.
  1678. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1679. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
  1680. 2025-01-19 17:23:53 backend-1 | fairy = _ConnectionRecord.checkout(pool)
  1681. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1682. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
  1683. 2025-01-19 17:23:53 backend-1 | rec = pool._do_get()
  1684. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^
  1685. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/impl.py", line 308, in _do_get
  1686. 2025-01-19 17:23:53 backend-1 | return self._create_connection()
  1687. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
  1688. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
  1689. 2025-01-19 17:23:53 backend-1 | return _ConnectionRecord(self)
  1690. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  1691. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
  1692. 2025-01-19 17:23:53 backend-1 | self.__connect()
  1693. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 900, in __connect
  1694. 2025-01-19 17:23:53 backend-1 | with util.safe_reraise():
  1695. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
  1696. 2025-01-19 17:23:53 backend-1 | raise exc_value.with_traceback(exc_tb)
  1697. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
  1698. 2025-01-19 17:23:53 backend-1 | self.dbapi_connection = connection = pool._invoke_creator(self)
  1699. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  1700. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/create.py", line 643, in connect
  1701. 2025-01-19 17:23:53 backend-1 | return dialect.connect(*cargs, **cparams)
  1702. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1703. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 621, in connect
  1704. 2025-01-19 17:23:53 backend-1 | return self.loaded_dbapi.connect(*cargs, **cparams)
  1705. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1706. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/psycopg2/__init__.py", line 122, in connect
  1707. 2025-01-19 17:23:53 backend-1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  1708. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1709. 2025-01-19 17:23:53 backend-1 | psycopg2.OperationalError: could not translate host name "db" to address: Name or service not known
  1710. 2025-01-19 17:23:53 backend-1 |
  1711. 2025-01-19 17:23:53 backend-1 |
  1712. 2025-01-19 17:23:53 backend-1 | The above exception was the direct cause of the following exception:
  1713. 2025-01-19 17:23:53 backend-1 |
  1714. 2025-01-19 17:23:53 backend-1 | Traceback (most recent call last):
  1715. 2025-01-19 17:23:53 backend-1 | File "/venv/bin/alembic", line 8, in <module>
  1716. 2025-01-19 17:23:53 backend-1 | sys.exit(main())
  1717. 2025-01-19 17:23:53 backend-1 | ^^^^^^
  1718. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/config.py", line 636, in main
  1719. 2025-01-19 17:23:53 backend-1 | CommandLine(prog=prog).main(argv=argv)
  1720. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/config.py", line 626, in main
  1721. 2025-01-19 17:23:53 backend-1 | self.run_cmd(cfg, options)
  1722. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/config.py", line 603, in run_cmd
  1723. 2025-01-19 17:23:53 backend-1 | fn(
  1724. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/command.py", line 406, in upgrade
  1725. 2025-01-19 17:23:53 backend-1 | script.run_env()
  1726. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/script/base.py", line 586, in run_env
  1727. 2025-01-19 17:23:53 backend-1 | util.load_python_file(self.dir, "env.py")
  1728. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
  1729. 2025-01-19 17:23:53 backend-1 | module = load_module_py(module_id, path)
  1730. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1731. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
  1732. 2025-01-19 17:23:53 backend-1 | spec.loader.exec_module(module) # type: ignore
  1733. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1734. 2025-01-19 17:23:53 backend-1 | File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  1735. 2025-01-19 17:23:53 backend-1 | File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  1736. 2025-01-19 17:23:53 backend-1 | File "/app/alembic/env.py", line 72, in <module>
  1737. 2025-01-19 17:23:53 backend-1 | run_migrations_online()
  1738. 2025-01-19 17:23:53 backend-1 | File "/app/alembic/env.py", line 62, in run_migrations_online
  1739. 2025-01-19 17:23:53 backend-1 | with connectable.connect() as connection:
  1740. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^
  1741. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 3278, in connect
  1742. 2025-01-19 17:23:53 backend-1 | return self._connection_cls(self)
  1743. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  1744. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 148, in __init__
  1745. 2025-01-19 17:23:53 backend-1 | Connection._handle_dbapi_exception_noconnection(
  1746. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 2442, in _handle_dbapi_exception_noconnection
  1747. 2025-01-19 17:23:53 backend-1 | raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  1748. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
  1749. 2025-01-19 17:23:53 backend-1 | self._dbapi_connection = engine.raw_connection()
  1750. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  1751. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 3302, in raw_connection
  1752. 2025-01-19 17:23:53 backend-1 | return self.pool.connect()
  1753. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^
  1754. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 449, in connect
  1755. 2025-01-19 17:23:53 backend-1 | return _ConnectionFairy._checkout(self)
  1756. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1757. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
  1758. 2025-01-19 17:23:53 backend-1 | fairy = _ConnectionRecord.checkout(pool)
  1759. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1760. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
  1761. 2025-01-19 17:23:53 backend-1 | rec = pool._do_get()
  1762. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^
  1763. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/impl.py", line 308, in _do_get
  1764. 2025-01-19 17:23:53 backend-1 | return self._create_connection()
  1765. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
  1766. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
  1767. 2025-01-19 17:23:53 backend-1 | return _ConnectionRecord(self)
  1768. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  1769. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
  1770. 2025-01-19 17:23:53 backend-1 | self.__connect()
  1771. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 900, in __connect
  1772. 2025-01-19 17:23:53 backend-1 | with util.safe_reraise():
  1773. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
  1774. 2025-01-19 17:23:53 backend-1 | raise exc_value.with_traceback(exc_tb)
  1775. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
  1776. 2025-01-19 17:23:53 backend-1 | self.dbapi_connection = connection = pool._invoke_creator(self)
  1777. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  1778. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/create.py", line 643, in connect
  1779. 2025-01-19 17:23:53 backend-1 | return dialect.connect(*cargs, **cparams)
  1780. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1781. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 621, in connect
  1782. 2025-01-19 17:23:53 backend-1 | return self.loaded_dbapi.connect(*cargs, **cparams)
  1783. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1784. 2025-01-19 17:23:53 backend-1 | File "/venv/lib/python3.12/site-packages/psycopg2/__init__.py", line 122, in connect
  1785. 2025-01-19 17:23:53 backend-1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  1786. 2025-01-19 17:23:53 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1787. 2025-01-19 17:23:53 backend-1 | sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "db" to address: Name or service not known
  1788. 2025-01-19 17:23:53 backend-1 |
  1789. 2025-01-19 17:23:53 backend-1 | (Background on this error at: https://sqlalche.me/e/20/e3q8)
  1790. 2025-01-19 17:24:00 backend-1 | Traceback (most recent call last):
  1791. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
  1792. 2025-01-19 17:24:00 backend-1 | self._dbapi_connection = engine.raw_connection()
  1793. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  1794. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 3302, in raw_connection
  1795. 2025-01-19 17:24:00 backend-1 | return self.pool.connect()
  1796. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^
  1797. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 449, in connect
  1798. 2025-01-19 17:24:00 backend-1 | return _ConnectionFairy._checkout(self)
  1799. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1800. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
  1801. 2025-01-19 17:24:00 backend-1 | fairy = _ConnectionRecord.checkout(pool)
  1802. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1803. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
  1804. 2025-01-19 17:24:00 backend-1 | rec = pool._do_get()
  1805. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^
  1806. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/impl.py", line 308, in _do_get
  1807. 2025-01-19 17:24:00 backend-1 | return self._create_connection()
  1808. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
  1809. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
  1810. 2025-01-19 17:24:00 backend-1 | return _ConnectionRecord(self)
  1811. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  1812. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
  1813. 2025-01-19 17:24:00 backend-1 | self.__connect()
  1814. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 900, in __connect
  1815. 2025-01-19 17:24:00 backend-1 | with util.safe_reraise():
  1816. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
  1817. 2025-01-19 17:24:00 backend-1 | raise exc_value.with_traceback(exc_tb)
  1818. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
  1819. 2025-01-19 17:24:00 backend-1 | self.dbapi_connection = connection = pool._invoke_creator(self)
  1820. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  1821. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/create.py", line 643, in connect
  1822. 2025-01-19 17:24:00 backend-1 | return dialect.connect(*cargs, **cparams)
  1823. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1824. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 621, in connect
  1825. 2025-01-19 17:24:00 backend-1 | return self.loaded_dbapi.connect(*cargs, **cparams)
  1826. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1827. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/psycopg2/__init__.py", line 122, in connect
  1828. 2025-01-19 17:24:00 backend-1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  1829. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1830. 2025-01-19 17:24:00 backend-1 | psycopg2.OperationalError: could not translate host name "db" to address: Name or service not known
  1831. 2025-01-19 17:24:00 backend-1 |
  1832. 2025-01-19 17:24:00 backend-1 |
  1833. 2025-01-19 17:24:00 backend-1 | The above exception was the direct cause of the following exception:
  1834. 2025-01-19 17:24:00 backend-1 |
  1835. 2025-01-19 17:24:00 backend-1 | Traceback (most recent call last):
  1836. 2025-01-19 17:24:00 backend-1 | File "/venv/bin/alembic", line 8, in <module>
  1837. 2025-01-19 17:24:00 backend-1 | sys.exit(main())
  1838. 2025-01-19 17:24:00 backend-1 | ^^^^^^
  1839. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/config.py", line 636, in main
  1840. 2025-01-19 17:24:00 backend-1 | CommandLine(prog=prog).main(argv=argv)
  1841. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/config.py", line 626, in main
  1842. 2025-01-19 17:24:00 backend-1 | self.run_cmd(cfg, options)
  1843. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/config.py", line 603, in run_cmd
  1844. 2025-01-19 17:24:00 backend-1 | fn(
  1845. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/command.py", line 406, in upgrade
  1846. 2025-01-19 17:24:00 backend-1 | script.run_env()
  1847. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/script/base.py", line 586, in run_env
  1848. 2025-01-19 17:24:00 backend-1 | util.load_python_file(self.dir, "env.py")
  1849. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
  1850. 2025-01-19 17:24:00 backend-1 | module = load_module_py(module_id, path)
  1851. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1852. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
  1853. 2025-01-19 17:24:00 backend-1 | spec.loader.exec_module(module) # type: ignore
  1854. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1855. 2025-01-19 17:24:00 backend-1 | File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  1856. 2025-01-19 17:24:00 backend-1 | File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  1857. 2025-01-19 17:24:00 backend-1 | File "/app/alembic/env.py", line 72, in <module>
  1858. 2025-01-19 17:24:00 backend-1 | run_migrations_online()
  1859. 2025-01-19 17:24:00 backend-1 | File "/app/alembic/env.py", line 62, in run_migrations_online
  1860. 2025-01-19 17:24:00 backend-1 | with connectable.connect() as connection:
  1861. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^
  1862. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 3278, in connect
  1863. 2025-01-19 17:24:00 backend-1 | return self._connection_cls(self)
  1864. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  1865. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 148, in __init__
  1866. 2025-01-19 17:24:00 backend-1 | Connection._handle_dbapi_exception_noconnection(
  1867. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 2442, in _handle_dbapi_exception_noconnection
  1868. 2025-01-19 17:24:00 backend-1 | raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  1869. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
  1870. 2025-01-19 17:24:00 backend-1 | self._dbapi_connection = engine.raw_connection()
  1871. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  1872. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 3302, in raw_connection
  1873. 2025-01-19 17:24:00 backend-1 | return self.pool.connect()
  1874. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^
  1875. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 449, in connect
  1876. 2025-01-19 17:24:00 backend-1 | return _ConnectionFairy._checkout(self)
  1877. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1878. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
  1879. 2025-01-19 17:24:00 backend-1 | fairy = _ConnectionRecord.checkout(pool)
  1880. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1881. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
  1882. 2025-01-19 17:24:00 backend-1 | rec = pool._do_get()
  1883. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^
  1884. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/impl.py", line 308, in _do_get
  1885. 2025-01-19 17:24:00 backend-1 | return self._create_connection()
  1886. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
  1887. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
  1888. 2025-01-19 17:24:00 backend-1 | return _ConnectionRecord(self)
  1889. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^
  1890. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
  1891. 2025-01-19 17:24:00 backend-1 | self.__connect()
  1892. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 900, in __connect
  1893. 2025-01-19 17:24:00 backend-1 | with util.safe_reraise():
  1894. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
  1895. 2025-01-19 17:24:00 backend-1 | raise exc_value.with_traceback(exc_tb)
  1896. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
  1897. 2025-01-19 17:24:00 backend-1 | self.dbapi_connection = connection = pool._invoke_creator(self)
  1898. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  1899. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/create.py", line 643, in connect
  1900. 2025-01-19 17:24:00 backend-1 | return dialect.connect(*cargs, **cparams)
  1901. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1902. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 621, in connect
  1903. 2025-01-19 17:24:00 backend-1 | return self.loaded_dbapi.connect(*cargs, **cparams)
  1904. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1905. 2025-01-19 17:24:00 backend-1 | File "/venv/lib/python3.12/site-packages/psycopg2/__init__.py", line 122, in connect
  1906. 2025-01-19 17:24:00 backend-1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  1907. 2025-01-19 17:24:00 backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1908. 2025-01-19 17:24:00 backend-1 | sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "db" to address: Name or service not known
  1909. 2025-01-19 17:24:00 backend-1 |
  1910. 2025-01-19 17:24:00 backend-1 | (Background on this error at: https://sqlalche.me/e/20/e3q8)
  1911. 2025-01-19 17:24:04 backend-1 | INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
  1912. 2025-01-19 17:24:04 backend-1 | INFO [alembic.runtime.migration] Will assume transactional DDL.
  1913. 2025-01-19 17:24:05 backend-1 | INFO: Will watch for changes in these directories: ['/app']
  1914. 2025-01-19 17:24:05 backend-1 | INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
  1915. 2025-01-19 17:24:05 backend-1 | INFO: Started reloader process [1] using StatReload
  1916. 2025-01-19 17:24:07 backend-1 | INFO: Started server process [9]
  1917. 2025-01-19 17:24:07 backend-1 | INFO: Waiting for application startup.
  1918. 2025-01-19 17:24:07 backend-1 | INFO: Application startup complete.
  1919. 2025-01-19 17:26:34 backend-1 | WARNING: Invalid HTTP request received.
  1920. 2025-01-19 17:26:34 backend-1 | WARNING: Invalid HTTP request received.
  1921.  
Advertisement
Add Comment
Please, Sign In to add comment