Owncloud installation on Ubuntu Bionic
#1
Hi guys,
I´m trying to set up an Owncloud server on the lastest Ubuntu bionic (18.04) on the Rock64.
Setting up an LAMP has just worked fine and I´m getting to the default
Code:
/localhost
site. Yet downloading and installing the packages needed fails everytime.  Following

https://download.owncloud.org/download/r...index.html

these steps
Code:
wget -nv https://download.owncloud.org/download/repositories/production/Ubuntu_18.04/Release.key -O Release.key
apt-key add - < Release.key
echo 'deb http://download.owncloud.org/download/repositories/production/Ubuntu_18.04/ /' > /etc/apt/sources.list.d/owncloud.list
work just fine. But apt-get update keeps ignoring this package:

Code:
https://attic.owncloud.com/org/download/repositories/production/Ubuntu_18.04
gets me
Error 404: Not found [Image: frowning.png?v=6]
I have no idea where that file is, sorry. Are you sure you typed in the correct URL?
So this one seems moved/dislocated, because neither
Code:
/stable
nor
Code:
/10.1
nor
Code:
/production
finds this one. Any ideas?

Thanks in advance

Count Omega
  Reply
#2
(04-25-2019, 10:01 AM)Count Omega Wrote: https://download.owncloud.org/download/r...index.html

I wasn't able to find out, but does owncloud have arm64 packages or are they for all architectures?
  Reply
#3
(04-26-2019, 01:21 AM)evilbunny Wrote:
(04-25-2019, 10:01 AM)Count Omega Wrote: https://download.owncloud.org/download/r...index.html

I wasn't able to find out, but does owncloud have arm64 packages or are they for all architectures?

Package: owncloud-files Version: 10.1.1-1+1.1 Architecture: all
As it seems for all architectures.
  Reply
#4
(04-26-2019, 01:44 AM)Count Omega Wrote:
(04-26-2019, 01:21 AM)evilbunny Wrote:
(04-25-2019, 10:01 AM)Count Omega Wrote: https://download.owncloud.org/download/r...index.html

I wasn't able to find out, but does owncloud have arm64 packages or are they for all architectures?

Package: owncloud-files Version: 10.1.1-1+1.1 Architecture: all
As it seems for all architectures.


I just downloaded ayufan's latest rc bionic minimal image, then followed the steps you linked to:

Code:
# apt-get install owncloud-files
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following NEW packages will be installed:
 owncloud-files
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 16.7 MB of archives.
After this operation, 102 MB of additional disk space will be used.
Get:1 http://download.owncloud.org/download/repositories/production/Ubuntu_18.04  owncloud-files 10.1.1-1+1.1 [16.7 MB]
Fetched 16.7 MB in 30s (562 kB/s)                                                                                                                                                                                                          
Selecting previously unselected package owncloud-files.
(Reading database ... 46878 files and directories currently installed.)
Preparing to unpack .../owncloud-files_10.1.1-1+1.1_all.deb ...
Unpacking owncloud-files (10.1.1-1+1.1) ...
Setting up owncloud-files (10.1.1-1+1.1) ...
  Reply
#5
(04-26-2019, 09:13 PM)evilbunny Wrote:
(04-26-2019, 01:44 AM)Count Omega Wrote:
(04-26-2019, 01:21 AM)evilbunny Wrote:
(04-25-2019, 10:01 AM)Count Omega Wrote: https://download.owncloud.org/download/r...index.html

I wasn't able to find out, but does owncloud have arm64 packages or are they for all architectures?

Package: owncloud-files Version: 10.1.1-1+1.1 Architecture: all
As it seems for all architectures.


I just downloaded ayufan's latest rc bionic minimal image, then followed the steps you linked to:

Code:
# apt-get install owncloud-files
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following NEW packages will be installed:
 owncloud-files
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 16.7 MB of archives.
After this operation, 102 MB of additional disk space will be used.
Get:1 http://download.owncloud.org/download/repositories/production/Ubuntu_18.04  owncloud-files 10.1.1-1+1.1 [16.7 MB]
Fetched 16.7 MB in 30s (562 kB/s)                                                                                                                                                                                                          
Selecting previously unselected package owncloud-files.
(Reading database ... 46878 files and directories currently installed.)
Preparing to unpack .../owncloud-files_10.1.1-1+1.1_all.deb ...
Unpacking owncloud-files (10.1.1-1+1.1) ...
Setting up owncloud-files (10.1.1-1+1.1) ...
Doing so works just fine yet /localhost/owncloud gives me

The requested url could not be found.
  Reply
#6
(04-26-2019, 09:13 PM)evilbunny Wrote:
(04-26-2019, 01:44 AM)Count Omega Wrote:
(04-26-2019, 01:21 AM)evilbunny Wrote:
(04-25-2019, 10:01 AM)Count Omega Wrote: https://download.owncloud.org/download/r...index.html

I wasn't able to find out, but does owncloud have arm64 packages or are they for all architectures?

Package: owncloud-files Version: 10.1.1-1+1.1 Architecture: all
As it seems for all architectures.


I just downloaded ayufan's latest rc bionic minimal image, then followed the steps you linked to:

Code:
# apt-get install owncloud-files
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following NEW packages will be installed:
 owncloud-files
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 16.7 MB of archives.
After this operation, 102 MB of additional disk space will be used.
Get:1 http://download.owncloud.org/download/repositories/production/Ubuntu_18.04  owncloud-files 10.1.1-1+1.1 [16.7 MB]
Fetched 16.7 MB in 30s (562 kB/s)                                                                                                                                                                                                          
Selecting previously unselected package owncloud-files.
(Reading database ... 46878 files and directories currently installed.)
Preparing to unpack .../owncloud-files_10.1.1-1+1.1_all.deb ...
Unpacking owncloud-files (10.1.1-1+1.1) ...
Setting up owncloud-files (10.1.1-1+1.1) ...

I didi the manual installation now, and all files and packages semms to have installed correctly. Yet typing /localhost/owncloud gets nowhere. Apache has problems with SSL:
Code:
Apr 27 14:01:13 rock64 systemd[1]: Starting The Apache HTTP Server...
Apr 27 14:01:13 rock64 apachectl[3178]: AH00526: Syntax error on line 32 of /etc/apache2/sites-enabled/default-ssl.conf:
Apr 27 14:01:13 rock64 apachectl[3178]: SSLCertificateFile: file '/etc/ssl/certs/ssl-cert-snakeoil.pem' does not exist or is empty
Apr 27 14:01:13 rock64 apachectl[3178]: Action 'start' failed.
Apr 27 14:01:13 rock64 apachectl[3178]: The Apache error log may have more information.
Apr 27 14:01:13 rock64 systemd[1]: apache2.service: Control process exited, code=exited status=1
Apr 27 14:01:13 rock64 systemd[1]: apache2.service: Failed with result 'exit-code'.
Apr 27 14:01:13 rock64 systemd[1]: Failed to start The Apache HTTP Server.

Any ideas ho to fix this certificate?
  Reply
#7
(04-27-2019, 06:25 AM)Count Omega Wrote: I didi the manual installation now, and all files and packages semms to have installed correctly. Yet typing /localhost/owncloud gets nowhere. Apache has problems with SSL:
Code:
Apr 27 14:01:13 rock64 systemd[1]: Starting The Apache HTTP Server...
Apr 27 14:01:13 rock64 apachectl[3178]: AH00526: Syntax error on line 32 of /etc/apache2/sites-enabled/default-ssl.conf:
Apr 27 14:01:13 rock64 apachectl[3178]: SSLCertificateFile: file '/etc/ssl/certs/ssl-cert-snakeoil.pem' does not exist or is empty
Apr 27 14:01:13 rock64 apachectl[3178]: Action 'start' failed.
Apr 27 14:01:13 rock64 apachectl[3178]: The Apache error log may have more information.
Apr 27 14:01:13 rock64 systemd[1]: apache2.service: Control process exited, code=exited status=1
Apr 27 14:01:13 rock64 systemd[1]: apache2.service: Failed with result 'exit-code'.
Apr 27 14:01:13 rock64 systemd[1]: Failed to start The Apache HTTP Server.

Any ideas ho to fix this certificate?

I don't bother too much about ssl certs on LANs, it's usually more hassle than it's worth as it's difficult getting certs for LAN hostnames. If you want to go down this path try using let's encrypt, as their certs are trusted by all browsers.
  Reply
#8
Thanks for the advice. Did the trick. So happy Big Grin
  Reply
#9
You can self sign the certificate, the browser will show up a warning (as will the android app, desktop app) but will remember that you accepted it. As my owncloud is just for me and a few friends, I tell them just to accept the certificate, and it works fine. Been running an owncloud installation for about 7 years now, first on a Banana Pi, then Orange Pi , now on the Rock64 for the last couple of years.
  Reply
#10
I think there is an image for nextcloud or owncloud I actually prefer nextcloud as owncloud seemed to lose its way but that was a couple of years ago and from the look of things owncloud momentum has garnered again, so choice is yours.

Personally I think OMV is a brilliant platform as basically they put far too much emphasis on it being NAS its just this really simple basic multiple purpose server setup with a great webgui and some essential plugins.
Owncloud or at least Nextcloud is just go to the docker page of the GUI and type in nextcloud and hit install...
Letsencrypt is the same.

I know you wanted Ubuntu and its still Stretch but Buster OMV should be soon and OMV makes a huge array of server apps very simple from failtoban to iptables, dhcp/dns through dnsmasq and the RK3399 has no problem running many of them concurrently.

Check out the OMV images as I like simple and the webgui does just make it simple and so easy to check any problems.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian installation via sd card oaFJSADBKV 0 109 10-12-2024, 10:24 AM
Last Post: oaFJSADBKV
  Hibernate in Ubuntu grobbs 0 1,189 01-09-2022, 05:55 PM
Last Post: grobbs
  Armbian/Ubuntu for Rockbox Wizzard 5 5,172 05-18-2021, 08:18 AM
Last Post: Wizzard
  How can I update from Ubuntu 18 to Ubuntu 20? gedas07 3 4,643 10-04-2020, 10:02 PM
Last Post: tomarm
  Arch Linux Arm --> Kernel 5.8 breaks installation as365n4 12 14,009 08-31-2020, 01:41 AM
Last Post: as365n4
  armbian / bionic - hdmi to vga not functioning on newer5.4 kapqa 1 3,450 03-31-2020, 07:19 PM
Last Post: tllim
  Headless installation of Real VNC server on Rock64 possible? hg6806 3 5,888 11-18-2019, 04:32 AM
Last Post: evilbunny
Bug mpph264enc output doesn't work on bionic rompelstompel 11 18,606 11-15-2019, 10:00 AM
Last Post: gounthar
  Release 0.9.14 Ubuntu Mate desktop, LXDE, OMV, Docker CE (container) Luke 1 4,478 09-19-2019, 07:00 AM
Last Post: Malmgren
  QUESTION: How do I use WPA2-AES in ubuntu with realtek rtl8188eu??? bigbertha 0 2,170 06-18-2019, 12:04 PM
Last Post: bigbertha

Forum Jump:


Users browsing this thread: 1 Guest(s)