server icon indicating copy to clipboard operation
server copied to clipboard

hundereds of "Call_user_func() expects parameter 1 to be a valid callback"

Open Nachtwesen opened this issue 9 years ago • 9 comments

Hi.

I am using newest version of nextcloud. Now I have a big problem. I looked at my webspace and see a nextcloud.log file in /data whitch is growing extremly (15GB after one hour).

So I tryed many things, but only disabling the logging App stops it. Loglevel is 4 in config.

Now I take a look in PHP errorfile and see hundreds of these:

call_user_func() expects parameter 1 to be a valid callback, class 'OC\Log' not found in /is/123/www/owncloud/lib/private/Server.php on line 424

If i // this in Server.php, another file makes this error.

Someone can help me with an idea for a noob in PHP. THANKS!

Server configuration

Operating system: Linux

Web server: shared hosting Hosteurope

Database: sqllite3

PHP version: 5.6

Nextcloud version: 11.0.0

Updated from an older Nextcloud/ownCloud or fresh install: from 10.x

Where did you install Nextcloud from: via FTP

Integrity checker has been disabled. Integrity cannot be verified. (???, I dont do this!)

List of activated apps: Calender Contacts

**Are you using encryption:** yes

### Client configuration
Errors reported to the log on every load, dosnt matter witch client

### Logs
#### Web server error log
call_user_func() expects parameter 1 to be a valid callback, class 'OC\Log\' not found in /is/123/www/owncloud/lib/private/Server.php on line 424

#### Nextcloud log (data/nextcloud.log)
disabled, see above

Nachtwesen avatar Dec 15 '16 08:12 Nachtwesen

Please post your config file.

LukasReschke avatar Dec 15 '16 10:12 LukasReschke

$CONFIG = array ( 'instanceid' => 'xxx', 'passwordsalt' => 'xxx', 'secret' => 'xxx', 'trusted_domains' => array ( 0 => 'xxx', 1 => 'xxx', 2 => 'xxx', ), 'datadirectory' => '/is/htdocs/xxx/www/owncloud/data', 'overwrite.cli.url' => 'http://xxx/owncloud', 'dbtype' => 'sqlite3', 'version' => '11.0.0.10', 'logtimezone' => 'UTC', 'installed' => true, 'integrity.check.disabled' => true, 'theme' => '', 'maintenance' => false, 'mail_from_address' => 'info', 'mail_smtpmode' => 'php', 'mail_domain' => 'xxx.de',

'overwritehost' => 'ssl.webpack.de', 'overwriteprotocol' => 'https', 'overwritewebroot' => 'xxx', 'overwritecondaddr' => '^.*$', 'forcessl' => true, 'forceSSLforSubdomains' => true,

'loglevel' => 4, );

I deleted my serverdata, SSL works fine, so connection is ok.

Nachtwesen avatar Dec 15 '16 10:12 Nachtwesen

Please post the complete file, or is that the full file? The empty lines and missing end seem crucial

nickvergessen avatar Dec 15 '16 14:12 nickvergessen

it is complete without <php-Tags

Nachtwesen avatar Dec 15 '16 14:12 Nachtwesen

Then the end of the array is missing: );

nickvergessen avatar Dec 15 '16 14:12 nickvergessen

no its also in the file. You are right, but its only not pasted here.

Nachtwesen avatar Dec 15 '16 14:12 Nachtwesen

Hi everyone,

Same problem here, my environment is as follow:

Server configuration

Operating system: Redhat 6 Linux 2.6.32-042stab106.6

Web server: Server version: Apache/2.4.23 (Unix) Server built: Aug 23 2016 21:13:07 Cpanel::Easy::Apache v3.34.3 rev9999 Server's Module Magic Number: 20120211:61 Server loaded: APR 1.5.2, APR-UTIL 1.5.4 Compiled using: APR 1.5.2, APR-UTIL 1.5.4 Architecture: 64-bit Server MPM: prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses disabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=256 -D HTTPD_ROOT="/usr/local/apache" -D SUEXEC_BIN="/usr/local/apache/bin/suexec" -D DEFAULT_PIDLOG="logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf"

Database: mysql Ver 15.1 Distrib 10.0.28-MariaDB, for Linux (x86_64) using readline 5.1

PHP version: PHP 5.6.24 (cli) (built: Aug 23 2016 21:18:01) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

Nextcloud version: (see Nextcloud admin page) 11.0

Updated from an older Nextcloud/ownCloud or fresh install: Updated since owncloud 5

Where did you install Nextcloud from: manual upgrade from zip file from website

Signing status:

Signing status
Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results
=======
- core
	- EXTRA_FILE
		- ocs/error_log
		- error_log

Raw output
==========
Array
(
    [core] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [ocs/error_log] => Array
                        (
                            [expected] => 
                            [current] => 8373291f8aaaa59cdfa70f8c722f8c83f526344b7183b079e917be855fce0cd634510e33840d1e850c9849b1abd2a0d5b2697cb28f322211c07a7054ef710468
                        )

                    [error_log] => Array
                        (
                            [expected] => 
                            [current] => e0a4c8ae773e02e92ac584d4e3620c0e85111495a437a546adc77cf9009c8bf1e37f475d7c029a1c63cf3592acbc668e2bfed6de57ddb3c5808ac7be2b1b6a46
                        )

                )

        )

)

List of activated apps:

App list
Enabled:
  - activity: 2.4.1
  - admin_audit: 1.1.0
  - audioplayer: 1.4.0
  - calendar: 1.4.1
  - comments: 1.1.0
  - contacts: 1.5.2
  - dav: 1.1.1
  - external: 1.2
  - federatedfilesharing: 1.1.1
  - federation: 1.1.1
  - files: 1.6.1
  - files_accesscontrol: 1.1.2
  - files_automatedtagging: 1.1.1
  - files_external: 1.1.2
  - files_markdown: 1.0.0
  - files_pdfviewer: 1.0.1
  - files_sharing: 1.1.1
  - files_texteditor: 2.2
  - files_trashbin: 1.1.0
  - files_versions: 1.4.0
  - files_videoplayer: 1.0.0
  - firstrunwizard: 2.0
  - gallery: 16.0.0
  - gpxpod: 1.1.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.0.0
  - mail: 0.6.2
  - nextant: 1.0.0
  - nextcloud_announcements: 1.0
  - notes: 2.1.0
  - notifications: 1.0.1
  - password_policy: 1.1.0
  - provisioning_api: 1.1.0
  - qownnotesapi: 16.12.0
  - serverinfo: 1.1.1
  - sharebymail: 1.0.1
  - survey_client: 0.1.5
  - systemtags: 1.1.3
  - tasks: 0.9.4
  - templateeditor: 0.2
  - theming: 1.1.1
  - twofactor_backupcodes: 1.0.0
  - updatenotification: 1.1.1
  - workflowengine: 1.1.1
Disabled:
  - encryption
  - files_retention
  - spreedme
  - user_external
  - user_ldap
  - user_saml

Lots of old data in it... perhaps it would be better to clean it up...

The content of config/config.php:

Config report
    "system": {
        "instanceid": "oc3053678514",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "agoremix.com",
            "www.agoremix.com"
        ],
        "datadirectory": "\/home\/agoremix\/public_html\/oc_data",
        "version": "11.0.0.10",
        "dbtype": "mysql",
        "dbhost": "127.0.0.1",
        "dbname": "agoremix_owncloud",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "installed": true,
        "default_language": "en",
        "defaultapp": "files",
        "knowledgebaseenabled": true,
        "mail_domain": "agoremix.com",
        "mail_from_address": "notifications",
        "mail_smtpdebug": false,
        "mail_smtpmode": "smtp",
        "mail_smtphost": "server.agoremix.com",
        "mail_smtpport": 465,
        "mail_smtptimeout": 10,
        "mail_smtpsecure": "ssl",
        "mail_smtpauth": true,
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/agoremix.com\/nextcloud",
        "config_is_read_only": false,
        "log_type": "nextcloud",
        "logtimezone": "Asia\/Tokyo",
        "cron.lockfile.location": "\/home\/agoremix\/public_html\/oc_data\/",
        "log_rotate_size": 104857600,
        "appstoreenabled": true,
        "appstore.experimental.enabled": true,
        "apps_paths": [
            {
                "path": "\/home\/agoremix\/public_html\/nextcloud\/apps",
                "url": "\/apps",
                "writable": true
            }
        ],
        "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
        "preview_office_cl_parameters": " --headless --nologo --nofirststartwizard --invisible --norestore -convert-to pdf -outdir ",
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\OpenDocument"
        ],
        "maintenance": false,
        "singleuser": false,
        "share_folder": "\/Shared",
        "theme": "",
        "cipher": "AES-256-CFB",
        "minimum.supported.desktop.version": "1.7.0",
        "asset-pipeline.enabled": true,
        "assetdirectory": "\/home\/agoremix\/public_html\/nextcloud",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "loglevel": 0,
        "htaccess.RewriteBase": "\/nextcloud",
        "updater.release.channel": "stable"
    },
    "apps": {
        "activity": {
            "enabled": "yes",
            "installed_version": "2.4.1",
            "types": "filesystem"
        },
        "admin_audit": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": "logging"
        },
        "admin_dependencies_chk": {
            "enabled": "no",
            "installed_version": "0.02",
            "ocsid": "166041",
            "types": ""
        },
        "appframework": {
            "enabled": "no",
            "installed_version": "0.104",
            "ocsid": "162405",
            "types": ""
        },
        "audioplayer": {
            "enabled": "yes",
            "installed_version": "1.4.0",
            "ocsid": "174738",
            "types": ""
        },
        "backgroundjob": {
            "lastjob": "114914"
        },
        "calendar": {
            "enabled": "yes",
            "installed_version": "1.4.1",
            "ocsid": "168707",
            "types": ""
        },
        "calendarplus": {
            "enabled": "no",
            "installed_version": "1.1.1",
            "ocsid": "170560",
            "types": ""
        },
        "chat": {
            "backend_och_enabled": "1",
            "backend_xmpp_enabled": "1",
            "enabled": "no",
            "installed_version": "0.4.0.1",
            "ocsid": "166443",
            "types": ""
        },
        "comments": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": "logging"
        },
        "contacts": {
            "enabled": "yes",
            "installed_version": "1.5.2",
            "ocsid": "168708",
            "types": ""
        },
        "core": {
            "backgroundjobs_mode": "cron",
            "global_cache_gc_lastrun": "1439609402",
            "installedat": "1388897352.52",
            "lastcron": "1482367503",
            "lastupdateResult": "[]",
            "lastupdatedat": "1482367671",
            "moveavatarsdone": "yes",
            "oc.integritycheck.checker": "{\"core\":{\"EXTRA_FILE\":{\"ocs\\\/error_log\":{\"expected\":\"\",\"current\":\"8373291f8aaaa59cdfa70f8c722f8c83f526344b7183b079e917be855fce0cd634510e33840d1e850c9849b1abd2a0d5b2697cb28f322211c07a7054ef710468\"},\"error_log\":{\"expected\":\"\",\"current\":\"e0a4c8ae773e02e92ac584d4e3620c0e85111495a437a546adc77cf9009c8bf1e37f475d7c029a1c63cf3592acbc668e2bfed6de57ddb3c5808ac7be2b1b6a46\"}}}}",
            "previewsCleanedUp": "1",
            "public_caldav": "calendar\/share.php",
            "public_calendar": "calendar\/share.php",
            "public_calendarplus": "calendarplus\/share.php",
            "public_calendarplusevent": "calendarplus\/shareevent.php",
            "public_documents": "documents\/public.php",
            "public_files": "files_sharing\/public.php",
            "public_gallery": "gallery\/public.php",
            "public_shorty_qrcode": "shorty\/qrcode.php",
            "public_shorty_query": "shorty\/query.php",
            "public_shorty_relay": "shorty\/relay.php",
            "public_todo": "tasksplus\/sharetodo.php",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "remote_caldav": "dav\/appinfo\/v1\/caldav.php",
            "remote_calendar": "dav\/appinfo\/v1\/caldav.php",
            "remote_calendarplus": "calendarplus\/appinfo\/remote.php",
            "remote_carddav": "dav\/appinfo\/v1\/carddav.php",
            "remote_contacts": "dav\/appinfo\/v1\/carddav.php",
            "remote_core.css": "\/core\/minimizer.php",
            "remote_core.js": "\/core\/minimizer.php",
            "remote_dav": "dav\/appinfo\/v2\/remote.php",
            "remote_files": "dav\/appinfo\/v1\/webdav.php",
            "remote_filesync": "files\/appinfo\/filesync.php",
            "remote_mozilla_sync": "mozilla_sync\/appinfo\/remote.php",
            "remote_webdav": "dav\/appinfo\/v1\/webdav.php",
            "repairlegacystoragesdone": "yes",
            "shareapi_allow_mail_notification": "yes",
            "shareapi_allow_public_notification": "yes",
            "shareapi_default_expire_date": "yes",
            "shareapi_exclude_groups": "no",
            "shareapi_expire_after_n_days": "60",
            "shareapi_only_share_with_group_members": "yes",
            "vendor": "nextcloud"
        },
        "dav": {
            "enabled": "yes",
            "installed_version": "1.1.1",
            "types": "filesystem"
        },
        "documents": {
            "converter": "local",
            "enabled": "no",
            "installed_version": "0.13.1",
            "ocsid": "168711",
            "types": "",
            "unstable": "false"
        },
        "external": {
            "enabled": "yes",
            "installed_version": "1.2",
            "ocsid": "166046",
            "types": ""
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.1.1",
            "types": ""
        },
        "federation": {
            "enabled": "yes",
            "installed_version": "1.1.1",
            "types": "authentication"
        },
        "files": {
            "backgroundwatcher_previous_file": "89592",
            "backgroundwatcher_previous_folder": "129031",
            "cronjob_scan_files": "500",
            "default_quota": "none",
            "enabled": "yes",
            "installed_version": "1.6.1",
            "types": "filesystem"
        },
        "files_accesscontrol": {
            "enabled": "yes",
            "installed_version": "1.1.2",
            "types": "filesystem"
        },
        "files_automatedtagging": {
            "enabled": "yes",
            "installed_version": "1.1.1",
            "types": "filesystem"
        },
        "files_external": {
            "allow_user_mounting": "yes",
            "enabled": "yes",
            "installed_version": "1.1.2",
            "ocsid": "166048",
            "types": "filesystem",
            "user_mounting_backends": "\\OC\\Files\\Storage\\Dropbox,\\OC\\Files\\Storage\\Google,\\OC\\Files\\Storage\\OwnCloud,\\OC\\Files\\Storage\\SFTP,\\OC\\Files\\Storage\\SFTP_Key,\\OC\\Files\\Storage\\SMB,\\OC\\Files\\Storage\\DAV"
        },
        "files_markdown": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "types": ""
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "1.0.1",
            "ocsid": "166049",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "installed_version": "1.1.1",
            "types": "filesystem"
        },
        "files_texteditor": {
            "enabled": "yes",
            "installed_version": "2.2",
            "ocsid": "166051",
            "types": ""
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": "filesystem"
        },
        "files_versions": {
            "enabled": "yes",
            "installed_version": "1.4.0",
            "types": "filesystem"
        },
        "files_videojs-sublime": {
            "enabled": "no",
            "installed_version": "0.9.8",
            "types": ""
        },
        "files_videoplayer": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "types": ""
        },
        "files_videoviewer": {
            "enabled": "no",
            "installed_version": "0.1.3",
            "ocsid": "166054",
            "types": ""
        },
        "firstrunwizard": {
            "enabled": "yes",
            "installed_version": "2.0",
            "types": "logging"
        },
        "gallery": {
            "enabled": "yes",
            "installed_version": "16.0.0",
            "types": ""
        },
        "galleryplus": {
            "enabled": "no",
            "installed_version": "13.0.0",
            "ocsid": "169116",
            "types": ""
        },
        "gpxpod": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "ocsid": "174248",
            "types": ""
        },
        "html5_videoplayer": {
            "enabled": "no",
            "installed_version": "1.0",
            "ocsid": "173950",
            "types": ""
        },
        "internal_messages": {
            "enabled": "no",
            "installed_version": "1.5",
            "types": ""
        },
        "journal": {
            "enabled": "no",
            "installed_version": "0.4.1",
            "types": ""
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "2.0.0",
            "ocsid": "170871",
            "types": ""
        },
        "lookup_server_connector": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "types": "authentication"
        },
        "mail": {
            "enabled": "yes",
            "installed_version": "0.6.2",
            "ocsid": "169914",
            "signed": "true",
            "types": ""
        },
        "mozilla_sync": {
            "enabled": "no",
            "installed_version": "1.4",
            "ocsid": "161793",
            "types": ""
        },
        "music": {
            "enabled": "no",
            "installed_version": "0",
            "ocsid": "164319",
            "types": "filesystem"
        },
        "news": {
            "enabled": "no",
            "installed_version": "8.8.0",
            "ocsid": "168040",
            "types": ""
        },
        "nextant": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "types": "filesystem"
        },
        "nextcloud_announcements": {
            "enabled": "yes",
            "installed_version": "1.0",
            "pub_date": "Sat, 10 Dec 2016 00:00:00 +0100",
            "types": "logging"
        },
        "notes": {
            "enabled": "yes",
            "installed_version": "2.1.0",
            "ocsid": "174554",
            "types": ""
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "1.0.1",
            "types": "logging"
        },
        "ojsxc": {
            "installed_version": ""
        },
        "ownnote": {
            "enabled": "no",
            "installed_version": "1.08",
            "types": ""
        },
        "password_policy": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": "prevent_group_restriction"
        },
        "qownnotesapi": {
            "enabled": "yes",
            "installed_version": "16.12.0",
            "ocsid": "173817",
            "types": ""
        },
        "search_lucene": {
            "enabled": "no",
            "installed_version": "0.6.0",
            "ocsid": "168709",
            "types": "filesystem"
        },
        "serverinfo": {
            "enabled": "yes",
            "installed_version": "1.1.1",
            "types": ""
        },
        "sharebymail": {
            "enabled": "yes",
            "installed_version": "1.0.1",
            "types": "filesystem"
        },
        "shorty": {
            "backend-default": "static",
            "backend-static-base": "https:\/\/agoremix.com\/go\/",
            "enabled": "no",
            "id-alphabet": "p7hxPm09jr36NG2niq8oKRS4lHgEZIkMuAwFX5UzbQaeJDBC1wTfWcvLVsYdOt",
            "installed_version": "0.4.4",
            "ocsid": "150401",
            "types": "internet,bookmark"
        },
        "spreedme": {
            "OWNCLOUD_TEMPORARY_PASSWORD_LOGIN_ENABLED": "false",
            "SPREED_WEBRTC_BASEPATH": "\/webrtc\/",
            "SPREED_WEBRTC_IS_SHARED_INSTANCE": "false",
            "SPREED_WEBRTC_ORIGIN": "",
            "SPREED_WEBRTC_SHAREDSECRET": "86b77136019784c89908bfa4840b23240a9d0a64b99ea991a9a9d6a7193b6a2e",
            "enabled": "no",
            "installed_version": "0.3.5",
            "is_set_up": "true",
            "types": ""
        },
        "survey_client": {
            "enabled": "yes",
            "installed_version": "0.1.5",
            "last_report": "{\"id\":\"oc3053678514\",\"items\":[[\"server\",\"version\",\"9.1.1.5\"],[\"server\",\"code\",\"other\"],[\"server\",\"enable_avatars\",\"yes\"],[\"server\",\"enable_previews\",\"yes\"],[\"server\",\"memcache.local\",\"\\\\OC\\\\Memcache\\\\APCu\"],[\"server\",\"memcache.distributed\",\"none\"],[\"server\",\"asset-pipeline.enabled\",\"no\"],[\"server\",\"filelocking.enabled\",\"yes\"],[\"server\",\"memcache.locking\",\"\\\\OC\\\\Memcache\\\\Redis\"],[\"server\",\"debug\",\"no\"],[\"php\",\"version\",\"5.6.24\"],[\"php\",\"memory_limit\",536870912],[\"php\",\"max_execution_time\",0],[\"php\",\"upload_max_filesize\",5368709120],[\"database\",\"type\",\"mysql\"],[\"database\",\"version\",\"10.0.28\"],[\"database\",\"size\",1303379968],[\"apps\",169914,\"disabled\"],[\"apps\",\"activity\",\"2.3.2\"],[\"apps\",\"admin_audit\",\"1.0.0\"],[\"apps\",\"admin_dependencies_chk\",\"disabled\"],[\"apps\",\"appframework\",\"disabled\"],[\"apps\",\"audioplayer\",\"1.3.1\"],[\"apps\",\"calendar\",\"1.4.0\"],[\"apps\",\"calendarplus\",\"disabled\"],[\"apps\",\"chat\",\"disabled\"],[\"apps\",\"comments\",\"1.0.0\"],[\"apps\",\"contacts\",\"0\"],[\"apps\",\"dav\",\"1.0.1\"],[\"apps\",\"documents\",\"0.13.1\"],[\"apps\",\"external\",\"1.2\"],[\"apps\",\"federatedfilesharing\",\"1.0.1\"],[\"apps\",\"federation\",\"1.0.1\"],[\"apps\",\"files\",\"1.5.2\"],[\"apps\",\"files_accesscontrol\",\"1.1.2\"],[\"apps\",\"files_automatedtagging\",\"1.1.1\"],[\"apps\",\"files_external\",\"1.0.2\"],[\"apps\",\"files_pdfviewer\",\"0.8.1\"],[\"apps\",\"files_sharing\",\"1.0.0\"],[\"apps\",\"files_texteditor\",\"2.1\"],[\"apps\",\"files_trashbin\",\"1.0.0\"],[\"apps\",\"files_versions\",\"1.3.0\"],[\"apps\",\"files_videojs-sublime\",\"disabled\"],[\"apps\",\"files_videoplayer\",\"0.9.8\"],[\"apps\",\"files_videoviewer\",\"disabled\"],[\"apps\",\"firstrunwizard\",\"1.1\"],[\"apps\",\"gallery\",\"15.0.0\"],[\"apps\",\"galleryplus\",\"disabled\"],[\"apps\",\"gpxpod\",\"0.9.23\"],[\"apps\",\"html5_videoplayer\",\"disabled\"],[\"apps\",\"internal_messages\",\"disabled\"],[\"apps\",\"journal\",\"disabled\"],[\"apps\",\"mail\",\"0.6.0\"],[\"apps\",\"mozilla_sync\",\"disabled\"],[\"apps\",\"music\",\"disabled\"],[\"apps\",\"news\",\"disabled\"],[\"apps\",\"notes\",\"2.0.2\"],[\"apps\",\"notifications\",\"0.3.0\"],[\"apps\",\"ojsxc\",\"\"],[\"apps\",\"ownnote\",\"disabled\"],[\"apps\",\"password_policy\",\"1.0.0\"],[\"apps\",\"provisioning_api\",\"1.0.0\"],[\"apps\",\"qownnotesapi\",\"16.09.0\"],[\"apps\",\"search_lucene\",\"disabled\"],[\"apps\",\"serverinfo\",\"1.1.1\"],[\"apps\",\"shorty\",\"disabled\"],[\"apps\",\"survey_client\",\"0.1.5\"],[\"apps\",\"systemtags\",\"1.0.2\"],[\"apps\",\"tal\",\"disabled\"],[\"apps\",\"tasks\",\"0\"],[\"apps\",\"tasks_enhanced\",\"disabled\"],[\"apps\",\"tasksplus\",\"disabled\"],[\"apps\",\"templateeditor\",\"0.1\"],[\"apps\",\"theming\",\"1.0.1\"],[\"apps\",\"updatenotification\",\"1.0.1\"],[\"apps\",\"updater\",\"disabled\"],[\"apps\",\"user_photo\",\"disabled\"],[\"apps\",\"workflowengine\",\"1.0.1\"],[\"stats\",\"num_files\",556084],[\"stats\",\"num_users\",8],[\"stats\",\"num_storages\",62],[\"stats\",\"num_storages_local\",2],[\"stats\",\"num_storages_home\",10],[\"stats\",\"num_storages_other\",50],[\"files_sharing\",\"num_shares\",116],[\"files_sharing\",\"num_shares_user\",77],[\"files_sharing\",\"num_shares_groups\",1],[\"files_sharing\",\"num_shares_link\",38],[\"files_sharing\",\"num_shares_link_no_password\",38],[\"files_sharing\",\"num_fed_shares_sent\",0],[\"files_sharing\",\"num_fed_shares_received\",0],[\"files_sharing\",\"permissions_3_1\",\"35\"],[\"files_sharing\",\"permissions_3_15\",\"3\"],[\"files_sharing\",\"permissions_0_17\",\"9\"],[\"files_sharing\",\"permissions_0_19\",\"6\"],[\"files_sharing\",\"permissions_0_23\",\"2\"],[\"files_sharing\",\"permissions_0_31\",\"60\"],[\"files_sharing\",\"permissions_1_31\",\"1\"],[\"encryption\",\"enabled\",\"no\"],[\"encryption\",\"default_module\",\"no\"]]}",
            "last_sent": "1480070709",
            "types": ""
        },
        "systemtags": {
            "enabled": "yes",
            "installed_version": "1.1.3",
            "types": "logging"
        },
        "tal": {
            "enabled": "no",
            "installed_version": "0.2.3",
            "types": ""
        },
        "tasks": {
            "enabled": "yes",
            "installed_version": "0.9.4",
            "ocsid": "164356",
            "types": ""
        },
        "tasks_enhanced": {
            "enabled": "no",
            "installed_version": "0.4.1",
            "types": ""
        },
        "tasksplus": {
            "enabled": "no",
            "installed_version": "1.0.1",
            "ocsid": "170561",
            "types": ""
        },
        "templateeditor": {
            "enabled": "[\"admin\"]",
            "installed_version": "0.2",
            "types": ""
        },
        "theming": {
            "cachebuster": "3",
            "enabled": "yes",
            "installed_version": "1.1.1",
            "name": "Agoremix",
            "slogan": "powered by nextcloud",
            "types": "logging",
            "url": "https:\/\/agoremix.com\/owncloud"
        },
        "twofactor_backupcodes": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "types": ""
        },
        "updatenotification": {
            "audioplayer": "1.4.0",
            "calendar": "1.4.1",
            "contacts": "1.5.1",
            "core": "9.1.2.2",
            "enabled": "yes",
            "installed_version": "1.1.1",
            "mail": "0.6.0",
            "nextant": "1.0.1",
            "tasks": "0.9.4",
            "types": ""
        },
        "updater": {
            "enabled": "no",
            "installed_version": "0.6",
            "types": ""
        },
        "user_photo": {
            "enabled": "no",
            "installed_version": "0.5",
            "types": ""
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "1.1.1",
            "types": "filesystem"
        },
        "169914": {
            "enabled": "no"
        }
    }
}

Are you using external storage, if yes which one: local/smb/sftp/... Yes dropbox

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: Various

Operating system: Various

Logs

Web server error log

error.log is empty

Nextcloud log (data/nextcloud.log)

nothing particular the error are from when I updated to 11 and put the server in maintenance. Moreover I changed the subfolder name from owncloud to nextcloud (I know it would be better to use a subdomain to avoid cross site but one day I will work on it...)

Nextcloud log
{"reqId":"WFTyW23Jkl8AAEv-ZpAAAAAH","remoteAddr":"130.158.198.92","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 503 System in maintenance mode.\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\ServiceUnavailable\",\"Code\":0,\"Trace\":\"#0 [internal function]: OCA\\\\DAV\\\\Connector\\\\Sabre\\\\MaintenancePlugin->checkMaintenanceMode(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/home\\\/agoremix\\\/public_html\\\/owncloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/home\\\/agoremix\\\/public_html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(446): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#3 \\\/home\\\/agoremix\\\/public_html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/home\\\/agoremix\\\/public_html\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(60): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/home\\\/agoremix\\\/public_html\\\/owncloud\\\/remote.php(165): require_once('\\\/home\\\/agoremix\\\/...')\\n#6 {main}\",\"File\":\"\\\/home\\\/agoremix\\\/public_html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/MaintenancePlugin.php\",\"Line\":85,\"User\":\"sylvain\"}","level":4,"time":"2016-12-17T17:07:56+09:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/","user":"sylvain"}
{"reqId":"WFTyW23Jkl8AAEqvwvMAAAAL","remoteAddr":"123.226.41.125","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 503 System in maintenance mode.\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\ServiceUnavailable\",\"Code\":0,\"Trace\":\"#0 [internal function]: OCA\\\\DAV\\\\Connector\\\\Sabre\\\\MaintenancePlugin->checkMaintenanceMode(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/home\\\/agoremix\\\/public_html\\\/owncloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/home\\\/agoremix\\\/public_html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(446): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#3 \\\/home\\\/agoremix\\\/public_html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/home\\\/agoremix\\\/public_html\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(60): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/home\\\/agoremix\\\/public_html\\\/owncloud\\\/remote.php(165): require_once('\\\/home\\\/agoremix\\\/...')\\n#6 {main}\",\"File\":\"\\\/home\\\/agoremix\\\/public_html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/MaintenancePlugin.php\",\"Line\":85,\"User\":\"sylvain\"}","level":4,"time":"2016-12-17T17:07:56+09:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/Research\/Symposium%20and%20Presentations","user":"sylvain"}
{"reqId":"WFTyXm3Jkl8AAF3z4T0AAAAA","remoteAddr":"123.226.41.125","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 503 System in maintenance mode.\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\ServiceUnavailable\",\"Code\":0,\"Trace\":\"#0 [internal function]: OCA\\\\DAV\\\\Connector\\\\Sabre\\\\MaintenancePlugin->checkMaintenanceMode(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/home\\\/agoremix\\\/public_html\\\/owncloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/home\\\/agoremix\\\/public_html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(446): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#3 \\\/home\\\/agoremix\\\/public_html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/home\\\/agoremix\\\/public_html\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(60): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/home\\\/agoremix\\\/public_html\\\/owncloud\\\/remote.php(165): require_once('\\\/home\\\/agoremix\\\/...')\\n#6 {main}\",\"File\":\"\\\/home\\\/agoremix\\\/public_html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/MaintenancePlugin.php\",\"Line\":85,\"User\":\"sylvain\"}","level":4,"time":"2016-12-17T17:07:58+09:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/","user":"sylvain"}

Error log

error_log and ocs/error_log contains the same two lines repeated every min:

error_log
[22-Dec-2016 00:49:23 UTC] PHP Warning:  call_user_func() expects parameter 1 to be a valid callback, class 'OC\Log\Nextcloud' not found in /home/agoremix/public_html/nextcloud/lib/private/Server.php on line 424
[22-Dec-2016 00:49:24 UTC] PHP Warning:  call_user_func() expects parameter 1 to be a valid callback, class 'OC\Log\Nextcloud' not found in /home/agoremix/public_html/nextcloud/lib/private/Log.php on line 304
It is only a php warning but because it is logged every min, the file size increase very fast.

Please tell me if you need any other infos or want me to test something.

SylvainAGO avatar Dec 22 '16 01:12 SylvainAGO

the errors disappear if you disable the logging apps, but this is not a solution, merely a workaround.

SylvainAGO avatar Dec 27 '16 09:12 SylvainAGO

The actual fix is to set the log_type in config/config.php to 'file' instead of 'nextcloud'. Basically only syslog, errorlog and file are allowed.

nickvergessen avatar Jan 05 '17 11:01 nickvergessen