Hi there, I am configuring snapd and following the documentation, when I run the last command sudo ln -s /var/lib/snapd/snap /snap to create a symbolic link I get error
failed to create symbolic link ‘/snap/snap’: File exists
This tells me there is already a snap file? But how is there a file if I just installed snapd?
B: If the symlink already exists, then you’re probably good. Go ahead and try whatever it is you’re trying to do. Perhaps the documentation is outdated…
@ willnilges
Thanks for the documentation. “snap list” is useful to me. I see I have certbot classic installed.
I ran into another problem, in the instructions Step 5 says to run “sudo certbot --apache” So I run it but get “sudo: certbot: command not found”
Any ideas?
When I run “yum info certbot” I see certbot version 1.4 is installed. So when I try to run “sudo certbot --apache” Centos7 does not recognize the command? scratches head
Certbot can obtain and install HTTPS/TLS/SSL certificates. By default,
it will attempt to use a webserver both for obtaining and installing the
certificate.
certbot: error: unrecognized arguments: …
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Error while running apachectl configtest.
httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.modules.d/10-php.conf: Cannot load modules/libphp5.so into server: /lib64/libc.so.6: version `GLIBC_2.18’ not found (required by /snap/core18/current/usr/lib/x86_64-linux-gnu/libstdc++.so.6)
Certbot doesn’t know how to automatically configure the web server on this system. However, it can still get a certificate for you. Please run “certbot certonly” to do so. You’ll need to manually configure your web server to use the resulting certificate.
So looks like its having problems configuring my webserver to automate the renewals.
well, indeed the three dots I added to the command meant you should replace them with whatever options you want to use
this looks actually like a packaging issue with the certbot snap (it seems to actually execute something from the host trying to use the libc from the snap env)
oh right, this is still in Beta, shoot, I wonder if I should just scrap the snapd and use certbot with the Centos7 instructions. This is definitely an issue though.