Skip to main content

Odoo 19 Enterprise – Server Diagnose & Automatische Optimierung

Project description

odoo-server-optimizer

Odoo 19 Enterprise – Server Diagnose & Automatische Optimierung

Ein Python-basiertes CLI-Tool, das Odoo-Installationen auf Konfigurationsprobleme prüft und die Optimierung halbautomatisch (mit Bestätigung pro Schritt) durchführt.

Python Odoo License Tests


Funktionsumfang

Command Beschreibung
analyze Server prüfen – alle Befunde anzeigen
plan Optimalen Zielzustand berechnen (ohne Änderungen)
apply Fixes halbautomatisch anwenden (Bestätigung pro Schritt)
report Diagnose-Bericht als Markdown oder Konsole ausgeben

Unterstützte Checks (alle 10 Befunde)

# Check Schwere
1 Workers aktiv? (Single-Threaded vs. Multi-Worker) Kritisch
2 Config-Datei korrekt? (.odoorc vs. odoo.conf) Kritisch
3 db_maxconn vs. PostgreSQL max_connections Kritisch
4 Timeout-Werte (limit_time_cpu, limit_time_real) Warnung
5 max_cron_threads Optimierung Warnung
6 Veraltete Parameter (longpolling_port) Warnung
7 db_host = False erkennen Warnung
8 addons_path gesetzt? Warnung
9 pdfminer.six installiert? Warnung
10 http_interface = 127.0.0.1? Kritisch

Fixer (Plan-Apply-Pattern)

Fixer Beschreibung
ConfigFixer odoo.conf Parameter optimieren (workers, timeouts, memory, ...)
OdooRcFixer .odoorc deaktivieren (umbenennen)
SystemdFixer Service-Datei um -c /etc/odoo/odoo.conf ergänzen
NginxFixer Nginx Proxy-Timeouts an Odoo-Werte anpassen
SwapFixer Swap-Datei einrichten/vergrößern für OOM-Schutz

Jeder Fixer folgt dem 5-Schritte-Lifecycle: plan → backup → apply → verify → rollback

Schnellstart

# Installation
pip install odoo-server-optimizer

# Lokale Analyse
odoo-optimizer analyze

# Remote-Analyse (via SSH)
odoo-optimizer analyze --server=prod

# Plan anzeigen (keine Änderungen)
odoo-optimizer plan --server=prod

# Halbautomatisch anwenden
odoo-optimizer apply --server=prod

# Markdown-Bericht erstellen
odoo-optimizer report --server=prod --format=md

Server-Profile

Server werden in config/servers.yml konfiguriert:

servers:
  prod:
    host: bernhardkrenn.cc
    user: adminbk
    ssh_key: ~/.ssh/id_ed25519
    odoo_conf: /etc/odoo/odoo.conf
    service_name: odoo

Architektur

Siehe docs/architecture.md

Entwicklung

Siehe docs/contributing.md


Entwickelt für BERNHARD KRENN, Hairstyling & Barbershop Odoo 19 Enterprise · Hetzner CCX23 · Ubuntu 24.04

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odoo_server_optimizer-0.3.0.tar.gz (60.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

odoo_server_optimizer-0.3.0-py3-none-any.whl (49.1 kB view details)

Uploaded Python 3

File details

Details for the file odoo_server_optimizer-0.3.0.tar.gz.

File metadata

  • Download URL: odoo_server_optimizer-0.3.0.tar.gz
  • Upload date:
  • Size: 60.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for odoo_server_optimizer-0.3.0.tar.gz
Algorithm Hash digest
SHA256 cc19ddaa5c39f54351b5d296f4a12b796ffa6252f0ecbbc8c5077b50abb7a6e6
MD5 fa77ba117eaf09f01d1e141736d73e85
BLAKE2b-256 ee8fffbfefc71e78325eb9e76b7715d1440ac67a6e11566b7bf8e58c69a7262d

See more details on using hashes here.

Provenance

The following attestation bundles were made for odoo_server_optimizer-0.3.0.tar.gz:

Publisher: ci.yml on BERNHARD-KRENN-R-D/odoo-server-optimizer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file odoo_server_optimizer-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_server_optimizer-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e88cbf7d091b834661b25dd2cd3a888dc00003e9fd1dd3ce8b5b5c6803f3952
MD5 1de488c5877bee7e34f6e50b60e23e43
BLAKE2b-256 308fc3153b6bfeab582891f839b1fe4518796264d9ae469ac086b6b71247a6a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for odoo_server_optimizer-0.3.0-py3-none-any.whl:

Publisher: ci.yml on BERNHARD-KRENN-R-D/odoo-server-optimizer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page