Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

OpenUpgrade from 15.0 to 16.0 : filestore missing files

Odebírat

Get notified when there's activity on this post

This question has been flagged
filestoreOpenUpgrade
2 Odpovědi
519 Zobrazení
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
Zrušit
Boujraf Youssef
Autor

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
Autor

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
Nejlepší odpověď
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
Zrušit
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Nejlepší odpověď

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
Zrušit
Enjoying the discussion? Don't just read, join in!

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
Problem with invoices in migrated database with OopenUpgrade
OpenUpgrade
Avatar
Avatar
Avatar
Avatar
3
lis 25
92
Upload Large File Store to Odoo.sh Vyřešeno
filestore
Avatar
Avatar
1
čvc 25
7846
where is the filestore folder located on odoo 18
filestore
Avatar
Avatar
1
úno 25
5696
Clean up filestore
filestore
Avatar
Avatar
Avatar
Avatar
Avatar
5
říj 24
14181
where is filestore information saved in Odoo
filestore
Avatar
0
lis 23
6713
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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