laosb / ghos3

A modernized AWS S3 storage adapter for Ghost.
Other
34 stars 12 forks source link

Unexpected token } in JSON #1

Closed peter-lxc closed 1 year ago

peter-lxc commented 1 year ago

Thanks for providing an update to this AWS S3 module but i have an issue when trying to use it and only happens when I add the storage section. For my test i added the example supplied

ERROR Unable to find storage adapter s3 in ,/var/lib/ghost/content/adapters/,/var/lib/ghost/versions/5.44.0/core/server/adapters/.

laosb commented 1 year ago

Can you check you copied ghos3 to ./content/adapters/ as s3? Please cd into your content/adapters folder and try ls. You should see s3 in it, and then cd s3 && ls you should see index.js among all other files.

jac1013 commented 1 year ago

Probably related to: https://github.com/laosb/ghos3/issues/2

laosb commented 1 year ago

Likely fixed with the documentation change.