Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

odoo break after delete second database?

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
errordatabasecriticalconnectionattribute_error
7 Réponses
10875 Vues
Avatar
omixam

I was configuring odoo with database that I created from postgresql directly and all went good.

For reasons that I haven't could find the answer odoo don't have an option to delete/deseable demonstration data, only you can avoid demonstration data if you create the database from odoo database manager.

For this reason I create a new database from odoo database manager without demonstration data, but this second database I deleted from postgresql not from odoo, but now odoo is giving a lot of error and I have cannot connect to my first database anymore.

Anyone have an idea, why is this doing and how can I solve?

Please, dont say reinstall odoo and create another database, this is the last option.

Bellow the output errors:


$ python odoo.py --db_host localhost --db_port 5432 -r odoo -w odoo -d odoo-9 --xmlrpc-interface localhost --xmlrpc-port 8072
2016-01-22 07:58:30,294 2200 INFO ? openerp: OpenERP version 9.0c-20160113
2016-01-22 07:58:30,294 2200 INFO ? openerp: addons paths: ['/home/omixam/.local/share/Odoo/addons/9.0', u'/home/omixam/no_root/odoo-9/openerp/addons']
2016-01-22 07:58:30,294 2200 INFO ? openerp: database: odoo@localhost:5432
2016-01-22 07:58:30,429 2200 INFO ? openerp.service.server: HTTP service (werkzeug) running on localhost:8072
2016-01-22 07:58:30,444 2200 INFO odoo-9 openerp.modules.loading: loading 1 modules...
2016-01-22 07:58:30,458 2200 INFO odoo-9 openerp.modules.loading: 1 modules loaded in 0.01s, 0 queries
2016-01-22 07:58:30,489 2200 INFO odoo-9 openerp.modules.loading: loading 63 modules...
2016-01-22 07:58:30,514 2200 INFO ? openerp.addons.bus.models.bus: Bus.loop listen imbus on db postgres
2016-01-22 07:58:30,528 2200 INFO odoo-9 openerp.addons.report.models.report: Will use the Wkhtmltopdf binary at /usr/bin/wkhtmltopdf
2016-01-22 07:58:30,528 2200 CRITICAL odoo-9 openerp.modules.module: Couldn't load module report
2016-01-22 07:58:30,529 2200 CRITICAL odoo-9 openerp.modules.module: 'NoneType' object has no attribute 'group'
2016-01-22 07:58:30,529 2200 ERROR odoo-9 openerp.modules.registry: Failed to load registry
Traceback (most recent call last):
File "/home/omixam/no_root/odoo-9/openerp/modules/registry.py", line 385, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/home/omixam/no_root/odoo-9/openerp/modules/loading.py", line 334, in load_modules
force, status, report, loaded_modules, update_module)
File "/home/omixam/no_root/odoo-9/openerp/modules/loading.py", line 237, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/home/omixam/no_root/odoo-9/openerp/modules/loading.py", line 123, in load_module_graph
load_openerp_module(package.name)
File "/home/omixam/no_root/odoo-9/openerp/modules/module.py", line 324, in load_openerp_module
__import__('openerp.addons.' + module_name)
File "/home/omixam/no_root/odoo-9/openerp/modules/module.py", line 61, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/home/omixam/no_root/odoo-9/openerp/addons/report/__init__.py", line 2, in <module>
import models
File "/home/omixam/no_root/odoo-9/openerp/addons/report/models/__init__.py", line 1, in <module>
import report
File "/home/omixam/no_root/odoo-9/openerp/addons/report/models/report.py", line 52, in <module>
version = re.search('([0-9.]+)', out).group(0)
AttributeError: 'NoneType' object has no attribute 'group'
2016-01-22 07:58:30,530 2200 CRITICAL odoo-9 openerp.service.server: Failed to initialize database `odoo-9`.
Traceback (most recent call last):
File "/home/omixam/no_root/odoo-9/openerp/service/server.py", line 885, in preload_registries
registry = RegistryManager.new(dbname, update_module=update_module)
File "/home/omixam/no_root/odoo-9/openerp/modules/registry.py", line 385, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/home/omixam/no_root/odoo-9/openerp/modules/loading.py", line 334, in load_modules
force, status, report, loaded_modules, update_module)
File "/home/omixam/no_root/odoo-9/openerp/modules/loading.py", line 237, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/home/omixam/no_root/odoo-9/openerp/modules/loading.py", line 123, in load_module_graph
load_openerp_module(package.name)
File "/home/omixam/no_root/odoo-9/openerp/modules/module.py", line 324, in load_openerp_module
__import__('openerp.addons.' + module_name)
File "/home/omixam/no_root/odoo-9/openerp/modules/module.py", line 61, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/home/omixam/no_root/odoo-9/openerp/addons/report/__init__.py", line 2, in <module>
import models
File "/home/omixam/no_root/odoo-9/openerp/addons/report/models/__init__.py", line 1, in <module>
import report
File "/home/omixam/no_root/odoo-9/openerp/addons/report/models/report.py", line 52, in <module>
version = re.search('([0-9.]+)', out).group(0)
AttributeError: 'NoneType' object has no attribute 'group'
0
Avatar
Ignorer
Avatar
Zbik
Meilleure réponse

1. You stop ALL INSTANCES odoo server (probably you have more than one)

2. restart postgresql

3. Clean browser cache and cookie

4. Start server

5. Alternatively, clear folder /var/lib/odoo/sessions

2
Avatar
Ignorer
Avatar
Yogesh
Meilleure réponse

Hi,

I got this error and found out that wkhtmltopdf was not responding, Xvfb process was stuck somewhere so I searched for process

ps ax|grep Xvfb

and killed it, then restarted the server and it worked.

Cheers :D

0
Avatar
Ignorer
Avatar
Axel Mendoza
Meilleure réponse

Perhaps Odoo is trying to connect to the deleted database. try to connect directly to the database selector using this url:

http://localhost:8069/web/database/selector

and next login in the database to check if everything is ok

0
Avatar
Ignorer
Avatar
omixam
Auteur Meilleure réponse
Thank! Axel Mendoza, I tried your suggestion but not work.

I'm getting 404 ERROR

2016-01-22 23:26:21,159 31416 INFO odoo-9 werkzeug: 127.0.0.1 - - [22/Jan/2016 23:26:21] "GET /web/static/src/img/logo2.png HTTP/1.1" 404 

Screenshot from the error https://imgur.com/GyB5BipIs strange because I'm indicating the database that I want connect.

I download latest odoo again uncompressed but I get the same error, how I run odoo from my last instance.

Any other suggestion?
-1
Avatar
Ignorer
sridhar

Clear the cache and try that...

omixam
Auteur

Done. The same error. I change browser (chromium and firefox). Restart and the same error. uncompressed the latest odoo and when I tried to run the same error. If one odoo instance crash all new odoo installation will be crash? No sense...

omixam
Auteur

Thank to zbik but your suggestions not work. I tried your suggestions but I'm getting the same error. I'm thinking remove all odoo related from my computer and start from zero. But would be good that I powerful system we can solve problem if then occur in production. Any other suggestion?

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
odoo.sql_db: Connection to the database failed Résolu
error database connection
Avatar
Avatar
1
déc. 23
45069
Error Critical Creating Database
error database v7 critical
Avatar
Avatar
Avatar
2
mars 15
7220
13c odoo.sql_db disconnecting every minute
database connection
Avatar
Avatar
Avatar
2
mars 24
4939
OperationalError: could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost"
error connection
Avatar
Avatar
Avatar
Avatar
3
nov. 23
52992
database creation error
error database
Avatar
0
juin 23
7299
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now