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.

[Support] bobbintb - rmlint

Featured Replies

Support thread for rmlint Docker container


logo.png

 

rmlint finds space waste and other broken things on your filesystem and offers to remove it.

Features:

Finds…

  • …Duplicate Files and duplicate directories.
  • …Nonstripped binaries (i.e. binaries with debug symbols)
  • …Broken symbolic links.
  • …Empty files and directories.
  • …Files with broken user or/and group ID.

 

Differences to other duplicate finders:

  • Extremely fast (no exaggeration, we promise!)
  • Paranoia mode for those who do not trust hashsums.
  • Many output formats.
  • No interactivity.
  • Search for files only newer than a certain mtime.
  • Many ways to handle duplicates.
  • Caching and replaying.
  • btrfs support.

 

It's worth noting this Docker compiles rmlint from source. As such, it should always be the latest version of rmlint. The base image used for this Docker is based on Ubuntu and their repo has rmlint but it is several years old. The base image is linuxserver/docker-baseimage-guacgui which uses Guacamole to provide a webUI. By default the webui has no username and password set.

 

Application Name: rmlint

Application Site: https://rmlint.readthedocs.io/

Docker Hub: https://hub.docker.com/r/bobbintb/docker-rmlint-unraid

Github: https://github.com/sahib/rmlint

Post any questions or issues relating to this docker in this thread.

Edited by bobbintb

  • bobbintb changed the title to [Support] bobbintb - rmlint
  • 1 month later...

I've tried getting this to run, and after downloading/installing the image, I am stuck.

 

When I start the container, the log gets filled with a TON of "Exec Format Errors". It looks like they're just looping after that.

 

These are the first few lines of the log, in case that's helpful. I can provide the rest of the log as well if it would help..

 

2021-04-11T11:34:39.048094872Z foreground: warning: unable to spawn /docker-mods: Exec format error
2021-04-11T11:34:39.078252944Z [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
2021-04-11T11:34:39.145482632Z [s6-init] ensuring user provided files have correct perms...exited 0.
2021-04-11T11:34:39.148697163Z [fix-attrs.d] applying ownership & permissions fixes...
2021-04-11T11:34:39.150926422Z [fix-attrs.d] done.
2021-04-11T11:34:39.152785844Z [cont-init.d] executing container initialization scripts...
2021-04-11T11:34:39.155464041Z [cont-init.d] 01-envfile: executing... 
2021-04-11T11:34:39.157618520Z foreground: warning: unable to spawn /var/run/s6/etc/cont-init.d/01-envfile: Exec format error

 

I googled a little, and maybe this is a problem with the shell command? I dunno.... I know just enough about linux to be a danger to myself :)

  • Author

I'm not sure. I just did a fresh pull and can't recreate the issue. Can you post your template settings and the shell command it is using?

I'm not sure I'm doing this correctly, but I grabbed the XML. I don't think there's anything sensitive in there, the only change I made was to the path.

 

Here's the command that runs (successfully as far as I can tell):

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker create --name='rmlint' --net='bridge' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e 'GUAC_USER'='' -e 'GUAC_PASS'='' -e 'PUID'='99' -e 'PGID'='100' -p '8322:8080/tcp' -v '/mnt/user/Photos/':'/root':'rw' -v '/mnt/user/appdata/rmlint':'/config':'rw' 'bobbintb/docker-rmlint-unraid'

d86f95afa658ec3ac59acf94325c058d73b9afe1a140f01a0991049069b4e849

The command finished successfully!

 

---

I really hope none of this data is sensitive. I think it's not :) Thanks for checking this out, I appreciate it. There's a chance it's a system issue. I dunno.

rmlint.xml

  • Author

No, nothing should be sensitive. The command looks ok. Did you get the XML file from the flash drive? Are you using the webUI to edit the template or editing the XML directly?

 

Anyway, it looks like you manually edited the XML and I believe that's the issue. Manually editing it in Windows with a text editor will change the line ending and it can cause issues.

Edited by bobbintb

Regarding the formatting, I wasn't sure how to grab the XML you asked for, (normally the Flash share is disabled) so I used the "Tools --> Config File Editor" to grab it from the flash drive, then pasted it into Notepad++ on windows. That explains the formatting.

 

But you made me wonder about the xml, so I deleted the docker and that, and started over - everything works.

 

Anyway, I have no idea what happened, or why the first time I removed/readded it, it didn't fix it. Sorry for taking your time but I do appreciate the help.

 

/Chunks

  • Author

No problem. I'm glad it's working.

  • 1 year later...

I know it's been a while since this was made available, so I'm not certain this project is still active, but I'm watching the container log at the first run attempt and saw this interesting entry that gave me pause...

(shredder:435): dconf-WARNING **: 14:38:58.020: failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such file or directory)

 

This appears only after I modify and change settings in the search parameters / what to do with duplicates screen and click "apply". They don't look like they're saved, the log implies they aren't, and it looks like the choices I made don't end up being passed to rmlint in the way I'd hoped. I tried to search only files >1MB, but that gets reset when you navigate away from the page. I wanted to use hardlinks to recreate the previously hardlinked structure that was disrupted when I copied to a new disk with rsync. The hardlink option in the gui appears to still be selected, but that handler value, like the filesize filter, is not recorded and passed along as expected.

 

 

In the end, instead of hardlinking my duplicates as I was expecting, it just removed them. I ran it on a relatively small directory for testing so the impact was really negligible, but for anything more substantial.

 

Despite Hardlink being chosen, -c sh:handler=remove is set instead of -c sh:handler=hardlink.


I've included a copy of the command that was ultimately run when turning off the dryrun toggle.
 

image.thumb.png.5b295ea72c0d3f70712f3d89c77c9be4.png

 

 

 

image.thumb.png.aadb8d8bf31f57a590b4b2b24a3fffd8.png

 

 

 

  • 2 months later...
  • Author

Sorry, I just noticed this. Try 

apt-get install dbus-x11

I'll have to update the docker because I guess they discontinued automatic builds.

Edited by bobbintb

  • 9 months later...

Hi - I'm encountering the same thing as Updog. Any changes that I make in the "Settings" menu don't end up reflected in the actual command that gets generated

 

```

# Your command line was: rmlint --no-with-color -T duplicates --see-symlinks --partial-hidden -c sh:handler=remove --hardlinked --crossdev --algorithm blake2b --size 1-18446744073709551615 --max-depth 512 --replay /tmp/shredder-ljo8vu68/shredder.replay.json -o sh:/tmp/shredder-ljo8vu68/shredder.sh -o csv:/tmp/shredder-ljo8vu68/shredder.csv -o json:/tmp/shredder-ljo8vu68/shredder.json /root/Testing

```

 

image.thumb.png.33f19040562da6dc599db76f9d198d9c.png

 

I tried running the command that you posted, `apt-get install dbus-x11`, however  it fails with `unable to locate package dbuss-x11`.

 

Is there a fix for this? Thanks.

  • Author
On 7/21/2023 at 9:29 PM, MrTyton said:

Hi - I'm encountering the same thing as Updog. Any changes that I make in the "Settings" menu don't end up reflected in the actual command that gets generated

 

```

# Your command line was: rmlint --no-with-color -T duplicates --see-symlinks --partial-hidden -c sh:handler=remove --hardlinked --crossdev --algorithm blake2b --size 1-18446744073709551615 --max-depth 512 --replay /tmp/shredder-ljo8vu68/shredder.replay.json -o sh:/tmp/shredder-ljo8vu68/shredder.sh -o csv:/tmp/shredder-ljo8vu68/shredder.csv -o json:/tmp/shredder-ljo8vu68/shredder.json /root/Testing

```

 

image.thumb.png.33f19040562da6dc599db76f9d198d9c.png

 

I tried running the command that you posted, `apt-get install dbus-x11`, however  it fails with `unable to locate package dbuss-x11`.

 

Is there a fix for this? Thanks.


You have to run `apt-get update` first before you run `apt-get install dbus-x11`. That will update the list of what packages are available to install, which is why it can't find it. Sorry, it's kind of habitual and standard practice to do that first so I don't always remember to explicitly say that.

Edited by bobbintb

  • 2 years later...

I'm unable to connect to the container. This is what I see on the logs

xsettingsd: Loaded 1 setting from /config/.xsettingsd

xsettingsd: Unable to open connection to X server

_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

screen 0 shmid 0

The XKEYBOARD keymap compiler (xkbcomp) reports:

> Warning: Could not resolve keysym XF86CameraAccessEnable

> Warning: Could not resolve keysym XF86CameraAccessDisable

> Warning: Could not resolve keysym XF86CameraAccessToggle

> Warning: Could not resolve keysym XF86NextElement

> Warning: Could not resolve keysym XF86PreviousElement

> Warning: Could not resolve keysym XF86AutopilotEngageToggle

> Warning: Could not resolve keysym XF86MarkWaypoint

> Warning: Could not resolve keysym XF86Sos

> Warning: Could not resolve keysym XF86NavChart

> Warning: Could not resolve keysym XF86FishingChart

> Warning: Could not resolve keysym XF86SingleRangeRadar

> Warning: Could not resolve keysym XF86DualRangeRadar

> Warning: Could not resolve keysym XF86RadarOverlay

> Warning: Could not resolve keysym XF86TraditionalSonar

> Warning: Could not resolve keysym XF86ClearvuSonar

> Warning: Could not resolve keysym XF86SidevuSonar

> Warning: Could not resolve keysym XF86NavInfo

Errors from xkbcomp are not fatal to the X server

xsettingsd: Loaded 1 setting from /config/.xsettingsd

xsettingsd: Created window 0xa00001 on screen 0 with timestamp 297071396

xsettingsd: Selection XSETTINGSS0 is owned by 0x0

xsettingsd: Took ownership of selection XSETTINGSS0

dbus-daemon[261]: [system] Activating service name='org.freedesktop.hostname1' requested by ':1.0' (uid=911 pid=380 comm="python3 /tmp/.shredder-bootstrap.py.XEKJB3") (using servicehelper)

dbus-daemon[261]: [system] Activated service 'org.freedesktop.hostname1' failed: Failed to execute program org.freedesktop.hostname1: Permission denied

[migrations] started

[migrations] no migrations found

usermod: no changes

Edited by UnraidFlow

  • Author
7 hours ago, UnraidFlow said:

I'm unable to connect to the container. This is what I see on the logs

There was an issue with the latest container. It should be resolved now. You may have to pull the latest template as well.

17 hours ago, bobbintb said:

There was an issue with the latest container. It should be resolved now. You may have to pull the latest template as well.

Pulling the template worked. I noticed I had to change the screen settings within the app to adjust the screen size. I didn't have to do this before.

FYI for anyone else looking where the templates are saved, you can use kursader, and you will find them under: FLASH > config > plugins > dockerMan > templates-user

Edited by UnraidFlow

  • Author
3 hours ago, UnraidFlow said:

Pulling the template worked. I noticed I had to change the screen settings within the app to adjust the screen size. I didn't have to do this before.

FYI for anyone else looking where the templates are saved, you can use kursader, and you will find them under: FLASH > config > plugins > dockerMan > templates-user

Yes, the base image that was first used has been deprecated so I had to use a new one that works completely differently. That's also why the screen sized changed. I don't like this base image though. It's huge and has a lot of other stuff included that it doesn't need. But it will do for now.

You can also remove the docker and redownload it from Community Applications to get the new template. If you do the reinstall from previous apps option it will still use the old template.

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.