Open bonysimon007 opened 1 year ago
Hi @bonysimon007 , thank you for the feedback!
There seems to be some issue with the 'sharp' package not being installed.
What steps did you follow to install the plugin?
I will try to replicate the issue, maybe I missed something in the documentation.
Hello @egeldenhuys Thanks for the quick response. Below is how I did it. Inside the volume mount directory of docker ghost below commands were executed
` mkdir -p content/adapters/storage
cd content/adapters/storage
git clone https://github.com/egeldenhuys/ghost-cloudflare-r2
cd ghost-cloudflare-r2
git checkout v0.1.0
./build-in-docker.sh
`
Finally docker compose up -d
The configurations were added inside docker-compose.yml
I tried using the adapter but it failed with the below error. I never worked on TS hence was not able to debug and fix it. My deployment environment is as follows. OS: ubuntu 22.04 Ghost : Latest Ghost with docker Cloudflare already configured
[2023-04-19 00:36:33] INFO Ghost is running in production... [2023-04-19 00:36:33] INFO Your site is now available on https://sitename.tld/ [2023-04-19 00:36:33] INFO Ctrl+C to shut down [2023-04-19 00:36:33] INFO Ghost server started in 1.285s [2023-04-19 00:36:33] INFO Database is in a ready state. [2023-04-19 00:36:34] INFO Ghost database ready in 1.677s [2023-04-19 00:36:37] ERROR We detected a misuse. Please read the stack trace.
We detected a misuse. Please read the stack trace.
Error ID: 3e7c67c0-de4a-11ed-9324-3587dc794858
Error: at AdapterManager.getAdapter (/var/lib/ghost/versions/5.43.0/node_modules/@tryghost/adapter-manager/lib/AdapterManager.js:114:27) Something went wrong installing the "sharp" module
Cannot find module '../build/Release/sharp-linux-x64.node' Require stack:
Possible solutions:
Thanks in advance