Olaf Wagner
Olaf Wagner
Moved here from https://github.com/OCA/OpenUpgrade/issues/4881 as requested by @victoralmau
Repeat comment by @victoralmau with explanation: The problem is related to the dms code and/or the migration scripts included there. I explain what happens: Running https://github.com/OCA/dms/blob/13.0/dms/migrations/13.0.8.1.0/post-migration.py#L9 produces the error you...
Here is the content of the original row in table `muk_dms_file`. AFAICS all values that are set in other entries are there: |id|locked_by|custom_thumbnail|custom_thumbnail_medium|custom_thumbnail_small|name|active|directory|storage|company|color|category|extension|mimetype|size|checksum|content_binary|create_uid|create_date|write_uid|write_date|reference_name|reference_model|reference_field|reference_id|content_file|automatic_thumbnail|automatic_thumbnail_medium|automatic_thumbnail_small|message_main_attachment_id|partner_id|invoice_number|date_invoice|user_id|import_type|invoice_type| |------|-----------|------------------|-------------------------|------------------------|---------------------------------|--------|-----------|---------|---------|-------|----------|-----------|-------------------------------------------------------------------------|------|------------------------------------------|----------------|------------|----------------------------|-----------|----------------------------|----------------|-----------------|-----------------|--------------|-------------------------------------------------------------------------------|---------------------|----------------------------|---------------------------|----------------------------|------------|----------------|--------------|---------|-------------|--------------| |3249|||||~$sign_Briefing_ASERVO_v01.docx|t|681|2|1|0||docx|application/vnd.openxmlformats-officedocument.wordprocessingml.document|162|1432a4d25b5a44945dfa11beaeff557fef09d2ad||7|2021-01-2317:44:28.646817|7|2021-01-2317:44:28.646817|||||/var/lib/odoo/files/elego_erp_v12/14/1432a4d25b5a44945dfa11beaeff557fef09d2ad||||||||||| |(1row)| The dms is working...
It is correct that MuK DMS uses separate fielstores, though they have the same structure as the ones used by Odoo for the attachments. I have copied that filestore (below...
I have tried ```sh sudo rsync -au /var/lib/odoo/files/elego.erp_v12/elego_erp_v12/ /var/lib/odoo/filestore/odoo-v13/elego_v13/ sudo chown -R odoo:odoo /var/lib/odoo/filestore/odoo-v13/elego_v13/ ``` now but the migration still aborts with the cache miss :-| I'll check and try...
Thank you, that's valuable information, Pedro. And it's really good to know that is has worked once before :-) I think I'll figure out the storage problems.
I just want to post some updates here in case anybody else is interested. Things are progressing slowly. I was able to continue with the overall migration by commenting out...
I think this is the proper patch for the missing rename: ```py diff --git a/dms/migrations/13.0.1/pre-migration.py b/dms/migrations/13.0.1/pre-migration.py index 0e739fae..f655daae 100644 --- a/dms/migrations/13.0.1/pre-migration.py +++ b/dms/migrations/13.0.1/pre-migration.py @@ -23,6 +23,7 @@ _table_renames = [...
So is this https://github.com/OCA/project-agile/blob/14.0/project_scrum/ officially discontinued now? It's not a good idea to have two modules with the same name in different OCA repositories.
Well, if project-agile is not thought to be superfluous, it would rather belong there. But there is already a module with the same name and different code. So they should...