Upon finding the 10mb max file upload and people having issues trying to upload anything more than 50mb after manually changing the limit, I saw somewhere to just do it via ftp/etc through /Files. Fair enough.
I uploaded ~3000 images (~1gb) of files via a git repo to site/public/files/imgrepo/. All good.
I cannot get file manager to recognize that they are there.
I have tried “update” through Data Import, I have tried “Insert New Records” through Data Import, I have tried moving them out of the /files/imgrepo directory and just dropping them all in /files (and changing the fileURL’s in the Import file). I can’t think of anything else. Below is a sample row from the Data Import file along with it’s associated Error File
*note- bool’s have been tried as both txt and int, and I just retried with filesize as int rather than txt after taking this grab. Error code below is from this latest retry.
Error
Traceback (most recent call last):
File "/home/frappe/bench/apps/frappe/frappe/core/doctype/data_import/importer.py", line 403, in upload
doc.insert()
File "/home/frappe/bench/apps/frappe/frappe/model/document.py", line 222, in insert
self.run_before_save_methods()
File "/home/frappe/bench/apps/frappe/frappe/model/document.py", line 876, in run_before_save_methods
self.run_method("validate")
File "/home/frappe/bench/apps/frappe/frappe/model/document.py", line 772, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "/home/frappe/bench/apps/frappe/frappe/model/document.py", line 1048, in composer
return composed(self, method, *args, **kwargs)
File "/home/frappe/bench/apps/frappe/frappe/model/document.py", line 1031, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File "/home/frappe/bench/apps/frappe/frappe/model/document.py", line 766, in <lambda>
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File "/home/frappe/bench/apps/frappe/frappe/core/doctype/file/file.py", line 70, in validate
self.validate_folder()
File "/home/frappe/bench/apps/frappe/frappe/core/doctype/file/file.py", line 143, in validate_folder
frappe.throw(_("Folder is mandatory"))
File "/home/frappe/bench/apps/frappe/frappe/__init__.py", line 353, in throw
msgprint(msg, raise_exception=exc, title=title, indicator='red')
File "/home/frappe/bench/apps/frappe/frappe/__init__.py", line 339, in msgprint
_raise_exception()
File "/home/frappe/bench/apps/frappe/frappe/__init__.py", line 312, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.ValidationError: Folder is mandatory