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.

[DOCKER CONTAINER] DUC - Disk Usage Charts (and duplicate file finding!)

Featured Replies

started my docker 120min and referenced /mnt/user and still cannot see anything, but I have about 37tb of data, so I assume this is expected? Is there a log I can check if it's still running? AFter 6 hours it still is not displaying anything. Now it has been over 9 hrs and still nothing is displayed. So something must have gone wrong somewhere.

 

This is the issue I had. Restart your docker but make the data folder mapping much smaller, like just the movies/etc.

 

I can do that, but if I use all of /mnt/user, it never finishes. I think the issue is with my "misc" folder, which has lots of smaller files, pictures, backups of those pictures, etc. Does all my movies/tv shows (seperately) which is a lot more DATA quickly. I haven't looked any further into it, to see if there is a log or anything to tell me whats going on.

  • Author

started my docker 120min and referenced /mnt/user and still cannot see anything, but I have about 37tb of data, so I assume this is expected? Is there a log I can check if it's still running? AFter 6 hours it still is not displaying anything. Now it has been over 9 hrs and still nothing is displayed. So something must have gone wrong somewhere.

 

I'd either index this in chunks (as was suggested by 00b5) or run duc index from within a shell (using docker exec) to see the output from the indexer tool. I'm not sure what the limits are on the DUC indexer, but I'm wondering if RAM is an issue at that size.

 

If you want some help running the indexer, let me know - I'd love to figure out how to make this work for such a large array.

 

 

  • Author

My file structure is pretty boring...

 

Looks well organized to me :)

started my docker 120min and referenced /mnt/user and still cannot see anything, but I have about 37tb of data, so I assume this is expected? Is there a log I can check if it's still running? AFter 6 hours it still is not displaying anything. Now it has been over 9 hrs and still nothing is displayed. So something must have gone wrong somewhere.

 

This is the issue I had. Restart your docker but make the data folder mapping much smaller, like just the movies/etc.

 

I can do that, but if I use all of /mnt/user, it never finishes. I think the issue is with my "misc" folder, which has lots of smaller files, pictures, backups of those pictures, etc. Does all my movies/tv shows (seperately) which is a lot more DATA quickly. I haven't looked any further into it, to see if there is a log or anything to tell me whats going on.

 

Same here. It sits there with no output to the web page, there's no activity measured by htop (when it's running it uses lots of CPU).

 

If it can only work with small amounts of data, what's the point?  ;D I can use TreeSize if I want to just look at /mnt/user/Movies  ???:-\

/mnt/user/movies now works (11.7tb) but not from /mnt/user

  • Author

A trick that I'll share in case you want to index a subdir of /mnt/user (mounted in the container as /data) from the web interface

 

http://[server]:2112/cgi-bin/duc.cgi?cmd=reindex&path=/data/[subdir]

 

So for me, if i want to index just /mnt/user/photos, I do could do

 

http://myservername.local:2112/cgi-bin/duc.cgi?cmd=reindex&path=/data/photos

 

 

Note: This will not work for paths that are not a subdir of /data, and I've not tested it in a case where the first index of /data isn't complete.

 

 

 

 

iancole, this is a great Docker, I love it. The only issue is that the container doesn't seem to survive a reboot....I always have to "upgrade" it. Otherwise I see these messages in my log (both servers):

 

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3. Set the 'ServerName' directive globally to suppress this message
httpd (pid 10) already running

 

 

  • Author

iancole, this is a great Docker, I love it. The only issue is that the container doesn't seem to survive a reboot....I always have to "upgrade" it. Otherwise I see these messages in my log (both servers):

 

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3. Set the 'ServerName' directive globally to suppress this message
httpd (pid 10) already running

 

Thanks for the feedback. The apache warning is ok, as the server doesn't need a real domain name (although I suppose I could set it just to not have the warning show...) - as for the reboots, I've seen that same behavior...but haven't found the reason yet. I'll keep looking.

  • 1 month later...

iancole, this is a great Docker, I love it. The only issue is that the container doesn't seem to survive a reboot....I always have to "upgrade" it. Otherwise I see these messages in my log (both servers):

 

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3. Set the 'ServerName' directive globally to suppress this message
httpd (pid 10) already running

 

The way i fixed this was

log in to the image

 docker exec -it DUC /bin/bash

scped the files from /duc to a share

shutdown the imge

edit the docker and add a rw link to  /duc  on my raid /mnt/user/appdata/duc

put the files in there

 

now the db is still there after a reboot of the image.

I wanted to give it a try:

root@166be1e1b181:~# cp * /data/.Docker/appdata/duc/
cp: cannot create regular file '/data/.Docker/appdata/duc/duc_startup.sh': Read-only file system

 

[EDIT] I just had made the /data directory inside of DUC r/w. Great!!!

  • 3 months later...

Looks like there have  been tons of great updates to the official branch of DUC. Wondering if you wouldn't mind updating your Docker to reflect the newest version?

I would like to know if it is possible to have multiple data drives mapped.

 

Data1  -,>  /mnt/disk1

Data2. ->  /mnt/disk2

 

And so on....

IanCole hasn't been active around here since March, and he hasn't accepted my Pull Requests on this container for categories, so somebody will probably have to fork this container to make the appropriate changes.

This looks great. Thank you!

  • 3 years later...

I have tried to install this by adding the templates to my docker configuration but it does not work. Anybody managed to install this recently?

  • 2 months later...
On 9/5/2018 at 9:26 PM, Raidersan said:

I have tried to install this by adding the templates to my docker configuration but it does not work. Anybody managed to install this recently?

Hi Raidersan, I installed this tonight and it installed and ran without any issues (although I am getting some issues with large mounts as per previous posts).

I did have to use the second template URL in order to install it via template.

If a template isn't in CA, and the URL is listed on the forums here, there is usually only one of two reason

  1. The author / maintainer doesn't feel its ready for general consumption
  2. The app just doesn't work

In this case, its the second.  Try installing QdirStat instead.

Archived

This topic is now archived and is closed to further replies.

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.