Skip to main content

directory_not_display


sidebar_position: 3


TOS 5.1 / TOS 6.0 Multiple public / homes Directories Not Displaying Issue

Affected Versions

  • TOS 5.1.x
  • TOS 6.0.x

Symptom

When the system has multiple volumes each containing a public or homes directory, these directories cannot be displayed properly in the web interface, preventing direct operations from the user interface.

Cause Explanation

Due to the directory display mechanism limitation in TOS 5.1 / 6.0, the system only recognizes a single public or homes directory by default. When multiple volumes simultaneously contain such system directories, they are automatically hidden in Shared Folders and File Management, making them inaccessible for browsing and editing.

Solution 1: Rename Directories via Scheduled Task (Works on TOS 5.1 / 6.0)

Perform renaming through a system background task, then restore the display in Shared Folders. Follow these steps:

  1. Log in to the TOS web interface and open Control Panel.
  2. Scroll down to General Settings → Scheduled Tasks.
  3. Click Create → Custom Schedule and complete the basic settings (no additional options need to be checked).
  4. In the Custom Command Script field, enter the rename command. Example:
    mv /Volume3/public /Volume3/public_bak
    • Replace Volume3 with your actual volume name.
    • Replace public with public_bak.
  5. Save the task and click Run to execute the renaming immediately.
  6. Go back to Control Panel → Shared Folders.
  7. Click Advanced Settings in the upper right corner, select the volume you just operated on, and execute Restore Shared Folder.
  8. After the restoration is complete, go back to Shared Folders or File Management – you should now see the renamed directory.

Note: After renaming, the system no longer recognizes the directory as a "system-level public or homes" directory, so it can be displayed normally.

Solution 2: Operate via SSH Terminal (Works on TOS 5.1 / 6.0)

TOS 6.0: Use the built‑in terminal

  1. Go to Control Panel → Terminal Services, check Enable SSH, default port 9222.

  2. Go to Desktop → All Apps → Terminal to directly access the command line.

  3. Example common operations:

    # Navigate to the volume root directory
    cd /volume3
    # List files
    ls
    # Rename (same effect as Solution 1)
    mv /public /public_bak
  4. After completing the operation, restart the device. If the directory does not appear, you can also use the advanced shared folder restore function together.

TOS 5.1: No built‑in terminal; use an external SSH tool for remote connection

  1. Go to Control Panel → Network Services → Terminal & SNMP, enable SSH (port 9222).
  2. On your computer, connect using PuTTY / Xshell / FinalShell or similar tools. For detailed configuration, refer to the official documentation:

https://forum.terra-master.com/cn/viewtopic.php?t=1511

  1. After logging in, execute the same mv command as above, then restart your device.