Answer the question
In order to leave comments, you need to log in
Owncloud file upload error, what's wrong?
owncloud config
<?php
$CONFIG = array (
'instanceid' => 'ocjrfwznljew',
'passwordsalt' => '*****',
'secret' => '*****',
'trusted_domains' =>
array (
0 => '192.168.1.120',
1 => 'Внешний IP (не указываю тут)',
),
// memached
'memcache.local' => '\OC\Memcache\Memcached',
'memcache.distributed' => '\OC\Memcache\Memcached',
'memcached_servers' => array(
array('localhost', 11211),
),
//memached
'datadirectory' => '/mnt/owncloud/data',
'overwrite.cli.url' => 'http://192.168.1.120/owncloud',
'dbtype' => 'mysql',
'version' => '10.2.1.4',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '******',
'dbpassword' => '******',
'logtimezone' => 'UTC',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/owncloud/apps',
'url' => '/apps',
'writable' => true,
),
1 =>
array (
'path' => '/var/www/html/owncloud/apps-external',
'url' => '/apps-external',
'writable' => true,
),
),
'installed' => true,
'logtimezone' => 'Europe/Moscow', // или другой Ваш часовой пояс
'logfile' => '/var/log/owncloud-acces.log',
'loglevel' => '0',
'log_authfailip' => true,
//* Block_file
'filelocking.enabled' => true,
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => [
'host' => 'localhost',
'port' => 6379,
'timeout' => 0.0,
'password' => '', // Optional, if not defined no password will be used.
],
);
Answer the question
In order to leave comments, you need to log in
After transferring the data folder, in my case it is like this. 'datadirectory' => '/mnt/owncloud/data',
You need to go to phpmyadmin, select the database where owncloud is installed, find the user under which you enter owncloud and set the home parameter, where the data folder is located
column
home
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question