Trying to get owncloud running on raspi 3

Cannot connect via LAN or web to my server when /var/www/html/owncloud/config/config.php has overwrite.cli.url set to https://myWANip/owncloud

Server configuration

Operating system:
Web server:
PHP version:
installed 7.2, but 7.3 seems to be running?
ownCloud version: (see ownCloud admin page)
Updated from an older ownCloud or fresh install:
Where did you install ownCloud from:

The content of config/config.php:

$CONFIG = array (
  'instanceid' => 'xxxxxxxxxxxxxxxxxxx',
  'passwordsalt' => 'xxxxxxxxxxxxxxxxxxxxx',
  'secret' => 'xxxxxxxxxxxxxxxxxxxxxxxx',
  'trusted_domains' => 
  array (
    0 => '',
1 => 'wan ip',
  'datadirectory' => '/var/www/html/owncloud/data',
  'overwrite.cli.url' => 'https://wan ip/owncloud',
  'dbtype' => 'mysql',
  'version' => '',
  'dbname' => 'owncloud',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'me',
  'dbpassword' => 'mypass',
  'logtimezone' => 'UTC',
  'installed' => true,

pi@raspberrypi:/var/www/html/owncloud $ sudo -u www-data php occ config:list system
This version of ownCloud is not compatible with PHP 7.3
You are currently running PHP 7.3.4-2.
pi@raspberrypi:/var/www/html/owncloud $ cd
pi@raspberrypi:~ $ a2dismod php7.3
ERROR: Module php7.3 does not exist!
pi@raspberrypi:~ $ sudo a2dismod php7.3
ERROR: Module php7.3 does not exist!
pi@raspberrypi:~ $ a2enmod php7.2
Considering dependency mpm_prefork for php7.2:
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Considering conflict php5 for php7.2:
Module php7.2 already enabled
pi@raspberrypi:~ $ 

Are you using external storage, if yes which one: local/smb/sftp/…


maybe you can describe what “Cannot connect via LAN or web to my server” means? I think this has too less information to help here as it could mean everything :slightly_frowning_face:

I think the issue comes down to owncloud not being compatible with php7.3 yet, so I’m waiting for the next version of owncloud to see if the issue persists.

1 Like