Error on trytond-admin -u all

Hello,

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
admin.run(options)
File “/home/tryton/.local/lib/python3.6/site-packages/trytond/admin.py”, line 53, in run
activatedeps=options.activatedeps)
File “/home/tryton/.local/lib/python3.6/site-packages/trytond/pool.py”, line 162, in init
lang=lang, activatedeps=activatedeps)
File “/home/tryton/.local/lib/python3.6/site-packages/trytond/modules/init.py”, line 423, in load_modules
_load_modules(update)
File “/home/tryton/.local/lib/python3.6/site-packages/trytond/modules/init.py”, line 387, in _load_modules
graph = create_graph(module_list)
File “/home/tryton/.local/lib/python3.6/site-packages/trytond/modules/init.py”, line 150, in create_graph
info = get_module_info(module)
File “/home/tryton/.local/lib/python3.6/site-packages/trytond/modules/init.py”, 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/misc.py”, 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.

Thanks,

Paul

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.