Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1358 Представления

I'm trying to update to v18.0, but I keep getting these errors telling me there is an update trying to happen on module names but it already exists and so the upgrade fails. How is this not being checked? I go into psql to delete that module and I try to run upgrade again, but then its a different module the error is coming from. 

psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "ir_module_module_name_uniq"

DETAIL:  Key (name)=(l10n_uk_bacs) already exists.


Is there a known fix for this?

Аватар
Отменить
Лучший ответ

Hi,
Are you installing odoo 18 or trying to upgrade a module to 18. 0 ? If you are using test db and no valid data in the db, dont hesitate to try with a new db by dropping the current db

Thanks

Аватар
Отменить
Автор

I am trying to upgrade from v17 to 18.0. I am using a neutralized duplicate of my production database to test this on. I'm using the command provided by Odoo documentation.
python3 <(curl -s https://upgrade.odoo.com/upgrade) test -d Testing -t 18.0

Related Posts Ответы Просмотры Активность
1
июл. 24
1797
1
июн. 24
3146
0
апр. 24
1443
1
янв. 23
2610
2
июл. 25
10603