First run Owncloud

Hi
I Install Owncloud-files-10.4.1-1.1 in my Centos 7, when i create admin account i have error:
“Can’t create or write into the apps-external directory /var/www/html/owncloud/apps-external”

ls -l | grep apps-external
drwxrwxr-x. 2 apache apache 6 04-24 22:33 apps-external

my config.php:
$CONFIG = array (
‘updatechecker’ => true,
‘instanceid’ => ‘dsfasdf3232rfpa’,

‘apps_paths’ => [
0 =>
[
‘path’ => ‘/var/www/html/owncloud/apps’,
‘url’ => ‘/apps’,
‘writable’ => false,
],
1 =>
[
‘path’ => ‘/var/www/html/owncloud/apps-external’,
‘url’ => ‘/apps-external’,
‘writable’ => false,
],
],
);

For path /var/www/html/owncloud/apps-external set writable to true in your config.php

Regards,
Captain Obvious :wink:

2 Likes

i change this value in my config.php and i have this error message
Przechwytywanie

Have you run restorecon on your html directory and made directories writable for the apache server in the SELinux context.
ls -Z

1 Like

you are right, I forgot the SELinux context on CentOS.
@test123789, this docs might be helpful for you:
https://doc.owncloud.com/server/10.4/admin_manual/installation/selinux_configuration.html#preparation

1 Like