Owncloud.log seems not to log

Steps to reproduce

Expected behaviour

I’d like to see log details

Actual behaviour

log is empty

Server configuration

TinkerOS (Debian 10) on Tinkerboard

Web server:
apache2
Database:
mysql
PHP version:
7.4
ownCloud version: (see ownCloud admin page)
10.5.0.10
Updated from an older ownCloud or fresh install:
fresh install
Where did you install ownCloud from:
owncloud repo
Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.

The content of config/config.php:

“config”: {
“updatechecker”: false,
“instanceid”: “ocjulaxt7ku9”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
“xxx.xxx.xxx.xxx:xx”,
“xxx.xxx.xxx.xxx:xxxx”,
],
“datadirectory”: “/mnt/ocUSB/data”,
“overwrite.cli.url”: “https://xxx.xxx.xxx.xxx:xxxx”,
“htaccess.RewriteBase”: “/”,
“dbtype”: “mysql”,
“version”: “10.5.0.10”,
“dbname”: “owncloud”,
“dbhost”: “localhost”,
“dbtableprefix”: “oc_”,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“logtimezone”: “UTC”,
“log_type”: “owncloud”,
“logfile”: “/var/www/owncloud/data/owncloud.log”,
“loglevel”: “1”,
“logdateformat”: “F d, Y H:i:s”,
“apps_paths”: [
{
“path”: “/var/www/owncloud/apps”,
“url”: “/apps”,
“writable”: false
},
{
“path”: “/var/www/owncloud/apps-external”,
“url”: “/apps-external”,
“writable”: true
}
],
“installed”: true,
“memcache.local”: “\OC\Memcache\APCu”,
“memcache.locking”: “\OC\Memcache\Redis”,
“integrity.check.disabled”: true
}
Log in to the web-UI with an administrator account and click on
‘admin’ -> ‘Generate Config Report’ -> ‘Download ownCloud config report’
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.

or

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder

ATTENTION: Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove all host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.


**List of activated apps:**

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.

  • activity: 2.5.4
  • calendar: 1.6.4
  • comments: 0.3.0
  • configreport: 0.2.0
  • contacts: 1.5.5
  • dav: 0.6.0
  • federatedfilesharing: 0.5.0
  • federation: 0.1.0
  • files: 1.5.2
  • files_external: 0.7.1
  • files_mediaviewer: 1.0.3
  • files_pdfviewer: 0.11.2
  • files_sharing: 0.13.0
  • files_texteditor: 2.3.0
  • files_trashbin: 0.9.1
  • files_versions: 1.3.0
  • firstrunwizard: 1.2.0
  • market: 0.6.0
  • notifications: 0.5.2
  • provisioning_api: 0.5.0
  • systemtags: 0.3.0
  • templateeditor: 0.4.0
  • updatenotification: 0.2.1

Are you using external storage, if yes which one: local/smb/sftp/…
usb
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…
webdav

LDAP configuration (delete this part if not used)

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser:
firefox
Operating system:
windows, ios, androd

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

Hi vincenzo,

Unfortunately I’m not aware of TinkerOs, but maybe the answers to the following questions can help

  • Is the file readable for your www user?
  • In which mode do you use php on apache (mod_php, php-fpm)?
  • Do you use SELinux?
  • What is the output of
    ls -laZ /var/www/owncloud/data/owncloud.log
2 Likes

HI
thanks for your support.

i don’t know why… but now it seems working…

sorry for you time spending in my issue.

ciao
vincenzo

2 Likes