Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HELP i can't figure out the problem /nodes/pve2//12/config' not implemented, #54

Closed
wawelon opened this issue Nov 25, 2023 · 10 comments
Closed

Comments

@wawelon
Copy link

wawelon commented Nov 25, 2023

PVE2_Exception: PVE2 API: This API Request Failed.
HTTP CODE: 501,
HTTP ERROR: HTTP/1.1 501 Method 'GET /nodes/pve2//12/config' not implemented,
REPLY INFO: {"data":null} in /sites/noeye.pp.ua/modules/addons/pvewhmcs/proxmox.php:264
Stack trace:
#0 /sites/noeye.pp.ua/modules/addons/pvewhmcs/proxmox.php(574): PVE2_API->action('/nodes/pve2//12...', 'GET')
#1 /sites/noeye.pp.ua/modules/servers/pvewhmcs/pvewhmcs.php(616): PVE2_API->get('/nodes/pve2//12...')
#2 [internal function]: pvewhmcs_ClientArea(Array)
#3 /sites/noeye.pp.ua/vendor/whmcs/whmcs-foundation/lib/Module/AbstractModule.php(0): call_user_func('pvewhmcs_Client...', Array)
#4 /sites/noeye.pp.ua/vendor/whmcs/whmcs-foundation/lib/Module/Server.php(0): WHMCS\Module\AbstractModule->call('ClientArea', Array)
#5 /sites/noeye.pp.ua/vendor/whmcs/whmcs-foundation/lib/Service.php(0): WHMCS\Module\Server->call('ClientArea', Array)
#6 /sites/noeye.pp.ua/clientarea.php(0): WHMCS\Service->moduleCall('ClientArea', Array)
#7 {main}

g1
g2
g3
g4
g5

@wawelon
Copy link
Author

wawelon commented Nov 25, 2023

WHMCS Admin > Config > Servers > Add your PVE host/s (user: root; IP: PVE's) DONE!
WHMCS Admin > Addons > Proxmox VE for WHMCS > Module Config > VNC Secret (see below) DONE!
WHMCS Admin > Addons > Proxmox VE for WHMCS > Add KVM/LXC Plan/s DONE!
WHMCS Admin > Addons > Proxmox VE for WHMCS > Add an IP Pool DONE!
WHMCS Admin > Config > Products/Services > New Service (create offering) DONE!
" " > Newly-added Service > Tab 3 > SAVE (links Module Plan to WHMCS Service type) DONE!

Create User Group "VNC" via PVE > Datacenter / Permissions / Group DONE!
Create new User "vnc" > Datacenter / Permissions / Users - select Group: "VNC", Realm: pve DONE!
Create new Role -> Datacenter / Permissions / Roles - select Name: "VNC", Privileges: VM.Console (only) DONE!
Add permission to access VNC -> Datacenter / Node / VM / Permissions / Add Group Permissions - select Group: "VNC", Role: "VNC" DONE!
Configure the WHMCS > Modules > Proxmox VE for WHMCS > Module Config > VNC Secret with 'vnc' password. DONE!

Why does not it work? Please help me Thank's

@lsthompson
Copy link
Member

Thanks for showing that you've now read part of the instructions.

You've missed the entire section about the creation method. Seems you're using a template for that?

The error is not the error you've supplied. It has changed. It now speaks to one that we explain at length in the README.

Create a nothing order with however many services (not Proxmox, just blank module) are required to get your tblhosting.id column in the WHMCS DB to be over 100.

@wawelon
Copy link
Author

wawelon commented Nov 26, 2023

OK it's ready what this error
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'ipaddress' cannot be null (SQL: insert into mod_pvewhmcs_vms (id, user_id, vtype, ipaddress, subnetmask, gateway, created) values (192, 2, qemu, ?, ?, ?, 2023-11-26 00:34:31))

@lsthompson
Copy link
Member

Check your IP Pool settings in the module, and then the tab on the WHMCS Service type (in settings) needs to be saved with the Plan and Pool. You're missing some IP config.

@wawelon
Copy link
Author

wawelon commented Nov 26, 2023

Без імен2і
Без імені

everything seems to be correct

@lsthompson
Copy link
Member

Thanks. Show me inside each Pool?

Also, save that second Screenshot page. Even though it looks fine.

@wawelon
Copy link
Author

wawelon commented Nov 26, 2023

Без іме2ні

there is nothing inside the pool, although it is created

if press "list: ip pools" shows ip

@lsthompson
Copy link
Member

Fairly sure you're going to need a new Pool which is large enough to have assignable space within it.

@wawelon
Copy link
Author

wawelon commented Nov 26, 2023

OK it's ready, last problem novnc connect my private ip and it doesn't connect
https://noeye.pp.ua/modules/servers/pvewhmcs/novnc/vnc.html?autoconnect=true&encrypt=true&host=10.10.10.16&port=8006&password=

@lsthompson
Copy link
Member

....README.

This is explained.

You can fix it otherwise.

@lsthompson lsthompson closed this as not planned Won't fix, can't repro, duplicate, stale Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants