Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

OperationalError: no connection to the server

Subscriure's

Get notified when there's activity on this post

This question has been flagged
connection
6983 Vistes
Avatar
Jeff Truthan

This is a highly relevant question, using 6.1 and trying to migrate to 7.0. I have submitted a database for migration. Six weeks later, get back something that might work (passwords were not migrated, nor state_id codes). I have submitted a ticket to migration but heard nothing back. Note in the migration file observed that I have more than 10 users (which exceeds my "support" level). Unfortunately, OpenERP counts users rather than folks who have actually logged in, which is only 5. Trying to use my existing 6.1 database in the existing application, I have a number of different databases, any one of which I can log into just fine. So I know that my database connection is fine - otherwise it could not show me any of the available database names. However, when I select the database that I sent for migration and try to login to it, I get the following message:

Your version of OpenERP is unsupported. Support & maintenance services are available here: OpenERP Entreprise.

OpenERP Server Error

Client Traceback (most recent call last):
  File "/home/skilltran/openerp-6.1/openerp-web/addons/web/common/http.py", line 180, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/skilltran/openerp-6.1/openerp-web/addons/web/controllers/main.py", line 498, in authenticate
    req.session.authenticate(db, login, password, env)
  File "/home/skilltran/openerp-6.1/openerp-web/addons/web/common/session.py", line 73, in authenticate
    uid = self.proxy('common').authenticate(db, login, password, env)
  File "/home/skilltran/openerp-6.1/openerp-web/addons/web/common/openerplib/main.py", line 117, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/home/skilltran/openerp-6.1/openerp-web/addons/web/common/http.py", line 608, in send
    raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)


Server Traceback (most recent call last):
  File "/home/skilltran/openerp-6.1/openerp-web/addons/web/common/http.py", line 593, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/skilltran/openerp-6.1/server/openerp/netsvc.py", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/skilltran/openerp-6.1/server/openerp/service/web_services.py", line 397, in dispatch
    return fn(*params)
  File "/home/skilltran/openerp-6.1/server/openerp/service/web_services.py", line 409, in exp_authenticate
    return res_users.authenticate(db, login, password, user_agent_env)
  File "/home/skilltran/openerp-6.1/server/openerp/addons/base/res/res_users.py", line 459, in authenticate
    uid = self.login(db, login, password)
  File "/home/skilltran/openerp-6.1/server/openerp/addons/base/res/res_users.py", line 478, in login
    cr = pooler.get_db(db).cursor()
  File "/home/skilltran/openerp-6.1/server/openerp/sql_db.py", line 465, in cursor
    return Cursor(self._pool, self.dbname, serialized=serialized)
  File "/home/skilltran/openerp-6.1/server/openerp/sql_db.py", line 180, in __init__
    self.autocommit(False)
  File "/home/skilltran/openerp-6.1/server/openerp/sql_db.py", line 152, in wrapper
    return f(self, *args, **kwargs)
  File "/home/skilltran/openerp-6.1/server/openerp/sql_db.py", line 325, in autocommit
    self._cnx.set_isolation_level(isolation_level)
OperationalError: no connection to the server

Because I can see in the dropdown box and login to other databases that were not submitted for migration, this makes me wonder if somehow OpenERP is able to "blackball" this database on my own servers, and prevent me from using my own data! Using a database tool called Navicat (a multi-database tool equivalent to pgAdmin), I have rebuilt indexes and done a full vacuum on this database. Still not able to login as any user to this data file. This is the original data file that worked fine ... yesterday and before, but not today.

1
Avatar
Descartar
Martin

Would you please format your question's exception logs into a readable format using the <blockquote> button? Thanks.

Jeff Truthan
Autor

It took a <blockquote> and a <pre> tag to do this.

Jeff Truthan
Autor

I am using 2 servers, one cloud server for the OERP application, the other a dedicated database for the data. I rebooted the cloud server and am now able to login to the troublesome database. I am completely baffled about how that could work, since I had been able to login to the other databases but just not the one I had migrated. Odd ... further explanation would be helpful.

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

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

Registrar-se
Related Posts Respostes Vistes Activitat
Connection to the title screen is very slow
connection
Avatar
Avatar
1
de març 15
6023
No module named mariadb
connection Mariadb
Avatar
Avatar
2
d’oct. 24
2985
13c odoo.sql_db disconnecting every minute
database connection
Avatar
Avatar
Avatar
2
de març 24
4825
Odoo loses connection while making changes in settings
settings connection
Avatar
Avatar
Avatar
2
de febr. 24
3619
OperationalError: could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost"
error connection
Avatar
Avatar
Avatar
Avatar
3
de nov. 23
52877
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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