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
    • Intelligence artificielle
    • 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
    • Supermarché
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • 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
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Homme à tout faire
    • Matériel informatique & 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
    Parcourir toutes les 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
    • Devenir partenaire
    • Services pour partenaires
    • 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
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 from 15.0 to 16.0 : filestore missing files

S'inscrire

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

Cette question a été signalée
filestoreOpenUpgrade
2 Réponses
1732 Vues
Avatar
Boujraf Youssef

Dear All,

For some backup with filestore, when upgrading with OpenUpgrade, the file are missing.
When I check the file in filestore in the zip file, it doesn't exist?

Any Idea how to fix that ?
Is it during OpenUpgrade the filestore is copies in a wrong folder ?

Thanks to highlight my path.

Best Regards

0
Avatar
Ignorer
Boujraf Youssef
Auteur

Dear, 
Followed but maybe my question was unclear.

I have the backup (dump.sql, manifest.json, filestore folder) in a zip, when restored why filestore is not copied ?

Only DB is restored not the filestore.

Best Regards

Kunjan Patel

For same-version restore: Odoo UI automatically restores filestore from the backup ZIP - no manual steps needed.

For version upgrades (Odoo 15→16): UI restore won't work because it doesn't run OpenUpgrade migration scripts. Your manual process is correct: restore DB via psql, rsync filestore to new version path, then run OpenUpgrade.

Why manual for upgrades? OpenUpgrade must migrate the database schema before Odoo 16 can start. UI restore skips this step and would crash.

Boujraf Youssef
Auteur

Dear


Thanks for the procedure.

The only way to restore my filestore in odoo 15.0 is :

# 1. Extract filestore from zip

unzip /tmp/database_with_filestore.zip -d /tmp/odoo_restore/

# 2. Sync filestore to Odoo path

rsync -av --progress /tmp/odoo_restore/filestore/* /opt/odoo/.local/share/odoo16.0/filestore/database_name/

# 3. Fix permissions

sudo chown -R odoo:odoo /opt/odoo/.local/share/odoo16.0/filestore/database_name/


I don't believe when we restore db through Odoo interface, the filestore is not restored as well ?


or the process is to do manually:

  1. Restore DB manually
  2. Restore Filestore manually
  3.  OpenUpgrade to make sure all data are migrated

Best Regards,

Avatar
Kunjan Patel
Meilleure réponse
Hello Boujraf Youssef
I Hope You are doing well,

Here is your Solution:
After restoring your backup, the filestore folder name must exactly match your database name.
​
Check your filestore location:
 ls ~/.local/share/Odoo/filestore/
​
 if the folder name doesn't match your database name, rename it:
 mv ~/.local/share/Odoo/filestore/old_db_name ~/.local/share/Odoo/filestore/your_actual_db_name

Set correct permissions:
chown -R odoo:odoo ~/.local/share/Odoo/filestore/your_actual_db_name/
chmod -R 755 ~/.local/share/Odoo/filestore/your_actual_db_name/
​
Restart Odoo:
sudo systemctl restart odoo

If that doesn't work:
  Use the Odoo Database Manager to restore instead of manual restore:
  1. Go to http://your-server:8069/web/database/manager
  2. Click Restore Database
  3. Upload your .zip backup
  4. Odoo will automatically place the filestore correctly
​
The issue is almost always that the filestore folder name doesn't match the database name after restore.
OpenUpgrade doesn't move/copy filestore - it only migrates database structure


Hope this information helps you.

Thanks & Regards,
Kunjan Patel

0
Avatar
Ignorer
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Meilleure réponse

Hi,

Please refer to the link:

1. https://www.cybrosys.com/blog/how-to-upgrade-the-odoo-15-database-using-openupgrade

General migration tutorial with configuration and steps.


Hope it helps.

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é
Problem with invoices in migrated database with OopenUpgrade
OpenUpgrade
Avatar
Avatar
Avatar
Avatar
3
nov. 25
1117
Upload Large File Store to Odoo.sh Résolu
filestore
Avatar
Avatar
1
juil. 25
9729
where is the filestore folder located on odoo 18
filestore
Avatar
Avatar
1
févr. 25
8801
Clean up filestore
filestore
Avatar
Avatar
Avatar
Avatar
Avatar
5
oct. 24
16724
where is filestore information saved in Odoo
filestore
Avatar
0
nov. 23
8807
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
  • Devenir 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 Svenska ภาษาไทย 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