[Plugin] Docker Folder


420 posts in this topic Last Reply

Recommended Posts

7 hours ago, Predator said:

Screenshot_2021-01-28 Predator Dashboard.png

Did this happen after you updated the plugin or did it just happen randomly

If you can could you attach '/boot/config/plugins/docker.folder/folders.json' and 'folders.backup.json' in your next post, that might help me figure out why i happend ^_^

You cloud try and rename 'folders.backup.json' to 'folders.json' and see if it works. If not just reinstall the plugin, then you can remake your folders or restore a backup

Edited by GuildDarts
Link to post
  • 4 weeks later...
  • Replies 419
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Docker Folder lets you create folders for docker containers to help with your organization, especially useful if you're using docker-compose. How to install: Can be found in Community Applic

Update Add new expansion button Add docker preview Thanks again @hernandito for the visuals, tried my best to make it look like it   If you think something looks of pl

here is a quick and dirty Photoshop of what I describe above. Perhaps the line w/ the icon can have a show/hide toggle... or the icons are semi transparent (if too cluttered), or made grey scale. When

Posted Images

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?

Link to post
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.

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

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

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

Link to post
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 post
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 :)

Link to post

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

Link to post
Posted (edited)
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 post

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.