drive icon indicating copy to clipboard operation
drive copied to clipboard

Not able to upload and create files and filder.

Open PITPL-Akshay-Prajapati opened this issue 1 year ago • 3 comments

From last update can't able to upload and create files and folders. getting issue as below upload_error

PITPL-Akshay-Prajapati avatar May 31 '24 06:05 PITPL-Akshay-Prajapati

Could you share the Framework version please?

uhrjun avatar May 31 '24 06:05 uhrjun

Should be fixded https://github.com/frappe/drive/commit/f3e491cd07592d8ce94b2a0a8d739773d7d8dd73. Update

uhrjun avatar May 31 '24 07:05 uhrjun

in frappe and erpnext version 14

PITPL-Akshay-Prajapati avatar May 31 '24 07:05 PITPL-Akshay-Prajapati

getting following error now. image

PITPL-Akshay-Prajapati avatar May 31 '24 09:05 PITPL-Akshay-Prajapati

Fixed the root cause so it won't happen again: https://github.com/frappe/drive/commit/91c442c077b33713277dcc04776a4d55215cbd4f

The parent folder you're uploading to is shared with a group that no longer exists. So when you upload the file it fails to inherit the permissions.

Two ways to fix:

  • Either create a group with the same group name you had
  • Or update the folder permissions and stop sharing with that group

uhrjun avatar May 31 '24 09:05 uhrjun

I don't have created any user group yet and when i uploading file in parent folder, uploading successfully but in child folder not working. image

PITPL-Akshay-Prajapati avatar May 31 '24 12:05 PITPL-Akshay-Prajapati

child folder not working.

Check if this child folder is shared with any group?

uhrjun avatar May 31 '24 12:05 uhrjun