Self-Hosted: Grabbing container logs

One benefit of self-hosting your Hudu environment is that you maintain complete control over all of your data. This, however, means that when you are encountering issues with your self-hosted environment, we'll require your container logs to assist.

If something isn’t working in your self-hosted environment, please share your container logs here  and include details about the issue, as well as any recent changes or updates you’ve made.

Grabbing Logs

You can grab your environment's container logs by running:

cd ~/hudu2 && sudo docker compose logs > logs.txt

This creates a file named logs.txt on the server. Be sure to give each log file a unique name so you can easily tell which one is the most recent.

Use WinSCP or Cyberduck to download the file

WinSCP (Windows):

  1. Open WinSCP

  2. Connect to the server using the same credentials you use for SSH

  3. Navigate to the folder where logs.txt was created

  4. Drag the file from the server pane to your local machine

Cyberduck (Mac/Windows):

  1. Open Cyberduck

  2. Choose Open Connection → select SFTP (SSH File Transfer Protocol)

  3. Enter your server’s host, username, and password/key

  4. Navigate to the directory containing logs.txt

  5. Right-click → Download, or drag it to your desktop

Was this article helpful?
0 out of 0 found this helpful