Error on trytond-admin -u all


Probably another silly mistake:

trytond-admin -c trytond-admin.conf -u all -d tryton
Traceback (most recent call last):
File “/home/tryton/.local/bin/trytond-admin”, line 21, in
File “/home/tryton/.local/lib/python3.6/site-packages/trytond/”, line 53, in run
File “/home/tryton/.local/lib/python3.6/site-packages/trytond/”, line 162, in init
lang=lang, activatedeps=activatedeps)
File “/home/tryton/.local/lib/python3.6/site-packages/trytond/modules/”, line 423, in load_modules
File “/home/tryton/.local/lib/python3.6/site-packages/trytond/modules/”, line 387, in _load_modules
graph = create_graph(module_list)
File “/home/tryton/.local/lib/python3.6/site-packages/trytond/modules/”, line 150, in create_graph
info = get_module_info(module)
File “/home/tryton/.local/lib/python3.6/site-packages/trytond/modules/”, line 88, in get_module_info
with tools.file_open(os.path.join(name, ‘tryton.cfg’)) as fp:
File “/home/tryton/.local/lib/python3.6/site-packages/trytond/tools/”, line 74, in file_open
raise IOError('File not found : %s ’ % name)
OSError: File not found : /home/tryton/.local/lib/python3.6/site-packages/trytond/modules/all/tryton.cfg

Please help.



Your command tries to update of a module named all, which does not seem to exist :wink:

If you want to update all the modules in your server you should use the --all flag. Try with:

trytond-admin -c trytond-admin.conf --all -d tryton

Hope it helps!

Thank you very much!!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.