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
    • Schvalovania
    • 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
    • Estate Managament
    • 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

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
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

Odoo18 migration- Error in Documents

Odoberať

Get notified when there's activity on this post

This question has been flagged
documentmigrationaccess rights
1 Odpoveď
2449 Zobrazenia
Avatar
Guhan Dhamodiraswamy

I am trying to upgrade my odoo 17 to 18 in my staging branch, so that i can merge my locally tested custom addons later.
But during the upgrade process i get teh following error:


2025-05-22 11:08:23,502 21 CRITICAL db_2831167 odoo.service.server: Failed to initialize database `db_2831167`.

Traceback (most recent call last):

File "/home/odoo/src/odoo/18.0/odoo/service/server.py", line 1328, in preload_registries

registry = Registry.new(dbname, update_module=update_module)

File "<decorator-gen-13>", line 2, in new

File "/home/odoo/src/odoo/18.0/odoo/tools/func.py", line 97, in locked

return func(inst, *args, **kwargs)

File "/home/odoo/src/odoo/18.0/odoo/modules/registry.py", line 127, in new

odoo.modules.load_modules(registry, force_demo, status, update_module)

File "/home/odoo/src/odoo/18.0/odoo/modules/loading.py", line 480, in load_modules

processed_modules += load_marked_modules(env, graph,

File "/home/odoo/src/odoo/18.0/odoo/modules/loading.py", line 365, in load_marked_modules

loaded, processed = load_module_graph(

File "/home/odoo/src/odoo/18.0/odoo/modules/loading.py", line 182, in load_module_graph

migrations.migrate_module(package, 'pre')

File "/home/odoo/src/odoo/18.0/odoo/modules/migration.py", line 222, in migrate_module

exec_script(self.cr, installed_version, pyfile, pkg.name, stage, stageformat[stage] % version)

File "/home/odoo/src/odoo/18.0/odoo/modules/migration.py", line 259, in exec_script

mod.migrate(cr, installed_version)

File "/tmp/tmps1mp_ped/migrations/documents/saas~17.5.1.4/pre-migrate.py", line 73, in migrate

check_or_raise_large_groups(cr, internal_id)

File "/tmp/tmps1mp_ped/migrations/documents/saas~17.5.1.4/pre-migrate.py", line 1363, in check_or_raise_large_groups

raise util.MigrationError(f"""

odoo.upgrade.util.exceptions.UpgradeError:

Many-member groups used on Documents Workspaces:


- [51 users]: "Code Backup" (id=575, company=None) with groups:

* READ: "User" (id=105)

* WRITE: "User" (id=105)

- [51 users]: "PV-Sol Accountzuweisung" (id=680, company=None) with groups:

* READ: "User" (id=105)

* WRITE: "User" (id=105)

- [51 users]: "NAME TBD" (id=895, company=None) with groups:

* READ: "User" (id=105)

* WRITE: "User" (id=105)

- [51 users]: "Produktmanagement" (id=907, company=None) with groups:

* READ: "User" (id=105)

* WRITE: "User" (id=105)

- [51 users]: "Gerüststellung" (id=1044, company=None) with groups:

* READ: "User" (id=105)

* WRITE: "User" (id=105)

- [51 users]: "Weitere Gewerke" (id=1069, company=None) with groups:

* READ: "User" (id=105)

* WRITE: "User" (id=105)

- [51 users]: "DC-Montage" (id=1070, company=Servicum GmbH) with groups:

* WRITE: "User" (id=105)

* READ: "User" (id=105)

- [51 users]: "AC-Montage" (id=1071, company=Servicum GmbH) with groups:

* READ: "User" (id=105)

* WRITE: "User" (id=105)


Upgrading as-is would have two downsides:

1. The access rights panel could get *very* hard to manage (adding or removing members among a large list)

2. The Documents application can become slow to use


Several options are available, possibly in combination:


1. Adapting your configuration:

* If restricting is not that important, remove the group configuration on the folder

* If restricting is important:

* Use another group with fewer members instead / reduce the number of members of the group

* Set the group as user-specific (read/write) so users keep access to their own documents only


2. Ask Odoo Support to enable one of the following settings (this can be done after 1 too) using

the ODOO_UPG_18_DOCUMENTS_FOLDERS_LARGE_GROUPS_RIGHTS key with the following possible values:

* SET_USER_SPECIFIC: Set these folders groups configuration as USER_SPECIFIC for READ AND WRITE automatically

* SET_NOBODY: Set these folders as restricted access, only users with the new Documents group

"System Administrator" will be able to view and edit these folders (including access rights)

after the upgrade.

* ACCEPT_AS_IS: Confirm that the current configuration is what you need and upgrade as-is.



as it is mentioned here i have removed the folder rights of each one shown in the error. still i get the errors for the same folders, even though they are cleared in live then i set up the staging branch adn upgraded. how to solve this?

Any help would be appreciated. 

0
Avatar
Zrušiť
Avatar
Ray Carnes (ray)
Best Answer

Please report all issues with upgrades that you can't resolve yourself to Odoo Support as explained in the documentation at https://www.odoo.com/documentation/18.0/administration/upgrade.html

https://www.odoo.com/help?stage=post_upgrade

2
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
Documents - Read / Unread (open/not open) a file Solved
document
Avatar
Avatar
1
nov 25
327
odoo module migration from version 14 to 16 Solved
migration
Avatar
Avatar
1
máj 25
3074
Error Uncaught Promise > models[resModel][fieldName] is undefined MIGRATING
migration
Avatar
0
aug 24
2951
How can I migrate my documents from version 16 to version 17?
attachment import document migration v17
Avatar
Avatar
Avatar
2
máj 24
2874
Document module size limit
document
Avatar
0
nov 23
3208
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 ภาษาไทย 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