GuildDarts Posted May 25, 2020 Author Share Posted May 25, 2020 (edited) 9 hours ago, Josiah said: First off, love the plugin. I particularly like this preview view, but when I try to use it, if I make any small change to the order of my containers or folders, then all of my folders and containers within the folders start to randomly sort themselves. The sort order stays on the random order it chose even if I try to reorder. If I make a change to that setting in any of my folders, I'll get stuck with a new random order. If half have the setting and the other half doesn't, then the ones that have it turned on will go where they please, but the ones that don't will stay ordered relative to each other. Hey i kinda get what you're describing just can't seem to break it The next version changes a few things about sorting and the preview, so might somehow fix it. If you still have the issue after the next version could you make a short video showing the bug? New verison should be out in a day or two Edit: Disregard everything above, found the issue while looking for another issue Edited May 25, 2020 by GuildDarts Fix :D Quote Link to comment
GuildDarts Posted May 25, 2020 Author Share Posted May 25, 2020 (edited) Update Preview and expanded folder style changes, picture bellow (thanks @hernandito) Display current folder for dockers in editFolder Allow moving docker from one folder to another Added: preview no-icon context-menu Added: regex docker selection Added: WebUI subcommand doing [DOCKER:some_docker_name] will get that dockers webui settings. It does not parse the xml just gets the element (sorry @JesterEE) Fixed: preview icon breaking save sort-order There are a few more changes but they are minor Edited May 25, 2020 by GuildDarts a bit extra info 1 Quote Link to comment
poniz Posted May 26, 2020 Share Posted May 26, 2020 fuckin right just when I thought how could this plugin get any better. Love the new preview feature!! The new style is also very nice and clean on the eyes. Thank you! 1 Quote Link to comment
poniz Posted May 26, 2020 Share Posted May 26, 2020 (edited) One of the folders disappeared so I tried to create a another folder with the same name but that messed up my whole config because all my folders arent showing up. When I try to add a new folder I get this error Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/docker.folder/include/import-export.php on line 10 forgot to export my last config but hey that's my own fault .. so i found a bkup of the folder config file and noticed the error in my new config, removed the messed folder and all my settings came back ok. all good now Edited May 26, 2020 by poniz found solution 1 Quote Link to comment
Josiah Posted May 26, 2020 Share Posted May 26, 2020 9 hours ago, GuildDarts said: Fixed: preview icon breaking save sort-order Sweet. It's working great for me now. Thank you sir. By the way, I have joined hernandito in making folder icons for people if anyone wants them: 1 1 Quote Link to comment
GuildDarts Posted May 26, 2020 Author Share Posted May 26, 2020 (edited) 6 hours ago, poniz said: One of the folders disappeared so I tried to create a another folder with the same name but that messed up my whole config because all my folders arent showing up. When I try to add a new folder I get this error Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/docker.folder/include/import-export.php on line 10 forgot to export my last config but hey that's my own fault .. so i found a bkup of the folder config file and noticed the error in my new config, removed the messed folder and all my settings came back ok. all good now I always get scared when i hear about messed up config (hoping its just a one of) In any case will add a check to stop user from making a folder with the same name as an existing one Thanks for the kind words above Edited May 26, 2020 by GuildDarts 1 Quote Link to comment
JesterEE Posted May 26, 2020 Share Posted May 26, 2020 (edited) On 5/25/2020 at 2:57 PM, GuildDarts said: Update Added: WebUI subcommand doing [DOCKER:some_docker_name] will get that dockers webui settings. It does not parse the xml just gets the element (sorry @JesterEE) Maybe in the future. All the updates and support are great! Thank you! My Dashboard docker alignment still gets a little skewed using Docker Folder. I know you did some work with it, but on my dashboard, the folder contents shift to the right when the Started Only setting is selected. I think it doesn't recompute the docker folder splitting based on that option. Edited May 26, 2020 by JesterEE Quote Link to comment
GuildDarts Posted May 26, 2020 Author Share Posted May 26, 2020 2 hours ago, JesterEE said: Maybe in the future. All the updates and support are great! Thank you! My Dashboard docker alignment still gets a little skewed using Docker Folder. I know you did some work with it, but on my dashboard, the folder contents shift to the right when the Started Only setting is selected. I think it doesn't recompute the docker folder splitting based on that option. Might do it in the future, is there a bug report for the webui not showing with docker as network type? I would kinda want the issue fixed, so i dont have to do the xml parsing lazy me Also cloud you point me to a guide on how to "specify a container as the Network Type" i dont know how or what its for About the Dashboard alignment, im guessing you're referring to when its expanded, or is this another bug Quote Link to comment
syrupywaffles Posted May 28, 2020 Share Posted May 28, 2020 Hello, This plugin is fantastic. Just wanted to get that out of the way. I'm not sure if this has been mentioned yet, but I believe that I found a bug while testing the "Add Button" feature. I wasn't 100% sure what it did initially, and just added a button without a URL (see image). When doing that and submitting the changes, it breaks the folder and doesn't allow for further editing or access to any of the containers added to that folder. The only way that I could remove the broken folder (since there was no longer an edit or remove option in the context menu) was to edit the folders.json file in the plugin's config folder. Again, apologies if this was already mentioned or known. Thought I'd post it just in case. Thanks! Quote Link to comment
GuildDarts Posted May 28, 2020 Author Share Posted May 28, 2020 (edited) 43 minutes ago, syrupywaffles said: Hello, This plugin is fantastic. Just wanted to get that out of the way. I'm not sure if this has been mentioned yet, but I believe that I found a bug while testing the "Add Button" feature. I wasn't 100% sure what it did initially, and just added a button without a URL (see image). When doing that and submitting the changes, it breaks the folder and doesn't allow for further editing or access to any of the containers added to that folder. The only way that I could remove the broken folder (since there was no longer an edit or remove option in the context menu) was to edit the folders.json file in the plugin's config folder. Again, apologies if this was already mentioned or known. Thought I'd post it just in case. Thanks! Thanks for reporting, it has not been reported yet. Will fix in next version And also thanks for the very clear instructions Edited May 28, 2020 by GuildDarts Quote Link to comment
Monradax Posted May 29, 2020 Share Posted May 29, 2020 Hmm, I understand spaces are not allowed in the folder name but I tried a + instead and the folder created has a ? icon and my containers that were supposed to go in it have disappeared. I checked on the cli with a docker ps and they are still running so I reinstalled the app and that seems to solve the issue however I need to recreate my folders again. C'est La Vie. Thanks for making this app though. This really should be a default feature. Quote Link to comment
GuildDarts Posted May 29, 2020 Author Share Posted May 29, 2020 21 minutes ago, Monradax said: Hmm, I understand spaces are not allowed in the folder name but I tried a + instead and the folder created has a ? icon and my containers that were supposed to go in it have disappeared. I checked on the cli with a docker ps and they are still running so I reinstalled the app and that seems to solve the issue however I need to recreate my folders again. C'est La Vie. Thanks for making this app though. This really should be a default feature. Yeah sorry about that. Right now its not so good with special characters. I would stick with english letters and _- Quote Link to comment
GuildDarts Posted June 2, 2020 Author Share Posted June 2, 2020 (edited) Update Added: New icon style label-tab (image below, thanks @hernandito) Added: Only animate icon on hover This will pause gif/svgs that are animating and only animate them when hovering over folder. Added: Preview icons grayscaled as option Added: Preview display only on hover Change: Expand button style default Fixed: Prevent a bit more bad input Fixed: Improve dashboard expanded started only It does not fix it entirely but should be a bit better. Edited June 5, 2020 by GuildDarts 1 1 Quote Link to comment
poniz Posted June 5, 2020 Share Posted June 5, 2020 (edited) fuckin right the new hover feature and larger bold folder names is beautiful touch 👍👍 Edited June 5, 2020 by poniz 1 Quote Link to comment
caplam Posted June 7, 2020 Share Posted June 7, 2020 (edited) Great plugin. Unfortunately i have quite a mess. I created several folders but were not showing up, and dockers in these folders were not showing either. When creating a folder i have a deleted docker which shows up. I decided to restart from scratch by deleting plugin, but the add folder is still present. After reinstalling plugin i have 2 warnings when adding a folder: Warning: file_get_contents(/boot/config/plugins/docker.folder/folders.json): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/docker.folder/include/import-export.php on line 2 Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/docker.folder/include/import-export.php on line 10 edit: i deleted filles and folder in /boot/config/plugins and in /usr/local/emhtpp/plugins. No more add folder button but when i reinstall plugin i have the following error: plugin: installing: https://raw.githubusercontent.com/GuildDarts/unraid-plugin-docker.folder/master/plugins/docker.folder.plg plugin: downloading https://raw.githubusercontent.com/GuildDarts/unraid-plugin-docker.folder/master/plugins/docker.folder.plg plugin: downloading: https://raw.githubusercontent.com/GuildDarts/unraid-plugin-docker.folder/master/plugins/docker.folder.plg ... done plugin: file doesn't exist or xml parse error Edited June 7, 2020 by caplam Quote Link to comment
GuildDarts Posted June 7, 2020 Author Share Posted June 7, 2020 4 hours ago, caplam said: Great plugin. Unfortunately i have quite a mess. I created several folders but were not showing up, and dockers in these folders were not showing either. When creating a folder i have a deleted docker which shows up. I decided to restart from scratch by deleting plugin, but the add folder is still present. After reinstalling plugin i have 2 warnings when adding a folder: Warning: file_get_contents(/boot/config/plugins/docker.folder/folders.json): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/docker.folder/include/import-export.php on line 2 Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/docker.folder/include/import-export.php on line 10 edit: i deleted filles and folder in /boot/config/plugins and in /usr/local/emhtpp/plugins. No more add folder button but when i reinstall plugin i have the following error: plugin: installing: https://raw.githubusercontent.com/GuildDarts/unraid-plugin-docker.folder/master/plugins/docker.folder.plg plugin: downloading https://raw.githubusercontent.com/GuildDarts/unraid-plugin-docker.folder/master/plugins/docker.folder.plg plugin: downloading: https://raw.githubusercontent.com/GuildDarts/unraid-plugin-docker.folder/master/plugins/docker.folder.plg ... done plugin: file doesn't exist or xml parse error First of let my just say that i have never experience anything like this, so i might be totally wrong It's really weird that it would not uninstall and reinstall. You said that the 'add folder' button was still there even when you uninstalled. To me this kinda makes it sound like not an issue with docker.folder, but plugins in general. Are you able to install/uninstall other plugins without issues? Quote Link to comment
caplam Posted June 7, 2020 Share Posted June 7, 2020 Now the add folder button has disappeared. It seems i cannot completly delete the plugin. I now have an error : plugin: removing: docker.folder.plg plugin: file doesn't exist or xml parse error And when i open the plugins page i see this (even if it has been deleted): Quote Link to comment
caplam Posted June 7, 2020 Share Posted June 7, 2020 I can't also install it. I tried to remove another plugin with success (fix common problems) and i have been able to had a plugin too (controlir). Quote Link to comment
GuildDarts Posted June 7, 2020 Author Share Posted June 7, 2020 (edited) 6 hours ago, caplam said: I can't also install it. I tried to remove another plugin with success (fix common problems) and i have been able to had a plugin too (controlir). Yeah i don't think this is an issue with docker.folder, not trying to shift blame It does not make any sense to me why after you remove the plugin that its still in the plugins tab. The only thing i can think of is to manual make the plugin folder and put the docker.folder.plg in the folder and see if can uninstall. Could you maybe make a new post under general support and ask why you cant remove plugin as i have no clue. Maybe someone more knowledgeable can answer Sorry for not being of more help just really have no idea and this is a bit out of my comfort zone. Edit: Something that might be worth a try is a restart. As i think that all plugins get installed on startup. So since you removed all the files from the flash it won't be able to install. Tried deleting my docker.folder.plg and got the same plugin with missing icon thing. Edited June 8, 2020 by GuildDarts Quote Link to comment
Josiah Posted June 8, 2020 Share Posted June 8, 2020 Hey everyone, I've finished my initial icon set on github. Hernandito's color variations can be found here. 1 Quote Link to comment
cback Posted June 9, 2020 Share Posted June 9, 2020 I have a couple of folders that have docker containers that are not started. It seems to be a coin flip for each of these folders as to whether they'll show up on the Docker page or not. Also I don't seem to have any control over the order the folders are in on the page, every time I reload they either reset or change to some other random order. Quote Link to comment
GuildDarts Posted June 9, 2020 Author Share Posted June 9, 2020 42 minutes ago, cback said: It seems to be a coin flip for each of these folders as to whether they'll show up on the Docker page or not Could you check browser console and see if you get any errors? 43 minutes ago, cback said: Also I don't seem to have any control over the order the folders are in on the page, every time I reload they either reset or change to some other random order. Could you try and reorder any docker or folder in the docker tab. Reordering saves the current order to 'userprefs.cfg' Quote Link to comment
cback Posted June 9, 2020 Share Posted June 9, 2020 22 minutes ago, GuildDarts said: Could you try and reorder any docker or folder in the docker tab. Reordering saves the current order to 'userprefs.cfg' Yeah that's the problem, when you reload or come back to the page it does not stay. Do I need to find this userprefs.cfg file and organize it in there? Quote Link to comment
GuildDarts Posted June 9, 2020 Author Share Posted June 9, 2020 Just now, cback said: Yeah that's the problem, when you reload or come back to the page it does not stay. Do I need to find this userprefs.cfg file and organize it in there? you could try and 'reset order' that might work Quote Link to comment
cback Posted June 9, 2020 Share Posted June 9, 2020 19 minutes ago, GuildDarts said: you could try and 'reset order' that might work Still no luck, even if it seems like the items stay in place for a refresh or two, a few folders will disappear and after a couple refreshes they'll show up again and the folder order will be randomized. Quote Link to comment
Recommended Posts
Posted by scolcipitato,
Docker Folder is going away, this is the replacement
Recommended by JonathanM
4 reactions
Go to this post
Posted by Squid,
9 reactions
Go to this 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.