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.

Hex Numbers instead of Names in Console directory listing

Featured Replies

Hi all,

Hard one to explain.

I've jumped into the unraid console to delete a .log file from a Docker container that is causing me issues.

When I navigate out to /var/lib/docker/volumes and hit LS to find the right name I get all names in Hex Numbers. Any solutions?

Screenshot from 2025-02-08 00-37-20.png

  • Community Expert

??? ...

 

docker logs are there container ID which is the

 /var/lib/docker/containers/<docker container ID>/ <docker container ID>-json.log

 

for example:
UNraid web UI

image.thumb.png.87f48b2a4aa36ca2c6495edcc6c52d74.png

 

My Clam AV container ID is:

Container ID: bc85211994ba

 

(If running) docker ps:

image.png.1f409d205496235c632c38e76bc20bdc.png

 

I run this script to kill all docker logs:

#!/bin/bash

# Define the directory where Docker container logs are stored
LOG_DIR="/var/lib/docker/containers"

# List and calculate the size of the log files in the container directory, filter out directories and sort by size
echo "Listing top 10 largest Docker log files:"
du -ah $LOG_DIR | grep -v "/$" | grep ".log" | sort -rh | head -10

# Automatically proceed with cleanup without prompt
echo "Proceeding with log file cleanup..."
du -ah $LOG_DIR | grep -v "/$" | grep ".log" | sort -rh | head -10 | while read -r size file; do
    echo "Truncating $file..."
    cat /dev/null > "$file"
done

echo "Log cleanup completed."

 

so my clam AV container is in:

bc85211994ba74edeb3bc5f03c411b1e37ed87db14e0feaef80cfdbf0b8266c5

(as the docker command and unraid web UI will not display the entire string!)

 

image.thumb.png.de93f49c19a40020c8f1f62a6285cca6.png

 

image.thumb.png.5fe1ee665bec173887881b6914fe179f.png

here the container ID - json.log is the log file that the unraid web UI that unraid reads from the docker tab...

That has been there since the original creation of unirad and how docekr manges stuff. even in the docker inspect commands it will use the container ID not the name...
Names are assigned and added later to make them Human readable.

You are looking at the "volumes" location and should be looking at the containers location...

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.