Jump to content
Paul

Vultr Module (Alpha)

Recommended Posts

A new Vultr alpha module is available.

To install, download the attached vultr.zip and unzip the file. Upload the vultr directory to ~/components/modules/ and go to Settings > Company > Modules to install it. Be sure to check out the documentation.

Any comments or suggestions, please post them below. :blesta: 

This module was sponsored by hostjane.com. Be sure to check them out. :) 

Edited by Paul
Updated vultr.zip

Share this post


Link to post
Share on other sites

I have tested the module, works great. Just one thing that can be improved for future releases if there will be any. For a re-seller It's important to hide the source of the service for this case vultr.com But that is given out after application installation under "Service Information".

Quote

Service Information

Webmin Server Details
Webmin is accessible at: 
https://144.202.19.***:10000/
Read more about this app on Vultr Docs: 
https://www.vultr.com/docs/one-click-webmin

 

Share this post


Link to post
Share on other sites
7 hours ago, Joseph H said:

I have tested the module, works great. Just one thing that can be improved for future releases if there will be any. For a re-seller It's important to hide the source of the service for this case vultr.com But that is given out after application installation under "Service Information".

 

I have updated the vultr.zip in the original post, please download again and give it a try. It now strips out the information pertaining to Vultr, and will replace any other instances with your own company details.

Share this post


Link to post
Share on other sites

Sorry to drag up an old thread, but is this the latest version of the Vultr module available @Paul, but I couldn't see this included in the full Blesta 4.2.2 package download.

Just found an issue around line 905. I guess this is called in my test setup as I allowed clients to select the VPS template when ordering.

    public function getClientAddFields($package, $vars = null)
    {
        Loader::loadHelpers($this, ['Html']);

        // Get the available templates
        $templates = $this->getTemplates($module_row, $package);
...


Adding the $this->getModuleRow(..) call seems to have fixed it up for now, but wasn't sure if this has already been fixed in a later release.

    public function getClientAddFields($package, $vars = null)
    {
        Loader::loadHelpers($this, ['Html']);

        $module_row = $this->getModuleRow((isset($package->module_row) ? $package->module_row : 0));

        // Get the available templates
        $templates = $this->getTemplates($module_row, $package);

 

Edit:

Found a few other breaking issues, but not sure if it's worth noting them down if there is a newer release/it's somewhere on GitHub. Guess this goes back in the ideas pile.

Another Edit:
This wouldn't happen to be "up to date", and give me something to build upon if anyone knows? @cyandark
https://github.com/CyanDarkInc/module-vultr/

Edited by texh

Share this post


Link to post
Share on other sites
On 5/21/2018 at 4:23 AM, texh said:

This wouldn't happen to be "up to date", and give me something to build upon if anyone knows? @cyandark
https://github.com/CyanDarkInc/module-vultr/

This is likely out of date and the file attached to this thread has revisions. It'll be on our Github soon.

Regarding this issue you've found, what is the affect? Also, feel free to post any other issues in this thread and we'll take a look.

Share this post


Link to post
Share on other sites
17 hours ago, Joseph H said:

Just ran Into an issue with API "A connection to the server could not be established. Please check to ensure that the API Key is correct." the API + Username are correct

Did you check module log? Tools > Log > Module, click row to expand and see raw input/output. Is your firewall open? Are you sure your API credentials are correct? This is not a known issue with the module.

Share this post


Link to post
Share on other sites
6 hours ago, Paul said:

Did you check module log? Tools > Log > Module, click row to expand and see raw input/output. Is your firewall open? Are you sure your API credentials are correct? This is not a known issue with the module.

I found the issue, I vultr was blocking my IPV6 Whitelisted that and It worked again.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×