-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Discussed in #9838
Originally posted by flborn June 24, 2025
I had installed the InventreeBulkPlugin for testing purposes on a production instance. However, I don't need it.
Now I wanted to move to another server and would do these steps:
- Create Backup on the current instance
- Setup new instance with all needed plugins
- Restore Backup on new instance
Since the BulkPlugin made alterations to the database, the restore process fails with an error message that certain relationships are not present on the new DB instance.
My next try was to remove the plugin on the current instance, but a plugin can only be deactivated, not removed. And most certainly the DB alterations are not removed either.
Is there a way to restore the backup on the new instance without installing the bulkplugin?
(BTW: I tried that as well and installation process fails, the plugin cannot be activated, and migrations are also not executed)
# Version Information:
InvenTree-Version: 0.17.14
Django Version: 4.2.17
Commit Hash: bca375d
Commit Date: 2025-06-22
Database: postgresql
Debug-Mode: False
Deployed using Docker: True
Platform: Linux-6.8.0-58-generic-x86_64-with
Installer: DOC
Active plugins:
[
{'name': 'InvenTreeBarcode', 'slug': 'inventreebarcode', 'version': '2.1.0'},
{'name': 'InvenTreeCoreNotificationsPlugin', 'slug': 'inventreecorenotificationsplugin', 'version': '1.0.0'},
{'name': 'InvenTreeCurrencyExchange', 'slug': 'inventreecurrencyexchange', 'version': '1.0.0'},
{'name': 'InvenTreeLabel', 'slug': 'inventreelabel', 'version': '1.1.0'},
{'name': 'InvenTreeLabelMachine', 'slug': 'inventreelabelmachine', 'version': '1.0.0'},
{'name': 'InvenTreeLabelSheet', 'slug': 'inventreelabelsheet', 'version': '1.0.0'},
{'name': 'DigiKeyPlugin', 'slug': 'digikeyplugin', 'version': '1.0.0'},
{'name': 'LCSCPlugin', 'slug': 'lcscplugin', 'version': '1.0.0'},
{'name': 'MouserPlugin', 'slug': 'mouserplugin', 'version': '1.0.0'},
{'name': 'TMEPlugin', 'slug': 'tmeplugin', 'version': '1.0.0'},
{'name': 'KiCadLibraryPlugin', 'slug': 'kicad-library-plugin', 'version': '1.4.3'},
{'name': 'SupplierCart', 'slug': 'suppliercart', 'version': '0.4.0'
}
]