Version: 2.3.0.1 (2.3.0.1_stable_2026-04-24)
OS: Windows 11 24H2
Issue Description
Selecting log-file destination via Web UI file picker using “Home” node saves path containing %HOME% alias. Backend engine fails to expand %HOME%, treats path as relative, and prepends install directory. This causes backup failure due to invalid path access.
Steps to Reproduce
- Open Duplicati Web UI.
- Edit backup job → Advanced options.
- Add
log-fileoption. - Use file picker, navigate via “Home” node to destination (
IT\Windows\Programs). - Specify filename. Option saves as:
%HOME%\IT\Windows\Programs\Duplicati-Live_Log-Main_Backup_Job.log. - Run backup.
Actual Result
Operation fails. Backend prepends C:\Program Files\Duplicati 2\ to path.
Error output:
UnauthorizedAccessException: Access to the path 'C:\Program Files\Duplicati 2\%HOME%\IT\Windows\Programs' is denied.
Expected Result
Backend expands %HOME% to correct absolute path (C:\Users\PC), OR Web UI saves absolute path directly.
Error Log
2026-05-10 21:17:25 +02 - [Error-Duplicati.Library.Main.Controller-FailedOperation]: The operation Backup has failed
UnauthorizedAccessException: Access to the path 'C:\Program Files\Duplicati 2\%HOME%\IT\Windows\Programs' is denied.