Hello, I am trying to install Ghost droplet but i am facing problem about ssl configuration. Here is the command line execution :
ssh root@206.189.11.198
The authenticity of host '206.189.11.198 (206.189.11.198)' can't be established.
ECDSA key fingerprint is SHA256:VgOjIvic+j5B73UEg9EojDK1jkeyEALwtTe1GkaeXTg.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '206.189.11.198' (ECDSA) to the list of known hosts.
"System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8)."
"System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8)."
-------------------------------------------------------------------------------
Configuring DigitalOcean 1-Click Ghost installation.
Please wait a minute while your 1-Click is configured.
Once complete, you are encouraged to run mysql_secure_installation to ready
your server for production. The root MySQL password has been saved to:
root/.digitalocean_password
-------------------------------------------------------------------------------
Ensuring Ghost-CLI is up-to-date...
+ sudo npm i -g ghost-cli@latest
added 2 packages, removed 1 package, and changed 597 packages in 1m
156 packages are looking for funding
run `npm fund` for details
npm notice
npm notice New major version of npm available! 9.6.7 -> 10.2.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.1
npm notice Run npm install -g npm@10.2.1 to update!
npm notice
Ghost will prompt you for two details:
1. Your domain
- Add an A Record -> 206.189.11.198 & ensure the DNS has fully propagated
- Or alternatively enter http://206.189.11.198
2. Your email address (only used for SSL)
Press enter when you're ready to get started!
Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org
✔ Checking system Node.js version - found v18.17.1
✔ Checking current folder permissions
✔ Checking memory availability
✔ Checking free space
✔ Checking for latest Ghost version
✔ Setting up install directory
✔ Downloading and installing Ghost v5.70.1
✔ Finishing install process
? **Enter your blog URL:** https://entrepreneursfrancophones.fr
✔ Configuring Ghost
✔ Setting up instance
+ sudo useradd --system --user-group ghost
+ sudo chown -R ghost:ghost /var/www/ghost/content
✔ Setting up "ghost" system user
✔ Setting up "ghost" mysql user
+ sudo mv /tmp/entrepreneursfrancophones-fr/entrepreneursfrancophones.fr.conf /etc/nginx/sites-available/entrepreneursfrancophones.fr.conf
+ sudo ln -sf /etc/nginx/sites-available/entrepreneursfrancophones.fr.conf /etc/nginx/sites-enabled/entrepreneursfrancophones.fr.conf
+ sudo nginx -s reload
✔ Setting up Nginx
✖ Setting up SSL
+ sudo mv /tmp/entrepreneursfrancophones-fr/ghost_entrepreneursfrancophones-fr.service /lib/systemd/system/ghost_entrepreneursfrancophones-fr.service
+ sudo systemctl daemon-reload
✔ Setting up Systemd
+ sudo systemctl is-active ghost_entrepreneursfrancophones-fr
+ sudo systemctl start ghost_entrepreneursfrancophones-fr
+ sudo systemctl is-enabled ghost_entrepreneursfrancophones-fr
+ sudo systemctl enable ghost_entrepreneursfrancophones-fr --quiet
✔ Starting Ghost
One or more errors occurred.
1) CliError
Message: Error trying to lookup DNS for 'entrepreneursfrancophones.fr'
Debug Information:
OS: Ubuntu, v22.04.3 LTS
Node Version: v18.17.1
Ghost Version: 5.70.1
Ghost-CLI Version: 1.25.3
Environment: production
Command: 'ghost install --auto --db=mysql --dbhost=127.0.0.1 --dbport=3306 --dbname=ghost_production --dbuser=root --dbpass=e02ab77eeef5b7fc0877bbf3fdee83187ceb9bf264785aec --dir=/var/www/ghost --start'
Additional log info available in: /home/ghost-mgr/.ghost/logs/ghost-cli-debug-2023-10-22T08_59_14_253Z.log
Try running ghost doctor to check your system for known issues.
You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.
------------------------------------------------------------------------------
For any further commands, please switch to the ghost-mgr user to manage Ghost.
sudo -i -u ghost-mgr
------------------------------------------------------------------------------
Here how i configure my dns in gandi.net and on DigitalOcean as explained ont the following link https://www.digitalocean.com/community/questions/how-to-connect-gandi-domain-with-digital-ocean
What i am missing please ? Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Heya,
The issue seemed to come from
Message: Error trying to lookup DNS for 'entrepreneursfrancophones.fr
This is due to your DNS not being correct and your case the Nameservers are
s1.digitalocean.com
and so on. You’ll need to fix the typo, you’ve forgettenn
infront. They should be like soHello,
It appears that you’ve set your nameservers to
s1.digitalocean.com
. This is incorrect as there is a missingn
in the beginning. The correct nameservers for DigitalOcean are as follows:ns1.digitalocean.com
ns2.digitalocean.com
ns3.digitalocean.com
You would need to correct your nameservers and then give it another try.
Let me know how it goes!
Best,
Bobby