Hello ,
I want to use a remote storage (s3 bucket) for storage instead of storing uploaded images locally in uploads dir.
I have tried nodebb-plugin-s3-uploads and all its forks found on npm but they all have a common error
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
at Object.stat (node:internal/fs/promises:660:10)
at processDir (/usr/src/app/src/plugins/data.js:110:36)
at async Promise.all (index 0)
at async Data.getStaticDirectories (/usr/src/app/src/plugins/data.js:128:2)
I am using a clean install of nodebb docker v2.3 , all these plugins haven't been update for over a years.
Can someone link me a working remote storage plugin ?
Any insights on cause of error ?
Is there any basic skeleton available to write the plugin myself ?
Thank you for your time