Skip to content

/bin/update-data fails with no explanation #800

@gerbsen

Description

@gerbsen

Hey there, I'm trying to setup a local dev environment. I follow the README.md file guide. If I run bin/docker-dev-up the setup fails for

docker compose run voctoweb bin/update-data

after some time without any given explanation. I tried debugging a bit, but not sure where to look exactly. Maybe it's a memory issue since those files are quite large?

voctoweb git:(main) ✗ docker compose run --remove-orphans voctoweb bin/update-data
WARN[0000] The "DEV_DOMAIN" variable is not set. Defaulting to a blank string.
WARN[0000] The "DEV_DOMAIN" variable is not set. Defaulting to a blank string.
[+] Creating 5/5
 ✔ Container voctoweb-voctoweb-run-e9d39cfe84ae  Removed                                                                                                                                     0.0s
 ✔ Container voctoweb-redis-1                    Running                                                                                                                                     0.0s
 ✔ Container voctoweb-postgres-1                 Running                                                                                                                                     0.0s
 ✔ Container voctoweb-elasticsearch-1            Running                                                                                                                                     0.0s
 ✔ Container voctoweb-sidekiq-1                  Running                                                                                                                                     0.0s
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0tmp/fixtures/
tmp/fixtures/web_feeds.yml
 88  128M   88  113M    0     0  4809k      0  0:00:27  0:00:24  0:00:03 5212ktmp/fixtures/news.yml
tmp/fixtures/recordings.yml
tmp/fixtures/conferences.yml
 92  128M   92  118M    0     0  4823k      0  0:00:27  0:00:25  0:00:02 5187ktmp/fixtures/events.yml
100  128M  100  128M    0     0  4877k      0  0:00:26  0:00:26 --:--:-- 5345k
tmp/fixtures/event_view_counts.yml

== Updating database ==
** Invoke db:fixtures:load_jsonb (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:fixtures:load_jsonb
** Execute db:fixtures:load
/voctoweb/test/fixtures/../../tmp/fixtures/conferences.yml contains invisible non-breaking spaces, you may want to remove those
/voctoweb/test/fixtures/../../tmp/fixtures/events.yml contains invisible non-breaking spaces, you may want to remove those
/voctoweb/test/fixtures/../../tmp/fixtures/web_feeds.yml contains invisible non-breaking spaces, you may want to remove those
D, [2025-02-21T14:41:45.193407 #12] DEBUG -- :   TRANSACTION (1.3ms)  BEGIN
D, [2025-02-21T14:41:45.197853 #12] DEBUG -- :   ↳ lib/tasks/db_load_fixtures_with_jsonb.rake:14:in `block (3 levels) in <top (required)>'
D, [2025-02-21T14:41:45.206836 #12] DEBUG -- :    (4.7ms)  ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "api_keys" DISABLE TRIGGER ALL;ALTER TABLE "conferences" DISABLE TRIGGER ALL;ALTER TABLE "event_view_counts" DISABLE TRIGGER ALL;ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "news" DISABLE TRIGGER ALL;ALTER TABLE "recording_views" DISABLE TRIGGER ALL;ALTER TABLE "recordings" DISABLE TRIGGER ALL;ALTER TABLE "web_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL
D, [2025-02-21T14:41:45.208131 #12] DEBUG -- :   ↳ lib/tasks/db_load_fixtures_with_jsonb.rake:14:in `block (3 levels) in <top (required)>'

== Command ["FIXTURES_DIR=../../tmp/fixtures bin/rake db:fixtures:load_jsonb --trace"] failed ==

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions