[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Health] Upgrade problem

From: mike
Subject: [Health] Upgrade problem
Date: Thu, 14 Nov 2019 16:36:55 +0000


When we run the script as user tryton to update the installation: usr/bin/trytond-admin -c /etc/tryton/trytond.conf --all -d Hospital
we got the following message:
>File >"/usr/lib/python3.6/site-packages/trytond/backend/postgresql/", >line 60, in execute > cursor.execute(self, sql, args) >psycopg2.IntegrityError: insert or update on table "product_list_price" >violates foreign key constraint "product_list_price_template_fkey" >DETAIL: Key (template)=(755) is not present in table >"product_template". >"

Ww have got the following answer that solved our problem
" This is a common issue of the migration from 4.2 to 4.4 about the removal of Property for the MultiValue. The ir_property designed did not enforce data integrity against removal. You should find common cleaning queries at "

The cleaning queries helped us to repair many fault in database. We still have a problem with calendar data when running the script, se below:
> ------ > ryton@Tryton-Server:/home/m2s> /usr/bin/trytond-admin -c /etc/tryton/trytond.conf --all -d Hospital > Traceback (most recent call last): > File "/usr/bin/trytond-admin", line 21, in <module> > > File "/usr/lib/python3.6/site-packages/trytond/", line 54, in run > installdeps=options.installdeps) > File "/usr/lib/python3.6/site-packages/trytond/", line 153, in init > lang=lang, installdeps=installdeps) > File "/usr/lib/python3.6/site-packages/trytond/modules/", line 462, in load_modules > _load_modules(update) > File "/usr/lib/python3.6/site-packages/trytond/modules/", line 426, in _load_modules > graph = create_graph(module_list)[0] > File "/usr/lib/python3.6/site-packages/trytond/modules/", line 191, in create_graph > - set((p[0] for p in packages)))) > trytond.exceptions.MissingDependenciesException: ['calendar'] > tryton@Tryton-Server:/home/m2s> > ----------

The calendar_calendar is empty.
What can we do to handle the calendar issue?
We have got following information: "calendar is not a standard Tryton module. Maybe it is health_calendar ?"

How to solve our problem?
Best Regards Michael and Ulf

reply via email to

[Prev in Thread] Current Thread [Next in Thread]