[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 |
Hello
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/database.py",
>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
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>
> admin.run(options)
> File "/usr/lib/python3.6/site-packages/trytond/admin.py", line 54, in run
> installdeps=options.installdeps)
> File "/usr/lib/python3.6/site-packages/trytond/pool.py", line 153, in init
> lang=lang, installdeps=installdeps)
> File "/usr/lib/python3.6/site-packages/trytond/modules/__init__.py", line 462, in load_modules
> _load_modules(update)
> File "/usr/lib/python3.6/site-packages/trytond/modules/__init__.py", line 426, in _load_modules
> graph = create_graph(module_list)[0]
> File "/usr/lib/python3.6/site-packages/trytond/modules/__init__.py", 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
- [Health] Upgrade problem,
mike <=