Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Plugins] iSCSI GUI and ISCSI Target

Featured Replies

  • Replies 480
  • Views 118.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • @gingerdude & @dreadu & @isvein please update the plugin to version 2022.11.06 and the issue should be fixed.

  • I just wanted to say thank you for the plugin. For the first time yesterday I was able to boot from efi using ipxe and then network boot with iscsi as the disk. The plugin is going to make experimenti

  • I have added zfs support.   Example command if you want to create a block device to be used for iSCSI    zfs create -V 1G zfs/vol1  

Posted Images

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

 

ok fixed all those but the buttons don't work and cant add anything through the gui.

 

am i missing something?

 

Appreciate your help

  • 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?

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.

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?

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.

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),...

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.

 

 

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. ;)

we are pushinbg our changes up to your Git

 

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.

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

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

@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... :P

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?

 

image.thumb.png.38793e2f27a99ffd0586d84c1a5146d5.png

 

image.thumb.png.6ae0573fd6e6cc38a6e3eb11efaedb70.png

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.

 

 

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

 

Thanks, yep got the right one now

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

thats ok we are looking at it now and will push any changes and you can decide if you want it or not

supposed to be a button to do something here?

 

image.thumb.png.916686d96991c841b790b0beb841114a.png

14 minutes ago, Joedy said:

supposed to be a button to do something here?

 

image.thumb.png.916686d96991c841b790b0beb841114a.png

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.