Nothing direct from me, but maybe ideas on troubleshooting. For example, is there a server log that says whether anything came in? netstat usually shows some lingering addresses after a connection as well. Crude way on a Linux or similar remote would ls -lu --full-time on the index.php file for file access.
looks kind of like Duplicati logging at verbose level (e.g. About → Show log → Live → Verbose) might log. Testing that theory could be done in a working config such as your original, then use JSON and compare.
Is there any long output being inserted, or just the brief statistics? There are some length limits around…
Did you manage to get it working in Json format?
I have tried a thousand ways in the index.php and it supports the duplicati format, but not Json. Even configuring it at a general level I get the same result, it does not create the .json file
Thank you!!
I haven’t done any testing but it looks like the problem could be at line 204 in the code page @ts678 linked to. Unless ‘body’ is already Json I don’t see how it would work, now it is <9AM on a Sunday so I could easily be missing something but that’s where I’d start looking.
if (ExportFormat == ResultExportFormat.Json)
{
contenttype = "application/json";
data = Encoding.UTF8.GetBytes(body);
}
else
{
contenttype = "application/x-www-form-urlencoded";
var postData = $"{m_messageParameterName}={System.Uri.EscapeDataString(body)}";
if (!string.IsNullOrEmpty(m_extraParameters))
{
postData += $"&{System.Uri.EscapeUriString(m_extraParameters)}";
}
data = Encoding.UTF8.GetBytes(postData);
}
Duplicati is an open source project so anyone can get the source code and modify it.
First get a GitHub account, clone the Duplicati repository (this is the source code), open the source code in Visual Studio, learn C#, change the code, test the code, publish a pull request for the issue that you’ve resolved and if the change is accepted it will likely show up in the next release of Duplicati.
Although I have downloaded it I have taken a look at it and I am not at all familiar with its development environment. With what unfortunately I consider that what it tells me I will not be able to do it. Unfortunately.
I would be trying to do something outside the scope of my possibilities and my knowledge.
Thank you!