Kenneth Skovhede and GitHub
0adf2d5d68
Merge pull request #6944 from duplicati/feature/fix-locking-on-windows
...
Fix remote file locking on Windows
2026-06-03 17:42:17 +02:00
Kenneth Skovhede and GitHub
0d0b90767d
Merge pull request #6938 from realtek2017/smb-file-as-folder-issue
...
Fix SMB source listing misclassifying directories as files
2026-06-03 17:31:55 +02:00
Kenneth Skovhede
56d5bd51e4
Switched from bit manipulation for directory flags to using the HasFlag method for easier readability.
2026-06-03 14:38:49 +02:00
Kenneth Skovhede
bc968cbaf0
Fix remote file locking on Windows
...
This fixes a locked database issue on Windows.
The issue was caused by the backup process having an open database, and then not passing that connection to the lock handler.
The lock handler would then attempt to open a new connection to the same database, which would fail.
This PR fixes the issue by passing an instance of the database to the lock handler.
Also addressed a logic issue where the dbpath was checked, even if an existing database connection was found.
Also fixed the lock results not setting the EndTime property, causing the reported lelapsed time to be off.
2026-06-03 12:45:57 +02:00
Kenneth Skovhede and GitHub
ec38a2fe54
Merge pull request #6934 from duplicati/feature/improve-msi-service
...
Improve MSI installer package for Service
2026-06-03 10:38:53 +02:00
Kenneth Skovhede
d6304165e0
Undo change to launch.json
2026-06-02 15:30:40 +02:00
Kenneth Skovhede
9c51e96acc
More defensive timeout for cold/busy/old machines to complete the configuration.
2026-06-02 15:21:57 +02:00
Kenneth Skovhede
5e5596a7cc
Avoid re-gen certs on upgrade
2026-06-02 15:13:16 +02:00
Kenneth Skovhede
0627cd5fd3
More polsih on edge configuration cases and uninstall cleanup
2026-06-02 14:42:42 +02:00
Kenneth Skovhede
29413ef15d
Handle edge cases when changing configuration either on existing install or on a product upgrade.
2026-06-02 13:12:29 +02:00
Kenneth Skovhede
4d86641e42
Improved registry key cleanup, and fixed an issue with removing certs on uninstall
2026-06-01 21:16:23 +02:00
Kenneth Skovhede
b264e52a7a
Fixed running server in-process from the WindowsService. This fixes the MSI not cleanly restarting a running service.
2026-06-01 16:45:00 +02:00
Kenneth Skovhede and GitHub
691a882f53
Merge pull request #6936 from duplicati/feature/simplify-console-handling
...
Simplify console handling
2026-06-01 15:05:51 +02:00
Kenneth Skovhede and GitHub
a7c7f2fa2c
Merge pull request #6935 from duplicati/feature/cleanup-registration-state
...
Cleanup after registering
2026-06-01 15:05:26 +02:00
Kenneth Skovhede
36716949d0
Switched to using ServiceManager instead of custom scripting
2026-06-01 11:20:20 +02:00
Kenneth Skovhede
8dc8150220
Improved installer self-cleanup
2026-06-01 09:41:37 +02:00
Kenneth Skovhede
13f9800aee
Improved upgrade flow with a service
2026-06-01 09:30:16 +02:00
Kenneth Skovhede
025f25711e
Moved more logic from the MSI into WindowsService so we can manage it from C# code, which simplifies the logic in the MSI but adds a bit more scripting dependence.
...
The logic is now that there is a `Service` registry key that is locked down and used to communicate with the service. The service will refuse to use the key if it does not have the correct permissions.
Another key, `InstallState` is user readable and is used to keep track of what is installed with the MSI, and also communicates back if the initial password was applied.
2026-05-31 10:26:40 +02:00
Kenneth Skovhede
1f7b30a673
Migrated away from .idt tables in favor of a single .sql file that updates the MSI post-creation.
...
Added support for installing a `preload.json` file by setting the MSI option `INSTALL_PRELOAD=true` and then placing a `preload.json` file in the same folder as where the MSI is located.
2026-05-29 14:22:26 +02:00
Kenneth Skovhede
5fdcc644d7
Fix missing semicolon
2026-05-29 13:42:09 +02:00
Kenneth Skovhede
6bea04e2a5
Fixed logic to avoid resetting the password when re-installing the service.
2026-05-29 12:38:13 +02:00
Nick Rawlins
6967a869e5
Fix SMB source listing misclassifying directories as files
2026-05-28 23:30:37 +01:00
Kenneth Skovhede
a0e672f2cf
Added support for configuring TLS certificates as part of the install
2026-05-28 22:57:25 +02:00
Kenneth Skovhede
29f3139e4a
Added mst to support install with preload.json
2026-05-28 15:25:14 +02:00
Kenneth Skovhede
024bd1e162
Fixed password message showing when not using a service
2026-05-28 15:20:30 +02:00
Kenneth Skovhede
7f6b212df9
Simplify console handling
...
This PR changes so the ReleaseBuilder uses the regular secret reading code instead of a replicated version.
The TrayIcon's attachment code now explicitly maps up the streams if possible.
2026-05-28 13:55:50 +02:00
Kenneth Skovhede
ae32ea1241
Cleanup after registering
...
If the user connects to the console, and then disconnects without restarting Duplicati, the UI state would look like it was still registering.
This PR fixes it by clearing the stale data after the registration completes or fails, so the UI does not show an incorrect state.
2026-05-28 13:54:11 +02:00
Kenneth Skovhede
35a3bc1510
Added option to reset password from WindowsService
2026-05-28 13:51:38 +02:00
Kenneth Skovhede
5e35a965c4
Added support for setting a random password on install and storing this in the users credentials manager, such that regular user-installs will work with a service and desktop console.
2026-05-28 11:02:14 +02:00
Kenneth Skovhede and GitHub
ae2af5a7b1
Merge pull request #6933 from duplicati/feature/remove-explicit-defaults
...
Remove explicit defaults
2026-05-27 16:53:19 +02:00
Kenneth Skovhede and GitHub
1b62469cd8
Merge pull request #6932 from duplicati/feature/harden-msi-installer
...
Harden MSI installer
2026-05-27 16:53:03 +02:00
Kenneth Skovhede
e102e8cacd
Added a custom UI for choosing installation options, so we no longer rely on the dated WixUI_FeatureTree.
...
Also fixed a bug with the shortcuts not being properly updated in service mode
2026-05-27 16:40:37 +02:00
Kenneth Skovhede
703e13909e
Install as service on Windows
...
This adds the option to install Duplicati as a Windows service from within the MSI package.
This fixes #1738
This fixes #2384
2026-05-27 16:38:36 +02:00
Kenneth Skovhede
765235b009
Harden MSI installer
...
This PR adds explicit permissions to the installation folder, so even when installed to an insecure location, the folder cannot be modified.
2026-05-27 10:00:30 +02:00
Kenneth Skovhede
d88ef81a8d
Remove explicit defaults
...
This modifies the `newbackup.json` embedded file that specifies how to configure a new backup to no longer set the compression module or the dblock-size.
These options have a default value already defined, so there is no need to store the settings in the database.
2026-05-26 15:24:18 +02:00
Kenneth Skovhede and GitHub
d328be82ab
Merge pull request #6930 from duplicati/release/canary-2.3.0.103
...
Version bump to v2.3.0.103-2.3.0.103_canary_2026-05-22
2026-05-22 19:10:25 +02:00
Kenneth Skovhede
c39aba97a4
Version bump to v2.3.0.103-2.3.0.103_canary_2026-05-22
...
You can download this build from:
Binaries: https://updates.duplicati.com/canary/?version=2.3.0.103
Signature file: https://updates.duplicati.com/canary/duplicati-2.3.0.103_canary_2026-05-22.signatures.zip
v2.3.0.103_canary_2026-05-22
v2.3.0.103-2.3.0.103_canary_2026-05-22
2026-05-22 14:49:15 +02:00
Kenneth Skovhede and GitHub
d0ddf1716c
Merge pull request #6821 from redmars27/movistarCloud
...
Movistar cloud
2026-05-22 11:01:49 +02:00
Kenneth Skovhede and GitHub
96acfb1d75
Merge pull request #6929 from duplicati/feature/bump-ngclient-223
...
Update ngclient to 0.0.223
2026-05-22 08:09:37 +02:00
Kenneth Skovhede
3986366f7a
Update ngclient to 0.0.223
2026-05-22 08:07:43 +02:00
Kenneth Skovhede and GitHub
0d53a0f2a0
Merge pull request #6928 from duplicati/feature/update-duplicati-backend
...
Update Duplicati-backend
2026-05-21 13:56:29 +02:00
Kenneth Skovhede
c3ad6fb697
Fixed timeout logic to guard all Http calls
2026-05-21 12:48:42 +02:00
Kenneth Skovhede
703a86cb09
Mark module as untested
2026-05-21 11:13:08 +02:00
Kenneth Skovhede and GitHub
a60bb1757d
Merge branch 'master' into movistarCloud
2026-05-21 11:11:44 +02:00
Kenneth Skovhede and GitHub
63d0a44d71
Merge pull request #6921 from duplicati/feature/add-ipc-for-controller
...
Added IPC for operations
2026-05-21 11:10:44 +02:00
Kenneth Skovhede and GitHub
3166223508
Merge pull request #6927 from duplicati/feature/fix-timeout-onedrive
...
Fix OneDrive timeout
2026-05-21 11:10:07 +02:00
Kenneth Skovhede
e896548656
Update Duplicati-backend
...
Updated the Duplicati backend to support direct backups where the storage server returns keys to an AWS compatible storage and lets the client communicate directly with the storage.
The gateway mode is stil supported.
2026-05-21 11:09:50 +02:00
Kenneth Skovhede
4bad50eda6
Updated to a more maintainable setup, inplementing the interface more directly.
...
Added a test for IPC callbacks.
2026-05-20 18:17:10 +02:00
Kenneth Skovhede
09106aa977
Fix OneDrive timeout
...
This removes a built-in HTTP timeout of 100s that is applied to all requests.
Since Duplicati sometimes need more than 100s to transfer a file, this could cause problems.
Duplicati already handles timeouts, but this timeout was happening regardless of Duplicati's other timeouts.
2026-05-20 15:27:33 +02:00
Kenneth Skovhede and GitHub
5e8479d574
Merge pull request #6923 from duplicati/feature/improve-snapshot-error-message
...
Improved error message on snapshot failure
2026-05-19 08:42:26 +02:00