diff --git a/BTCPayServer/Controllers/ServerController.Storage.cs b/BTCPayServer/Controllers/ServerController.Storage.cs index 5d8e04f67..28556089a 100644 --- a/BTCPayServer/Controllers/ServerController.Storage.cs +++ b/BTCPayServer/Controllers/ServerController.Storage.cs @@ -235,6 +235,12 @@ namespace BTCPayServer.Controllers fileProviderService.GetProviderConfiguration(data)); case FileSystemFileProviderService fileProviderService: + if (data.Provider != BTCPayServer.Storage.Models.StorageProvider.FileSystem) + { + _ = await SaveStorageProvider(new FileSystemStorageConfiguration(), + BTCPayServer.Storage.Models.StorageProvider.FileSystem); + } + return View(nameof(EditFileSystemStorageProvider), fileProviderService.GetProviderConfiguration(data)); } diff --git a/BTCPayServer/Views/Server/EditFilesystemStorageProvider.cshtml b/BTCPayServer/Views/Server/EditFilesystemStorageProvider.cshtml index a86d5beba..837da99da 100644 --- a/BTCPayServer/Views/Server/EditFilesystemStorageProvider.cshtml +++ b/BTCPayServer/Views/Server/EditFilesystemStorageProvider.cshtml @@ -3,20 +3,16 @@ ViewData.SetActivePageAndTitle(ServerNavPages.Services, $"Storage - Local Filesystem"); } - +
-

Nothing to configure here. Data will be saved in the btcpay data directory.

+

Any uploaded files are being saved on the same machine that hosts BTCPay; please pay attention to your storage space.