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.

[Plugin] Docker Folder

Featured Replies

  • Author
1 minute ago, ChillZwix said:

@GuildDarts

 

Got a problem, may be since last update. But I can't make new folders, can't edit folder. 

 

Got any idea?

When you try and edit a folder does it load the folder settings on the edit page?
Also when you try and save a folder do you get any errors in browser console?

  • Replies 838
  • Views 209.3k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • OK.   Not that I use this plugin, but I have forked it so that the logs and the context menus appear.   I have temporarily removed the dashboard part of things until I get more tim

  • scolcipitato
    scolcipitato

    Hi, I've been working on fixing the plugin for a while, and I have something that works, but there are some problems. Due to how I made unraid show the folder on the dashboard "Expanded on Das

  • Docker Folders has now been deprecated when running Unraid 6.12.3+  It should be uninstalled and replaced with Folder.View   

Posted Images

2 minutes ago, GuildDarts said:

When you try and edit a folder does it load the folder settings on the edit page?
Also when you try and save a folder do you get any errors in browser console?

 

It open like I will create a new folder, with all empty fields.

  • Author
2 minutes ago, ChillZwix said:

 

It open like I will create a new folder, with all empty fields.

Just to make sure that i understand, you can't edit/create new folders but the ones you do have are still showing up?
Do you use folders for both docker and vm or just one of them?

39 minutes ago, GuildDarts said:

Just to make sure that i understand, you can't edit/create new folders but the ones you do have are still showing up?
Do you use folders for both docker and vm or just one of them?

1. correct

2. just docker

Edited by ChillZwix

  • Author
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'

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

 

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

29 minutes ago, GuildDarts said:

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?

 

Correct?

folders.backup.json folders.json

11 hours ago, GuildDarts said:

looks like a folder called 'System' maybe failed to migrate at some point 
I removed it from the folders.json you can either do that on yours or download the attached one and replace your current

hope this fixes it :)
 

folders.json 527.71 kB · 0 downloads

 

@GuildDartsThank you so much for help! Now everything works!

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.

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

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?

  • Author
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 :)

  • Author
2 hours ago, Alex.b said:

I updated to the last version but drag seems doesn't work.

 

what version of unraid are you on?

Also trying to rearrange the folders and dockers to manage start-up.

unRAID: 6.9.0 2021-02-27

Docker Folder Plugin: 2021.03.03

Not seeing anything in the Chrome browser console.

Same symptom w/Firefox

 

Thank you...

  • Author

@GeneM @Alex.b
In unraid 6.9.0 you have to drag via the new icon on the far right
This also caught me off guard at first :)
brave_V9dwEwwBII.thumb.png.9d91b7ec12cfed5e9afa8a3d18ac4b2a.png

😆Oh, man.  Sorry for spinning this up.

If I missed a release-note or documentation(?) change, please advise.

But, thank you.

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.

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

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

Edited by kennymc.c

  • Author
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 :)

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.

  • Author
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 :)

I already use the theme engine plugin but the dark grey and black background colors seems to be hard coded to the black base theme. So I will wait for a fix then.

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.