[Plugin] Docker Folder


425 posts in this topic Last Reply

Recommended Posts

  • Replies 424
  • 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

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 post

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.

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

@GuildDarts Thanks for the quick fix but now I have problems in Safari. Only one of the folders shows up, but the buttons, the overview of the containing containers and the frame are missing. But it can be edited. The Add Folder button doesn't work either. In Chrome and Firefox, on the other hand, it looks fine.

Link to post
2 hours ago, kennymc.c said:

@GuildDarts Thanks for the quick fix but now I have problems in Safari. Only one of the folders shows up, but the buttons, the overview of the containing containers and the frame are missing. But it can be edited. The Add Folder button doesn't work either. In Chrome and Firefox, on the other hand, it looks fine.

sigh man i hate being able to check if stuff works on safari :(
Did it work on safari before the latest update?
Also could you open the browser console, refresh the page and post the errors?

Link to post

Unfortunately, probably with the 6.9.1 update a few new errors occurred. I can no longer edit folders when I click on them and delete containers / images. The button in the delete popup window has no function.

When the plugin is uninstalled, these errors no longer occur.

 

Edit folder:

Docker.folder_delete.thumb.png.54ecaafe3828a60e594eb76e0f75856a.png

 

Delete Container / include Image:

Docker.folder_delete.thumb.png.54ecaafe3828a60e594eb76e0f75856a.png

 

docker.folder_edit.png

Link to post
Posted (edited)
10 minutes ago, kennymc.c said:

Unfortunately, probably with the 6.9.1 update a few new errors occurred. I can no longer edit folders when I click on them and delete containers / images. The button in the delete popup window has no function.

When the plugin is uninstalled, these errors no longer occur.

Looks like you're having the same issue that @ChillZwix reported a few weeks ago
 

 if you edit '/boot/config/plugins/docker.folder/folders.json'
then you should be able to find something like

"children": null

remove the folder it belongs to or change null to []

that should hopefully fix it, i will try and figure out why this might be happening :)

Edited by GuildDarts
Link to post

Thanks for creating the plugin :)

 

Slight issue after the recent update to 6.9 Final where I lost all of my docker folders; not sure why.

 

I am trying to import my backup and press import and select the file to import, but nothing happens?

 

There is only a cancel button, Import, Export and Export All showing, not sure what I am missing?

 

Thanks

Link to post
Posted (edited)
2 hours ago, local.bin said:

Thanks for creating the plugin :)

 

Slight issue after the recent update to 6.9 Final where I lost all of my docker folders; not sure why.

 

I am trying to import my backup and press import and select the file to import, but nothing happens?

 

There is only a cancel button, Import, Export and Export All showing, not sure what I am missing?

 

Thanks

hmm thats weird that an unraid update would make your folders disappear :/
 

When did you make the backup as i changed the way folders are stored sometime ago so it might no be able to import the old format.

Could you attach your backup to a post then i can try and fix the backup or update the plugin to fix the backup import :)

edit:
Super embarrassing at some point i had moved some scripts into a folder, but i forgot to update the path in the import code :$
Just pushed an update, hopefully you should be able to import your backup

Edited by GuildDarts
should be fixed
Link to post
1 hour ago, GuildDarts said:

hmm thats weird that an unraid update would make your folders disappear :/
 

When did you make the backup as i changed the way folders are stored sometime ago so it might no be able to import the old format.

Could you attach your backup to a post then i can try and fix the backup or update the plugin to fix the backup import :)

edit:
Super embarrassing at some point i had moved some scripts into a folder, but i forgot to update the path in the import code :$
Just pushed an update, hopefully you should be able to import your backup

Lol, no problem :) your update sorted it, thank you.

 

I was updating unraid, then I updated the kernel with kernel helper and had some dns issues with a new broadband provider and at some stage during that the docker folder stuff got reset.

 

Back now, few tweaks and another backup and I am good to go, thanks :)

Edited by local.bin
Link to post

Having strange issues on trying to add/edit a folder after an update to the plugin recently to latest version (2021.03.14). 

 

Issue breakdown.

 

1) Adding a new folder after the update as normal created a folder called "undefined" and i can not edit it or do anything now, not even remove it. Trying to change the name, add icon, add in dockers, clicking submit does nothing. If you click submit without a name it alerts to add a name as normal but once you add in a name it still does not save.

 

2) Later inspection of existing folders before the update they all still exist and function but I can not do anything new to them.

 

3) Trying to create another new folder does not work either, brings you to settings and clicking submit does nothing.

 

Things I have tried: 

-Disable > Enable docker from settings

-Rebooting the entire Unraid server

 

Possible Cause: I might have tried to pull a docker into the folder that already had a folder? I can't exactly tell as to what I did cause i can't edit and the folder acts as if its a phantom, and I can't find any logs anywhere pertaining to this plugin. I also used a 600x600 or so png file for the icon, maybe it did not like that but not really been a problem before. 

 

Not sure it will help, but here is a screen of the folder.  4IFUGne.png

 

Solution: Uninstall > Reinstall the plugin seems to have fixed my issue now, whatever it was. I did lose all my folders but it's fixable and at least working now.

Edited by l2evy
Link to post
Posted (edited)

@l2evy just pushed an update that should hopefully fix the issue :)
Just wanna say thanks for the detailed report as "Possible Cause: I might have tried to pull a docker into the folder that already had a folder?" turned out the be the issue

i also think this might have been the issue that a few others had experience recently so thanks again

Edited by GuildDarts
Link to post

Where are the folder icons in the system? I need this to send them, in messages, as notifications in telegram.
I know that the container icons are here.
And I also need folder icons.

/usr/local/emhttp/state/plugins/dynamix.docker.manager/images

 

Link to post
2 hours ago, muwahhid said:

Where are the folder icons in the system? I need this to send them, in messages, as notifications in telegram.
I know that the container icons are here.
And I also need folder icons.


/usr/local/emhttp/state/plugins/dynamix.docker.manager/images

 

Folder icons are stored in, as base64

/boot/config/plugins/docker.folder/folders.json

 

Link to post
  • 1 month later...

I lost my Webui link above the console link when I click on a docker icon. All dockers show only console before the first divider and then the usual start stop commands. What am I missing? I uninstalled the Docker Folder plugin but no change.

Link to post
1 hour ago, Nostrada said:

I uninstalled the Docker Folder plugin

So after uninstalling (and presumably a reboot), the webUI link doesn't appear (or presumably the "edit")?

Link to post

I discovered a small bug. If you remove a container without removing it from the folder, it still shows up as in the folder count, but there is no way to remove it. As seen here:

 

1367782148_ScreenShot2021-05-03at20_29_40.png.715f19a77e9f23f38d2b8ba1a5ea7cfb.png

 

It says there are 1/2 containers started, but there is only 1 container left in the folder. In the folder.json file, the old container (linuxgsm-docker) is still listed as a member of the folder. If you click on the folder, the old container doesn't show up, and there isn't any way to remove the container (besides editing the /boot/config/plugins/docker.folder/folder.json file directly).

 

As I said, I can remove the extra container by modifying the file, so it's a minor issues, but I thought I'd post it here in case anyone else has this same issue.

 

Link to post
14 minutes ago, Kirizan said:

I discovered a small bug. If you remove a container without removing it from the folder, it still shows up as in the folder count, but there is no way to remove it. As seen here:

 

1367782148_ScreenShot2021-05-03at20_29_40.png.715f19a77e9f23f38d2b8ba1a5ea7cfb.png

 

It says there are 1/2 containers started, but there is only 1 container left in the folder. In the folder.json file, the old container (linuxgsm-docker) is still listed as a member of the folder. If you click on the folder, the old container doesn't show up, and there isn't any way to remove the container (besides editing the /boot/config/plugins/docker.folder/folder.json file directly).

 

As I said, I can remove the extra container by modifying the file, so it's a minor issues, but I thought I'd post it here in case anyone else has this same issue.

 

This issue has been reported a few times before, and I could have sworn I had fixed it. 
Just tried to reproduce it, but it successfully removed the container from the folder are you on the latest version of the plugin?
edit:
Think i will add a way to remove containers from the ui even if they dont exist anymore, i really should have done that from the start

Edited by GuildDarts
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.