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

Openupgrade migrate database Odoo 10 CE windows to Odoo 11 CE

Subscriure's

Get notified when there's activity on this post

This question has been flagged
windowsmigrationOpenUpgrade
6204 Vistes
Avatar
Joan Navarro

Hi,

I try to migrate only the database from v10 to v11.

I make this steps:


1. stop the Odoo service (service odoo stop)

2. Git clone https://github.com/OCA/OpenUpgrade.git brach 11.0

3. Install the newest version of the OpenUpgradeLib (https://github.com/OCA/openupgradelib.git@master)

4.run OpenUpgrade with:

python odoo-bin -d mydatabase --update all --stop-after-init --data-dir=c:\temp -u openpg -w mypassw

5. Install all dependencies that It shows.

6 Finally after install all the dependecies it show me the error:



C:\Program Files (x86)\OpenUpgrade-11.0>python odoo-bin -d BtoBsolutions --update all --stop-after-init --data-dir=c:\temp -u openpg -w #Lmeiqupsfssa360

2020-04-07 15:15:35,642 1080 INFO ? odoo: Odoo version 11.0

2020-04-07 15:15:35,642 1080 INFO ? odoo: addons paths: ['c:\\temp\\addons\\11.0', 'c:\\program files (x86)\\openupgrade-11.0\\odoo\\addons', 'c:\\program files (x86)\\openupgrade-11.0\\addons', 'C:\\

Program Files (x86)\\OpenUpgrade-11.0\\odoo\\addons']

2020-04-07 15:15:35,642 1080 INFO ? odoo: database: default@default:default

2020-04-07 15:15:35,657 1080 INFO ? odoo.sql_db: Connection to the database failed

Traceback (most recent call last):

  File "odoo-bin", line 8, in <module>

    odoo.cli.main()

  File "C:\Program Files (x86)\OpenUpgrade-11.0\odoo\cli\command.py", line 60, in main

    o.run(args)

  File "C:\Program Files (x86)\OpenUpgrade-11.0\odoo\cli\server.py", line 175, in run

    main(args)

  File "C:\Program Files (x86)\OpenUpgrade-11.0\odoo\cli\server.py", line 140, in main

    odoo.service.db._create_empty_database(db_name)

  File "C:\Program Files (x86)\OpenUpgrade-11.0\odoo\service\db.py", line 95, in _create_empty_database

    with closing(db.cursor()) as cr:

  File "C:\Program Files (x86)\OpenUpgrade-11.0\odoo\sql_db.py", line 637, in cursor

    return Cursor(self.__pool, self.dbname, self.dsn, serialized=serialized)

  File "C:\Program Files (x86)\OpenUpgrade-11.0\odoo\sql_db.py", line 178, in __init__

    self._cnx = pool.borrow(dsn)

  File "C:\Program Files (x86)\OpenUpgrade-11.0\odoo\sql_db.py", line 520, in _locked

    return fun(self, *args, **kwargs)

  File "C:\Program Files (x86)\OpenUpgrade-11.0\odoo\sql_db.py", line 588, in borrow

    **connection_info)

  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\psycopg2\__init__.py", line 127, in connect

    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)

psycopg2.OperationalError


C:\Program Files (x86)\OpenUpgrade-11.0>



I think that probably the error is because it try to connect to a non exist database:

2020-04-07 15:15:35,642 1080 INFO ? odoo: database: default@default:default


Can you help, If I can to make a migration I want to make a tutorial step by step for all the people because the documentaion of openupgrade is not easy to understand.


Thanks in advance

Joan





0
Avatar
Descartar
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
Openupgrade - im trying to migrate odoo 14 to odoo 15 with openupgrade.
migration openupgrade OpenUpgrade
Avatar
Avatar
1
d’abr. 25
3160
OpenUpgrade V6-V7 : No module named openupgradelib.openupgrade_tools
migration openupgrade OpenUpgrade
Avatar
0
de jul. 23
2963
What path used when db migrate in v16 using openupgrade v16. Solved
migration OpenUpgrade odoo16features
Avatar
Avatar
2
de juny 24
5167
odoo migration
migration Community OpenUpgrade v17
Avatar
Avatar
1
de febr. 25
2482
Migration to 16.0 using open upgrade
migration OpenUpgrade v15 odoo16features
Avatar
0
de set. 23
2576
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