SOLVED [CPANEL-25310] BackBlaze transport error - Use of uninitialized value $args{"api_method"}

brianc

Well-Known Member
May 16, 2003
191
7
168
Well I did not run into any transport problems since adjusting the timeout but anything over 5 gigabytes is not being transported correctly. cPanel did you guys test this with large (5gb+) accounts? At this point it is not usable and I will need to revert back to AWS.

The times to transport the files are also very long as compared to transporting backup files to AWS.
 

brianc

Well-Known Member
May 16, 2003
191
7
168
Any update on this one?
This was what I received in cPanel's last reply:

"It appears that there are still errors being generated even with the patch applied. The error is different than it was prior and we currently have internal case CPANEL-25310 opened to look into this further.

Unfortunately at this time we do not have a workaround for this particular issue. "

So in my opinion Backblaze is not ready for production and should not be there as an option. I am disappointed as this would have been a considerable reduction in backup costs for my company.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Hello @brianc,

I moved your posts from the previous thread into this thread so we can separate the discussion of each issue. This thread will focus on case CPANEL-25310 since the case referenced in the other thread (CPANEL-25247) did not solve the problem.

I'm monitoring CPANEL-25310 and will update this thread with more information as soon as it's available.

Thank you.
 

brianc

Well-Known Member
May 16, 2003
191
7
168
Ok. I did not know there will still a separate issue that was outstanding. What is the location of the log that contains this error?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Hello Brian,

The backup transport logs are available in the following directory:

/usr/local/cpanel/logs/cpbackup_transporter/

Can you confirm the most recent backup attempt resulted in error messages like the following appearing in the corresponding backup transporter log?

Code:
 info [cpbackup_transporter] Use of uninitialized value $args{"api_method"} in string ne at /usr/local/cpanel/Cpanel/Transport/Files/Backblaze.pm line 259.
Thank you.
 

phil99

Active Member
Jun 10, 2018
34
9
8
UK
cPanel Access Level
Root Administrator
I have just come across this bug. It seems to be intermittent.

However, this error will leave "Unfinished large files" in the B2 bucket. This can cause your B2 storage to be significantly above what you might expect.

The "Unfinished large files" can be seen by logging into your account and going to Buckets. (You can also check the cpbackup_transporter.log for the api error.)

In your account, the bucket will show "Unfinished Large Files" which you can click on to see the list of files. The "Current Size" as shown in Buckets will be larger than the size shown if you go to Browse Files and then click into the bucket. The unfinished files can be deleted by browsing into the bucket and the relevant folder.

Note that since the cPanel Backup app tries a number of times to upload files, there can be "Unfinished large files" in the bucket even if you don't receive a notification of a backup failure.

Anyone who is currently using the cPanel backup app to upload to Backblaze B2 should check their bucket for "Unfinished large files". Depending upon the number of failures and the size of the files, the total size of these can be very significant.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Hello Everyone,

This is fixed in cPanel & WHM version 78.0.21:

Fixed case CPANEL-25310: Fix bug where the file upload part counter was being improperly incremented when a part failed to upload in a manner we could re-try.

Thanks!
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Moderator note: Discussion of a new issue where BackBlaze transports fail without warning after the update to version 78.0.20 was moved here.