The-Network-Crew / Proxmox-VE-for-WHMCS

Proxmox VM/CT Module for the WHMCS Automation & Billing System.
https://marketplace.whmcs.com/product/6935-proxmox-ve-for-whmcs#reviews
GNU General Public License v3.0
146 stars 46 forks source link

Failed to create CT (missing credentials?) #70

Closed eakteam closed 4 months ago

eakteam commented 6 months ago

When trying to create the order it shows

Module Command Error PVE2 API: Hostname/Username/Realm/Password/Port required for PVE2_API object constructor.

I followed all intructions, but not being able to solve that...

whmcs

whmcs2

Also step 4 (Add permission to access VNC -> Datacenter / Node / VM / Permissions / Add Group Permissions - select Group: "VNC", Role: "VNC") is little confusing since there is no seetings in the node for vm, or we should select random existing vm and after that going to the permissions?

lsthompson commented 6 months ago

Strange. It seems you don't have the root password entered into WHMCS > Servers > PVE Host?

That would explain the first problem you're having. Please check and write back.

Re: VNC, you need to add the user at node/DC-level, not VM-level.

johncsuti commented 6 months ago

I can confirm this is indeed an issue even while having Password filled out.

lsthompson commented 5 months ago

What do you see in the Module Log with Debug Mode enabled within the Module Config?

lsthompson commented 5 months ago

@johncsuti @eakteam curious about what you both see with Debug Mode enabled.

Please update from the repo itself before trying again, including SQL Updates.

Also, if you could step out your process that would help us replicate it.

lsthompson commented 4 months ago

@johncsuti @eakteam - following up the above.

Would be great to hear back with debugging ON etc.

lsthompson commented 4 months ago

Also, the Connection Test should now relay the problem back.

Properly tidied the logic there just now. Shouldn't false-positive if you update from the repo.

Please let us know what you're able to un-earth now that the Connection Tester & Module Debug Log gives you insights!