You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deployment for directus failed.
Triggered by the push of 14 commits on https://github.com/clicepfl/directus-config. HEAD after the push is 24a90d48fcba02b19bc9bc1c02414210d07ac4cc.
Logs:
2025-01-14T17:25:52.928178Z INFO webhook::routes: Triggered restart for service directus
2025-01-14T17:25:52.928189Z INFO service{name="directus"}: webhook::restart: Restarting...
2025-01-14T17:25:52.928195Z DEBUG service{name="directus"}:stop_command: webhook::restart: Command is empty, skipping
2025-01-14T17:25:52.928202Z DEBUG service{name="directus"}:pre_start_command: webhook::restart: Command is empty, skipping
2025-01-14T17:25:52.928206Z DEBUG service{name="directus"}:start_command: webhook::restart: command="ansible-pull -U git@github.com:clicepfl/clic-infra.git -e @/var/secrets.yaml deploy.yaml --extra-vars SERVICE=$SERVICE"
2025-01-14T17:26:11.504329Z ERROR service{name="directus"}:start_command: webhook::restart: Failed with status exit status: 2
2025-01-14T17:26:11.504347Z ERROR service{name="directus"}:start_command: webhook::restart: STDOUT: [WARNING]: Could not match supplied host pattern, ignoring: ov-13b459
localhost | SUCCESS => {
"after": "a6cc4a93e4738a8537d4ffc82425199fc0b7c987",
"before": "a6cc4a93e4738a8537d4ffc82425199fc0b7c987",
"changed": false,
"remote_url_changed": false
}
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match 'all'
[WARNING]: Could not match supplied host pattern, ignoring: ov-13b459
PLAY [Deploy all services] *****************************************************
TASK [Gathering Facts] *********************************************************
ok: [localhost]
TASK [Set full service list] ***************************************************
ok: [localhost]
TASK [Compute list of services to deploy] **************************************
ok: [localhost]
TASK [Deploy] ******************************************************************
TASK [directus : Validating arguments against arg spec 'main'] *****************
ok: [localhost]
TASK [directus : Using default deploy method] **********************************
ok: [localhost]
TASK [directus : Wait for directus to be available] ****************************
ok: [localhost]
TASK [directus : Get container id] *********************************************
ok: [localhost]
TASK [directus : Compute container name] ***************************************
ok: [localhost]
TASK [directus : Download schema] **********************************************
changed: [localhost]
TASK [directus : Copy schema into container] ***********************************
changed: [localhost]
TASK [directus : Apply schema] *************************************************
fatal: [localhost]: FAILED! => {"changed": true, "rc": 1, "stderr": "", "stderr_lines": [], "stdout": "[17:26:11.331] ERROR: Failed to update field \"members.poll_count\"\n[17:26:11.336] ERROR: Field \"poll_count\" in collection \"members\" contains null values.\n err: {\n \"type\": \"\",\n \"message\": \"Field \\\"poll_count\\\" in collection \\\"members\\\" contains null values.\",\n \"stack\":\n DirectusError: Field \"poll_count\" in collection \"members\" contains null values.\n at notNullViolation (file:///directus/node_modules/.pnpm/@directus+api@file+api_@types+node@22.7.5_@unhead+vue@1.11.7_vue@3.5.11_typescript@5.6.3___en_duledcsxwterzqzubwdazkocs4/node_modules/@directus/api/dist/database/errors/dialects/postgres.js:72:16)\n at extractError (file:///directus/node_modules/.pnpm/@directus+api@file+api_@types+node@22.7.5_@unhead+vue@1.11.7_vue@3.5.11_typescript@5.6.3___en_duledcsxwterzqzubwdazkocs4/node_modules/@directus/api/dist/database/errors/dialects/postgres.js:19:20)\n at translateDatabaseError (file:///directus/node_modules/.pnpm/@directus+api@file+api_@types+node@22.7.5_@unhead+vue@1.11.7_vue@3.5.11_typescript@5.6.3___en_duledcsxwterzqzubwdazkocs4/node_modules/@directus/api/dist/database/errors/translate.js:26:28)\n at FieldsService.updateField (file:///directus/node_modules/.pnpm/@directus+api@file+api_@types+node@22.7.5_@unhead+vue@1.11.7_vue@3.5.11_typescript@5.6.3___en_duledcsxwterzqzubwdazkocs4/node_modules/@directus/api/dist/services/fields.js:405:37)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async file:///directus/node_modules/.pnpm/@directus+api@file+api_@types+node@22.7.5_@unhead+vue@1.11.7_vue@3.5.11_typescript@5.6.3___en_duledcsxwterzqzubwdazkocs4/node_modules/@directus/api/dist/utils/apply-diff.js:180:25\n \"name\": \"DirectusError\",\n \"extensions\": {\n \"collection\": \"members\",\n \"field\": \"poll_count\"\n },\n \"code\": \"CONTAINS_NULL_VALUES\",\n \"status\": 400\n }", "stdout_lines": ["[17:26:11.331] ERROR: Failed to update field \"members.poll_count\"", "[17:26:11.336] ERROR: Field \"poll_count\" in collection \"members\" contains null values.", " err: {", " \"type\": \"\",", " \"message\": \"Field \\\"poll_count\\\" in collection \\\"members\\\" contains null values.\",", " \"stack\":", " DirectusError: Field \"poll_count\" in collection \"members\" contains null values.", " at notNullViolation (file:///directus/node_modules/.pnpm/@directus+api@file+api_@types+node@22.7.5_@unhead+vue@1.11.7_vue@3.5.11_typescript@5.6.3___en_duledcsxwterzqzubwdazkocs4/node_modules/@directus/api/dist/database/errors/dialects/postgres.js:72:16)", " at extractError (file:///directus/node_modules/.pnpm/@directus+api@file+api_@types+node@22.7.5_@unhead+vue@1.11.7_vue@3.5.11_typescript@5.6.3___en_duledcsxwterzqzubwdazkocs4/node_modules/@directus/api/dist/database/errors/dialects/postgres.js:19:20)", " at translateDatabaseError (file:///directus/node_modules/.pnpm/@directus+api@file+api_@types+node@22.7.5_@unhead+vue@1.11.7_vue@3.5.11_typescript@5.6.3___en_duledcsxwterzqzubwdazkocs4/node_modules/@directus/api/dist/database/errors/translate.js:26:28)", " at FieldsService.updateField (file:///directus/node_modules/.pnpm/@directus+api@file+api_@types+node@22.7.5_@unhead+vue@1.11.7_vue@3.5.11_typescript@5.6.3___en_duledcsxwterzqzubwdazkocs4/node_modules/@directus/api/dist/services/fields.js:405:37)", " at process.processTicksAndRejections (node:internal/process/task_queues:95:5)", " at async file:///directus/node_modules/.pnpm/@directus+api@file+api_@types+node@22.7.5_@unhead+vue@1.11.7_vue@3.5.11_typescript@5.6.3___en_duledcsxwterzqzubwdazkocs4/node_modules/@directus/api/dist/utils/apply-diff.js:180:25", " \"name\": \"DirectusError\",", " \"extensions\": {", " \"collection\": \"members\",", " \"field\": \"poll_count\"", " },", " \"code\": \"CONTAINS_NULL_VALUES\",", " \"status\": 400", " }"]}
PLAY RECAP *********************************************************************
localhost : ok=10 changed=2 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Starting Ansible Pull at 2025-01-14 17:25:53
/usr/bin/ansible-pull -U git@github.com:clicepfl/clic-infra.git -e @/var/secrets.yaml deploy.yaml --extra-vars SERVICE=directus
2025-01-14T17:26:11.504352Z ERROR service{name="directus"}:start_command: webhook::restart: STDOUT:
The text was updated successfully, but these errors were encountered:
Deployment for directus failed.
Triggered by the push of 14 commits on https://github.com/clicepfl/directus-config. HEAD after the push is 24a90d48fcba02b19bc9bc1c02414210d07ac4cc.
Logs:
The text was updated successfully, but these errors were encountered: