Headless XU4 owncloud server problems[Solved ish]

Post Reply
richard-g8jvm
Posts: 479
Joined: Sun Jan 18, 2015 1:27 am
languages_spoken: english
ODROIDs: C1+ C2, XU4
Location: Telford UK
Has thanked: 0
Been thanked: 4 times
Contact:

Headless XU4 owncloud server problems[Solved ish]

Post by richard-g8jvm »

Trying to get a XU4 running Owncloud,
I have followed various instructions , both from the odroid mag and from https://lucidar.me/en/owncloud/install- ... ntu-20-04/
running Ubuntu 22.04 , As its headless I cant use localhost address for testing, its sitting on the lan with an ip address of 192.168.1.82
the owncloud port used is 8443 and the port is open , well it should be as iptables has the port open.
http://192.168.1.82 brings up the apache2 page
but http://192.168.1.82/opencloud gives a 404 error
and http://192.168.1.82:8443 gives:-
Firefox can’t establish a connection to the server at 192.168.1.82:8443.
nmap -v shows

Code: Select all

Not shown: 993 closed ports
PORT      STATE SERVICE
22/tcp    open  ssh
80/tcp    open  http
111/tcp   open  rpcbind
139/tcp   open  netbios-ssn
443/tcp   open  https
445/tcp   open  microsoft-ds
10000/tcp open  snet-sensor-mgmt


iptables:-

# Warning: iptables-legacy tables present, use iptables-legacy to see them
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
geo-owncloud  tcp  --  anywhere             anywhere             tcp dpt:8443
homeassistant  tcp  --  anywhere             anywhere             tcp dpt:8123

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

Chain geo-owncloud (1 references)
target     prot opt source               destination         
ACCEPT     all  --  192.168.1.0/24       anywhere            
DROP       all  --  anywhere             anywhere             -m geoip ! --source-country GB 

Chain homeassistant (1 references)
target     prot opt source               destination         

I've guess the country code for Great Britain is GB


/etc/apache2/sites-enabled/owncloud.conf

Code: Select all

<IfModule mod_ssl.c>
        <VirtualHost *:8443>
                ServerName  192.168.1.82
                ServerAdmin webmaster@g8jvm.com
                #Listen 8443
                DocumentRoot /var/www/owncloud

I'm not at home at the moment so I cant plug a display on the XU4 and try localhost

I checked the contents of /var/www/owncloud and found the executable occ,, so did this

Code: Select all

odroid@odroid:~$ ps ax|grep occ
28764 pts/0    S+     0:00 grep --color=auto occ
odroid@odroid:~$ sudo /var/www/owncloud/occ &
[1] 28766
odroid@odroid:~$ This version of ownCloud is not compatible with PHP 8.0
You are currently running PHP 8.1.2-1ubuntu2.8.


many 4 leter words spring to mind ! , can someone help please , owncloud is version 10, the current stable version
Last edited by richard-g8jvm on Sun Nov 27, 2022 7:10 am, edited 1 time in total.
BR
Richard G8JVM

igorpec
Posts: 1076
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: bash,c++,python
Has thanked: 69 times
Been thanked: 161 times
Contact:

Re: Headless XU4 owncloud server problems

Post by igorpec »

> This version of ownCloud is not compatible with PHP 8.0

This is more a question for ownCloud forum / docs. But in general - you need to follow this document regarding php:
https://www.how2shout.com/linux/how-to- ... mmy-linux/

richard-g8jvm
Posts: 479
Joined: Sun Jan 18, 2015 1:27 am
languages_spoken: english
ODROIDs: C1+ C2, XU4
Location: Telford UK
Has thanked: 0
Been thanked: 4 times
Contact:

Re: Headless XU4 owncloud server problems

Post by richard-g8jvm »

OK Thanks
BR
Richard G8JVM

richard-g8jvm
Posts: 479
Joined: Sun Jan 18, 2015 1:27 am
languages_spoken: english
ODROIDs: C1+ C2, XU4
Location: Telford UK
Has thanked: 0
Been thanked: 4 times
Contact:

Re: Headless XU4 owncloud server problems

Post by richard-g8jvm »

I've tried the install instructions on
https://doc.owncloud.com/server/next/ad ... 22_04.html
that replaces php 8 with php 7.4 and uses maria, db
and that doesn't work either, quite a few syntax errors .
IS there any cloud s/w that works on a XU4, owncloud appears to be not nice,being polite !, what ever is installed needs to work along side home assistant for some automation stuff as well.
BR
Richard G8JVM

InsideOut
Posts: 23
Joined: Sun May 13, 2018 4:02 pm
languages_spoken: english
ODROIDs: HC2
Has thanked: 5 times
Been thanked: 5 times
Contact:

Re: Headless XU4 owncloud server problems

Post by InsideOut »

I run Nextcloud on an HC2, you would be limited to Nextcloud 24 as version 25 requires a 64 bit OS.

Used Carstein Rieger's instructions https://www.c-rieger.de/nextcloud-insta ... anleitung/

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 7 guests