Hi there.
My first attempt at installing Nextcloud on a Rasberry Pi 3
Sort of went O.K…
Then I attempted to get a certificate using certbot, but I failed.
Can anyone put me right here?
When it produced the certificate, everything seemed to go well, and four files went into:
/etc/letsencrypt/live/alistairscloud.org/
cert.pem
chain.pem
fullchain.pem
privkey.pem
That’s all there is in there.
I got confused (probably the drink) and i reckon I’m not using the right key file or I’ve forgotten another config file or something.
Should I be looking for a .key file?
Should I just slit my wrists now or just take some more wood alcohol?
Nextcloud version 12.0.3
Operating system and version:
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.1 (stretch)
Release: 9.1
Codename: stretch
Apache version 2.4.25 (Raspbian)
PHP version 5.6.22-2+b3
apachectl -V says:
Syntax error on line 33 of /etc/apache2/sites-enabled/000-default-le-ssl.conf:
SSLCertificateFile: file ‘/etc/letsencrypt/live/alistairscloud.org/fullchain.pem’ does not exist or is empty
fullchain.pem exists there, and is definitely not empty.
GNU nano 2.7.4 File: config.php
<?php
$CONFIG = array (
'instanceid' => 'ocrtxgh6xns3',
'passwordsalt' => '(lots of characters)',
'secret' => '(lots more characters)',
'trusted_domains' =>
array (
0 => '192.168.1.80',
1 => 'www.alistairscloud.org',
2 => 'alistairscloud.org',
'memcache.local' => '\OC\Memcache\APCu',
),
'datadirectory' => '/var/nextcloud/data',
'overwrite.cli.url' => 'https://192.168.1.80/nextcloud',
'dbtype' => 'sqlite3',
'version' => '12.0.3.3',
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
The log and 000-default-le-ssl.conf are a bit big, so they can be found here:
I would greatly appreciate help.
Sorry if you get this question all the time…
Fitch.