Jetbackup Google Drive Destination Adding Problem

Operating System & Version
Centos v7.9
cPanel & WHM Version
110.0.1

JetAppsAdam

Member
Oct 5, 2022
8
7
78
San Clemente
cPanel Access Level
Root Administrator
I am read and apply full this article: Google Drive — JetBackup Documentation documentation

But destination cant added.

I am add information and click save, but page not response, just waiting.

I have verified that there are no billing etc issues in the google account. What could be the problem? Thanks!

Hello Ayzeta,

To determine the cause of this issue, we are going to need to see the output of the API call used to create this destination. To see this response please fill out the information to create your destination. Before clicking save, please open your browser's dev console by clicking F12. Then open the "Network" tab, and proceed to click Save to create your destination. From there you will see "api.cgi". If you click on this you will see the output of the "manageDestination" API call. If you would like for us to investigate this matter on your behalf, please do not hesitate to to open a ticket with our 24/7/365 support team! You can do this by emailing [email protected].

Thank you,
 

Ayzeta

Registered
Apr 6, 2023
4
0
1
Turkey
cPanel Access Level
Root Administrator
Hello @JetAppsAdam

I am trying this method. And when i try dev tools i see a few 404 error(1.png)

I don't know which part I should check about api.cgi. I have uploaded screenshots of the tabs. (files 2,3,4 and 5.png)

In the response part, there is an output like this;


{"success":0,"message":"Undefined class constant 'VERSION' in \/usr\/local\/jetapps\/var\/lib\/3rdparty\/google\/service\/Google\/Client.php on line 1042\n#0 \/usr\/local\/jetapps\/var\/lib\/3rdparty\/google\/service\/Google\/Client.php(1032): Google_Client->createDefaultHttpClient()\n#1 \/usr\/local\/jetapps\/var\/lib\/3rdparty\/google\/service\/Google\/Client.php(190): Google_Client->getHttpClient()\n#2 \/usr\/local\/jetapps\/var\/lib\/JetBackup\/Core\/Destination\/GoogleDrive.inc(853): Google_Client->fetchAccessTokenWithAuthCode('4\/0AVHEtk62Cf1s...')\n#3 \/usr\/local\/jetapps\/var\/lib\/JetBackup\/Core\/Destination\/GoogleDrive.inc(189): JetBackup\\Core\\Destination\\GoogleDrive->getClient()\n#4 \/usr\/local\/jetapps\/var\/lib\/JetBackup\/Core\/Destination\/aDestination.inc(275): JetBackup\\Core\\Destination\\GoogleDrive->getAccountEmail()\n#5 \/usr\/local\/jetapps\/var\/lib\/JetBackup\/Cpanel\/API\/ManageDestination.inc(196): JetBackup\\Core\\Destination\\aDestination->validateFields()\n#6 \/usr\/local\/jetapps\/var\/lib\/JetBackup\/Cpanel\/API.inc(56): JetBackup\\Cpanel\\API\\ManageDestination->execute()\n#7 \/usr\/local\/cpanel\/whostmgr\/docroot\/cgi\/addons\/jetbackup\/api.cgi(20): JetBackup\\Cpanel\\API->execute()\n#8 {main}","data":[{"file":"\/usr\/local\/jetapps\/var\/lib\/3rdparty\/google\/service\/Google\/Client.php","line":1032,"function":"createDefaultHttpClient","class":"Google_Client","type":"->","args":[]},{"file":"\/usr\/local\/jetapps\/var\/lib\/3rdparty\/google\/service\/Google\/Client.php","line":190,"function":"getHttpClient","class":"Google_Client","type":"->","args":[]},{"file":"\/usr\/local\/jetapps\/var\/lib\/JetBackup\/Core\/Destination\/GoogleDrive.inc","line":853,"function":"fetchAccessTokenWithAuthCode","class":"Google_Client","type":"->","args":["4\/0AVHEtk62Cf1smRel25Nq6w6MSG7YyqN7dEOXAYDckViImOb2U5PV-VYKuKJFcPVGzuYxJw"]},{"file":"\/usr\/local\/jetapps\/var\/lib\/JetBackup\/Core\/Destination\/GoogleDrive.inc","line":189,"function":"getClient","class":"JetBackup\\Core\\Destination\\GoogleDrive","type":"->","args":[]},{"file":"\/usr\/local\/jetapps\/var\/lib\/JetBackup\/Core\/Destination\/aDestination.inc","line":275,"function":"getAccountEmail","class":"JetBackup\\Core\\Destination\\GoogleDrive","type":"->","args":[]},{"file":"\/usr\/local\/jetapps\/var\/lib\/JetBackup\/Cpanel\/API\/ManageDestination.inc","line":196,"function":"validateFields","class":"JetBackup\\Core\\Destination\\aDestination","type":"->","args":[]},{"file":"\/usr\/local\/jetapps\/var\/lib\/JetBackup\/Cpanel\/API.inc","line":56,"function":"execute","class":"JetBackup\\Cpanel\\API\\ManageDestination","type":"->","args":[]},{"file":"\/usr\/local\/cpanel\/whostmgr\/docroot\/cgi\/addons\/jetbackup\/api.cgi","line":20,"function":"execute","class":"JetBackup\\Cpanel\\API","type":"->","args":[]}]}


Thanks for support.
 
Last edited by a moderator:

Ayzeta

Registered
Apr 6, 2023
4
0
1
Turkey
cPanel Access Level
Root Administrator
Cpanel ticket id: 95039609
(Cpanel support experts asked me to contact jetapps.)


Jetapps ticket id: 855209&c=6CWEIJ83

I'll update this forum thread if a solution is found.
 

Ayzeta

Registered
Apr 6, 2023
4
0
1
Turkey
cPanel Access Level
Root Administrator
Hello again,
Jetbackup crew updated the package on our server as it was out of date and may have been causing the error for the Google Drive HTTP client.jetguzzle-php
And problem is solved.

@cPRex Could you please remove the screenshots in my second message? I guess I forgot to hide the address information. Thanks a lot.