Hi all!
I’m doing the upgrade of GNU Health:
- Gnuhealth-3.0.6
- Tryton-3.8.9
I followed the steps of the wiki but I am having some troubles. As suggested, I’m doing this procedure in a virtual machine with the backup files I extracted previously (I propose that this should be explained in the wiki also, for instance the importation of the sql database).
In the step of updating the database (./trytond-admin --all --database=your_database_name) firstly I get the error:
File "/home/gnuhealth/gnuhealth/tryton/server/trytond-4.6.19/trytond/tools/misc.py", line 78, in file_open
raise IOError('File not found : %s ' % name)
OSError: File not found : /home/gnuhealth/gnuhealth/tryton/server/trytond-4.6.19/trytond/modules/bikop/tryton.cfg
This was caused by a missing symbolic link (related to a custom local module). After creating the link I relaunch the command and I’m getting an error I don’t know how to handle:
Traceback (most recent call last):
File "./trytond-admin", line 21, in <module>
admin.run(options)
File "/home/gnuhealth/gnuhealth/tryton/server/trytond-4.6.19/trytond/admin.py", line 54, in run
installdeps=options.installdeps)
File "/home/gnuhealth/gnuhealth/tryton/server/trytond-4.6.19/trytond/pool.py", line 153, in init
lang=lang, installdeps=installdeps)
File "/home/gnuhealth/gnuhealth/tryton/server/trytond-4.6.19/trytond/modules/__init__.py", line 462, in load_modules
_load_modules(update)
File "/home/gnuhealth/gnuhealth/tryton/server/trytond-4.6.19/trytond/modules/__init__.py", line 426, in _load_modules
graph = create_graph(module_list)[0]
File "/home/gnuhealth/gnuhealth/tryton/server/trytond-4.6.19/trytond/modules/__init__.py", line 191, in create_graph
- set((p[0] for p in packages))))
trytond.exceptions.MissingDependenciesException: ['purchase_request']
Best regards!
--
Rafa