SSL / CNAME page is empty

License is genuinely activated.
Version: 3.1.0-rc8

HOSTNAME:7001/subdomainprovider page is empty.
It must have broken after an update as the original SSL is still working.
This has been happening for about a year and was hoping it would have “fixed itself” in the last 2-3 version upgrades.

bluecherry logs are empty?
but looks like www logs may shed some insight?

2023/07/04 20:28:28 [error] 610#610: *28986 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /usr/share/bluecherry/www/ajax/subdomainproviderbase.php:88
Stack trace:
#0 /usr/share/bluecherry/www/ajax/subdomainproviderbase.php(70): subdomainproviderbase->postToApi()
#1 /usr/share/bluecherry/www/ajax/subdomainproviderbase.php(139): subdomainproviderbase->getLicenseId()
#2 /usr/share/bluecherry/www/ajax/subdomainprovider.php(37): subdomainproviderbase->getFromApiWithToken()
#3 /usr/share/bluecherry/www/ajax/subdomainprovider.php(13): subdomainprovider->initForm()
#4 /usr/share/bluecherry/www/lib/Controller.php(137): subdomainprovider->getData()
#5 /usr/share/bluecherry/www/lib/Route.php(75): Controller->start()
#6 /usr/share/bluecherry/www/index.php(16): Route->start()
#7 {main}
thrown in /usr/share/bluecherry/www/ajax/subdomainproviderbase.php on line 88” while reading response header from upstream, client: 10.0.1.99, server: , request: “GET /subdomainprovider HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.4-fpm.sock:”, host: “10.0.1.5:7001”, referrer: “https://10.0.1.5:7001/log

thought?

Thanks!

Can you make sure this file exists?

ls -la /usr/share/bluecherry/nginx-includes/dns-subdomain-credentials.ini

When you run this command what happens?

sudo /usr/local/bin/certbot renew --config-dir=/usr/share/bluecherry/nginx-includes/letsencrypt/

root@apl-srv-nvr:/home/apl-srv-nvr# ls -la /usr/share/bluecherry/nginx-includes/dns-subdomain-credentials.ini
ls: cannot access ‘/usr/share/bluecherry/nginx-includes/dns-subdomain-credentials.ini’: No such file or directory

apl-srv-nvr@apl-srv-nvr:~$ ls -la /usr/share/bluecherry/nginx-includes/
bionic.conf buster.conf groovy.conf jammy.conf
bullseye.conf focal.conf hirsute.conf snakeoil.conf


apl-srv-nvr@apl-srv-nvr:~$ sudo /usr/local/bin/certbot renew --config-dir=/usr/share/bluecherry/nginx-includes/letsencrypt/
sudo: /usr/local/bin/certbot: command not found

apl-srv-nvr@apl-srv-nvr:~$ ls -la /usr/local/bin/
total 20
drwxr-xr-x 2 root root 4096 Mar 10 16:32 .
drwxr-xr-x 10 root root 4096 Dec 25 2022 …
-rwxr-xr-x 1 root root 221 Mar 10 16:32 pip
-rwxr-xr-x 1 root root 221 Mar 10 16:32 pip3
-rwxr-xr-x 1 root root 221 Mar 10 16:32 pip3.9

Can I connect remotely via ssh? If so PM me the login / password and IP address.

sure thing. Give me a few minutes.

This ended up being several issues documented in certbot and python dependency issues · Issue #604 · bluecherrydvr/bluecherry-apps · GitHub

  • Our location for certbot did not exist, so that was failing
  • Several python dependency errors existed (I really hate python)…I should look at pipdeptree · PyPI
  • /usr/share/bluecherry/nginx-includes/letsencrypt did not exist (need to figure out why)
  • In the non-existent directory above dns-subdomain-credentials.ini was missing, so even if the above was fixed nothing would have happened anyway

This has been an area that I’ve struggled with fixing, as certain distributions install different versions of python and we are occasionally stuck in dependency hell.

My solution is a docker compose setup that “just does everything” including a mta-mailer and can be installed on any Linux distribution.

Thanks as always for your assistance.
I did purchase Bluecherry personal/small business support license to show my thanks/appreciation

If docker compose is the way to go moving forward, I’m more than happy to migrate over and assist in any testing/verifications.