Skip to content

Misleading log message in logfile after setup: touch() unabe to create file owncloud.log #12893

@RandolfCarter

Description

@RandolfCarter

Steps to reproduce

  1. Set up a new owncloud installation
  2. Check the owncloud.log

Expected behaviour

No log entries, or at least none indicating any problem if everything went ok.

Actual behaviour

Even if everything went perfectly, there is a message stating that the log file could not be written (in the logfile itself) - quite the paradox ;) (see below for message).
Also reported here: https://forum.owncloud.org/viewtopic.php?f=21&t=25393

Server configuration

Operating system: Ubuntu Server 14.04.1 LTS
Web server: Apache 2.4.9 (Ubuntu)
Database: MariaDB 10.0.14
PHP version: 5.5.9
ownCloud version: 7.0.3 / 7.0.4
Updated from an older ownCloud or fresh install: fresh install

List of activated apps:
default apps from community edition

The content of config/config.php:
Pristine config.php as written by setup

Are you using external storage, if yes which one: none

Are you using encryption: no

Client configuration

(among others):
Browser: Firefox 34.05
Operating system: Windows 8.1

Logs

Web server error log

nothing related

ownCloud log (data/owncloud.log)

{"app":"PHP","message":"touch(): Unable to create file \/www\/owncloud\/data\/owncloud.log because No such file or directory at \/www\/owncloud\/lib\/private\/log\/owncloud.php#49","level":3,"time":"2014-11-19T18:36:08+00:00"}

Browser log

nothing relevant

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions