Package Details: tandoor-recipes 2.6.9-1

Git Clone URL: https://aur.archlinux.org/tandoor-recipes.git (read-only, click to copy)
Package Base: tandoor-recipes
Description: Application for managing recipes, planning meals, building shopping lists and much much more.
Upstream URL: https://github.com/TandoorRecipes/recipes
Keywords: recipes tandoor
Licenses: GPL
Conflicts: tandoor-recipes
Provides: tandoor-recipes
Submitter: L0ric0
Maintainer: L0ric0
Last Packager: L0ric0
Votes: 1
Popularity: 0.004262
First Submitted: 2025-10-05 17:49 (UTC)
Last Updated: 2026-07-07 19:44 (UTC)

Latest Comments

luziferius commented on 2026-08-16 12:52 (UTC)

Since the package does not automatically apply migrations after upgrading, and I struggled for hours getting the migrations to apply to the actual production database and not create a new SQLite3 db each time I try, here's the steps to actually apply them:

#!/usr/bin/env bash
source /usr/share/tandoor/venv/bin/activate
set -o allexport
source /etc/tandoor/tandoor.conf
set +o allexport
/usr/share/tandoor/manage.py migrate

manage.py reads the configuration from the environment. To get the variables from tandoor.conf to the environment, enabling the allexport option is required before sourcing tandoor.conf.

Without this enabled, the variables are defined, but manage.py will silently not find them and use the defaults, and thus use the wrong database. Because it creates a new SQLite3 database in that case, it even states that it successfully applied migrations, leading to a long-winded witch hunt. Hope this helps anyone struggling with HTTP 500 Internal Server Errors after upgrading.