[Plugins] iSCSI GUI and ISCSI Target


SimonF

Recommended Posts

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

 

Link to comment

 

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?

Link to comment
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?

Link to comment

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.

Link to comment
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),...

Link to comment
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:

Bildschirmfoto_2020-11-04_22-52-05.thumb.png.00a640e5f428a6897880fc89bdf8407d.png

 

EDIT: After you created a IQN the other tabs will show up. ;)

Link to comment

when you click the button to image.thumb.png.335ff6caf3b94b4ca5ca189ac5d1f62f.png

 

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

Link to comment
4 minutes ago, Joedy said:

when you click the button to image.thumb.png.335ff6caf3b94b4ca5ca189ac5d1f62f.png

 

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... :D

Link to comment
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

 

image.png.260cdb3e4daacbb7439aa18668a45034.png

 

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:

Bildschirmfoto_2020-11-04_23-36-12.thumb.png.a90a0bf8cd8a02510402a19fd2d17221.png

 

Link to comment
  • SimonF changed the title to [Plugins] iSCSI GUI and ISCSI Target

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.