Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Artificial Intelligence
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Property Management
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Odoo 18 Docker issue – max depth exceeded and module loading failure (spreadsheet)

Odoberať

Get notified when there's activity on this post

This question has been flagged
databaserestoreDockerOdoo18.0
698 Zobrazenia
Avatar
Agent

Hello everyone,

I'm facing an issue while restoring a database in Odoo 18 using Docker, and I’d like to share the full context since it might help others encountering similar problems.
Errors encountered

When starting the container, I get two types of errors:

  1. Docker error:
  2. max depth exceeded
  3. Odoo error:
ModuleNotFoundError: No module named 'odoo.addons.spreadsheet.controllers'
Context

I am using Docker with the following command:

docker compose up --build -d

And the image defined in docker-compose.yml is:

image: odoo:18.0
Problem analysis

After investigating, I identified two separate issues:

1. Docker layer limit (overlay2)

The current odoo:18.0 image has more than 128 layers (in my case, 129+).

This exceeds the practical limit of the default Docker storage driver (overlay2), causing the container to fail with:

max depth exceeded

You can verify the number of layers with:

docker image inspect odoo:18.0 --format '{{len .RootFS.Layers}}'
2. Module inconsistency (spreadsheet)

After restoring the database, Odoo tries to load the enterprise module spreadsheet_edition, which depends on the base module spreadsheet.

However, this module is not available in the current environment, resulting in:

No module named 'odoo.addons.spreadsheet.controllers'
Root cause

The main issue comes from using:

odoo:18.0

This is a floating tag, meaning it always points to the latest available image.

Recently, the image was updated and now includes more layers, exceeding the overlay2 limit.

Possible solutions
  1. Use a fixed image version (recommended):
image: odoo:18.0-YYYYMMDD

or use a digest:

image: odoo@sha256:...
  1. Avoid relying on the floating 18.0 tag
  2. Alternatively, switch the Docker storage driver (e.g., fuse-overlayfs)
  3. Ensure that enterprise and community modules are aligned with the restored database
Conclusion

This issue can happen unexpectedly, even without changing any code, simply due to automatic updates of the Docker image.

It may affect other users running Odoo 18 with Docker and overlay2.

If anyone has encountered this or has additional recommendations, I’d really appreciate your input.

Thanks!

0
Avatar
Zrušiť
Enjoying the discussion? Don't just read, join in!

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

Registrácia
Related Posts Replies Zobrazenia Aktivita
"Restoring Odoo Online to Day One: Returning to Initial Conditions" Solved
database restore
Avatar
Avatar
Avatar
2
dec 23
5439
Database restore stopping in between
database restore
Avatar
Avatar
Avatar
3
júl 19
6347
v13: getting error while restoring database Solved
database restore Odoo13.0
Avatar
1
nov 23
3540
Restore database from Odoo 12 to Odoo 16 Solved
database restore odoo
Avatar
Avatar
1
feb 24
79
Odoo 14: request not bound to a database Solved
database restore odoo
Avatar
Avatar
2
máj 23
9105
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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