-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plugin not installing? #25
Comments
Just as a check, I just made a second VM with a clean install, same result.
During step 6, the installation of inventree, I did notice a peculiar error message:
|
Hello |
Might be the case that you are not installing the plugins from within the python environment that inventree is running in. @rieders @SANCLA have you tried installing the plugin from within the web interface? @matmair any comments here, regarding installing plugins (via command line) for the native installer setup? |
I really recommend using the install functions in the plugin settings area. Everything else is going to be complicated and dependent on the OS. |
Inventree -> Plugins -> Install plugin: Feedback that plugin was installed, but plugin still not visible, not even after a reboot Created a third vm with a fresh installation:
Installation log step 6, installation of inventree: https://pastebin.com/L6ZZiA4q |
Tried the same steps without running apt update and upgrade, same results |
Still seeing this in the setup logs every time:
|
So just testing here, but I am suspecting this issue has nothing to do with the plugin itself. Installing inventree-zebra-plugin with below command & reboot: Installing inventree-bulk-plugin with the install plugin button in inventree, same results. Do you want me to raise the issue in the inventree repro? |
Tried to reproduce rieder setup with a CT (container) in Proxmox, based on Debian 11. |
Ok, here is a fun fact I found out. Now, I get a lot more feedback:
Previously, with Ubuntu 20.04, I only received "The Plugin was installed" as feedback. Did a reboot and everything, but plugin is still not visible in inventree. |
Hello Greetings |
It may be that this is related to running in a VM setup.
You are seeing database migrations every time you "setup"? What exactly do you mean by "setup" here? This would indicate that the database is volatile in your install setup. Can you also share a screenshot of your plugin configuration screen in InvenTree? |
Hi SchrodingersGat,
By default, this setting is not enabled. Enabling this (after trying to install the plugin) makes no difference.
With Ubuntu 20.04, this file is basically empty, no mention of the brother plugin.
I see this being mentioned in the console during installation of Inventree
Of course, but since I have tested several different environments, I wonder for a moment the relevance of taking screenshots of all those environments (as far as I haven't cleaned them up yet). |
Hello How can I now transfer my data to the "new" system? Greetings |
Hi All, I am seeing the same behaviour as well. No plugins will show in the UI via pip or via the UI. Suspecting this is an issue in Inventory and not this plugin. Cheers |
@timmyhadwen what is your install method for InvenTree? Docker? Installer? |
@SchrodingersGat I used the single line install script which installed 0.12.3 (see issue created in Inventree/Inventree) |
Any update on this matter? Is there any action we can take or test for you? |
To get back up to speed on where we were with this, are you are still running |
Actually, I tossed the old environment away yesterday and was looking to a preferred setup. I prefer a baremetal configuration and based on this conversation, it seems that docker could be a better supported setup. I can setup both for testing... |
I run setups with both docker and bare-metal installs, both of which I have not had any issue installing the brother label plugin. It looks like you have been having issues getting any plugins to run at all? |
I eventually got it running by manually entering the virtual env and installing it, however installing it via the website still doesn't work. |
It's getting frustrating to the point where I am thinking about abandoning Inventree altogether.
If you need anymore information, please feel free to look at the previous comments. |
@SANCLA I can understand your frustration, and sorry that we have not been able to work it out for you yet. From the overall comments here it seems there is a general bug using plugins with the command line installed version of InvenTree. I will have to deep-dive into this to work out what is going on. I am away for the next few days, but will allocate some time to it next week. If anyone works it out before then, great :) |
I have found some circumstances in which installing the plugin via the web interface just does not work. However no "rhyme or reason" to it yet. Check out inventree/InvenTree#5624 |
Hey everyone, I think I have worked out what is going on here. In latest stable version of InvenTree, sometimes if the plugin fails to install, it does not correctly capture the failure message and thinks it has installed correctly. So, likely what has happened is that the plugin has not really installed at all, but we are not seeing why (because there is no error message). I have a full refactor of the plugin code here - inventree/InvenTree#5624 I will backport a much simpler version of this (just the bug fix, essentially) for the next stable release. Hopefully at least then we can see why the plugin is not installing correctly, and go from there |
@timmyhadwen @SANCLA both master and stable now have the plugin installer fix applied - at the very least, installing via the web app should correctly show that the plugin install has failed, and the reason why. Please LMK if you have better luck, or more data to share, with the latest improvements. |
Since i'm away and my vpn to the homelab, I created a small temporary digitalocean debian vm, debian 10. Will be checking it again in a few days. |
Just tested this with a fresh new VM. Steps taken:
This gives a green feedback field that states no errors after installing the plugin. But the plugin still not visible in Inventree. |
@SANCLA does the new version tell you where the plugin is installed? When you install via the server or should give you feedback including the path where the plugin was installed. |
I have taken steps to install the plugin.
Manually, including dependencies.
And by adding the plugin to plugins.txt
However, I dont see any new option or even the plugin beeing active in Inventree.
What am I missing here and what would be the steps to introduce a Brother labelprinter into inventree (Brother QL-810Wc)?
Environment is Ubuntu 20.04.6 LTS
Invetree is version 0.12.3
The text was updated successfully, but these errors were encountered: