From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <f.ebner@proxmox.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by lists.proxmox.com (Postfix) with ESMTPS id C247F68EC2
 for <pve-user@lists.proxmox.com>; Fri, 15 Jan 2021 13:05:30 +0100 (CET)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id B80AB245C4
 for <pve-user@lists.proxmox.com>; Fri, 15 Jan 2021 13:05:30 +0100 (CET)
Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com
 [212.186.127.180])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by firstgate.proxmox.com (Proxmox) with ESMTPS id E90A5245B6
 for <pve-user@lists.proxmox.com>; Fri, 15 Jan 2021 13:05:28 +0100 (CET)
Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1])
 by proxmox-new.maurer-it.com (Proxmox) with ESMTP id AD3E144993;
 Fri, 15 Jan 2021 13:05:28 +0100 (CET)
To: pve-user@lists.proxmox.com, mariusz@modulesgarden.com
References: <mailman.507.1610638097.344.pve-user@lists.proxmox.com>
From: Fabian Ebner <f.ebner@proxmox.com>
Message-ID: <7adad43c-3f8a-62d5-9b84-fae6ea1d57b3@proxmox.com>
Date: Fri, 15 Jan 2021 13:10:21 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.6.0
MIME-Version: 1.0
In-Reply-To: <mailman.507.1610638097.344.pve-user@lists.proxmox.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-SPAM-LEVEL: Spam detection results:  0
 AWL -0.141 Adjusted score from AWL reputation of From: address
 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment
 KAM_NUMSUBJECT 0.5 Subject ends in numbers excluding current years
 NICE_REPLY_A           -0.237 Looks like a legit reply (A)
 NUMERIC_HTTP_ADDR       0.001 Uses a numeric IP address in URL
 RCVD_IN_DNSWL_MED        -2.3 Sender listed at https://www.dnswl.org/,
 medium trust
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more
 information. [proxmox.com, modulesgarden.com]
 WEIRD_PORT              0.001 Uses non-standard port number for HTTP
Subject: Re: [PVE-User] Cannot update backup job via API - PVE 6.3.3
X-BeenThere: pve-user@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE user list <pve-user.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-user/>
List-Post: <mailto:pve-user@lists.proxmox.com>
List-Help: <mailto:pve-user-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=subscribe>
X-List-Received-Date: Fri, 15 Jan 2021 12:05:30 -0000

Hi,
thanks for the report! I can reproduce this here and will work out a patch.

On 14.01.21 15:25, Mariusz Miodowski via pve-user wrote:
> 
> Hello All,
> 
> We have noticed problem with latest PVE, when trying to update backup job via API.
> 
> It looks that problem is caused by maxfiles parameter. If we omit it, everything works fine.
> 
> This problem is not only related to our environment,  we have already got reports from our clients that they also have the same problem.
> 
> 
> 
> *Request*:
> PUT https://10.10.11.48:8006/api2/json/cluster/backup/3cb1bee67a58e68ea97db1292a23a22a9ea8d529:1
> Array
> (
>     [vmid] => 8001
>     [starttime] => 00:10
>     [maxfiles] => 10
>     [storage] => local
>     [remove] => 1
>     [dow] => tue,wed,sat
>     [mode] => snapshot
>     [compress] => zstd
> )
> 
> 
> *Response*:
> HTTP 500 HTTP/1.1 500 error during cfs-locked 'file-vzdump_cron' operation: value without key, but schema does not define a default key
> Cache-Control: max-age=0
> Connection: close
> Date: Thu, 14 Jan 2021 14:12:37 GMT
> Pragma: no-cache
> Server: pve-api-daemon/3.0
> Content-Length: 13
> Content-Type: application/json;charset=UTF-8
> Expires: Thu, 14 Jan 2021 14:12:37 GMT
> 
> {"data":null}
> 
> 
> -- 
> Regards
> Mariusz Miodowski
> ModulesGarden Development Team Manager
> https://www.modulesgarden.com
> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>