Docker container reup #442

Closed
opened 2026-02-04 19:33:26 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @DeAlexPesh on GitHub (Mar 22, 2024).

Maybe need create examination of exist data in exist database?

2024-03-22 11:57:46.128 +05 [36] ERROR:  conflicting key value violates exclusion constraint "user_email_unique"
2024-03-22 11:57:46.128 +05 [36] DETAIL:  Key (email)=(e.admin@ente-ltd.ru) conflicts with existing key (email)=(e.admin@ente-ltd.ru).
2024-03-22 11:57:46.128 +05 [36] STATEMENT:  insert into "user_account" ("created_at", "email", "is_admin", "is_sso", "name", "password", "subscribe_to_own_cards", "username") values ($1, $2, $3, $4, $5, $6, $7, $8)
Originally created by @DeAlexPesh on GitHub (Mar 22, 2024). Maybe need create examination of exist data in exist database? ``` 2024-03-22 11:57:46.128 +05 [36] ERROR: conflicting key value violates exclusion constraint "user_email_unique" 2024-03-22 11:57:46.128 +05 [36] DETAIL: Key (email)=(e.admin@ente-ltd.ru) conflicts with existing key (email)=(e.admin@ente-ltd.ru). 2024-03-22 11:57:46.128 +05 [36] STATEMENT: insert into "user_account" ("created_at", "email", "is_admin", "is_sso", "name", "password", "subscribe_to_own_cards", "username") values ($1, $2, $3, $4, $5, $6, $7, $8) ```
Author
Owner

@meltyshev commented on GitHub (Mar 22, 2024):

Hi! I'm not sure I understood what you meant. Could you please explain it in more detail?

@meltyshev commented on GitHub (Mar 22, 2024): Hi! I'm not sure I understood what you meant. Could you please explain it in more detail?
Author
Owner

@DeAlexPesh commented on GitHub (Mar 25, 2024):

Could you please explain it in more detail?

after restart container, inner script trying create standart elements, but elements already exist

@DeAlexPesh commented on GitHub (Mar 25, 2024): > Could you please explain it in more detail? after restart container, inner script trying create standart elements, but elements already exist
Author
Owner

@meltyshev commented on GitHub (Mar 25, 2024):

after restart container, inner script trying create standart elements, but elements already exist

That's as it should be, but you can remove such attempts by commenting out the DEFAULT_ADMIN_EMAIL environment variable.

@meltyshev commented on GitHub (Mar 25, 2024): > after restart container, inner script trying create standart elements, but elements already exist That's as it should be, but you can remove such attempts by commenting out the `DEFAULT_ADMIN_EMAIL` environment variable.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#442