Update!
Now I'm try in Postman
in this case and it work
Sending 'command' 2 times
but in php how it can have samekey i'm try
$create = array(
"command" => 'kvm',
"command" => 'fwon',
);
it cannot work
Thanks for reply!
what do you mean ?
I'm sorry my bad in English
now i'm try this code
$create = array("command" => 'kvm',);
$send = Request::Request("/nodes/$firstNode/qemu/$vmid/agent/exec", $create, 'POST');
print_r($send);
Print
stdClass Object ( [data] => stdClass Object ( [pid] => 4012...
this message show when use 'command' => 'kvm fwoff'
stdClass Object ( [data] => )
NOW I edit my code to array
with code "command" => ["kvm", 'fwoff']
it show this message
stdClass Object ( [errors] => stdClass Object ( [{"command":["kvm","fwoff"]}] => property is not defined in schema and...
Thanks for reply!!!
I try to change with your code
It show like this
stdClass Object ( [errors] => stdClass Object ( [command[1]] => property is not defined in schema and the schema does not allow additional properties [command] => property is missing and it is not optional [command[0]] =>...
Hi,
I have install new Node with Proxmox 8.0.3.
Before this node I used API for config IP, DNS, firewall, etc..
But this Node cannot use API I setting same as other node
if it work It will return pid.
I'm try with shell command: qm guest exec 101 kvm fwoff
It actually work Turn off...
have any solution to fixed this happed ?
I have to restart pvestatd everyday to fixed
Active: active (running) since Tue 2023-08-01 02:15:51 +07; 24h ago
Process: 910925 ExecStart=/usr/bin/pvestatd start (code=exited, status=0/SUCCE>
Main PID: 910926 (pvestatd)
Tasks: 1...
I'm not using cluster.
Today I try to fresh Install new Node then it question mark again
I'm have to use this command to fixed question mark.
service pve-cluster stop
service corosync stop
service pvestatd stop
service pveproxy stop
service pvedaemon stop
service pve-cluster start
service...
I have Proxmox with 5 Server (not cluster)
All Node showing a question mark
Promox Version 7.4.3
I check in graph it will happen neary time
I must have to reset all node to fix this happen
how can I stop this happen
Thanks!
Hi, Thanks for helping!!!
I know about input @pve I'm try to test display error.
I'm using this https://github.com/Saleh7/ProxmoxVE_PHP_API
This is Login code
public static function Login(array $configure, $verifySSL = false, $verifyHost = false)
{
$check = false;
if...
Hi,
I have use Proxmox API
When I'm using a root user it will return data
$configure = [
'hostname' => 'proxmoxDomain',
'username' => 'root',
'password' => 'xxxxxxx',
];
Request::Login($configure);
$acl = [
'userid' => "Test",
'password' => 'Test'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.