-
Notifications
You must be signed in to change notification settings - Fork 58
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
Admin Area: Error when Creating Service on the PVE Host (connected to PVE OK) #17
Comments
Thank you. We need to get our hands on some errors/logs. Do you have anything re: PVE logs? From earlier: If you |
::ffff:IP - - [13/06/2023:10:45:39 +0200] "POST /api2/json/access/ticket HTTP/1.1" 200 1325 |
These are the logs when trying to accept the order. |
Okay so the API Ticket is OK (200) and node list as well (200), just the LXC creation failing (400). I will see if we can get more information from Proxmox side, else we will need to debug it on WHMCS side. Are you able to confirm that you have enabled all error reporting/logging in WHMCS, and checked its logs please? |
Yes i have enabled all reporting/logging and i am still not getting any errors. |
Thanks. What does the Module Debug Log show if you enable it, then try to Accept the Order again? |
As long as the sreenshot is from when you explicitly had the Module Debug Log enabled in the WHMCS System Configuration. Else it's not as verbose. The system should display a blatant warning while you have the mode enabled as it will consume disk space. I'm assuming yes, but please confirm. Meanwhile I'm looking further. |
Could you please update from master and see how Order Creation goes/logs? Thanks @WaldperlachFabi |
Can you please also send your Custom Fields for the Service? ie. Things like the Ubuntu ISO. Also then update from master again, and report back with how it goes/logs? Thanks @WaldperlachFabi |
Now i get the error „Array“ when creating |
OK. How about now? Screenshots and logs again please @WaldperlachFabi |
Proxmox Error: Failed to create Service. Response: false |
Is there anything in the Module Log? |
Had to remove some information like phone number, response will follow: |
#0 [internal function]: pvewhmcs_CreateAccount() |
Thanks. Is there an error along with the stack trace? |
Nope, I sent you all |
Okay thanks, try updating now. Hopefully you get more verbosity. |
It's published here and there to gain exposure. We only have so many resources. @elitbiz you disappeared from troubleshooting and now are very critical of our decision to publish. Yet you no doubt want/need the code. I am shocked that you'd spend time complaining like that here. All we're here to do is resolve the 7 year delta, get it working, and get people using it. Thank you @WaldperlachFabi for your patience. I'll reply re: the swap/zero issue today. Seems we aren't far from being relatively bug-free now. 😊 |
Hmm, can you please send the pvesh /cluster/resources etc output? The error-throwing line would imply maxswap is nil.
|
That person has put a 1* review on marketplace.whmcs.com on the basis of this being overhauled and not fully functional at the moment - I've blocked them from the repo now. We don't tolerate such approach towards FOSS. https://marketplace.whmcs.com/product/6935-proxmox-ve-for-whmcs#reviews
I will have to try and get their review removed. This is why so many open-source projects get abandoned - abuse. Appreciate all of your troubleshooting help @WaldperlachFabi - we're making good headway in getting it running nicely! |
Hah, only if you're actually happy! This should work, need the method.
|
Ah hah. I can't see the maxswap column, can you shrink output so it fits? Just to verify it has the value. :-) |
But i don’t see it there too |
Yeah it seems I've commented out that particular check. If you update now, are you able to browse the Client Area page OK? Ref 1: https://pve.proxmox.com/pve-docs/api-viewer/#/cluster/resources (swap usage not reported for cluster) |
Hmm, what does your PHP error_log show as the specific error for that Parameter Verification Failed? Like yesterday. Also, please update again - I've pushed an attempted fix to get the swap reporting in there for CTs. |
Hmm, so the Container Swap reporting is likely to be OK, as it didn't take over as your "first" error again post-update. The code it's faulting over is the first RRD request. It's saying that timeframe isn't passed, but it should be:
Please update now, then try to view Client Area again. If broken still, check your Module Debug Log for |
Also, which PHP version are you running? I just pushed a commit which adds this to Admin > Addon > Health. :-) |
PHP 8.1.20 on Apache |
(Nothing in module debug log) |
Hmm, try again now once updated? |
Thanks for that. Line 586 is/was faulting. Please update now, I've changed that call ONLY. Let's see what the response code/error is now. If it moves to Line 592 then I'll expand the fix. Also, if it remains faulting on Line 586, please send over the PHP error_log so we can check why. |
8:33:45 GMT, did you update and try again in like 60 seconds? haha, just checking Is there a newer error? Or it's definitely still throwing that error? |
If you had updated already, update again now - changed the method. Test #2. |
Thanks for that. Update again and see if it moves? |
Good to see it's moved down. Update again and try now please? All RRD calls now updated to new param method. |
If it does work, can you send screenshots of every page (Client Area etc) that's working? Also, for anything not working (perhaps noVNC etc) can you raise NEW issues for each? I'm waiting for your update. Hopefully the Client Area panel is now working for you. :-) |
Module Create Failed / Order Accept Encountered Problems
No obvious logs available from @WaldperlachFabi or @elitbiz
Try configuring WHMCS to be verbose:
https://docs.whmcs.com/Enabling_Error_Reporting
Can you please send over screenshots of your Product/Service configuration (1st and 3rd tabs)?
You have the IP/Pool configured, so we need to make sure there's Template/etc config present too.
If you
tail -f <the PVE proxy log>
then Accept the Order, what is seen in the PVE logs from WHMCS?The text was updated successfully, but these errors were encountered: