My web server is (include version):
Dedicated server running Debian 9, Nginx
Hi there. I didn't answer all the questions because not suitable.
I just upgraded from Debian 7 to Debian 9. Now I want to install Certbot via Snapd (as advised).
apt install snapd
snap install core
Oct 5 13:26:54 reisio systemd: Mounting Mount unit for core...
Oct 5 13:26:54 reisio systemd: Couldn't stat device /dev/pts/ptmx
Oct 5 13:26:54 reisio systemd: snap-core-11743.mount: Mount process exited, code=exited status=32
Oct 5 13:26:54 reisio systemd: Failed to mount Mount unit for core.
Oct 5 13:26:54 reisio systemd: snap-core-11743.mount: Unit entered failed state.
Oct 5 13:26:54 reisio /usr/lib/snapd/snapd: task.go:303: DEBUG: 2021-10-05T13:26:54+02:00 ERROR [start snap-core-11743.mount] failed with exit status 1: Job for snap-core-11743.mount failed.#012See "s
ystemctl status snap-core-11743.mount" and "journalctl -xe" for details.
It seems there is on my system a /dev/ptmx device but no /dev/pts/ptmx device. So snapd cannot install core nor certbot.
Has anyone encountered this issue?
Thanks in advanced,
Seems to be due to CONFIG_DEVPTS_MULTIPLE_INSTANCES missing from your kernel. Are you running the default kernel? Maybe you can upgrade it? E.g., by using stretch-backports or something? Note that I'm not even sure if the kernel in stretch-backports actually has CONFIG_DEVPTS_MULTIPLE_INSTANCES enabled..