Hi alfredb,
thanks a lot for your super quick reply.
Absolutely this can’t solve anything. But it proves that owncloud (or apache as www-data) can read & write from the actual target directory once th initial validation had been passed.
sorry for not filling the template. Here we go:
Steps to reproduce
- fresh install owncloud
- point datadirectory to /mnt/own_cloud_data
- open webpage reports ‘Your Data directory is not writable by ownCloud’
Expected behaviour
login and be happy ![:slight_smile: :slight_smile:](https://central.owncloud.org/images/emoji/twitter/slight_smile.png?v=9)
Actual behaviour
startscrren (at index.php/login) shows:
Your Data directory is not writable by ownCloud
Berechtigungen können normalerweise repariert werden, indem dem Webserver Schreibzugriff auf das Wurzelverzeichnis gegeben wird.
rigths are set to 777 including /mnt/own_cloud_data
sudo -u www-data ls -la /mnt/own_cloud_data/ list the files
group looks strange, this seems to be from the nfs share but is as was before
sudo -u www-data vi /mnt/own_cloud_data/owncloud.log
rigths had also been set using the script proivided
Server configuration
Operating system:
Ubuntu 20.04.1
Web server:
apache 2
Database:
MySQL
PHP version:
php 7.4.3
ownCloud version: (see ownCloud admin page)
Updated from an older ownCloud or fresh install:
fresh install, but desaster recovery by reimporting DB tables after installation and mounting data directory
Where did you install ownCloud from:
via apt from
http://download.owncloud.org/download/repositories/production/Ubuntu_20.04/
Signing status (ownCloud 9.0 and above):
can’t login ![:frowning: :frowning:](https://central.owncloud.org/images/emoji/twitter/frowning.png?v=9)
The content of config/config.php:
<?php
$CONFIG = array (
'updatechecker' => false,
'instanceid' => '<my id>',
'passwordsalt' => '<my pwdsalt>',
'secret' => '<my secret>',
'trusted_domains' =>
array (
0 => 'localhost',
),
'datadirectory' => '/mnt/own_cloud_data',
'overwrite.cli.url' => 'https://<my domain>',
'dbtype' => 'mysql',
'version' => '10.5.0.10',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'owncloud',
'dbpassword' => '<some pwd>',
'logtimezone' => 'UTC',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/owncloud/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/owncloud/apps-external',
'url' => '/apps-external',
'writable' => true,
),
),
'installed' => true,
'theme' => '',
'loglevel' => 0,
'maintenance' => false,
'memcache.local' => '\\OC\\Memcache\\APCu',
'mail_domain' => '<mydomain>',
'mail_from_address' => 'admin',
'mail_smtpmode' => 'smtp',
'mail_smtphost' => 'localhost',
'mail_smtpport' => '25',
);
List of activated apps:
Enabled:
- activity: 2.6.0
- calendar: 1.6.4
- comments: 0.3.0
- configreport: 0.2.0
- contacts: 1.5.5
- dav: 0.6.0
- drawio: 0.0.9
- encryption: 1.4.0
- extract: 1.2.4
- federatedfilesharing: 0.5.0
- files: 1.5.2
- files_clipboard: 1.0.3
- files_external: 0.7.1
- files_mediaviewer: 1.0.3
- files_sharing: 0.13.0
- files_texteditor: 2.3.0
- files_textviewer: 1.0.3
- files_trashbin: 0.9.1
- files_versions: 1.3.0
- firstrunwizard: 1.2.0
- gallery: 16.1.1
- market: 0.6.0
- notes: 2.0.6
- tasks: 0.9.7
- updatenotification: 0.2.1
Disabled:
- admin_audit
- announcementcenter
- customgroups
- enterprise_key
- external
- federation
- files_antivirus
- files_classifier
- files_external_dropbox
- files_external_ftp
- files_ldap_home
- files_pdfviewer
- firewall
- guests
- notifications
- oauth2
- password_policy
- provisioning_api
- ransomware_protection
- sharepoint
- systemtags
- systemtags_management
- templateeditor
- theme-enterprise
- twofactor_totp
- user_external
- user_shibboleth
- wopi
- workflow
Are you using external storage, if yes which one: local/smb/sftp/…
only local mounted nfs storage:
on /mnt/own_cloud_data type nfs4 (rw,relatime,vers=4.0,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,timeo=14,retrans=2,sec=sys,clientaddr=,local_lock=none,addr=)
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…
no
Client configuration
Browser:
Chrome
Operating system:
Windows
Logs
Web server error log
nothing relatred to owncloud
ownCloud log (data/owncloud.log)
remains empty with final path
Browser log
not a browser issue