Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

odoo break after delete second database?

Odoberať

Get notified when there's activity on this post

This question has been flagged
errordatabasecriticalconnectionattribute_error
7 Replies
10864 Zobrazenia
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
Zrušiť
Avatar
Zbik
Best Answer

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
Zrušiť
Avatar
Yogesh
Best Answer

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
Zrušiť
Avatar
Axel Mendoza
Best Answer

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
Zrušiť
Avatar
omixam
Autor Best Answer
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
Zrušiť
sridhar

Clear the cache and try that...

omixam
Autor

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
Autor

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?

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrácia
Related Posts Replies Zobrazenia Aktivita
odoo.sql_db: Connection to the database failed Solved
error database connection
Avatar
Avatar
1
dec 23
45053
Error Critical Creating Database
error database v7 critical
Avatar
Avatar
Avatar
2
mar 15
7196
13c odoo.sql_db disconnecting every minute
database connection
Avatar
Avatar
Avatar
2
mar 24
4931
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
52983
database creation error
error database
Avatar
0
jún 23
7293
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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