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

Openupgrade migrate database Odoo 10 CE windows to Odoo 11 CE

S'inscrire

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

Cette question a été signalée
windowsmigrationOpenUpgrade
6356 Vues
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
Ignorer
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é
Openupgrade - im trying to migrate odoo 14 to odoo 15 with openupgrade.
migration openupgrade OpenUpgrade
Avatar
Avatar
1
avr. 25
3384
OpenUpgrade V6-V7 : No module named openupgradelib.openupgrade_tools
migration openupgrade OpenUpgrade
Avatar
0
juil. 23
3165
What path used when db migrate in v16 using openupgrade v16. Résolu
migration OpenUpgrade odoo16features
Avatar
Avatar
2
juin 24
5354
odoo migration
migration Community OpenUpgrade v17
Avatar
Avatar
1
févr. 25
2607
Migration to 16.0 using open upgrade
migration OpenUpgrade v15 odoo16features
Avatar
0
sept. 23
2704
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