Skip to content

Generate a sanitized log for support

How-toDeployrr v6.0+CurrentLogsSupport

When you ask for help, people need to see your logs. This page shows you how to make one log file that Deployrr cleans up for you, and how to check it before you share it.

  • Finish Prerequisites first. Without your username and Domain 1, Deployrr can’t replace them, or your public IP, in the log.
  • Your server has internet access. Deployrr looks up your public IP online. If the first lookup service shows a Cloudflare challenge, you see “Trying alternate method” and it tries a second one.
  • You have run Deployrr at least once, so there are logs to collect.
  1. Start Deployrr from the folder where you want the log saved.

    Deployrr saves the log in the folder you are in when you run deployrr.

  2. From the main menu, select Settings.

  3. Select Logs (“Generate Sanitized Deployrr Log”). The screen is titled Sanitized Log for Troubleshooting.

  4. Read the warnings in step 1/4, then press Y to continue. Any other key takes you back.

  5. Wait for the screen to finish. It collects Deployrr’s own log and, if you have one, the Traefik log. Both go into one file.

  6. Note the path after Location:. The screen ends with “Sanitized log ready for sharing”.

Each run makes a new file named deployrr-log-sanitized-YYYYMMDD_HHMMSS.log.

To see where this option sits in the menu, watch Deployrr 5 walkthrough: Generate a sanitized log in Settings at 15:04. It shows Deployrr v5, so menus and steps differ in v6.

The screen can end with “Sanitized log ready for sharing” even when a step in 3/4 failed. Treat any [ERROR] line as a step that did not run:

  • If the path after Location: does not exist, there were no logs to collect yet. Reproduce your problem, then run Logs again.
  • If the file exists, check it by hand as shown below. Something was not replaced.
In the log Becomes
Domain 1 example.com
Your Linux username USERNAME
Your public IP, when it matches the IP Domain 1 points to XXX.XXX.XXX.XXX
Your public IP, when it differs (for example Cloudflare proxy is on) CIP.CIP.CIP.CIP
The IP Domain 1 points to, when it differs from your public IP RIP.RIP.RIP.RIP

Only IPv4 addresses are replaced. IPv6 addresses stay as they are.

Every match is replaced, even inside other words. For example, other words that contain your username change too. This is cosmetic.

If Domain 1 is not set (Local mode) or does not resolve, Deployrr does not replace your public IP. Step 3/4 then shows “Replacing resolved IP address (EMPTY → EMPTY.EMPTY.EMPTY.EMPTY)” followed by an [ERROR] line. Open the file and remove your public IP by hand.

The file is owned by root. To edit or delete it, use sudo. If you can’t open it as your normal user, use sudo for that too.

  1. Find your public IP and your server’s hostname:

    Terminal window
    curl -4 ifconfig.me
    hostname
  2. Search the log for your private details. Replace YOUR_LOG_FILE with the path you noted. Replace YOUR_DOMAIN, YOUR_PUBLIC_IP and YOUR_HOSTNAME with your own values. The @ finds email addresses.

    Terminal window
    grep -n -i -E "YOUR_DOMAIN|YOUR_PUBLIC_IP|YOUR_HOSTNAME|@" YOUR_LOG_FILE
  3. Search for other secrets:

    Terminal window
    grep -n -i -E "token|password|secret|api[_-]?key" YOUR_LOG_FILE
  4. Check for your public IPv6 address. Deployrr doesn’t replace IPv6 addresses. This prints your public IPv6, or an error if your server has none:

    Terminal window
    curl -6 ifconfig.me

    If it prints an address, search the log for its first three groups (the parts between the colons), for example 2001:db8:1234:

    Terminal window
    grep -n -i "YOUR_IPV6_START" YOUR_LOG_FILE
  5. Also look for Domain 2 and any other domain you use.

  6. If you find anything private, open the file and edit it:

    Terminal window
    sudo nano YOUR_LOG_FILE

    To search inside nano, press Ctrl+W. To save and exit, press Ctrl+X, then Y, then Enter.

  7. Search again until nothing private is left.

  1. Attach the file to your message on Discord. Do not paste it as text. See Get help on Discord.

  2. When you are done, delete the file if you want:

    Terminal window
    sudo rm YOUR_LOG_FILE
  • The screen showed “Sanitized log ready for sharing”.
  • The file exists at the path after Location:.
  • Your domain shows as example.com and your username as USERNAME.
  • Searching for your public IP, your hostname and the start of your IPv6 address finds nothing.