General Support (Softaculous) https://www.softaculous.com/board/index.php?fid=16 <![CDATA[Does your program provide snapshot functionality?]]> https://www.softaculous.com/board/index.php?tid=14854&tpg=1#p47548 Mon, 14 Oct 2019 16:58:18 GMT https://www.softaculous.com/board/index.php?tid=14854&tpg=1#p47548 <![CDATA[Recipes]]> https://www.softaculous.com/board/index.php?tid=15776&tpg=1#p47541
Code
apt-get update -y
followed by
Code
apt-get upgrade -y
always did the job.
You just may need to add further opton to the upgrade command (for being able to silently upgrade packages that have changes in their config file and so on.)
]]>
Mon, 14 Oct 2019 12:26:33 GMT https://www.softaculous.com/board/index.php?tid=15776&tpg=1#p47541
<![CDATA[Recipes]]> https://www.softaculous.com/board/index.php?tid=15776&tpg=1#p47540 Mon, 14 Oct 2019 12:18:24 GMT https://www.softaculous.com/board/index.php?tid=15776&tpg=1#p47540 <![CDATA[kvm quests network problem in Virtualizor]]> https://www.softaculous.com/board/index.php?tid=15768&tpg=1#p47533
Quote From : radwebhosting October 11, 2019, 11:38 pm
Sounds like possible bridge issue...you should be looking at the network interface first.
Ensure that your /etc/sysconfig/network-scripts/ifcfg-* are accurate.


Hello
Thans for yout reply

This is my intarfaces config:

ifcfg-eno1:
Code

### Hetzner Online GmbH installimage

DEVICE=eno1
ONBOOT=yes
BOOTPROTO=none

IPADDR=x.x.x.x
NETMASK=x.x.x.x
GATEWAY=x.x.x.x
SCOPE="peer x.x.x.x"

IPV6INIT=yes
IPV6_AUTOCONF=yes


ifcfg-viifbr0:
Code

DEVICE=viifbr0
ONBOOT=yes
TYPE="Bridge"
BOOTPROTO=static

IPADDR=x.x.x.x
NETMASK=x.x.x.x
SCOPE="peer x.x.x.x"

IPV6INIT=no
STP=off
DELAY=0
]]>
Mon, 14 Oct 2019 08:05:06 GMT https://www.softaculous.com/board/index.php?tid=15768&tpg=1#p47533
<![CDATA[Recipes]]> https://www.softaculous.com/board/index.php?tid=15776&tpg=1#p47532
Code
apt-get  update -y

in your recipe and you are done.
]]>
Mon, 14 Oct 2019 07:12:08 GMT https://www.softaculous.com/board/index.php?tid=15776&tpg=1#p47532
<![CDATA[Additional IP to the Hetzner dedicated server]]> https://www.softaculous.com/board/index.php?tid=15770&tpg=1#p47531
This was the reply given from northnetworking which did work for me.
Quote
The gateway will be the one that is listed as gateway in the email
The first and the last IP in the subnet is not usable.

if your range is 99.99.99.1 - 99.99.99.10

in the First IP you enter 99.99.99.2 and in the Last IP 99.99.99.9

Netmask is 255.255.255.0

And tick the NAT box.


NOTE :If after adding the pool creating the VPS gives an error that natbr is not working, just restart the server]]>
Mon, 14 Oct 2019 06:51:47 GMT https://www.softaculous.com/board/index.php?tid=15770&tpg=1#p47531
<![CDATA[Adding Hetzner's IPv4]]> https://www.softaculous.com/board/index.php?tid=15756&tpg=1#p47528 https://www.softaculous.com/board/index.php?tid=15708]]> Sun, 13 Oct 2019 13:05:13 GMT https://www.softaculous.com/board/index.php?tid=15756&tpg=1#p47528 <![CDATA[Additional IP to the Hetzner dedicated server]]> https://www.softaculous.com/board/index.php?tid=15770&tpg=1#p47527 https://www.softaculous.com/board/index.php?tid=15708]]> Sun, 13 Oct 2019 13:04:09 GMT https://www.softaculous.com/board/index.php?tid=15770&tpg=1#p47527 <![CDATA[The primary storage could not be found]]> https://www.softaculous.com/board/index.php?tid=15777&tpg=1#p47521
I tried to create a php script creating a server with virtualizor api (tested functions and boot/reboot and so on works fine). I need the script to create a vps on the less used node automatically, so I didn't filled the slave_server and stid values (they are not marked as required in the API documentation). Checked the storage which is marked as primary for one of the nodes and it has enough space available (1.8TB). I am able to create VPS from virtualizor panel itself by selecting the node. However when I run the command on the PHP script via API, I get the error: "error":{"no_storage":"The primary storage could not be found"}. If I set the slave_server to a server ID, it works fine, however I need it to automatically select the node. Is this possible?

Here is the script I made:

    $post = array();
    $post['virt'] = 'xen';
    $post['user_email'] = 'test@test.com';
    $post['user_pass'] = 'test123';
    $post['hostname'] = 'cloud.zetservers.com';
    $post['rootpass'] = 'test123';
    $post['ips'] = array('46.20.140.101');
    $post['space'] = '25';
    $post['ram'] = 1024;
    $post['swapram'] = 0;
    $post['bandwidth'] = 0;
    $post['network_speed'] = 0;
    $post['cpu'] = 1000;
    $post['cores'] = 2;
    $post['osid'] = 866;
    $output = $admin->addvs_v2($post);

    return json_encode($output);
]]>
Sat, 12 Oct 2019 15:20:55 GMT https://www.softaculous.com/board/index.php?tid=15777&tpg=1#p47521
<![CDATA[Recipes]]> https://www.softaculous.com/board/index.php?tid=15776&tpg=1#p47520 So I am now trying to add some recipes and am struggling on 2 counts.
1. Trying to create recipe for ubuntu 16 iso to do apt-upgrade silently(non-interactive) on vps build. I am using:
Quote
DEBIAN_FRONTEND=noninteractive apt-get -y -o DPkg::options::="--force-confdef" -o DPkg::options::="--force-confold" upgrade
(need all the force commands cos of grub-pc)
This code runs fine when entering manually but recipe doesn't seem to run on vps build.

2. In user manage panel I would expect to see the recipes icon so this same recipe could be run manually by user, but not seeing it. I have checked that the disable recipes in configuration is NOT enabled.
]]>
Sat, 12 Oct 2019 14:55:27 GMT https://www.softaculous.com/board/index.php?tid=15776&tpg=1#p47520