Skip to main content

Troubleshooting

I Am In The Wrong Folder

If you are logged in as root, ~ means /root.

This folder:

cd ~/home

is the same as:

cd /root/home

This folder is different:

cd /home

If files look missing, check:

cd /root/home
ls

cd.. Does Not Work

Use a space:

cd ..

Paste Adds Weird Characters

If a command starts with characters like ^[[200~, delete the command and type it manually.

Docker Compose Error

This error:

no configuration file provided: not found

means the current folder does not contain a docker-compose.yml or compose.yml file.

The StreetsDocs site does not need Docker for the current deployment.

SSL Certificate Name Error

If the browser says:

ERR_CERT_COMMON_NAME_INVALID

Nginx is serving a certificate that does not match docs.nextgendevstudios.dev.

Fix it with:

certbot --nginx -d docs.nextgendevstudios.dev
nginx -t
systemctl reload nginx

Check Public IP

Use:

curl ifconfig.me

Do not use ifconfig.me as a shell command by itself.