Certbot: error: argument -m/--email: expected one argument

Installing NextCloudPi on a Pi and cant get past this error -

Thanks for looking at this -

Mark

My domain is:
myvpnlink.ddns.net

I ran this command:
NextCloud Pi Auto config Wizard
It produced this output:
Log>>>>>>>>>>>>>>>>>

[ nc-automount ]
Created symlink /etc/systemd/system/multi-user.target.wants/nc-automount.service → /usr/lib/systemd/system/nc-automount.service.
Created symlink /etc/systemd/system/multi-user.target.wants/nc-automount-links.service → /usr/lib/systemd/system/nc-automount-links.service.
automount enabled

[ nc-datadir ]
INFO: /media/USBdrive/ncdata is not empty. Creating backup /media/USBdrive/ncdata-07-23-20
Maintenance mode enabled
moving data directory from /var/www/nextcloud/data to /media/USBdrive/ncdata…
BTRFS filesystem detected
Create subvolume ‘/media/myCloudDrive/ncdata’
Nextcloud is in maintenance mode - no apps have been loaded

System config value tempdirectory set to string /media/myCloudDrive/ncdata/tmp
Nextcloud is in maintenance mode - no apps have been loaded

System config value datadirectory set to string /media/myCloudDrive/ncdata
Nextcloud is in maintenance mode - no apps have been loaded

System config value logfile set to string /media/myCloudDrive/ncdata/nextcloud.log
Maintenance mode disabled

[ fail2ban ]
System config value loglevel set to string 2
System config value log_type set to string file
fail2ban enabled

[ no-ip ]

Auto configuration for Linux client of no-ip.com.

Only one host [myvpnlink.ddns.net] is registered to this account.
It will be used.

New configuration file ‘/usr/local/etc/no-ip2.conf’ created.

Failed to enable unit: Unit /run/systemd/generator.late/noip2.service is transient or generated.
System config value trusted_domains => 3 set to string myvpnlink.ddns.net
System config value overwrite.cli.url set to string https://myvpnlink.ddns.net/
noip DDNS enabled

[ nc-autoupdate-ncp ]
automatic NextCloudPi updates enabled

[ dnsmasq ]
System config value trusted_domains => 2 set to string myvpnlink.ddns.net
System config value overwrite.cli.url set to string https://myvpnlink.ddns.net/
dnsmasq enabled

[ letsencrypt ]
usage:
certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] …

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: argument -m/–email: expected one argument

END LOG>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

My web server is (include version):

Pi 4

The operating system my web server runs on is (include version):

NextCloudPi

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know):

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):

Do you have to or can you input an e-mail address anywhere in that installation procedure? It seems the letsencrypt.sh script used in NextCloudPi uses the variable $EMAIL in the script, but that variable isn’t mentioned anywhere else. So it probably comes from another part of the Wizard.

1 Like

That wizard appears to be documented here: https://docs.nextcloudpi.com/en/configuration-reference/#letsencrypt

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.