Error no module named dbbackup after update

This issue has been tracked since 2023-01-11.

Hello there,

i just updated InvenTree to the newest Version a few days ago. This included the function of doing a backup. Since then I am not able to start InvenTree, or to be more precisely, the workers failed to boot.

Here the log:
Traceback (most recent call last):
File "/usr/local/bin/gunicorn", line 8, in
sys.exit(run())
File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/wsgiapp.py", line 67, in run
WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/base.py", line 231, in run
super().run()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/base.py", line 72, in run
Arbiter(self).run()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/arbiter.py", line 58, in init
self.setup(app)
File "/usr/local/lib/python3.10/dist-packages/gunicorn/arbiter.py", line 118, in setup
self.app.wsgi()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/wsgiapp.py", line 58, in load
return self.load_wsgiapp()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/local/lib/python3.10/dist-packages/gunicorn/util.py", line 359, in import_app
mod = importlib.import_module(module)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 992, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/bstadmin/inventree/src/InvenTree/InvenTree/wsgi.py", line 15, in
application = get_wsgi_application() # pragma: no cover
File "/usr/local/lib/python3.10/dist-packages/django/core/wsgi.py", line 12, in get_wsgi_application
django.setup(set_prefix=False)
File "/usr/local/lib/python3.10/dist-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python3.10/dist-packages/django/apps/registry.py", line 91, in populate
app_config = AppConfig.create(entry)
File "/usr/local/lib/python3.10/dist-packages/django/apps/config.py", line 224, in create
import_module(entry)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'dbbackup'

As far as I can see, the system is not able to use the Django package dbbackup. My Django version is up to date (3.2.16). So my guess is, that I might have missed a configuration step, which is relevant after the update. Furthermore I checked the files requirements.txt and config.yaml but thex looked good.
I will keep looking, but would be glad if someone would lend me a hand.

Thanks in advance.

wolflu05 wrote this answer on 2023-01-11

Can you please use the bug report template and provide all requested data (version, deploy method, ...) there.

Fluxus00 wrote this answer on 2023-01-11

Sure give me a second.

matmair wrote this answer on 2023-01-11

Duplicate of #4198

More Details About Repo
Owner Name inventree
Repo Name InvenTree
Full Name inventree/InvenTree
Language Python
Created Date 2017-03-23
Updated Date 2023-03-31
Star Count 2586
Watcher Count 61
Fork Count 411
Issue Count 141

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date