core icon indicating copy to clipboard operation
core copied to clipboard

6.0.4 to 7.0.0 errors in log

Open MU7L3Y opened this issue 12 years ago • 4 comments

Steps to reproduce

  1. Not sure really, just upgrade from 6.0.4 to 7.0.0

Expected behaviour

No errors in the log file

Actual behaviour

4 errors appear in the log file and keep reoccurring.

Server configuration

Operating system: Linux shared hosting

Web server: Apache

Database: MySQL

PHP version: 5.5.14

ownCloud version: 7.0.0 stable

Updated from an older ownCloud or fresh install: Upgraded

List of activated apps: share files, external storage, versions, deleted files

The content of config/config.php:

<?php
$CONFIG = array (
  'instanceid' => 'oc9f9e538ae8',
  'passwordsalt' => 'REMOVED',
  'datadirectory' => '/home/REMOVED/public_html/cloud/data',
  'dbtype' => 'mysql',
  'dbname' => 'REMOVED_owncloud',
  'dbhost' => '127.0.0.1',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'REMOVED_admin',
  'dbpassword' => 'REMOVED',
  'installed' => true,
  'maxZipInputSize' => 0,
  'allowZipDownload' => true,
  'loglevel' => '2',
  'enable_previews' => false,
  'blacklisted_files' => 
  array (
    0 => '.htaccess',
    1 => '.exe',
    2 => 'Thumbs.db',
  ),
  'trashbin_retention_obligation' => 10,
  'allow_user_to_change_display_name' => false,
  'logtimezone' => 'Australia/Sydney',
  'enable_avatars' => false,
  'theme' => '',
  'maintenance' => false,
  'trusted_domains' => 
  array (
    0 => 'www.REMOVED.com.au',
    1 => 'REMOVED.com.au',
    2 => 'www.REMOVED.com.au',
    3 => 'REMOVED.com.au',
  ),
  'version' => '7.0.0.8',
);

Are you using external storage, if yes which one: not currently using

Are you using encryption: no

Client configuration

Browser: Chrome

Operating system: Win7 x64

Logs

ownCloud log (data/owncloud.log)

Undefined variable: output at /home/steelcad/public_html/cloud/settings/admin.php#104
Undefined variable: returnCode at /home/steelcad/public_html/cloud/settings/admin.php#104
exec() has been disabled for security reasons at /home/steelcad/public_html/cloud/settings/admin.php#104
Undefined variable: returnCode at /home/steelcad/public_html/cloud/settings/admin.php#105

MU7L3Y avatar Jul 25 '14 00:07 MU7L3Y

Should I revert back to my backup of 6.0.4? I really don't want to have to do that as when I upgraded, my clients re-downloaded all my files again (2.3GB in 2 locations).

MU7L3Y avatar Jul 25 '14 00:07 MU7L3Y

From what I see in admin.php, the exec call is mostly used to detect where some tools like ffmpeg/avconv are installed. These are used to generate video thumbnails.

This code probably needs fixing to take into account the cases where 'exec` is not allowed, at least to remove these useless warnings.

CC @georgehrke

PVince81 avatar Jul 25 '14 09:07 PVince81

Ok so no real need to worry then. Thanks

MU7L3Y avatar Jul 27 '14 22:07 MU7L3Y

@MU7L3Y Duplicate of https://github.com/owncloud/core/issues/10008 Fixed with https://github.com/owncloud/core/pull/10022

will be shipped with 7.0.1

VicDeo avatar Jul 29 '14 20:07 VicDeo