Hi. I have Odoo using VENV.
All is working fine but when i tray to generate a backup using the web interface it whos me this error
2021-08-16 11:40:19,757 824177 ERROR ays_alimentos odoo.addons.web.controllers.main: Database.backup
Traceback (most recent call last):
File "/home/eladio/odoo-dev/ays_alimentos/src/odoo/addons/web/controllers/main.py", line 1198, in backup
dump_stream = odoo.service.db.dump_db(name, None, backup_format)
File "", line 2, in dump_db
File "/home/eladio/odoo-dev/ays_alimentos/src/odoo/odoo/service/db.py", line 41, in if_db_mgt_enabled
return method(self, *args, **kwargs)
File "/home/eladio/odoo-dev/ays_alimentos/src/odoo/odoo/service/db.py", line 241, in dump_db
odoo.tools.exec_pg_command(*cmd)
File "/home/eladio/odoo-dev/ays_alimentos/src/odoo/odoo/tools/misc.py", line 126, in exec_pg_command
rc = subprocess.call(args2, env=env, stdout=dn, stderr=subprocess.STDOUT)
File "/usr/lib/python3.8/subprocess.py", line 340, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1626, in _execute_child
env_list.append(k + b'=' + os.fsencode(v))
File "/usr/lib/python3.8/os.py", line 806, in fsencode
filename = fspath(filename) # Does type-checking of `filename`.
TypeError: expected str, bytes or os.PathLike object, not bool
Any ideas? Thanks