[Plugin] Docker Folder


Recommended Posts

8 minutes ago, ChillZwix said:

1. correct

2. just docker

Could you try and edit a folder then press f12 to open the browser console, then refresh the page and see if any errors appear


If you dont get any errors could you then export all your folders and attach them to your next post (there is a button in the top right when eddting a folder)

if the export does not work then the file is '/boot/config/plugins/docker.folder/folders.json'

Link to comment
23 minutes ago, GuildDarts said:

Could you try and edit a folder then press f12 to open the browser console, then refresh the page and see if any errors appear


If you dont get any errors could you then export all your folders and attach them to your next post (there is a button in the top right when eddting a folder)

if the export does not work then the file is '/boot/config/plugins/docker.folder/folders.json'

 

This did show up at refresh:

 

Uncaught (in promise) TypeError: folderChild is not iterable
    at HTMLInputElement.<anonymous> (UpdateFolder?type=docker&folderId=545f0cc:2880)
    at Function.each (dynamix.js?v=1583697979:4)
    at n.fn.init.each (dynamix.js?v=1583697979:4)
    at init (UpdateFolder?type=docker&folderId=545f0cc:2877)
(anonymous) @ UpdateFolder?type=docker&folderId=545f0cc:2880
each @ dynamix.js?v=1583697979:4
each @ dynamix.js?v=1583697979:4
init @ UpdateFolder?type=docker&folderId=545f0cc:2877
async function (async)
init @ UpdateFolder?type=docker&folderId=545f0cc:2873
(anonymous) @ UpdateFolder?type=docker&folderId=545f0cc:2870

 

Link to comment
13 minutes ago, ChillZwix said:

 

This did show up at refresh:

 




Uncaught (in promise) TypeError: folderChild is not iterable
    at HTMLInputElement.<anonymous> (UpdateFolder?type=docker&folderId=545f0cc:2880)
    at Function.each (dynamix.js?v=1583697979:4)
    at n.fn.init.each (dynamix.js?v=1583697979:4)
    at init (UpdateFolder?type=docker&folderId=545f0cc:2877)
(anonymous) @ UpdateFolder?type=docker&folderId=545f0cc:2880
each @ dynamix.js?v=1583697979:4
each @ dynamix.js?v=1583697979:4
init @ UpdateFolder?type=docker&folderId=545f0cc:2877
async function (async)
init @ UpdateFolder?type=docker&folderId=545f0cc:2873
(anonymous) @ UpdateFolder?type=docker&folderId=545f0cc:2870

 

Could you export your folders, and attach them to your next post or if you want you can edit the export and see if you can find the "children" that is no longer an array and fix it (might be more than one)

i'm a bit unsure how this happened, how long since you last edited a folder and it worked?

Edited by GuildDarts
Link to comment

Hello everyone!

 

i am having an issue with the plugin (fresh install)

 

After install, went into the plugins/Docker Folder to config and i got the below error

 

Warning: require_once(/usr/local/emhttp/plugins/docker.folder/include/add-update.folder/add-update.folder-.php): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/docker.folder/include/add-update.folder/add-update.php on line 12

Fatal error: require_once(): Failed opening required '/usr/local/emhttp/plugins/docker.folder/include/add-update.folder/add-update.folder-.php' (include_path='.:/usr/local/emhttp') in /usr/local/emhttp/plugins/docker.folder/include/add-update.folder/add-update.php on line 12

 

seeing the error i noticed the add-update.folder-.php name of the file and decided to dig into it a bit more

 

 

it seems that the add-update.php has two lines that probably not working as expected to my unraid

 

Line 01: $folderType = $_GET['type'];
Line 12: require_once("$docroot/plugins/docker.folder/include/add-update.folder/add-update.folder-$folderType.php");

 

Any help or hint on what might went wrong would be very much appreciated.

Link to comment
22 minutes ago, NickI said:

Hello everyone!

 

i am having an issue with the plugin (fresh install)

 

After install, went into the plugins/Docker Folder to config and i got the below error

 


Warning: require_once(/usr/local/emhttp/plugins/docker.folder/include/add-update.folder/add-update.folder-.php): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/docker.folder/include/add-update.folder/add-update.php on line 12

Fatal error: require_once(): Failed opening required '/usr/local/emhttp/plugins/docker.folder/include/add-update.folder/add-update.folder-.php' (include_path='.:/usr/local/emhttp') in /usr/local/emhttp/plugins/docker.folder/include/add-update.folder/add-update.php on line 12

 

seeing the error i noticed the add-update.folder-.php name of the file and decided to dig into it a bit more

 

 

it seems that the add-update.php has two lines that probably not working as expected to my unraid

 


Line 01: $folderType = $_GET['type'];
Line 12: require_once("$docroot/plugins/docker.folder/include/add-update.folder/add-update.folder-$folderType.php");

 

Any help or hint on what might went wrong would be very much appreciated.

The way you are meant to configure/add folders is under the docker/vm page so goto e.g the docker page then at the bottom there is a add folder button (same for vm)
Capture.PNG.32f4ce94dc44977450d6eed467b6e0cd.PNG

i can see how this might be confusing as every other plugin you can just goto plugins/plugin name

  • Like 1
Link to comment
11 minutes ago, GuildDarts said:

The way you are meant to configure/add folders is under the docker/vm page so goto e.g the docker page then at the bottom there is a add folder button (same for vm)
Capture.PNG.32f4ce94dc44977450d6eed467b6e0cd.PNG

i can see how this might be confusing as every other plugin you can just goto plugins/plugin name

 

GuildDarts thank you so much for the swift reply and the great work you've done!

Works like a charm now.

By the way, the plugins settings page still shows the same error. Is that expected?

Link to comment
Just now, NickI said:

 

GuildDarts thank you so much for the swift reply and the great work you've done!

Works like a charm now.

By the way, the plugins settings page still shows the same error. Is that expected?

No it's not expected, think it broke when i added support for vm folders
Will fix it, when i have time but as i does not break anything might be soon TM :)

  • Like 1
Link to comment
37 minutes ago, kennymc.c said:

Has the Log button also disappeared with the 6.9 update? This is now only possible via the context menu. In the folder settings there is also no possibility for it.

Yeah i think it has, tho thats a default unraid change

edit:
realised that you might have meant the preview log button, as that was broke. (should be fixed now :))

Edited by GuildDarts
maybe issue fixed
Link to comment
33 minutes ago, kennymc.c said:

Updated to 2021.03.07 but the preview log button is still missing. Re-install did not help either.

You are talking about the preview log button right?
brave_RDxuoVat6M.thumb.png.d010f680ca94bb1ff5a8085501de8dee.png
or are you talking about the one that used to be next to uptime?
you wanna make sure we are on the same page :)

Link to comment
1 minute ago, kennymc.c said:

Just realized, that the preview log button and also the Webgui buttons are actually there but I cloud't see them because I use a dark theme. So the problem is more the transparent background, which did not exist before.

Yeah just tried the dark theme and it hella hard to see them. Will see if i can make dark theme support better.
For now you can use something like theme engine plugin and add cutom stying to the dark theme :)

Link to comment

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.