From 884851733a19d9ccd819f5acd3df974cca66c99e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 24 Nov 2024 15:52:25 +1100 Subject: [PATCH] Add info on --skip-backup (#8541) (#8542) (cherry picked from commit f6124fc4a13b35466342246ff06f8f3e8c80a4c5) Co-authored-by: Oliver --- docs/docs/faq.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/docs/faq.md b/docs/docs/faq.md index 7c8a2da4ff..0e621a463f 100644 --- a/docs/docs/faq.md +++ b/docs/docs/faq.md @@ -87,6 +87,22 @@ For more information, refer to the installation guides: Before performing an update, check the release notes! Any *breaking changes* (changes which require user intervention) will be clearly noted. +### Cannot import name get_storage_class + +When running an install or update, you may see an error similar to: + +```python +ImportError: cannot import name 'get_storage_class' from 'django.core.files.storage' +``` + +In such a situation, it is likely that the automatic backup procedure is unable to run, as the required python packages are not yet installed or are unavailable. + +To proceed in this case, you can skip the backup procedure by running the `invoke update` command with the `--skip-backup` flag: + +```bash +invoke update --skip-backup +``` + ### Feature *x* does not work after update If a particular menu / item is not visible after updating InvenTree, or a certain function no longer seems to work, it may be due to your internet browser caching old versions of CSS and JavaScript files.