This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 59
Log file under Logs would be helpful also #23
Comments
You can change the line 28 in /home/frappe/frappe-bench/apps/nextcloud_integration/nextcloud_integration/nextcloud_integration/doctype/nextcloud_setting/nextcloud_setting.py After the change an error is in the error list. |
Thanks for the reply.
But I have another case... Its this related to the DB size?
Error message: Traceback (most recent call last): File
"/home/frappe/frappe-bench/apps/nextcloud_integration/nextcloud_integration/nextcloud_integration/doctype/nextcloud_setting/nextcloud_setting.py",
line 25, in start_taking_backup validate_file_size() File
"/home/frappe/frappe-bench/apps/frappe/frappe/integrations/offsite_backup_utils.py",
line 105, in validate_file_size file_size = get_file_size(latest_file,
unit="GB") File
"/home/frappe/frappe-bench/apps/frappe/frappe/integrations/offsite_backup_utils.py",
line 75, in get_file_size file_size = os.path.getsize(file_path) File
"/home/frappe/frappe-bench/env/lib/python3.6/genericpath.py", line 50, in
getsize return os.stat(filename).st_size TypeError: stat: path should be
string, bytes, os.PathLike or integer, not NoneType
Please contact your system manager
…On Mon, 26 Jul 2021, 8:34 pm Jörg Stemmer, ***@***.***> wrote:
You can change the line 28 in
*/home/frappe/frappe-bench/apps/nextcloud_integration/nextcloud_integration/nextcloud_integration/doctype/nextcloud_setting/nextcloud_setting.py*
from
*raise Exception*
to
*frappe.log_error(self.error_log, 'nextcloud upload failed')*
After the change an error is in the error list.
But the messages can be better, i testet it with a wrong login but the
error message is
['Failed while uploading DB', 'Failed while uploading Site Config']
But you can test it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE3TWYUYUZNKFDKCYGBKENLTZW2DXANCNFSM5BAT2C5A>
.
|
It's look like the script can't get the filesize from the dump on the disk. |
Hi,
Thanks again for the support.
Yes, normal backup works. i am seeing now
Nextcloud is working also because i have other sites connected and doing
backups normally only those two are not due to the DB size...
Have a look at the below image:
[image: image.png]
Thanks again.
…On Thu, Jul 29, 2021 at 9:45 PM Jörg Stemmer ***@***.***> wrote:
It's look like the script can't get the filesize from the dump on the disk.
Work the normal backup dump?
Which frappe/erpnext version you have?
Is this a new installation of nextcloud or is nextcloud stopped at a time?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE3TWYWNIT5AERPNVJFAKK3T2G4VHANCNFSM5BAT2C5A>
.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I have been using this app and is running well for small DB to be sent to my NextCloud server but for bigger DB files is just returning the below error message...
"Failed while uploading Public files Traceback (most recent call last): File "/home/frappe/frappe-bench/apps/nextcloud_integration/nextcloud_integration/nextcloud_integration/doctype/nextcloud_setting/nextcloud_setting.py", line 28, in start_taking_backup raise Exception Exception"
This file is 180M.
Would be great to have a log file under Logs on frappe-bench.
Now What could the reason for the Error?
The text was updated successfully, but these errors were encountered: