Source: tryton-server Version: 4.2.0-1 Severity: important I'm upgrading a 3.8 instance towards 4.2 (on a jessie system) and in the process tryton-modules-webdav has not been installed.
When I try to run the upgrade process I get this failure: $ sudo -u tryton trytond-admin -c /etc/tryton/trytond.conf --all -d tryton Traceback (most recent call last): File "/usr/bin/trytond-admin", line 21, in <module> admin.run(options) File "/usr/lib/python2.7/dist-packages/trytond/admin.py", line 53, in run pool.init(update=options.update, lang=list(lang)) File "/usr/lib/python2.7/dist-packages/trytond/pool.py", line 155, in init lang=lang) File "/usr/lib/python2.7/dist-packages/trytond/modules/__init__.py", line 457, in load_modules _load_modules() File "/usr/lib/python2.7/dist-packages/trytond/modules/__init__.py", line 424, in _load_modules graph = create_graph(module_list)[0] File "/usr/lib/python2.7/dist-packages/trytond/modules/__init__.py", line 159, in create_graph info = get_module_info(module) File "/usr/lib/python2.7/dist-packages/trytond/modules/__init__.py", line 143, in get_module_info with tools.file_open(os.path.join(name, 'tryton.cfg')) as fp: File "/usr/lib/python2.7/dist-packages/trytond/tools/misc.py", line 76, in file_open raise IOError('File not found : %s ' % name) IOError: File not found : /usr/lib/python2.7/dist-packages/trytond/modules/webdav/tryton.cfg BTW, the NEWS.Debian should really instruct the user to run the upgrade with the rights of the tryton user (it suggests root since the command line starts with "#") and it should also include the "-c /etc/tryton/trytond.conf" otherwise you get other weird failures like this one: $ sudo -u tryton trytond-admin --all -d tryton Traceback (most recent call last): File "/usr/bin/trytond-admin", line 18, in <module> config.update_etc(options.configfile) File "/usr/lib/python2.7/dist-packages/trytond/config.py", line 73, in update_etc read_files = self.read(configfile) File "/usr/lib/python2.7/ConfigParser.py", line 302, in read fp = open(filename) TypeError: coercing to Unicode: need string or buffer, NoneType found And the "-v" flag would be welcome as well, otherwise you have the feeling that the upgrade gets stuck and you wonder what is going on. Cheers, -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)