On 2016-10-27 09:44, Jonan wrote: > Hello, > > Currently running 3.6 and trying to upgrade to 3.8. Is there any upgrade > guide like previous releases ? > > So far I am running into the following two problems when updating with: > trytond --all. Any suggestions to fix ? > > The first is a warning about constraint. This constraint already exists and > dropping or recreating does not make any difference: > ---------------------------------------- > > 17535 140673640511232 [2016-10-27 16:15:42,473] INFO trytond.modules > ir:register ir.module.module > 17535 140673640511232 [2016-10-27 16:15:42,841] WARNING > trytond.backend.postgresql.table unable to add 'unique (name)' > constraint on table ir_module_module ! > If you want to have it, you should update the records and execute manually: > ALTER table "ir_module_module" ADD CONSTRAINT "ir_module_module_name_uniq" > unique (name)
I think you still have a directory trytond/ir/module with .pyc (one reason to use a proper package manager :-) You must remove this folder. About the migration procedure if needed are published at: https://discuss.tryton.org/c/migration -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20161028080437.GO72562%40tetsuo.