Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| erreurs_odoo:ir_attachment_fichiers_inexistant_de_filestore [2024/04/18 09:47] – yasser | erreurs_odoo:ir_attachment_fichiers_inexistant_de_filestore [2024/04/18 10:27] (current) – yasser | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Erreur | + | == Erreur |
| <cli> | <cli> | ||
| Line 32: | Line 32: | ||
| </ | </ | ||
| - | Pour fixer cette erreur, | + | == Pour corriger |
| + | |||
| + | * Accéder au conteneur | ||
| + | * Se connecter à la base de données | ||
| + | * Supprimer le fichier qui est enregistré dans la table ir_attachment dont le chomp est store_fname | ||
| + | |||
| + | < | ||
| + | |||
| + | $ docker exec -it container_db bash | ||
| + | |||
| + | $ psql -U odoo | ||
| + | |||
| + | $ \c BD_name | ||
| + | |||
| + | $ DELETE FROM ir_attachment WHERE store_fname = ' | ||
| + | |||
| + | </ | ||
| + | |||
| + | **Note :** Le fichier '' | ||