Skip to content

All data gone after update/restart #4488

Description

@Kha1r0

Tandoor Version

2.5.3

Setup

Docker / Docker-Compose

Reverse Proxy

Traefik

Other

No response

Bug description

When i updated the containers, everything was reset back to factory settings, and i was prompted to create a first admin user again. I can see that there are still some files left in each of the three directories (ZFS File system) and the containers both run as root, so i don't really think it's a permission problem.
I've attached the docker log of the main container, where you can see hundreds of lines like Deleting 'admin/js/vendor/select2/i18n/pt.js' without an explanation.

Here's my docker compose file. Maybe I configured something wrong.

services:
  tandoor-db:
    container_name: tandoor-db
    image: postgres:16-alpine
    restart: unless-stopped
    volumes:
      - ${DATA_PATH}/db:/var/lib/postgresql/data
    env_file:
      - stack.env

  tandoor:
    container_name: tandoor
    image: vabene1111/recipes
    restart: unless-stopped
    env_file:
      - stack.env
    ports:
      - "${IP}:${PORT}:80"
    volumes:
      - ${DATA_PATH}/static:/opt/recipes/staticfiles
      - ${DATA_PATH}/media:/opt/recipes/mediafiles
    depends_on:
      - tandoor-db

Relevant logs

Too long for the field, so i put it in a pastebin for you here:
https://pastebin.com/euWHqkN4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    setup issuepossibly or definitely an issue with the user setup

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions