October 31, 20205 yr This plugin provides a GUI for iSCSI. Kernel needs to be created with ich777 's Kernel Helper, Currently this is still WIP and classed as Beta https://github.com/SimonFair/unraid.iSCSI/raw/main/iSCSI.plg Buttons are dont currently function(WIP) Edited November 5, 20205 yr by SimonF changed
November 4, 20205 yr HI, I installed the ich777 kernel iscsi version beta 30 getting a lot of these errors in the GUI, also states my flash disk is readonly which should be fine? Warning: file_get_contents(/etc/target/saveconfig.json): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 112 Warning: implode(): Invalid arguments passed in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 114 Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 124 Warning: array_column() expects parameter 1 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_search() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_column() expects parameter 1 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_search() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_column() expects parameter 1 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_search() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_column() expects parameter 1 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_search() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_column() expects parameter 1 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_search() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_column() expects parameter 1 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_search() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_column() expects parameter 1 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_search() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_column() expects parameter 1 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_search() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_column() expects parameter 1 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_search() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_column() expects parameter 1 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_search() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_column() expects parameter 1 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_search() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_column() expects parameter 1 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_search() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_column() expects parameter 1 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_search() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_column() expects parameter 1 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_search() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_column() expects parameter 1 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_search() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_column() expects parameter 1 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_search() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_column() expects parameter 1 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_search() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_column() expects parameter 1 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60 Warning: array_search() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/unraid.iSCSI/include/lib.php on line 60
November 4, 20205 yr ok fixed all those but the buttons don't work and cant add anything through the gui. am i missing something? Appreciate your help
November 4, 20205 yr Author 12 hours ago, Joedy said: buttons don't work Hi Joedy, i have only created the base layout at present, Still working on the buttons and process to add. You have to use targetcli at this time. Can i ask what you did to fix issue with the json, was it to create the file via saveconfig?
November 4, 20205 yr yeah it was that and also the config location was wrong also it needed an initiator name for the machine which might need to be part of the setup that it creats a standard one automatically.
November 4, 20205 yr 15 minutes ago, Joedy said: yeah it was that and also the config location was wrong also it needed an initiator name for the machine which might need to be part of the setup that it creats a standard one automatically. Can you please be a little bit more specific what is throwing errors and when, never got a problem in the GUI or does this happen when you install this plugin? You know that the Unraid-Kernel-Helper has now support for iSCSI and you can create Targets?
November 4, 20205 yr it is when it is initially installed and it didn't create the config file, it was looking for it and when i manually put it in that place it worked but of course the buttons don't work yet and unsure if the queries work as it is not showing the initiator that i created manually in the plugin. i will have a look at the files today and adjust them for what we need, thanks for your help. Was these files what you were going to send me ages ago? yep aware it does through a command line, the GUI will be helpful to manage them a lot easier especially when i will have about 20 of them.
November 4, 20205 yr 9 minutes ago, Joedy said: it is when it is initially installed and it didn't create the config file, it was looking for it and when i manually put it in that place it worked but of course the buttons don't work yet and unsure if the queries work as it is not showing the initiator that i created manually in the plugin. The plugin creats a config file? 10 minutes ago, Joedy said: Was these files what you were going to send me ages ago? No, it's the Unraid-Kernel-Helper-Plugin on the CA App. It will show you your targets, drives (now limited to FileIO and Block Targets),...
November 4, 20205 yr no the plugin does not create the config file at all, i have modified it so if the config does not exist then it will create it.
November 4, 20205 yr 10 minutes ago, Joedy said: no the plugin does not create the config file at all, i have modified it so if the config does not exist then it will create it. Oh my god, you saved my life, I had a bug in the Kernel-Helper-Plugin if no IQN was found the IQN page wouldn show up, now it should be fixed after a plugin update: EDIT: After you created a IQN the other tabs will show up.
November 4, 20205 yr 17 minutes ago, Joedy said: no the plugin does not create the config file at all, i have modified it so if the config does not exist then it will create it. That's not necessary for upcoming versions of Unraid.
November 4, 20205 yr when you click the button to doesn't do anything Nov 5 08:55:57 BackupServer emhttpd: cmd: /usr/local/emhttp/plugins/community.applications/scripts/pluginInstall.sh install https://raw.githubusercontent.com/ich777/unraid-kernel-helper-plugin/master/plugins/Unraid-Kernel-Helper.plg Nov 5 08:56:01 BackupServer root: plugin: running: anonymous Nov 5 08:56:01 BackupServer root: plugin: creating: /boot/config/plugins/Unraid-Kernel-Helper/Unraid-Kernel-Helper-2020.11.04.txz - downloading from URL https://raw.github.com/ich777/unraid-kernel-helper-plugin/master/archive/Unraid-Kernel-Helper-2020.11.04.txz Nov 5 08:56:08 BackupServer root: plugin: checking: /boot/config/plugins/Unraid-Kernel-Helper/Unraid-Kernel-Helper-2020.11.04.txz - MD5 Nov 5 08:56:08 BackupServer root: plugin: running: /boot/config/plugins/Unraid-Kernel-Helper/Unraid-Kernel-Helper-2020.11.04.txz Nov 5 08:56:09 BackupServer root: plugin: creating: /usr/local/emhttp/plugins/Unraid-Kernel-Helper/README.md - from INLINE content Nov 5 08:56:09 BackupServer root: plugin: running: anonymous
November 4, 20205 yr 4 minutes ago, Joedy said: when you click the button to doesn't do anything Nov 5 08:55:57 BackupServer emhttpd: cmd: /usr/local/emhttp/plugins/community.applications/scripts/pluginInstall.sh install https://raw.githubusercontent.com/ich777/unraid-kernel-helper-plugin/master/plugins/Unraid-Kernel-Helper.plg Nov 5 08:56:01 BackupServer root: plugin: running: anonymous Nov 5 08:56:01 BackupServer root: plugin: creating: /boot/config/plugins/Unraid-Kernel-Helper/Unraid-Kernel-Helper-2020.11.04.txz - downloading from URL https://raw.github.com/ich777/unraid-kernel-helper-plugin/master/archive/Unraid-Kernel-Helper-2020.11.04.txz Nov 5 08:56:08 BackupServer root: plugin: checking: /boot/config/plugins/Unraid-Kernel-Helper/Unraid-Kernel-Helper-2020.11.04.txz - MD5 Nov 5 08:56:08 BackupServer root: plugin: running: /boot/config/plugins/Unraid-Kernel-Helper/Unraid-Kernel-Helper-2020.11.04.txz Nov 5 08:56:09 BackupServer root: plugin: creating: /usr/local/emhttp/plugins/Unraid-Kernel-Helper/README.md - from INLINE content Nov 5 08:56:09 BackupServer root: plugin: running: anonymous Thank you, I replaced the working version with a non working version...
November 4, 20205 yr @Joedy The plugin is now working but you have to delete it from your plugins and install it new through the CA App. That happens when you migrating something newer to something older...
November 4, 20205 yr The pathway to run the script when creating an iqn is wrong we are pushing the change to you to fix this also the IQN does not show up under the IQN tab when created only the overview page is this by design?
November 4, 20205 yr if your plugin is working and ours isnt seems we have issues with the paths that you are using in the files it is not standard like should be unraid-kernel-helper and this is across quite a few lines of code.
November 4, 20205 yr 1 minute ago, Joedy said: if your plugin is working and ours isnt seems we have issues with the paths that you are using in the files it is not standard like should be unraid-kernel-helper and this is across quite a few lines of code. Sorry but you still have the old version of the plugin the new version looks like this:
November 4, 20205 yr In this file are the latest version if you uninstalled and then installed it again it should pull the latest version, but it could possibly be that Unraid or better speaking linux is caching the files and get you stell the old zip. https://github.com/ich777/unraid-kernel-helper-plugin/raw/master/archive/Unraid-Kernel-Helper-2020.11.04.txz
November 4, 20205 yr 1 minute ago, Joedy said: Thanks, yep got the right one now The code is not very beautiful but it's the best I can do, never learned any webcoding...
November 4, 20205 yr thats ok we are looking at it now and will push any changes and you can decide if you want it or not
November 4, 20205 yr 14 minutes ago, Joedy said: supposed to be a button to do something here? Sorry it's past midnight I have to get some rest. Will look into this tomorrow
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.