[SOLVED] Cannot access plinth due to capitalized alphabets in domain names

Hi,
I’ve tried adding a let’s encrypt certificate to my domain and now I cannot access plinth anymore from browser, I get “can’t establish a connection to the server” or “This site can’t be reached
ERR_ADDRESS_UNREACHABLE”. I’m still able to connect via ssh(I use the same ip as the web interface), and to use the openvpn server with a domain gnu-dip MyIp.sds-ip.de on the freedombox. I installed Matrix and then tried to add let’s encrypt via the link in the setup information. After clicking on let’s encrypt I cannot access web interface anymore. The IP has not changed in the router and everything seem to be working fine when I log in to ssh.
My port 80 and 443 are open. Typing freedombox.local used to also work before the let’s encrypt thing, but does not work anymore.

I’ve check the log of let’s encrypt. It did worked it says congratulation! Your your certificate and chain have been saved

but afterward there are some error message:
Error connecting BIO
Error querying OCSP responder
3069837328:error:2008F002:BIO routines:BIO_lookup_ex:system lib:…/crypto/bio/b_addr.c:710:Name or service not known
INFO:certbot.ocsp:OCSP check failed for /etc/letsencrypt/live/XXXXX.sds-ip.de/cert.pem (are we offline?)

I ran sudo apt update and the freedombox is able to access internet without problem.

Can anybody help me access plinth?

I’m using freedombox-stable with the latest update.

It appears that during issuing of certificate openssl command was unable to reach OSCP servers. Perhaps a temporary server or connectivity issue. This is no excuse for this serious failure. FreedomBox should have detected the error and should not have proceeded with further steps of modifying configuration etc.

Could you please login to SSH and provide the output of the following commands:

systemctl status apache2
systemctl status plinth
journalctl -u plinth

Assuming you are completely unable to connect to the server (and don’t see and web server error in your browser), could you also try the following:

a2dissite <mydomain>.sds-ip.de
systemctl restart apache2

systemctl status apache2
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset:
Active: failed (Result: exit-code) since Sat 2019-09-14 16:59:58 PDT; 3 days

lines 1-4/4 (END)…skipping…
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2019-09-14 16:59:58 PDT; 3 days ago

systemctl status plinth
● plinth.service - FreedomBox Service (Plinth)
Loaded: loaded (/lib/systemd/system/plinth.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2019-09-16 06:35:47 PDT; 1 day 15h ago
Docs: man:plinth(1)
Main PID: 5551 (plinth)
Tasks: 16 (limit: 4732)
Memory: 37.8M
CGroup: /system.slice/plinth.service
└─5551 /usr/bin/python3 /usr/bin/plinth

sudo journalctl -u plinth

Sep 14 16:59:37 freedombox systemd[1]: Started FreedomBox Service (Plinth).
Sep 14 17:00:29 freedombox /usr/bin/plinth[445]: FreedomBox Service (Plinth) version - 19.15
Sep 14 17:00:29 freedombox /usr/bin/plinth[445]: Configuration loaded from file - /etc/plinth/plinth.config
Sep 14 17:00:29 freedombox /usr/bin/plinth[445]: Script prefix - /plinth
Sep 14 17:00:29 freedombox /usr/bin/plinth[445]: AXES: BEGIN LOG
Sep 14 17:00:29 freedombox /usr/bin/plinth[445]: AXES: Using django-axes 4.4.0
Sep 14 17:00:29 freedombox /usr/bin/plinth[445]: AXES: blocking by IP only.
Sep 14 17:00:32 freedombox /usr/bin/plinth[445]: Module load order - [‘apache’, ‘api’, ‘avahi’, ‘backups’, ‘bind’, ‘cockpit’, ‘firewall’, ‘names’, ‘config’, ‘datetime’,
Sep 14 17:00:34 freedombox /usr/bin/plinth[445]: Executing command - [‘sudo’, ‘-n’, ‘/usr/share/plinth/actions/cockpit’, ‘add-domain’, ‘XXXXX.sds-ip.de’]
Sep 14 17:00:34 freedombox sudo[1400]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/cockpit add-domain XXXXX.sds-ip.de
Sep 14 17:00:34 freedombox sudo[1400]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 14 17:00:35 freedombox sudo[1400]: pam_unix(sudo:session): session closed for user root
Sep 14 17:00:35 freedombox /usr/bin/plinth[445]: Executing command - [‘sudo’, ‘-n’, ‘/usr/share/plinth/actions/service’, ‘try-restart’, ‘cockpit.socket’]
Sep 14 17:00:36 freedombox sudo[1410]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/service try-restart cockpit.socket
Sep 14 17:00:36 freedombox sudo[1410]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 14 17:00:42 freedombox sudo[1410]: pam_unix(sudo:session): session closed for user root
Sep 14 17:00:42 freedombox /usr/bin/plinth[445]: Added domain XXXXX.sds-ip.de of type domain-type-static with services all
Sep 14 17:00:42 freedombox /usr/bin/plinth[445]: Executing command - [‘sudo’, ‘-n’, ‘/usr/share/plinth/actions/dynamicdns’, ‘status’]
Sep 14 17:00:43 freedombox sudo[1440]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/dynamicdns status
Sep 14 17:00:43 freedombox sudo[1440]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 14 17:00:43 freedombox sudo[1440]: pam_unix(sudo:session): session closed for user root
Sep 14 17:00:43 freedombox /usr/bin/plinth[445]: Executing command - [‘sudo’, ‘-n’, ‘/usr/share/plinth/actions/cockpit’, ‘add-domain’, ‘Nieve-blanche’]
Sep 14 17:00:43 freedombox sudo[1477]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/cockpit add-domain Nieve-blanche
Sep 14 17:00:43 freedombox sudo[1477]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 14 17:00:44 freedombox sudo[1477]: pam_unix(sudo:session): session closed for user root
Sep 14 17:00:44 freedombox /usr/bin/plinth[445]: Executing command - [‘sudo’, ‘-n’, ‘/usr/share/plinth/actions/service’, ‘try-restart’, ‘cockpit.socket’]
Sep 14 17:00:45 freedombox sudo[1481]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/service try-restart cockpit.socket
Sep 14 17:00:45 freedombox sudo[1481]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 14 17:00:51 freedombox sudo[1481]: pam_unix(sudo:session): session closed for user root
Sep 14 17:00:51 freedombox /usr/bin/plinth[445]: Added domain Nieve-blanche of type domain-type-dynamic with services all
Sep 14 17:00:51 freedombox /usr/bin/plinth[445]: Executing command - [’/usr/share/plinth/actions/ikiwiki’, ‘get-sites’]
Sep 14 17:00:53 freedombox /usr/bin/plinth[445]: Executing command - [‘sudo’, ‘-n’, ‘/usr/share/plinth/actions/openvpn’, ‘is-setup’]
Sep 14 17:00:53 freedombox sudo[1515]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/openvpn is-setup
Sep 14 17:00:53 freedombox sudo[1515]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 14 17:00:54 freedombox sudo[1515]: pam_unix(sudo:session): session closed for user root
Sep 14 17:00:54 freedombox /usr/bin/plinth[445]: Executing command - [‘sudo’, ‘-n’, ‘/usr/share/plinth/actions/pagekite’, ‘is-disabled’]
Sep 14 17:00:54 freedombox sudo[1519]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/pagekite is-disabled
Sep 14 17:00:54 freedombox sudo[1519]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 14 17:01:00 freedombox sudo[1519]: pam_unix(sudo:session): session closed for user root
Sep 14 17:01:00 freedombox /usr/bin/plinth[445]: Executing command - [‘sudo’, ‘-n’, ‘/usr/share/plinth/actions/pagekite’, ‘get-kite’]
Sep 14 17:01:00 freedombox sudo[1530]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/pagekite get-kite
Sep 14 17:01:00 freedombox sudo[1530]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 14 17:01:05 freedombox sudo[1530]: pam_unix(sudo:session): session closed for user root
Sep 14 17:01:05 freedombox /usr/bin/plinth[445]: Executing command - [‘sudo’, ‘-n’, ‘/usr/share/plinth/actions/cockpit’, ‘add-domain’, None]
Sep 14 17:01:05 freedombox /usr/bin/plinth[445]: Executing command - [‘sudo’, ‘-n’, ‘/usr/share/plinth/actions/ejabberd’, ‘add-domain’, ‘–domainname’, None]
Sep 14 17:01:05 freedombox /usr/bin/plinth[445]: Executing command - [‘sudo’, ‘-n’, ‘/usr/share/plinth/actions/letsencrypt’, ‘get-status’]
Sep 14 17:01:05 freedombox sudo[1535]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/letsencrypt get-status
Sep 14 17:01:05 freedombox sudo[1535]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 14 17:01:16 freedombox sudo[1535]: pam_unix(sudo:session): session closed for user root
Sep 14 17:01:16 freedombox /usr/bin/plinth[445]: Checking if any Let’s Encrypt certificates got renewed.
Sep 14 17:01:16 freedombox /usr/bin/plinth[445]: Executing command - [‘sudo’, ‘-n’, ‘/usr/share/plinth/actions/letsencrypt’, ‘get-status’]
Sep 14 17:01:16 freedombox sudo[1551]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/letsencrypt get-status
Sep 14 17:01:16 freedombox sudo[1551]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 14 17:01:26 freedombox sudo[1551]: pam_unix(sudo:session): session closed for user root
Sep 14 17:01:26 freedombox /usr/bin/plinth[445]: Certificate for XXXXX.sds-ip.de is already the latest known.
Sep 14 17:01:26 freedombox /usr/bin/plinth[445]: Running regular setup.
Sep 14 17:01:26 freedombox /usr/bin/plinth[445]: Executing command - [‘sudo’, ‘-n’, ‘/usr/share/plinth/actions/packages’, ‘is-package-manager-busy’]
Sep 14 17:01:26 freedombox /usr/bin/plinth[445]: Started new thread for D-Bus services
Sep 14 17:01:26 freedombox /usr/bin/plinth[445]: Setting up CherryPy server
Sep 14 17:01:26 freedombox /usr/bin/plinth[445]: D-Bus connection acquired: org.freedombox.Service
Sep 14 17:01:26 freedombox sudo[1568]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/packages is-package-manager-busy
Sep 14 17:01:26 freedombox sudo[1568]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 14 17:01:26 freedombox /usr/bin/plinth[445]: D-Bus name acquired: org.freedombox.Service
Sep 14 17:01:26 freedombox /usr/bin/plinth[445]: [14/Sep/2019:17:01:26] ENGINE Listening for SIGTERM.
Sep 14 17:01:26 freedombox /usr/bin/plinth[445]: [14/Sep/2019:17:01:26] ENGINE Listening for SIGHUP.
Sep 14 17:01:26 freedombox /usr/bin/plinth[445]: [14/Sep/2019:17:01:26] ENGINE Listening for SIGUSR1.
Sep 14 17:01:26 freedombox /usr/bin/plinth[445]: [14/Sep/2019:17:01:26] ENGINE Bus STARTING
Sep 14 17:01:26 freedombox /usr/bin/plinth[445]: [14/Sep/2019:17:01:26] ENGINE Started monitor thread ‘_TimeoutMonitor’.
Sep 14 17:01:26 freedombox /usr/bin/plinth[445]: [14/Sep/2019:17:01:26] ENGINE Serving on 127.0.0.1:8000
Sep 14 17:01:26 freedombox /usr/bin/plinth[445]: [14/Sep/2019:17:01:26] ENGINE Bus STARTED
Sep 14 17:01:27 freedombox sudo[1568]: pam_unix(sudo:session): session closed for user root
Sep 14 17:01:28 freedombox /usr/bin/plinth[445]: Running setup for modules, essential - True, selected modules - None
Sep 14 17:01:28 freedombox /usr/bin/plinth[445]: Setup thread finished.
Sep 14 17:44:53 freedombox /usr/bin/plinth[445]: Apt package cache updated.
Sep 14 17:44:53 freedombox /usr/bin/plinth[445]: Waiting for 1800 seconds before attempting upgrade
Sep 14 18:14:53 freedombox /usr/bin/plinth[445]: Attempting to perform upgrade
Sep 14 18:14:53 freedombox /usr/bin/plinth[445]: Executing command - [‘sudo’, ‘-n’, ‘/usr/share/plinth/actions/packages’, ‘is-package-manager-busy’]
Sep 14 18:14:53 freedombox sudo[3115]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/packages is-package-manager-busy
Sep 14 18:14:53 freedombox sudo[3115]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 14 18:14:54 freedombox sudo[3115]: pam_unix(sudo:session): session closed for user root
Sep 14 18:15:00 freedombox /usr/bin/plinth[445]: Apps needing conffile upgrades:
Sep 14 19:32:28 freedombox /usr/bin/plinth[445]: Apt package cache updated.
Sep 14 19:32:28 freedombox /usr/bin/plinth[445]: Waiting for 1800 seconds before attempting upgrade
Sep 14 20:02:28 freedombox /usr/bin/plinth[445]: Attempting to perform upgrade
Sep 14 20:02:28 freedombox /usr/bin/plinth[445]: Executing command - [‘sudo’, ‘-n’, ‘/usr/share/plinth/actions/packages’, ‘is-package-manager-busy’]
Sep 14 20:02:28 freedombox sudo[5121]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/packages is-package-manager-busy
Sep 14 20:02:28 freedombox sudo[5121]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 14 20:02:29 freedombox sudo[5121]: pam_unix(sudo:session): session closed for user root
Sep 14 20:02:35 freedombox /usr/bin/plinth[445]: Apps needing conffile upgrades:
Sep 15 13:46:02 freedombox /usr/bin/plinth[445]: Apt package cache updated.
Sep 15 13:46:02 freedombox /usr/bin/plinth[445]: Waiting for 1800 seconds before attempting upgrade
Sep 15 14:16:02 freedombox /usr/bin/plinth[445]: Attempting to perform upgrade
Sep 15 14:16:02 freedombox /usr/bin/plinth[445]: Executing command - [‘sudo’, ‘-n’, ‘/usr/share/plinth/actions/packages’, ‘is-package-manager-busy’]
Sep 15 14:16:02 freedombox sudo[22384]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/packages is-package-manager-busy
Sep 15 14:16:02 freedombox sudo[22384]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 15 14:16:03 freedombox sudo[22384]: pam_unix(sudo:session): session closed for user root
Sep 15 14:16:09 freedombox /usr/bin/plinth[445]: Apps needing conffile upgrades:
Sep 16 05:02:59 freedombox /usr/bin/plinth[445]: Apt package cache updated.
Sep 16 05:02:59 freedombox /usr/bin/plinth[445]: Waiting for 1800 seconds before attempting upgrade
Sep 16 05:32:59 freedombox /usr/bin/plinth[445]: Attempting to perform upgrade
Sep 16 05:32:59 freedombox /usr/bin/plinth[445]: Executing command - [‘sudo’, ‘-n’, ‘/usr/share/plinth/actions/packages’, ‘is-package-manager-busy’]
Sep 16 05:32:59 freedombox sudo[4209]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/packages is-package-manager-busy
Sep 16 05:32:59 freedombox sudo[4209]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 16 05:33:00 freedombox sudo[4209]: pam_unix(sudo:session): session closed for user root
Sep 16 05:33:06 freedombox /usr/bin/plinth[445]: Packages available for upgrade: freedombox
Sep 16 05:33:06 freedombox /usr/bin/plinth[445]: Apps needing conffile upgrades:
Sep 16 06:35:46 freedombox systemd[1]: Stopping FreedomBox Service (Plinth)…
Sep 16 06:35:46 freedombox /usr/bin/plinth[445]: [16/Sep/2019:06:35:46] ENGINE Caught signal SIGTERM.
Sep 16 06:35:46 freedombox /usr/bin/plinth[445]: [16/Sep/2019:06:35:46] ENGINE Bus STOPPING
Sep 16 06:35:46 freedombox /usr/bin/plinth[445]: [16/Sep/2019:06:35:46] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer((‘127.0.0.1’, 8000)) shut down
Sep 16 06:35:46 freedombox /usr/bin/plinth[445]: [16/Sep/2019:06:35:46] ENGINE Stopped thread ‘_TimeoutMonitor’.
Sep 16 06:35:46 freedombox /usr/bin/plinth[445]: Exiting main loop for D-Bus services
Sep 16 06:35:46 freedombox /usr/bin/plinth[445]: D-Bus services thread exited.
Sep 16 06:35:46 freedombox /usr/bin/plinth[445]: [16/Sep/2019:06:35:46] ENGINE Bus STOPPED
Sep 16 06:35:46 freedombox /usr/bin/plinth[445]: [16/Sep/2019:06:35:46] ENGINE Bus EXITING
Sep 16 06:35:46 freedombox /usr/bin/plinth[445]: [16/Sep/2019:06:35:46] ENGINE Bus EXITED
Sep 16 06:35:46 freedombox /usr/bin/plinth[445]: [16/Sep/2019:06:35:46] ENGINE Waiting for child threads to terminate…
Sep 16 06:35:47 freedombox systemd[1]: plinth.service: Succeeded.
Sep 16 06:35:47 freedombox systemd[1]: Stopped FreedomBox Service (Plinth).
Sep 16 06:35:47 freedombox systemd[1]: Started FreedomBox Service (Plinth).
Sep 16 06:35:58 freedombox /usr/bin/plinth[5551]: FreedomBox Service (Plinth) version - 19.16
Sep 16 06:35:58 freedombox /usr/bin/plinth[5551]: Configuration loaded from file - /etc/plinth/plinth.config
Sep 16 06:35:58 freedombox /usr/bin/plinth[5551]: Script prefix - /plinth
Sep 16 06:35:58 freedombox /usr/bin/plinth[5551]: AXES: BEGIN LOG
Sep 16 06:35:58 freedombox /usr/bin/plinth[5551]: AXES: Using django-axes 4.4.0
Sep 16 06:35:58 freedombox /usr/bin/plinth[5551]: AXES: blocking by IP only.
Sep 16 06:36:00 freedombox /usr/bin/plinth[5551]: Module load order - [‘apache’, ‘api’, ‘avahi’, ‘storage’, ‘backups’, ‘bind’, ‘cockpit’, ‘firewall’, ‘names’, ‘config’,
Sep 16 06:36:01 freedombox /usr/bin/plinth[5551]: Added domain XXXXX.sds-ip.de of type domain-type-static with services all
Sep 16 06:36:01 freedombox /usr/bin/plinth[5551]: # dynamicdns status
Sep 16 06:36:01 freedombox sudo[5589]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/dynamicdns status
Sep 16 06:36:01 freedombox sudo[5589]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 16 06:36:01 freedombox sudo[5589]: pam_unix(sudo:session): session closed for user root
Sep 16 06:36:01 freedombox /usr/bin/plinth[5551]: Added domain Nieve-blanche of type domain-type-dynamic with services all
Sep 16 06:36:02 freedombox /usr/bin/plinth[5551]: $ ikiwiki get-sites
Sep 16 06:36:03 freedombox /usr/bin/plinth[5551]: # openvpn is-setup
Sep 16 06:36:03 freedombox sudo[5639]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/openvpn is-setup
Sep 16 06:36:03 freedombox sudo[5639]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 16 06:36:04 freedombox sudo[5639]: pam_unix(sudo:session): session closed for user root
Sep 16 06:36:04 freedombox /usr/bin/plinth[5551]: # pagekite is-disabled
Sep 16 06:36:04 freedombox sudo[5643]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/pagekite is-disabled
Sep 16 06:36:04 freedombox sudo[5643]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 16 06:36:09 freedombox sudo[5643]: pam_unix(sudo:session): session closed for user root
Sep 16 06:36:09 freedombox /usr/bin/plinth[5551]: # pagekite get-kite
Sep 16 06:36:09 freedombox sudo[5664]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/pagekite get-kite
Sep 16 06:36:09 freedombox sudo[5664]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 16 06:36:14 freedombox sudo[5664]: pam_unix(sudo:session): session closed for user root
Sep 16 06:36:14 freedombox /usr/bin/plinth[5551]: # cockpit add-domain ‘’
Sep 16 06:36:14 freedombox /usr/bin/plinth[5551]: # letsencrypt get-status
Sep 16 06:36:14 freedombox sudo[5671]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/letsencrypt get-status
Sep 16 06:36:14 freedombox sudo[5671]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 16 06:36:25 freedombox sudo[5671]: pam_unix(sudo:session): session closed for user root
Sep 16 06:36:25 freedombox /usr/bin/plinth[5551]: Checking if any Let’s Encrypt certificates got renewed.
Sep 16 06:36:25 freedombox /usr/bin/plinth[5551]: # letsencrypt get-status
Sep 16 06:36:25 freedombox sudo[5687]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/letsencrypt get-status
Sep 16 06:36:25 freedombox sudo[5687]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 16 06:36:36 freedombox sudo[5687]: pam_unix(sudo:session): session closed for user root
Sep 16 06:36:36 freedombox /usr/bin/plinth[5551]: Certificate for XXXXX.sds-ip.de is already the latest known.
Sep 16 06:36:36 freedombox /usr/bin/plinth[5551]: Running regular setup.
Sep 16 06:36:36 freedombox /usr/bin/plinth[5551]: # packages is-package-manager-busy
Sep 16 06:36:36 freedombox /usr/bin/plinth[5551]: Started new thread for D-Bus services
Sep 16 06:36:36 freedombox /usr/bin/plinth[5551]: Setting up CherryPy server
Sep 16 06:36:36 freedombox sudo[5704]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/packages is-package-manager-busy
Sep 16 06:36:36 freedombox /usr/bin/plinth[5551]: D-Bus connection acquired: org.freedombox.Service
Sep 16 06:36:36 freedombox sudo[5704]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 16 06:36:36 freedombox /usr/bin/plinth[5551]: D-Bus name acquired: org.freedombox.Service
Sep 16 06:36:36 freedombox /usr/bin/plinth[5551]: [16/Sep/2019:06:36:36] ENGINE Listening for SIGTERM.
Sep 16 06:36:36 freedombox /usr/bin/plinth[5551]: [16/Sep/2019:06:36:36] ENGINE Listening for SIGHUP.
Sep 16 06:36:36 freedombox /usr/bin/plinth[5551]: [16/Sep/2019:06:36:36] ENGINE Listening for SIGUSR1.
Sep 16 06:36:36 freedombox /usr/bin/plinth[5551]: [16/Sep/2019:06:36:36] ENGINE Bus STARTING
Sep 16 06:36:37 freedombox /usr/bin/plinth[5551]: [16/Sep/2019:06:36:37] ENGINE Started monitor thread ‘_TimeoutMonitor’.
Sep 16 06:36:37 freedombox /usr/bin/plinth[5551]: [16/Sep/2019:06:36:37] ENGINE Serving on 127.0.0.1:8000
Sep 16 06:36:37 freedombox /usr/bin/plinth[5551]: [16/Sep/2019:06:36:37] ENGINE Bus STARTED
Sep 16 06:36:38 freedombox sudo[5704]: pam_unix(sudo:session): session closed for user root
Sep 16 06:36:38 freedombox /usr/bin/plinth[5551]: Running setup for modules, essential - True, selected modules - None
Sep 16 06:36:38 freedombox /usr/bin/plinth[5551]: Setup thread finished.
Sep 17 16:01:35 freedombox /usr/bin/plinth[5551]: Apt package cache updated.
Sep 17 16:01:35 freedombox /usr/bin/plinth[5551]: Waiting for 1800 seconds before attempting upgrade
Sep 17 16:31:35 freedombox /usr/bin/plinth[5551]: Attempting to perform upgrade
Sep 17 16:31:35 freedombox /usr/bin/plinth[5551]: # packages is-package-manager-busy
Sep 17 16:31:35 freedombox sudo[4673]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/packages is-package-manager-busy
Sep 17 16:31:35 freedombox sudo[4673]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 17 16:31:36 freedombox sudo[4673]: pam_unix(sudo:session): session closed for user root
Sep 17 16:31:42 freedombox /usr/bin/plinth[5551]: Apps needing conffile upgrades: None

a2dissite .sds-ip.de
a2dissite: command not found
sudo apt install a2dissite
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package a2dissite

sudo systemctl restart apache2
Job for apache2.service failed because the control process exited with error code.
See “systemctl status apache2.service” and “journalctl -xe” for details.

systemctl status apache2.service
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2019-09-17 22:26:03 PDT; 2min 2s ago
Docs: -
Process: 10109 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

sudo journalctl -xe
Sep 17 22:25:32 freedombox CRON[10034]: pam_unix(cron:session): session closed for user root
Sep 17 22:25:40 freedombox polkitd(authority=local)[355]: Registered Authentication Agent for unix-process:10098:27876611 (system bus name :1.97 [/usr/bin/pkttyagent –
Sep 17 22:25:53 freedombox polkit-agent-helper-1[10104]: pam_unix(polkit-1:auth): authentication failure; logname= uid=10000 euid=0 tty= ruser=fbx rhost= user=fbx
Sep 17 22:25:55 freedombox polkitd(authority=local)[355]: Operator of unix-process:10098:27876611 FAILED to authenticate to gain authorization for action org.freedeskto
Sep 17 22:25:55 freedombox polkitd(authority=local)[355]: Unregistered Authentication Agent for unix-process:10098:27876611 (system bus name :1.97, object path /org/fre
Sep 17 22:26:03 freedombox sudo[10105]: XXXXX : TTY=pts/0 ; PWD=/home/XXXXX ; USER=root ; COMMAND=/usr/bin/systemctl restart apache2
Sep 17 22:26:03 freedombox sudo[10105]: pam_unix(sudo:session): session opened for user root by XXXXX(uid=0)
Sep 17 22:26:03 freedombox systemd[1]: Starting The Apache HTTP Server…
– Subject: A start job for unit apache2.service has begun execution
– Defined-By: systemd
– Support: -

– A start job for unit apache2.service has begun execution.

– The job identifier is 12219.
Sep 17 22:26:03 freedombox apachectl[10109]: AH00526: Syntax error on line 28 of macro ‘freedomboxtlssitemacro’ (defined on line 1 of "/etc/apache2/conf-enabled/freedom
Sep 17 22:26:03 freedombox apachectl[10109]: SSLCertificateFile: file ‘/etc/letsencrypt/live/XXXXX.sds-ip.de/fullchain.pem’ does not exist or is empty
Sep 17 22:26:03 freedombox apachectl[10109]: Action ‘start’ failed.
Sep 17 22:26:03 freedombox apachectl[10109]: The Apache error log may have more information.
Sep 17 22:26:03 freedombox systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
– Subject: Unit process exited
– Defined-By: systemd
– Support: -

– An ExecStart= process belonging to unit apache2.service has exited.

– The process’ exit code is ‘exited’ and its exit status is 1.
Sep 17 22:26:03 freedombox systemd[1]: apache2.service: Failed with result ‘exit-code’.
– Subject: Unit failed
– Defined-By: systemd
– Support: -

– The unit apache2.service has entered the ‘failed’ state with result ‘exit-code’.
Sep 17 22:26:03 freedombox systemd[1]: Failed to start The Apache HTTP Server.
– Subject: A start job for unit apache2.service has failed
– Defined-By: systemd
– Support: -

– A start job for unit apache2.service has finished with a failure.

– The job identifier is 12219 and the job result is failed.
Sep 17 22:26:03 freedombox sudo[10105]: pam_unix(sudo:session): session closed for user root
Sep 17 22:29:18 freedombox sudo[10122]: XXXX : TTY=pts/0 ; PWD=/home/XXXX ; USER=root ; COMMAND=/usr/bin/journalctl -xe
Sep 17 22:29:18 freedombox sudo[10122]: pam_unix(sudo:session): session opened for user root by XXXXX(uid=0)

Should I flash my cubietruck again with a new install of freedombox and try again? Or is there some way to restart apache and access plinth via ssh?

@Patate Perhaps you can disable the site that is missing the certificate file:
sudo a2dissite XXXXX.sds-ip.de

Then restart apache:
sudo systemctl restart apache2

1 Like

Yes it worked! Thanks @jvalleroy

I believe it was and error with capital letter. Maybe let’s encrypt should not accept capital letter as domain name and give and error message instead of trying to add it anyway? Should I open a bug?

@Patate, Yes, if you would like, please open a bug in https://salsa.debian.org/freedombox-team/plinth/issues/. Thanks for finding this issue.

I just had the same issue yesterday. Havent tried to SSH yet. Will probabl re-flash since i was only starting to gett it set up. But just to let you know that the problem persists

I managed to SSH in and disable the certificate. Problem solved. The issue appears to be capital letters in the domain, as mentioned previously.

Just be sure to keep any capital letters in your gnudip login name, otherwise you still wont get access. The error comes back as a timeout, which can be confusing.

We have an issue to track this problem: https://salsa.debian.org/freedombox-team/freedombox/-/issues/1964

1 Like