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
  Release 0.9.14 Ubuntu Mate desktop, LXDE, OMV, Docker CE (container) Luke 1 161 09-19-2019, 07:00 AM
Last Post: Malmgren
  QUESTION: How do I use WPA2-AES in ubuntu with realtek rtl8188eu??? bigbertha 0 67 06-18-2019, 12:04 PM
Last Post: bigbertha
Bug mpph264enc output doesn't work on bionic rompelstompel 10 1,871 06-18-2019, 02:03 AM
Last Post: rompelstompel
  USB 3.0 hard drive write speed increase tip on Ubuntu 18.04 Wizardknight 3 258 05-26-2019, 10:28 PM
Last Post: Wizardknight
  Screen lock fail Bionic-lxde-rock64-0.7.8-1061-arm64 electrique 0 107 12-28-2018, 11:00 PM
Last Post: electrique
  GPU not working with Ubuntu and Debian builds kdawgpoker 10 1,258 12-19-2018, 03:53 PM
Last Post: va88
  bionic lxde 0.6.xx was not getting audio/sound jose_s_c 2 724 11-13-2018, 11:18 AM
Last Post: UnicornFarts
  Spontaneous Reboot during scp with Ubuntu bionic 0.7.8-1061 perniciouscaffeine 0 132 10-16-2018, 05:34 PM
Last Post: perniciouscaffeine
  Newbie, Can't get Audio using Ubuntu 18.04 v0.7.9 LXDE Pajaro 4 636 09-06-2018, 03:05 PM
Last Post: Pajaro
  rock64/ubuntu start-up pas059 36 3,936 06-28-2018, 08:43 AM
Last Post: pas059

Forum Jump:


Users browsing this thread: 1 Guest(s)