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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc19ddaa5c39f54351b5d296f4a12b796ffa6252f0ecbbc8c5077b50abb7a6e6
|
|
| MD5 |
fa77ba117eaf09f01d1e141736d73e85
|
|
| BLAKE2b-256 |
ee8fffbfefc71e78325eb9e76b7715d1440ac67a6e11566b7bf8e58c69a7262d
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
odoo_server_optimizer-0.3.0.tar.gz -
Subject digest:
cc19ddaa5c39f54351b5d296f4a12b796ffa6252f0ecbbc8c5077b50abb7a6e6 - Sigstore transparency entry: 1063647970
- Sigstore integration time:
-
Permalink:
BERNHARD-KRENN-R-D/odoo-server-optimizer@6985e0ecb19ab34640e494bba51d567449d60319 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/BERNHARD-KRENN-R-D
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@6985e0ecb19ab34640e494bba51d567449d60319 -
Trigger Event:
push
-
Statement type:
File details
Details for the file odoo_server_optimizer-0.3.0-py3-none-any.whl.
File metadata
- Download URL: odoo_server_optimizer-0.3.0-py3-none-any.whl
- Upload date:
- Size: 49.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e88cbf7d091b834661b25dd2cd3a888dc00003e9fd1dd3ce8b5b5c6803f3952
|
|
| MD5 |
1de488c5877bee7e34f6e50b60e23e43
|
|
| BLAKE2b-256 |
308fc3153b6bfeab582891f839b1fe4518796264d9ae469ac086b6b71247a6a2
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
odoo_server_optimizer-0.3.0-py3-none-any.whl -
Subject digest:
0e88cbf7d091b834661b25dd2cd3a888dc00003e9fd1dd3ce8b5b5c6803f3952 - Sigstore transparency entry: 1063648009
- Sigstore integration time:
-
Permalink:
BERNHARD-KRENN-R-D/odoo-server-optimizer@6985e0ecb19ab34640e494bba51d567449d60319 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/BERNHARD-KRENN-R-D
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@6985e0ecb19ab34640e494bba51d567449d60319 -
Trigger Event:
push
-
Statement type: