TechnitiumSoftware / DnsServer

Technitium DNS Server
https://technitium.com/dns/
GNU General Public License v3.0
3.86k stars 403 forks source link

Backups no longer works #700

Closed ChristoffBo closed 10 months ago

ChristoffBo commented 10 months ago

Hi i have 3 instances running 2x that does the blocking and my dhcp servers which connects to my 3rd instance which is my root server that connects through a vpn for some extra privacy. All three wont backup after the last update.

The first two are dockers running on Unraid and Homeassistant, the root server is installed on a raspberry pi 4 that only runs technitium.

Below is the error:

{"status":"error","errorMessage":"Value cannot be null. (Parameter \u0027path2\u0027)","stackTrace":" at System.ArgumentNullException.Throw(String paramName)\n at System.IO.Path.Combine(String path1, String path2)\n at DnsServerCore.DnsWebService.ConvertToAbsolutePath(String path) in Z:\Technitium\Projects\DnsServer\DnsServerCore\DnsWebService.cs:line 196\n at DnsServerCore.WebServiceSettingsApi.BackupSettingsAsync(HttpContext context) in Z:\Technitium\Projects\DnsServer\DnsServerCore\WebServiceSettingsApi.cs:line 1496\n at Microsoft.AspNetCore.Routing.EndpointMiddleware.\u003CInvoke\u003Eg__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)\n at DnsServerCore.DnsWebService.WebServiceApiMiddleware(HttpContext context, RequestDelegate next) in Z:\Technitium\Projects\DnsServer\DnsServerCore\DnsWebService.cs:line 581\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.\u003CInvoke\u003Eg__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)"}

ShreyasZare commented 10 months ago

Thanks for reporting this issue. Will get that fixed soon.

ShreyasZare commented 10 months ago

Technitium DNS Server v11.4.1 has been released that fixes this issue. Do update and let me know your feedback.

ChristoffBo commented 10 months ago

Works perfectly. Thank you sir.

On Sun, 13 Aug 2023, 15:45 Shreyas Zare, @.***> wrote:

Technitium DNS Server v11.4.1 has been released that fixes this issue. Do update and let me know your feedback.

— Reply to this email directly, view it on GitHub https://github.com/TechnitiumSoftware/DnsServer/issues/700#issuecomment-1676364999, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOD37K5I6H7IKJIILKV5XEDXVDLBLANCNFSM6AAAAAA3ONILU4 . You are receiving this because you authored the thread.Message ID: @.***>

ShreyasZare commented 10 months ago

Works perfectly. Thank you sir.

Thanks for the feedback.