Anyone managed to get NodeBB and Ghost working together ?
-
@phenomlab On the same droplet, kurulumu.net and mekici.com or even flarumtr.com work together. mekici.com is based on Ghost. but nodebb blog comments plugin doesn't work with Ghost.
-
@kurulumu-net Interesting. Can't figure out why Ghost won't start. I've created a discussion on their forums, but they aren't exactly quick to respond sadly.
-
@phenomlab What do you see when you run
ghost doctor
? -
@kurulumu-net Everything seems to check out
✔ Checking system Node.js version - found v14.18.1 ✔ Checking logged in user ✔ Ensuring user is not logged in as ghost user ✔ Checking if logged in user is directory owner ✔ Checking current folder permissions ✔ Checking system compatibility ✔ Checking for a MySQL installation + sudo systemctl is-active ghost_blog-sudonix-com-1 + sudo systemctl reset-failed ghost_blog-sudonix-com-1 ✔ Validating config ✔ Checking folder permissions ✔ Checking file permissions ✔ Checking content folder ownership ✔ Checking memory availability ✔ Checking binary dependencies ✔ Checking free space ✔ Checking systemd unit file ✔ Checking systemd node version - found v14.18.1
-
@phenomlab I guess the problem is in nginx reverse proxy. Do you want me to share my own nginx.conf file?
-
@kurulumu-net Yes please, but I think mine is actually correct
-
@phenomlab said in Anyone managed to get NodeBB and Ghost working together ?:
@kurulumu-net Yes please, but I think mine is actually correct
server { listen 443 ssl http2; listen [::]:443 ssl http2; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; ssl_certificate /etc/ssl/mekicicert.pem; ssl_certificate_key /etc/ssl/mekicikey.pem; ssl_client_certificate /etc/ssl/cloudflare.crt; server_name mekici.com; root /var/www/mekici.com/system/nginx-root; location / { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $http_host; proxy_pass http://127.0.0.1:2368; } location ~ /.well-known { allow all; } client_max_body_size 50m; } server { listen 443 ssl http2; listen [::]:443 ssl http2; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; ssl_certificate /etc/ssl/mekicicert.pem; ssl_certificate_key /etc/ssl/mekicikey.pem; ssl_client_certificate /etc/ssl/cloudflare.crt; server_name www.mekici.com; return 301 https://mekici.com$request_uri; } server { listen 80; listen [::]:80; server_name mekici.com www.mekici.com; return 301 https://mekici.com$request_uri; }
-
@kurulumu-net Thanks. It's the same as mine
-
@phenomlab Just a couple quickies....
Seems odd that ghost will not even start. Hence I doubt has anything to do with nginx config. Have you tried launching from cli? ps shows no other zombie ghosts are in the lurking?
Also, this on a Ubuntu vm? Dedicated to ghost or same vm nodebb is on?
-
@gotwf Exactly. No other Ghost processes are running. This is the same box that Sudonix.com runs on - it's a Webmin / Virtualmin build.
I recently installed Ghost for someone else using the same build and that works fine.
-
@phenomlab blog is working. how did you solve the problem?
-
-
@phenomlab Interestingly... heh... I just shot you a pm at your site about bypassing systemd and testing directly from cli. So seems you're making progress, at least. Have fun! o/