TRYTOND-ADMIN(1)

πŸ“¦
version 7.0.53 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– TRYTON-ADMIN πŸ’–

okay bestie, so this is the trytond-admin(1) page β€” it lives in the Tryton Application Platform manual, section 1, and it's all about doing database admin stuff. sit with me, it's gonna be cute. πŸŽ€


✨ NAME ✨

trytond-admin β€” Tryton Application Platform (Database Administration). yeah. that's the whole vibe. she administrates. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

trytond-admin [-h] [--version] [-c FILE [FILE ...]] [-v] [--dev]

look at her. small. powerful. iconic. ✨


🌸 DESCRIPTION 🌸

Tryton is a high-level, general purpose application platform β€” written in Python, running on PostgreSQL as its database engine. it's literally the core base of an ERP. main character energy, no cap. πŸ‘‘

This script? this one right here? she's the one you call for the administration tasks of the server. that's her whole job. that's the assignment and she ate. πŸ’…


πŸŽ€ OPTIONS πŸŽ€

okay here's the full menu, don't skip any, they're all important:

  • --version β€” shows the program's version number and dips. like, bye. ✌️
  • -h, --help β€” shows this help message and exits. your little safety net fr fr.
  • -c FILE [FILE ...], --config FILE [FILE ...] β€” specify configuration files. yes, plural, she can hold multiple files at once. multitasking queen.
  • --dev β€” enable development mode. lowkey important: this means caching is disabled. dev vibes only. πŸ› οΈ
  • -v, --verbose β€” enable verbose mode. she will talk. a lot. we love a yapper. πŸ—£οΈ
  • -d DATABASE [DATABASE ...], --database DATABASE [DATABASE ...] β€” specify the database name. and yeah you can give her more than one, she's flexible like that. πŸ’–
  • --logconf FILE β€” logging configuration file, in ConfigParser format. very demure, very mindful. πŸ““
  • -u MODULE [MODULE ...], --update MODULE [MODULE ...] β€” activate or update a module. glow-up time for your modules. ✨
  • --all β€” update all activated modules. all of them. every single one. periodt. πŸ’…
  • --activate-dependencies β€” activate the missing dependencies of the updated modules. she's got your back, she handles the friend group. 🫢
  • --email EMAIL β€” set the admin email. πŸ“§
  • -p, --password β€” set the database admin password. 🀫
  • --reset-password β€” reset the admin password. forgot it? been there bestie, she's got you. 😭
  • --test-email TEST_EMAIL β€” send a test email to the specified address. making sure the mail actually lands. πŸ“¬
  • -m, --update-modules-list β€” update the list of the available tryton modules. keep that catalogue fresh. πŸ”₯
  • -l CODE [CODE ...], --language CODE [CODE ...] β€” load the translations for the configured language code(s) into the database. oui oui, multilingual slay. 🌍
  • --hostname HOSTNAME β€” limit the database listing to the hostname. keeps the list from getting too loud. 🀫
  • --validate [MODEL ...] β€” validate the records of specified models. quality check, we love accountability. βœ…
  • --validate-percentage PERCENTAGE β€” the percentage of records to validate. default is 100. yes, all of them, by default. go big or go home. πŸ’―

πŸ’œ A LITTLE HEADS UP πŸ’œ

okay so this next bit is real and you need to know it:

The first time a database is initialized, the admin password is read from a file defined by the TRYTONPASSFILE environment variable β€” or it's asked from you interactively. either way, you're getting that password in there. πŸ”

Also, for the record:

  • The config file can be specified in the TRYTOND_CONFIG environment variable. 🌈
  • The database URI can be specified in the TRYTOND_DATABASE_URI environment variable. 🌈

env vars are lowkey the besties behind the scenes, iykyk. 🧚


πŸ“ FILES πŸ“

here's where the files live, memorize them:

  • /etc/tryton/trytond.conf
  • /etc/tryton/trytond_log.conf

⭐ SEE ALSO ⭐

go read these too, they're all in the family:


πŸ‘‘ HOMEPAGE πŸ‘‘

more info about the Tryton project can be found at <http://www.tryton.org/>. go peek, it's giving official. πŸ’–


🌸 AUTHOR 🌸

The Tryton server was written by the Tryton project <http://www.tryton.org/>.

This manual page was written by Daniel Baumann <daniel@debian.org> and Mathias Behrle <mbehrle@debian.org>. absolute legends, ty for your service. 🫢


and that's the whole thing bestie!! this page is from version 7.0, dated 2024-10-18 β€” go forth and administer your database, you're gonna slay. πŸ’…βœ¨πŸŽ€πŸ¦‹

mwah, bye!! πŸ’–

πŸ“¦ where this page comes from