Why?


Search This Blog

Sunday, February 19, 2017

owncloud helpful commands

Add a trusted domain.:
http://192.168.80.100/owncloud/index.php/settings/admin?trustDomain=192.168.10.100

Clean trashbin/deleted files:
sudo -u apache /var/www/html/owncloud/occ trashbin:cleanup
sudo -u apache /var/www/html/owncloud/occ trashbin:cleanup user1 user2

Take out of maintenance mode:

vim /var/www/html/owncloud/config/config.php

<?php
$CONFIG = array (
  'updatechecker' => false,
  'instanceid' => 'oce24qfiihel',
  'passwordsalt' => 'Dy+BHYATWwB+F4MYYBjPjYX44iXB3o',
  'secret' => 'Bpf9UEgisK4XJecVxrL76ZAwg4n9NnG6RXWO2B4MKzpJNGMz',
  'trusted_domains' =>
  array (
    0 => '192.168.80.100',
    1 => '192.168.10.100',
  ),
  'datadirectory' => '/myraid/owncloud/',
  'overwrite.cli.url' => 'http://192.168.80.100/owncloud',
  'dbtype' => 'sqlite3',
  'version' => '9.1.4.2',
  'logtimezone' => 'UTC',
  'installed' => true,
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
);

No comments:

Post a Comment