Table of Contents

openmediavault-filemanager plugin For OMV8




Summary

The openmediavault-filemanager plugin is a native file manager for openmediavault 8. It is built entirely on the openmediavault workbench (the regular web interface), so there is no Docker container, no separate application and no iframe. Files are browsed, edited and managed in the same tables and dialogs as the rest of openmediavault.

Features:


Support

Questions about the plugin should be posted in the omv-extras section of the openmediavault forum.

Bugs and feature requests can be reported on the GitHub issue tracker.


Prerequisites


Installation

The plugin is now available under Services | File Manager.


Settings

Services | File Manager | Settings

Setting Default Description
Enabled on Turns the file manager on or off.
Read-only off Only allow browsing, previewing and downloading. All actions that change files are refused.
Shared folders (none) The shared folders available in the file manager. Select none to make all shared folders available.
Show hidden files on Show files and folders whose name starts with a dot.
Editor size limit 2 Maximum size in MiB (1 - 64) of files that can be opened in the editor.
Use trash on Move deleted items to the .recycle folder of the shared folder instead of deleting them permanently.
Audit log on Log every change (who, what, where) to the system journal.
Allow access (non-administrative users) off Let users that log in to the web interface browse the shared folders according to their shared folder privileges. See Non-administrative users.

Click Save after changing settings. No Apply is needed.


Usage

Shared folders

Services | File Manager | Shared folders lists the shared folders available in the file manager, with their comment and your access (Read/Write or Read-only).

Browsing

The list view shows the type, name, size, modification time and permissions of every item. The Owner and Link target columns are hidden by default and can be shown with the column chooser of the table.

Symbolic links are shown with their target. Links that point to a missing target are shown as Broken link.

Toolbar actions

Select one or more items and use the toolbar buttons. Buttons that do not apply to the selection are disabled.

Action Description
Open Opens the selected folder.
Edit Opens the selected text file in the editor. See Editing files.
Preview Shows the selected image, PDF, audio, video or text file in a new browser tab. Other files are downloaded.
Download Downloads a single file as is. A folder or several selected items are downloaded as one ZIP archive.
Create Upload files, New folder or New file (empty) in the current folder.
Rename Renames the selected item.
Copy or move Copy to … or Move to … another folder, also in another shared folder. Existing items at the destination are skipped unless Overwrite existing items is checked. Leave Folder empty for the top level of the shared folder.
Archive Compress … the selected items to a ZIP or tar.gz archive, or Extract the selected archive.
Permissions Change permissions … (octal mode, e.g. 0775 or 0664) or Change owner … (owner and group), optionally recursive. Administrators only.
Properties Shows type, MIME type, size (recursive for folders), owner, mode and ACLs.
Checksum Calculates the MD5, SHA-1, SHA-256 or SHA-512 checksum of one or more files.
Search Searches the current folder and its subfolders.
Trash Restore the selected items from the trash, Open trash or Empty trash.
Delete Moves the selected items to the trash (or deletes them if the trash is disabled). Asks for confirmation.
Delete permanently Deletes the selected items without using the trash. This can not be undone.

Long running actions (copy, move, compress, extract, recursive permission/owner changes, checksums) run in a progress dialog that shows the output. Items that fail are listed at the end; the other items are still processed.

New files and folders

New files and folders (created, uploaded, copied, extracted) inherit the owner, group and mode of the folder they are created in instead of being owned by root. This keeps them accessible over SMB, NFS and other services the same way as the rest of the shared folder.

Editing files

Text files up to the Editor size limit can be edited in the code editor.

Uploading

Upload files opens an upload page in a new browser tab. Select or drop one or more files there.

Previewing

Previews open in a new browser tab. The type is chosen by the file extension:

Kind Extensions
Image png, jpg, jpeg, gif, webp, bmp, avif, ico
Video mp4, m4v, webm, ogv, mov
Audio mp3, ogg, oga, opus, wav, flac, m4a, aac
PDF pdf
Text txt, log, md, csv, json, yaml, xml, ini, conf, sh, py, …

Whether a video or audio file actually plays depends on the codecs the browser supports. All other files are downloaded.

Archives

Compress creates a ZIP or gzipped tar archive (.tar.gz) of the selected items in the current folder. All selected items must be in the same folder. Symbolic links are stored as links in tar archives.

Extract supports these formats:

The archive is always extracted into a new folder next to it, named after the archive. If that name is taken, a number is appended, e.g. photos (1). Existing files are never overwritten.

The search finds files and folders whose name contains the search text, case-insensitive. The wildcards * (any characters) and ? (one character) are supported, e.g. *.mkv or IMG_20??. At most 1000 results are shown. Search from the list of shared folders to search a whole shared folder, or from a folder to search only that folder and its subfolders.


Trash

When Use trash is enabled, deleted items are moved to .recycle/<user>/<original path> inside the shared folder. This is the same layout the Samba recycle bin uses (.recycle/%U with keeptree), so items deleted with the file manager and items deleted over SMB with the recycle bin enabled end up in the same place.

The trash is not emptied automatically. Empty it regularly or delete old items from it, otherwise it keeps using space on the drive.


Non-administrative users

When Allow access is enabled, users that are allowed to log in to the openmediavault web interface get a File Manager entry in their navigation.

Note that a user must be able to log in to the web interface for this to work. See the openmediavault documentation on users and the web interface for details.


Audit log

When Audit log is enabled, every change (create, upload, rename, copy, move, delete, restore, edit, permission and owner change, compress, extract, empty trash, settings change) as well as downloads and previews are written to the system journal with the user, the action and the affected path.

The log can be viewed under Diagnostics | System Logs, by selecting File Manager from the log type dropdown.


Troubleshooting


Uninstall

Removing the plugin does not touch any files in the shared folders. The .recycle folders stay in place and can be deleted manually or over SMB if they are not needed anymore.