Unable to install OwnCloud 10 on Ubuntu 18.04

10
hosting

#1

I am trying to install OwnCloud on Ubuntu on AWS EC2. I am following this URL to install: https://download.owncloud.org/download/repositories/stable/owncloud/index.html

My ubuntu version is 18.04. I did first 2 steps (wget and echo) and when I tried to do apt-get update, this is the error I recieve:

    ubuntu@ip-172-xx-xx-254:~$ sudo apt-get update
Hit:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease  
Hit:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease              
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]    
Ign:6 https://attic.owncloud.com/org/download/repositories/production/Ubuntu_18.04  InRelease
Get:7 http://download.owncloud.org/download/repositories/production/Ubuntu_18.04  Release [984 B]
Get:8 http://download.owncloud.org/download/repositories/production/Ubuntu_18.04  Release.gpg [481 B]
Ign:8 http://download.owncloud.org/download/repositories/production/Ubuntu_18.04  Release.gpg
Reading package lists... Done
W: GPG error: http://download.owncloud.org/download/repositories/production/Ubuntu_18.04  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 47AE7F72479BC94B
E: The repository 'http://download.owncloud.org/download/repositories/production/Ubuntu_18.04  Release' is not signed.

I am stuck here with no documents helping me. Any immediate help would be really appreciated.


#2

Did you skip the

apt-key add - < Release.key


#3

Even after adding the key, my apt update produced following warning:

http://download.owncloud.org/download/repositories/production/Ubuntu_18.04/InRelease: No system certificates available. Try installing ca-certificates

I’m on current production stable version of Owncloud 10.1.1.

Output of apt-key list

pub rsa2048 2013-08-26 [SC] [expires: 2023-08-23]
DDA2 C105 C4B7 3A66 49AD 2BBD 47AE 7F72 479B C94B
uid [ unknown] ownCloud build service obsrun@localhost
sub rsa2048 2013-08-26 [E] [expires: 2023-08-23]
sub dsa2048 2013-08-26 [S] [expires: 2023-08-23]

The solution was to delete all certificates symbolic links and reinstall ca-certificates package:
rm -rf /etc/ssl/certs/*
apt-get install --reinstall ca-certificates