owncloud / core

:cloud: ownCloud web server core (Files, DAV, etc.)
https://owncloud.com
GNU Affero General Public License v3.0
8.38k stars 2.05k forks source link

to many active sessions not being removed by cron job #32746

Closed soydepr closed 5 years ago

soydepr commented 6 years ago

Steps to reproduce

1.log in 2.settings 3.security/sessions

Expected behaviour

only one active session

Actual behaviour

see session with 8 hours ago , bunch of them

Server configuration

Operating system: raspbian Web server: lighttpd Database: mariadb PHP version: 7 ownCloud version: (see ownCloud admin page) 10.0.9 Updated from an older ownCloud or fresh install: fresh install Where did you install ownCloud from: ownclloud.org

The content of config/config.php: <?php $CONFIG = array ( 'instanceid' => 'oc6qxxzie2mn', 'passwordsalt' => 'tPxp7dEpeonckS8C7qznu8tJiNnTcU', 'secret' => 'Vsrae/9fMRMk8lkIAZpKxK0pUt3DUmlWvoRnc31RKo9EeQgv', 'trusted_domains' => array ( 0 => 'localhost', 1 => '192.168.1.9', 2 => 'xxxxx.com', ), 'datadirectory' => '/var/www/html/owncloud/data', 'overwrite.cli.url' => 'http://foo.com/owncloud', 'dbtype' => 'mysql', 'version' => '10.0.9.5', 'dbname' => 'owncloud', 'dbhost' => 'localhost:5432', 'dbtableprefix' => 'xx', 'dbuser' => 'xx', 'dbpassword' => xxxxx', 'logtimezone' => 'America/New_York', 'installed' => true, 'cron_log' => true, 'loglevel' => 2, 'theme' => '', 'maintenance' => false, 'trashbin_retention_obligation' => 'D1,D2', 'filelocking.enabled' => true, 'memcache.locking' => '\OC\Memcache\Redis', 'redis' => array( 'host' => 'localhost', 'port' => 6379, 'timeout' => 0.0, 'password' => '', // Optional, if not defined no password will be used. ),

'defaultapp' => 'calendar',

);

'admin' -> 'Generate Config Report' -> 'Download ownCloud config report' { "basic": { "license key": "REMOVED SENSITIVE VALUE", "date": "Tue, 18 Sep 2018 09:03:34 +0000", "ownCloud version": "10.0.9.5", "ownCloud version string": "10.0.9", "ownCloud edition": "Community", "server OS": "Linux", "server OS version": "Linux vorman 4.14.69-v7+ #1141 SMP Mon Sep 10 15:26:29 BST 2018 armv7l", "server SAPI": "fpm-fcgi", "webserver version": "lighttpd\/1.4.45", "hostname": "FOO.COM", "user count": 3, "user directories": 3, "logged-in user": "oc1" }, "config": { "instanceid": "oc6qxxzie2mn", "passwordsalt": "REMOVED SENSITIVE VALUE", "secret": "REMOVED SENSITIVE VALUE", "trusteddomains": [ "localhost", "192.168.1.9", "XXXXXXXX" ], "datadirectory": "\/var\/www\/html\/owncloud\/data", "overwrite.cli.url": "http:\/\/FOO.COM\/owncloud", "dbtype": "mysql", "version": "10.0.9.5", "dbname": "owncloud", "dbhost": "localhost:5432", "dbtableprefix": "oc", "dbuser": "REMOVED SENSITIVE VALUE", "dbpassword": "REMOVED SENSITIVE VALUE", "logtimezone": "America\/New_York", "installed": true, "cron_log": true, "loglevel": 2, "theme": "", "maintenance": false, "trashbin_retention_obligation": "D1,D2", "filelocking.enabled": true, "memcache.locking": "\OC\Memcache\Redis", "redis": { "host": "localhost", "port": 6379, "timeout": 0, "password": "REMOVED SENSITIVE VALUE" }, "defaultapp": "calendar" }, "integritychecker": { "passing": false, "enabled": true, "result": { "core": { "INVALID_HASH": { ".htaccess": { "expected": "c00197d1a4d7a1db5bf43849acd10d2d7813705463ba02fe540b5d05328dcf078456e55dcd0450bb884a85bf25c66a596cdcf9108d26ba44d2287a35de26d72b", "current": "cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e" } }, "FILE_MISSING": { ".user.ini": { "expected": "0a557e3cdca4c2e3675deed761d79d109011dcdebbd9c7f6429f1d3476938ec95729543d7384651d1d0c48e26c5024cc5f517445920915a704ea748bdb903c5f", "current": "" } } } } }, "core": { "backgroundjobs_mode": "cron", "installedat": "1534802069.7965", "lastcron": "1537261203", "lastupdateResult": "[]", "lastupdatedat": "1537260367", "public_files": "files_sharing\/public.php", "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php", "umgmt_send_email": "true", "umgmt_show_backend": "false", "umgmt_show_email": "true", "umgmt_show_is_enabled": "false", "umgmt_show_last_login": "true", "umgmt_show_storage_location": "false", "vendor": "owncloud" }, "apps": [ { "id": "systemtags", "name": "Collaborative tags", "description": "Collaborative tagging functionality which shares tags among users. Great for teams. (If you are a provider with a multi-tenancy installation, it is advised to deactivate this app as tags are shared.)", "licence": "AGPL", "author": "Vincent Petry", "default_enable": "", "version": "0.3.0", "dependencies": { "owncloud": { "@attributes": { "min-version": "10.0", "max-version": "10.0" } } }, "namespace": "SystemTags", "types": [ "logging" ], "info": [], "remote": [], "public": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "background-jobs": [], "two-factor-providers": [], "commands": [], "groups": null, "active": true, "internal": false, "level": 100, "removable": true, "appconfig": { "enabled": "yes", "installed_version": "0.3.0", "types": "logging" } }, { "id": "files_videoplayer", "name": "Video player", "description": "A responsive video player using a skinned version of Video.js\n\nBased on this app: https:\/\/apps.owncloud.com\/content\/show.php\/Video+Js?content=159670\n\nVideo.js: http:\/\/videojs.com\/\n\nSkin: https:\/\/github.com\/cabin\/videojs-sublime-skin", "version": "0.9.8", "licence": "MIT", "author": "Bj\u00f6rn Korella", "default_enable": "", "documentation": { "user": "https:\/\/github.com\/owncloud\/files_videoplayer\/blob\/master\/README.md", "admin": "https:\/\/github.com\/owncloud\/files_videoplayer\/blob\/master\/README.md", "developer": "https:\/\/github.com\/owncloud\/files_videoplayer\/blob\/master\/README.md" }, "website": "https:\/\/github.com\/owncloud\/files_videoplayer", "bugs": "https:\/\/github.com\/owncloud\/files_videoplayer\/issues", "repository": { "@attributes": { "type": "git" }, "@value": "https:\/\/github.com\/owncloud\/files_videoplayer.git" }, "dependencies": { "owncloud": { "@attributes": { "min-version": "10.0", "max-version": "10.0" } } }, "info": [], "remote": [], "public": [], "types": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "background-jobs": [], "two-factor-providers": [], "commands": [], "groups": null, "active": true, "internal": false, "level": 100, "removable": true, "preview": "\/apps\/files_videoplayer\/img\/app.svg", "previewAsIcon": true, "appconfig": { "enabled": "yes", "installed_version": "0.9.8", "types": "" } }, { "id": "comments", "name": "Comments", "description": "Files app plugin to add comments to files", "licence": "AGPL", "author": "Arthur Schiwon, Vincent Petry", "default_enable": "", "version": "0.3.0", "dependencies": { "owncloud": { "@attributes": { "min-version": "10.0", "max-version": "10.0" } } }, "types": [ "logging", "dav" ], "sabre": { "plugins": { "plugin": "OCA\Comments\Dav\CommentsPlugin" }, "collections": { "collection": "OCA\Comments\Dav\RootCollection" } }, "info": [], "remote": [], "public": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "background-jobs": [], "two-factor-providers": [], "commands": [], "groups": null, "active": true, "internal": false, "level": 100, "removable": true, "appconfig": { "enabled": "yes", "installed_version": "0.3.0", "types": "logging,dav" } }, { "id": "federation", "name": "Federation", "description": "ownCloud Federation allows you to connect with other trusted ownClouds to exchange the user directory. For example this will be used to auto-complete external users for federated sharing.", "licence": "AGPL", "author": "Bjoern Schiessle", "version": "0.1.0", "namespace": "Federation", "category": "other", "dependencies": { "owncloud": { "@attributes": { "min-version": "10.0", "max-version": "10.0" } } }, "default_enable": "", "types": [ "authentication" ], "background-jobs": { "job": "OCA\Federation\SyncJob" }, "commands": { "command": "OCA\Federation\Command\SyncFederationAddressBooks" }, "settings": { "admin": "OCA\Federation\Panels\Admin" }, "info": [], "remote": [], "public": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "two-factor-providers": [], "groups": null, "active": true, "internal": true, "level": 200, "removable": false, "preview": "\/apps\/federation\/img\/app.svg", "previewAsIcon": true, "appconfig": { "enabled": "yes", "installed_version": "0.1.0", "types": "authentication" } }, { "id": "notes", "name": "Notes", "licence": "AGPL", "author": "Bernhard Posselt, Jan-Christoph Borchardt, Hendrik Leppelsack", "version": "2.0.4", "namespace": "Notes", "category": "tools", "summary": "Distraction-free notes and writing", "description": "Distraction-free notes and writing", "bugs": "https:\/\/github.com\/owncloud\/notes\/issues", "repository": { "@attributes": { "type": "git" }, "@value": "https:\/\/github.com\/owncloud\/notes.git" }, "dependencies": { "owncloud": { "@attributes": { "min-version": "8.2", "max-version": "10.1" } } }, "screenshot": "https:\/\/cloud.githubusercontent.com\/assets\/4741199\/17731273\/e557b5fe-646c-11e6-9975-d6b242454482.png", "info": [], "remote": [], "public": [], "types": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "background-jobs": [], "two-factor-providers": [], "commands": [], "groups": null, "active": true, "internal": false, "level": 100, "removable": true, "preview": "\/apps\/notes\/img\/notes.svg", "previewAsIcon": true, "appconfig": { "enabled": "yes", "installed_version": "2.0.4", "signed": "true", "types": "" } }, { "id": "updatenotification", "name": "Update notification", "description": "Displays update notifications for ownCloud and provides the SSO for the updater.", "licence": "AGPL", "author": "Lukas Reschke", "version": "0.2.1", "namespace": "UpdateNotification", "default_enable": "", "dependencies": { "owncloud": { "@attributes": { "min-version": "10.0", "max-version": "10.0" } } }, "background-jobs": { "job": "OCA\UpdateNotification\Notification\BackgroundJob" }, "settings": { "admin": "OCA\UpdateNotification\Controller\AdminController" }, "info": [], "remote": [], "public": [], "types": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "two-factor-providers": [], "commands": [], "groups": null, "active": true, "internal": true, "level": 200, "removable": false, "appconfig": { "enabled": "yes", "installed_version": "0.2.1", "types": "" } }, { "id": "notifications", "name": "Notifications", "summary": "Notification system for internal events", "description": "This application adds an internal notification system to an ownCloud instance. Notifications are triggered by apps like the Announcement Center or Custom Groups and displayed via a bell indicator in the WebUI as well as via the ownCloud clients.", "category": "tools", "screenshot": "https:\/\/raw.githubusercontent.com\/owncloud\/promo\/e1dd604d66b4c5f765579b4c160de3268169ea3c\/ownCloud%20logo%20square.png", "licence": "AGPL", "author": "Joas Schilling, Thomas M\u00fcller", "version": "0.3.4", "types": [ "logging" ], "default_enable": "", "website": "https:\/\/github.com\/owncloud\/notifications", "bugs": "https:\/\/github.com\/owncloud\/notifications\/issues", "repository": { "@attributes": { "type": "git" }, "@value": "https:\/\/github.com\/owncloud\/notifications.git" }, "commands": { "command": "OCA\Notifications\Command\Generate" }, "settings": { "personal": "OCA\Notifications\Panels\Personal\NotificationsPanel" }, "dependencies": { "owncloud": { "@attributes": { "min-version": "10.0.9", "max-version": "10.1" } } }, "use-migrations": "true", "info": [], "remote": [], "public": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "background-jobs": [], "two-factor-providers": [], "groups": null, "active": true, "internal": false, "level": 100, "removable": true, "preview": "\/apps\/notifications\/img\/notifications.svg", "previewAsIcon": true, "appconfig": { "enabled": "yes", "installed_version": "0.3.4", "types": "logging" } }, { "id": "calendar", "name": "Calendar", "summary": "A Calendar app for ownCloud", "description": "The Calendar app is a user interface for ownCloud's CalDAV server. Easily sync events from various devices with your ownCloud and edit them online.\n\n \ud83d\ude80Integration with other ownCloud apps! Currently Contacts - more to come. WebCal Support! Want to see your favorite team\u2019s matchdays in your calendar? No problem! * Attendees! Invite people to your events.", "version": "1.5.8-rc2", "licence": "AGPL", "author": "Georg Ehrke, Raghu Nayyar, Bernhard Fr\u00f6hler, Julian M\u00fcller", "dependencies": { "owncloud": { "@attributes": { "min-version": "9.1", "max-version": "10.1" } } }, "documentation": { "user": "https:\/\/doc.owncloud.org\/server\/10.0\/user_manual\/pim\/calendar.html" }, "category": "productivity", "screenshot": "https:\/\/raw.githubusercontent.com\/owncloud\/screenshots\/master\/calendar\/screenshot.png", "website": "https:\/\/github.com\/owncloud\/calendar\/", "bugs": "https:\/\/github.com\/owncloud\/calendar\/issues", "repository": { "@attributes": { "type": "git" }, "@value": "https:\/\/github.com\/owncloud\/calendar.git" }, "info": [], "remote": [], "public": [], "types": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "background-jobs": [], "two-factor-providers": [], "commands": [], "groups": null, "active": true, "internal": false, "level": 100, "removable": true, "preview": "\/apps\/calendar\/img\/calendar.svg", "previewAsIcon": true, "appconfig": { "enabled": "yes", "installed_version": "1.5.8-rc2", "signed": "true", "types": "" } }, { "id": "configreport", "name": "Admin Config Report", "description": "Generate a Config Report", "licence": "AGPL", "author": "owncloud.org", "version": "0.1.1", "namespace": "ConfigReport", "default_enable": [ "", "" ], "types": [ "filesystem" ], "dependencies": { "owncloud": { "@attributes": { "min-version": "9.1", "max-version": "10.0" } } }, "shipped": "true", "commands": { "command": "OCA\ConfigReport\Command\ConfigReport" }, "settings": { "admin": "OCA\ConfigReport\AdminPanel" }, "info": [], "remote": [], "public": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "background-jobs": [], "two-factor-providers": [], "groups": null, "active": true, "internal": true, "level": 200, "removable": false, "appconfig": { "enabled": "yes", "installed_version": "0.1.1", "types": "filesystem" } }, { "id": "security", "name": "Security", "description": "ownCloud Security app. It hardens ownCloud security with several new features including brute force protection, 404 detection and strong password enforcement.", "summary": "ownCloud security hardening app", "licence": "AGPL", "author": "Semih Serhat Karakaya", "version": "0.0.2", "namespace": "Security", "dependencies": { "owncloud": { "@attributes": { "min-version": "10.0.3", "max-version": "10.0" } } }, "types": [ "prelogin" ], "category": "security", "screenshot": "https:\/\/raw.githubusercontent.com\/owncloud\/security\/43c55325cf09e5a8b81fafc358b08701aba81173\/screenshots\/settings.png", "settings": { "personal": "OCA\Security\Panels\PersonalPanel", "admin": "OCA\Security\Panels\AdminPanel" }, "repository": { "@attributes": { "type": "git" }, "@value": "https:\/\/github.com\/owncloud\/security.git" }, "info": [], "remote": [], "public": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "background-jobs": [], "two-factor-providers": [], "commands": [], "groups": null, "active": true, "internal": false, "level": 100, "removable": true, "appconfig": { "brute_force_protection_ban_period": "300", "brute_force_protection_fail_tolerance": "2", "brute_force_protection_time_threshold": "100", "enabled": "yes", "installed_version": "0.0.2", "signed": "true", "types": "prelogin" } }, { "id": "market", "name": "Market", "summary": "Integrate the ownCloud marketplace into your ownCloud", "description": "Easily manage ownCloud apps from within your ownCloud web interface. It connects your ownCloud with your marketplace account and lets you browse, install and update any apps from inside your ownCloud instance.\n\nPlease note: Since ownCloud X (10.0) every instance gets shipped with this app included. You do not need to install it separately. To use this application click on \"Files\" in the top left corner and click on \"Market\" (cart icon) (Administrator privileges required)", "licence": "AGPL", "author": "Thomas M\u00fcller, Felix Heidecke, Thomas B\u00f6rger, Philipp Schaffrath", "version": "0.2.5", "default_enable": "", "category": "tools", "screenshot": "https:\/\/raw.githubusercontent.com\/owncloud\/screenshots\/master\/market\/ownCloud-market-app.jpg", "dependencies": { "owncloud": { "@attributes": { "min-version": "10.0", "max-version": "10.1" } } }, "background-jobs": { "job": "OCA\Market\CheckUpdateBackgroundJob" }, "commands": [ "OCA\Market\Command\InstallApp", "OCA\Market\Command\UnInstallApp", "OCA\Market\Command\ListApps", "OCA\Market\Command\UpgradeApp" ], "navigation": { "@attributes": { "role": "admin" }, "route": "market.page.index", "order": "100" }, "info": [], "remote": [], "public": [], "types": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "two-factor-providers": [], "groups": null, "active": true, "internal": false, "level": 100, "removable": true, "preview": "\/apps\/market\/img\/market.svg", "previewAsIcon": true, "appconfig": { "enabled": "yes", "installed_version": "0.2.5", "market": "0.2.5", "signed": "true", "types": "" } }, { "id": "files_versions", "name": "Versions", "licence": "AGPL", "author": "Frank Karlitschek, Bjoern Schiessle", "description": "This application enables ownCloud to automatically maintain older versions of files that are changed. When enabled, a hidden versions folder is provisioned in every user\u2019s directory and is used to store old file versions. A user can revert to an older version through the web interface at any time, with the replaced file becoming a version. ownCloud then automatically manages the versions folder to ensure the user doesn\u2019t run out of Quota because of versions. In addition to the expiry of versions, ownCloud\u2019s versions app makes certain never to use more than 50% of the user\u2019s currently available free space. If stored versions exceed this limit, ownCloud will delete the oldest versions first until it meets this limit. More information is available in the Versions documentation.\n\n", "version": "1.3.0", "types": [ "filesystem" ], "namespace": "Files_Versions", "dependencies": { "owncloud": { "@attributes": { "min-version": "10.0", "max-version": "10.0" } } }, "documentation": { "user": "https:\/\/doc.owncloud.org\/server\/10.0\/go.php?to=user-versions" }, "default_enable": "", "background-jobs": { "job": "OCA\Files_Versions\BackgroundJob\ExpireVersions" }, "commands": [ "OCA\Files_Versions\Command\CleanUp", "OCA\Files_Versions\Command\ExpireVersions" ], "info": [], "remote": [], "public": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "two-factor-providers": [], "groups": null, "active": true, "internal": true, "level": 200, "removable": false, "preview": "\/apps\/files_versions\/img\/app.svg", "previewAsIcon": true, "appconfig": { "enabled": "yes", "installed_version": "1.3.0", "types": "filesystem" } }, { "id": "external", "name": "External Sites", "description": "This application allows an admin to add a link in the ownCloud web interface Apps menu that points to an external website. By simply entering the URL and the name for the external site, icon appears. When this icon is clicked by a user, the external website appears in the ownCloud frame. For the user, this external site appears as if it is part of ownCloud but, in fact, this can be any external URL.\n\nNote that the External Site link must use the same type of encryption as provided by ownCloud. In other words, if ownCloud is hosted on HTTPS, the link in the external site must also be HTTPS. The same is also true for HTTP. More information is available in the External Sites documentation.", "licence": "AGPL", "author": "Frank Karlitschek", "dependencies": { "owncloud": { "@attributes": { "min-version": "10.0", "max-version": "10.0" } } }, "version": "1.2", "info": [], "remote": [], "public": [], "types": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "background-jobs": [], "two-factor-providers": [], "commands": [], "groups": null, "active": false, "internal": false, "level": 100, "removable": true, "preview": "\/apps\/external\/img\/external.svg", "previewAsIcon": true }, { "id": "files_trashbin", "name": "Deleted files", "description": "This application enables users to restore files that were deleted from the system. It displays a list of deleted files in the web interface, and has options to restore those deleted files back to their ownCloud file directories or remove them permanently from the system. Restoring a file also restores related file versions, if the versions application is enabled. When a file is deleted from a share, it can be restored in the same manner, though it is no longer shared. By default, these files remain in the trash bin for 30 days. To prevent a user from running out of disk space, the ownCloud Deleted files app will not utilize more than 50% of the currently available free quota for deleted files. If the deleted files exceed this limit, ownCloud deletes the oldest files until it gets below this limit. More information is available in the Deleted Files documentation.\n\n", "licence": "AGPL", "author": "Bjoern Schiessle", "default_enable": "", "version": "0.9.1", "types": [ "filesystem" ], "use-migrations": "true", "namespace": "Files_Trashbin", "dependencies": { "owncloud": { "@attributes": { "min-version": "10.0.2.4", "max-version": "10.0" } } }, "documentation": { "user": "https:\/\/doc.owncloud.org\/server\/10.0\/go.php?to=user-trashbin" }, "background-jobs": { "job": "OCA\Files_Trashbin\BackgroundJob\ExpireTrash" }, "commands": [ "OCA\Files_Trashbin\Command\CleanUp", "OCA\Files_Trashbin\Command\ExpireTrash" ], "info": [], "remote": [], "public": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "two-factor-providers": [], "groups": null, "active": true, "internal": true, "level": 200, "removable": false, "preview": "\/apps\/files_trashbin\/img\/app.svg", "previewAsIcon": true, "appconfig": { "enabled": "yes", "installed_version": "0.9.1", "types": "filesystem" } }, { "id": "gallery", "name": "Gallery", "summary": "Explore, show and share your image collections", "description": "Media gallery that adds image viewing capabilities to files view and public links. Provides a dedicated grid-based album view for images.\n\nFeatures\n\n- Support for a large selection of image types (depending on server setup) - Fullscreen, zoomable image view integrated with the Files app - Slideshow - Sort images by name or date - Per album description and copyright statement - Image download straight from the slideshow or the album view - Seamlessly jump between the gallery and files view - Ignore folders containing a \".nomedia\" file - Native SVG support - Mobile support", "licence": "AGPL", "author": "Olivier Paroz, Robin Appelman, Thomas M\u00fcller", "version": "16.1.0", "namespace": "Gallery", "documentation": { "user": "https:\/\/doc.owncloud.com\/server\/latest\/user_manual\/files\/gallery_app.html", "admin": "https:\/\/doc.owncloud.com\/server\/latest\/user_manual\/files\/gallery_app.html", "developer": "https:\/\/github.com\/owncloud\/gallery\/blob\/master\/README.md" }, "category": "multimedia", "screenshot": "https:\/\/raw.githubusercontent.com\/owncloud\/screenshots\/0e38639046884e863afc654c5529c8014f7d42fb\/gallery\/gallery.png", "website": "https:\/\/github.com\/owncloud\/gallery", "bugs": "https:\/\/github.com\/owncloud\/gallery\/issues", "repository": { "@attributes": { "type": "git" }, "@value": "https:\/\/github.com\/owncloud\/gallery.git" }, "dependencies": { "owncloud": { "@attributes": { "min-version": "10.0", "max-version": "10.1" } } }, "default_enable": "", "info": [], "remote": [], "public": [], "types": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "background-jobs": [], "two-factor-providers": [], "commands": [], "groups": null, "active": true, "internal": false, "level": 100, "removable": true, "preview": "\/apps\/gallery\/img\/app.svg", "previewAsIcon": true, "appconfig": { "enabled": "yes", "installed_version": "16.1.0", "signed": "true", "types": "" } }, { "id": "encryption", "description": "In order to use this encryption module you need to enable server-side encryption in the admin settings. Once enabled this module will encrypt all your files transparently. The encryption is based on AES 256 keys. The module won't touch existing files, only new files will be encrypted after server-side encryption was enabled. It is also not possible to disable the encryption again and switch back to a unencrypted system. Please read the documentation to know all implications before you decide to enable server-side encryption.", "name": "Default encryption module", "licence": "AGPL", "author": "Bjoern Schiessle, Clark Tomlinson", "documentation": { "user": "https:\/\/doc.owncloud.org\/server\/10.0\/go.php?to=user-encryption", "admin": "https:\/\/doc.owncloud.org\/server\/10.0\/go.php?to=admin-encryption" }, "rememberlogin": "false", "version": "1.3.1", "types": [ "filesystem" ], "use-migrations": "true", "dependencies": { "lib": "openssl", "owncloud": { "@attributes": { "min-version": "10.0", "max-version": "10.0" } } }, "commands": [ "OCA\Encryption\Command\SelectEncryptionType", "OCA\Encryption\Command\RecreateMasterKey", "OCA\Encryption\Command\MigrateKeys" ], "settings": { "admin": "OCA\Encryption\Panels\Admin", "personal": "OCA\Encryption\Panels\Personal" }, "info": [], "remote": [], "public": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "background-jobs": [], "two-factor-providers": [], "groups": null, "active": false, "internal": true, "level": 200, "removable": false, "preview": "\/apps\/encryption\/img\/app.svg", "previewAsIcon": true }, { "id": "provisioning_api", "name": "Provisioning API", "description": "This application enables a set of APIs that external systems can use to create, edit, delete and query user attributes, query, set and remove groups, set quota and query total storage used in ownCloud. Group admin users can also query ownCloud and perform the same functions as an admin for groups they manage. The API also enables an admin to query for active ownCloud applications, application info, and to enable or disable an app remotely. Once the app is enabled, http requests can be used via a Basic Auth header to perform any of the functions listed above. More information is available in the Provisioning API documentation, including example calls and server responses.", "licence": "AGPL", "author": "Tom Needham", "default_enable": "", "documentation": { "admin": "https:\/\/doc.owncloud.org\/server\/10.0\/go.php?to=admin-provisioning-api" }, "version": "0.5.0", "namespace": "Provisioning_API", "types": [ "prevent_group_restriction" ], "dependencies": { "owncloud": { "@attributes": { "min-version": "10.0", "max-version": "10.0" } } }, "info": [], "remote": [], "public": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "background-jobs": [], "two-factor-providers": [], "commands": [], "groups": null, "active": true, "internal": true, "level": 200, "removable": false, "preview": "\/apps\/provisioning_api\/img\/app.svg", "previewAsIcon": true, "appconfig": { "enabled": "yes", "installed_version": "0.5.0", "types": "prevent_group_restriction" } }, { "id": "contacts", "name": "Contacts", "summary": "Manage your CardDAV contacts from a feature-rich web-interface", "description": "Contacts is a user interface for ownCloud's CardDAV server. ownCloud Server comes with a CardDAV component that allows users to synchronize and backup their address books with ownCloud and across multiple devices. It provides users with an alternative to proprietary contact synchronization services giving them back control over their data once more.\n\nThe Contacts application is an extension to ownCloud's CardDAV interface. It equips ownCloud with a feature-rich frontend for the CardDAV server component, supports multiple address books and empowers users to easily manage their contacts from a web interface for ownCloud. Users may find the URL for device synchronization (to configure synchronization in iOS, Android or other CardDAV-capable applications) in the 'Settings' section on the bottom left inside the application (link symbol). Furthermore users can share address books with other users or groups (read-only\/editable) enabling to synchronize address books not only across devices but also across users. In addition to managing synchronized contacts the application also offers a feature to import contacts from vCards (.vcf).", "licence": "AGPL", "author": "Hendrik Leppelsack, Thomas M\u00fcller, Alexander Weidinger, Jan-Christoph Borchardt, Tom Needham", "version": "1.5.4", "documentation": { "user": "https:\/\/doc.owncloud.org\/server\/10.0\/user_manual\/pim\/index.html", "admin": "https:\/\/doc.owncloud.org\/server\/10.0\/admin_manual\/configuration\/server\/occ_command.html?highlight=contacts#dav-commands", "developer": "https:\/\/github.com\/owncloud\/contacts\/blob\/master\/README.md" }, "category": "productivity", "website": "https:\/\/github.com\/owncloud\/contacts", "bugs": "https:\/\/github.com\/owncloud\/contacts\/issues", "repository": { "@attributes": { "type": "git" }, "@value": "https:\/\/github.com\/owncloud\/contacts.git" }, "screenshot": "https:\/\/raw.githubusercontent.com\/owncloud\/screenshots\/760f2783b03fd26cbc920188b672f5f5efe548c0\/contacts\/contacts.png", "dependencies": { "owncloud": { "@attributes": { "min-version": "9.0", "max-version": "10.1" } } }, "info": [], "remote": [], "public": [], "types": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "background-jobs": [], "two-factor-providers": [], "commands": [], "groups": null, "active": true, "internal": false, "level": 100, "removable": true, "preview": "\/apps\/contacts\/img\/app.svg", "previewAsIcon": true, "appconfig": { "enabled": "yes", "installed_version": "1.5.4", "signed": "true", "types": "" } }, { "id": "firstrunwizard", "name": "First run wizard", "description": "This application enables a pop-up window when a user first logs into ownCloud. This window welcomes new users to ownCloud, and contains links to the standard ownCloud desktop client, Android app, and the iOS app. The window also shows a link for accessing ownCloud via WebDAV. At any time, the first run wizard button can be opened again via the link on the personal page. The First run wizard can be customized to meet specific design goals, or to change links and messages. Create an appropriate theme following the Theming documentation, and changes to the look and feel of this Wizard are simple. More information is available in the First run wizard documentation, as well as the theming documentation.", "licence": "AGPL", "author": "Frank Karlitschek, Jan-Christoph Borchardt", "dependencies": { "owncloud": { "@attributes": { "min-version": "10.0", "max-version": "10.0" } } }, "version": "1.1", "shipped": "true", "default_enable": "", "ocsid": "166055", "info": [], "remote": [], "public": [], "types": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "background-jobs": [], "two-factor-providers": [], "commands": [], "groups": null, "active": true, "internal": false, "level": 100, "removable": true, "preview": "\/apps\/firstrunwizard\/img\/app.svg", "previewAsIcon": true, "appconfig": { "enabled": "yes", "installed_version": "1.1", "ocsid": "166055", "types": "" } }, { "id": "files_sharing", "name": "Share Files", "description": "This application enables users to share files within ownCloud. If enabled, the admin can choose which groups can share files. The applicable users can then share files and folders with other users and groups within ownCloud. In addition, if the admin enables the share link feature, an external link can be used to share files with other users outside of ownCloud. Admins can also enforce passwords, expirations dates, and enable server to server sharing via share links, as well as sharing from mobile devices. Turning the feature off removes shared files and folders on the server for all share recipients, and also on the sync clients and mobile apps. More information is available in the ownCloud Documentation.\n\n", "licence": "AGPL", "author": "Michael Gapczynski, Bjoern Schiessle", "default_enable": "", "version": "0.10.1", "types": [ "filesystem" ], "use-migrations": "true", "dependencies": { "owncloud": { "@attributes": { "min-version": "10.0.2.4", "max-version": "10.0" } } }, "public": { "files": "public.php" }, "namespace": "Files_Sharing", "background-jobs": [ "OCA\Files_Sharing\DeleteOrphanedSharesJob", "OCA\Files_Sharing\ExpireSharesJob" ], "commands": { "command": "OCA\Files_Sharing\Command\CleanupRemoteStorages" }, "info": [], "remote": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "two-factor-providers": [], "groups": null, "active": true, "internal": true, "level": 200, "removable": false, "preview": "\/apps\/files_sharing\/img\/app.svg", "previewAsIcon": true, "appconfig": { "enabled": "yes", "installed_version": "0.10.1", "types": "filesystem" } }, { "id": "user_external", "name": "External user support", "description": "Use external user authentication methods like IMAP, SMB and FTP", "licence": "AGPL", "author": "Robin Appelman", "documentation": { "admin": "https:\/\/doc.owncloud.org\/server\/9.0\/admin_manual\/configuration_user\/user_auth_ftp_smb_imap.html" }, "website": "https:\/\/github.com\/owncloud\/apps\/tree\/master\/user_external", "bugs": "https:\/\/github.com\/owncloud\/apps\/issues", "repository": { "@attributes": { "type": "git" }, "@value": "https:\/\/github.com\/owncloud\/apps.git" }, "dependencies": { "owncloud": { "@attributes": { "min-version": "10.0", "max-version": "10.0" } } }, "version": "0.4", "shipped": "true", "types": [ "authentication", "prelogin" ], "ocsid": "166060", "info": [], "remote": [], "public": [], "repair-steps": { "install": [], "pre-migration": [], "post-migration": [], "live-migration": [], "uninstall": [] }, "background-jobs": [], "two-factor-providers": [], "commands": [], "groups": null, "active": false, "internal": false, "level": 100, "removable": true, "preview": "\/apps\/user_external\/img\/app.svg", "previewAsIcon": true } ], "phpinfo": { "apc": { "APC Compatibility": "1.0.3", "APCu Version": "5.1.3", "Build Date": "Mar 15 2016 20:12:09" }, "apcu": { "Version": "5.1.8", "APCu Debugging": "Disabled", "MMAP Support": "Enabled", "MMAP File Mask": "no value", "Serialization Support": "php, igbinary", "Build Date": "Jan 23 2017 10:24:34", "apc.coredump_unmap": "Off", "apc.enable_cli": "Off", "apc.enabled": "On", "apc.entries_hint": "4096", "apc.gc_ttl": "3600", "apc.mmap_file_mask": "no value", "apc.preload_path": "no value", "apc.serializer": "php", "apc.shm_segments": "1", "apc.shm_size": "32M", "apc.slam_defense": "On", "apc.smart": "0", "apc.ttl": "0", "apc.use_request_time": "On", "apc.writable": "\/tmp" }, "calendar": { "Calendar support": "enabled" }, "cgi-fcgi": { "php-fpm": "active", "cgi.discard_path": "0", "cgi.fix_pathinfo": "1", "cgi.force_redirect": "1", "cgi.nph": "0", "cgi.redirect_status_env": "no value", "cgi.rfc2616_headers": "0", "fastcgi.error_header": "no value", "fastcgi.logging": "1", "fpm.config": "no value" }, "Core": { "PHP Version": "7.0.30-0+deb9u1", "allow_url_fopen": "On", "allow_url_include": "Off", "arg_separator.input": "&", "arg_separator.output": "&", "auto_append_file": "no value", "auto_globals_jit": "On", "auto_prepend_file": "no value", "browscap": "no value", "default_charset": "UTF-8", "default_mimetype": "text\/html", "disable_classes": "no value", "disable_functions": "pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,", "display_errors": "Off", "display_startup_errors": "Off", "doc_root": "no value", "docref_ext": "no value", "docref_root": "no value", "enable_dl": "Off", "enable_post_data_reading": "On", "error_append_string": "no value", "error_log": "no value", "error_prepend_string": "no value", "error_reporting": [ "32767", "22527" ], "exit_on_timeout": "Off", "expose_php": "Off", "extension_dir": "\/usr\/lib\/php\/20151012", "file_uploads": "On", "highlight.comment": "#FF8000", "highlight.default": "#0000BB", "highlight.html": "#000000", "highlight.keyword": "#007700", "highlight.string": "#DD0000", "html_errors": "On", "ignore_repeated_errors": "Off", "ignore_repeated_source": "Off", "ignore_user_abort": "Off", "implicit_flush": "Off", "input_encoding": "no value", "internal_encoding": "no value", "log_errors": "On", "log_errors_max_len": "1024", "mail.add_x_header": "On", "mail.force_extra_parameters": "no value", "mail.log": "no value", "max_execution_time": [ "3600", "30" ], "max_file_uploads": "20", "max_input_nesting_level": "64", "max_input_time": "60", "max_input_vars": "1000", "memory_limit": "128M", "open_basedir": "no value", "output_buffering": "4096", "output_encoding": "no value", "output_handler": "no value", "post_max_size": "8M", "precision": "14", "realpath_cache_size": "4096K", "realpath_cache_ttl": "120", "register_argc_argv": "Off", "report_memleaks": "On", "report_zend_debug": "On", "request_order": "GP", "sendmail_from": "no value", "sendmail_path": "\/usr\/sbin\/sendmail -t -i ", "serialize_precision": "17", "short_open_tag": "Off", "SMTP": "localhost", "smtp_port": "25", "sql.safe_mode": "Off", "sys_temp_dir": "no value", "track_errors": "Off", "unserialize_callback_func": "no value", "upload_max_filesize": "2M", "upload_tmp_dir": "no value", "user_dir": "no value", "user_ini.cache_ttl": "300", "user_ini.filename": ".user.ini", "variables_order": "GPCS", "xmlrpc_error_number": "0", "xmlrpc_errors": "Off", "zend.assertions": "-1", "zend.detect_unicode": "On", "zend.enable_gc": "On", "zend.multibyte": "Off", "zend.script_encoding": "no value" }, "ctype": { "ctype functions": "enabled" }, "curl": { "cURL support": "enabled", "cURL Information": "7.52.1", "Age": "3", "Features": null, "AsynchDNS": "Yes", "CharConv": "No", "Debug": "No", "GSS-Negotiate": "No", "IDN": "Yes", "IPv6": "Yes", "krb4": "No", "Largefile": "Yes", "libz": "Yes", "NTLM": "Yes", "NTLMWB": "Yes", "SPNEGO": "Yes", "SSL": "Yes", "SSPI": "No", "TLS-SRP": "Yes", "HTTP2": "Yes", "GSSAPI": "Yes", "KERBEROS5": "Yes", "UNIX_SOCKETS": "Yes", "PSL": "Yes", "Protocols": "dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtmp, rtsp, scp, sftp, smb, smbs, smtp, smtps, telnet, tftp", "Host": "arm-unknown-linux-gnueabihf", "SSL Version": "OpenSSL\/1.0.2l", "ZLib Version": "1.2.8", "libSSH Version": "libssh2\/1.7.0" }, "date": { "date\/time support": "enabled", "timelib version": "2016.02", ""Olson" Timezone Database Version": "0.system", "Timezone Database": "internal", "Default timezone": "UTC", "date.default_latitude": "31.7667", "date.default_longitude": "35.2333", "date.sunrise_zenith": "90.583333", "date.sunset_zenith": "90.583333", "date.timezone": "no value" }, "dom": { "DOM\/XML": "enabled", "DOM\/XML API Version": "20031129", "libxml Version": "2.9.4", "HTML Support": "enabled", "XPath Support": "enabled", "XPointer Support": "enabled", "Schema Support": "enabled", "RelaxNG Support": "enabled" }, "exif": { "EXIF Support": "enabled", "EXIF Version": "7.0.30-0+deb9u1", "Supported EXIF Version": "0220", "Supported filetypes": "JPEG,TIFF", "exif.decode_jis_intel": "JIS", "exif.decode_jis_motorola": "JIS", "exif.decode_unicode_intel": "UCS-2LE", "exif.decode_unicode_motorola": "UCS-2BE", "exif.encode_jis": "no value", "exif.encode_unicode": "ISO-8859-15" }, "fileinfo": { "fileinfo support": "enabled", "version": "1.0.5", "libmagic": "522" }, "filter": { "Input Validation and Filtering": "enabled", "Revision": "$Id: 28fcca4bfda9c9907588a64d245b49cb398249d8 $", "filter.default": "unsafe_raw", "filter.default_flags": "no value" }, "ftp": { "FTP support": "enabled", "FTPS support": "enabled" }, "gd": { "GD Support": "enabled", "GD headers Version": "2.2.4", "GD library Version": "2.2.4", "FreeType Support": "enabled", "FreeType Linkage": "with freetype", "FreeType Version": "2.6.3", "GIF Read Support": "enabled", "GIF Create Support": "enabled", "JPEG Support": "enabled", "libJPEG Version": "6b", "PNG Support": "enabled", "libPNG Version": "1.6.28", "WBMP Support": "enabled", "XPM Support": "enabled", "libXpm Version": "30411", "XBM Support": "enabled", "WebP Support": "enabled", "gd.jpeg_ignore_warning": [ "1", "0" ] }, "gettext": { "GetText Support": "enabled" }, "hash": { "hash support": "enabled", "Hashing Engines": "md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost gost-crypto adler32 crc32 crc32b fnv132 fnv1a32 fnv164 fnv1a64 joaat haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5", "MHASH support": "Enabled", "MHASH API Version": "Emulated Support" }, "iconv": { "iconv support": "enabled", "iconv implementation": "glibc", "iconv library version": "2.24", "iconv.input_encoding": "no value", "iconv.internal_encoding": "no value", "iconv.output_encoding": "no value" }, "igbinary": { "igbinary support": "enabled", "igbinary version": "2.0.1", "igbinary APCU serializer ABI": "0", "igbinary session support": "yes", "igbinary.compact_strings": "On" }, "intl": { "version": "1.1.0", "ICU version": "57.1", "ICU Data version": "57.1", "intl.default_locale": "no value", "intl.error_level": "0", "intl.use_exceptions": "0" }, "json": { "json support": "enabled", "json version": "1.4.0" }, "libxml": { "libXML support": "active", "libXML Compiled Version": "2.9.4", "libXML Loaded Version": "20904", "libXML streams": "enabled" }, "mbstring": { "Multibyte Support": "enabled", "Multibyte string engine": "libmbfl", "HTTP input encoding translation": "disabled", "libmbfl version": "1.3.2", "oniguruma version": "5.9.6", "Multibyte (japanese) regex support": "enabled", "Multibyte regex (oniguruma) backtrack check": "On", "Multibyte regex (oniguruma) version": "5.9.6", "mbstring.detect_order": "no value", "mbstring.encoding_translation": "Off", "mbstring.func_overload": "0", "mbstring.http_input": "no value", "mbstring.http_output": "no value", "mbstring.http_output_conv_mimetypes": "^(text\/|application\/xhtml\+xml)", "mbstring.internal_encoding": "no value", "mbstring.language": "neutral", "mbstring.strict_detection": "Off", "mbstring.substitute_character": "no value" }, "mysqli": { "Client API library version": "mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $", "Active Persistent Links": "0", "Inactive Persistent Links": "0", "Active Links": "0", "mysqli.allow_local_infile": "On", "mysqli.allow_persistent": "On", "mysqli.default_host": "no value", "mysqli.default_port": "3306", "mysqli.default_pw": "no value", "mysqli.default_socket": "no value", "mysqli.default_user": "no value", "mysqli.max_links": "Unlimited", "mysqli.max_persistent": "Unlimited", "mysqli.reconnect": "Off", "mysqli.rollback_on_cached_plink": "Off" }, "mysqlnd": { "Version": "mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $", "Compression": "supported", "core SSL": "supported", "extended SSL": "supported", "Command buffer size": "4096", "Read buffer size": "32768", "Read timeout": "31536000", "Collecting statistics": "Yes", "Collecting memory statistics": "No", "Tracing": "n\/a", "Loaded plugins": "mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_sha256_password", "API Extensions": "mysqli,pdo_mysql", "bytes_sent": "162904", "bytes_received": "535655", "packets_sent": "1682", "packets_received": "10846", "protocol_overhead_in": "43384", "protocol_overhead_out": "6728", "bytes_received_ok_packet": "0", "bytes_received_eof_packet": "0", "bytes_received_rset_header_packet": "6255", "bytes_received_rset_field_meta_packet": "0", "bytes_received_rset_row_packet": "5252", "bytes_received_prepare_response_packet": "321426", "bytes_received_change_user_packet": "195857", "packets_sent_command": "811", "packets_received_ok": "0", "packets_received_eof": "0", "packets_received_rset_header": "695", "packets_received_rset_field_meta": "0", "packets_received_rset_row": "782", "packets_received_prepare_response": "4498", "packets_received_change_user": "4811", "result_set_queries": "695", "non_result_set_queries": "87", "no_index_used": "152", "bad_index_used": "0", "slow_queries": "0", "buffered_sets": "695", "unbuffered_sets": "0", "ps_buffered_sets": "0", "ps_unbuffered_sets": "0", "flushed_normal_sets": "0", "flushed_ps_sets": "0", "ps_prepared_never_executed": "0", "ps_prepared_once_executed": "0", "rows_fetched_from_server_normal": "4116", "rows_fetched_from_server_ps": "0", "rows_buffered_from_client_normal": "4116", "rows_buffered_from_client_ps": "0", "rows_fetched_from_client_normal_buffered": "4116", "rows_fetched_from_client_normal_unbuffered": "0", "rows_fetched_from_client_ps_buffered": "0", "rows_fetched_from_client_ps_unbuffered": "0", "rows_fetched_from_client_ps_cursor": "0", "rows_affected_normal": "7", "rows_affected_ps": "0", "rows_skipped_normal": "4116", "rows_skipped_ps": "0", "copy_on_write_saved": "0", "copy_on_write_performed": "0", "command_buffer_too_small": "0", "connect_success": "30", "connect_failure": "0", "connection_reused": "0", "reconnect": "0", "pconnect_success": "0", "active_connections": "18446744073709551588", "active_persistent_connections": "0", "explicit_close": "29", "implicit_close": "0", "disconnect_close": "0", "in_middle_of_command_close": "0", "explicit_free_result": "695", "implicit_free_result": "0", "explicit_stmt_close": "0", "implicit_stmt_close": "0", "mem_emalloc_count": "0", "mem_emalloc_amount": "0", "mem_ecalloc_count": "0", "mem_ecalloc_amount": "0", "mem_erealloc_count": "0", "mem_erealloc_amount": "0", "mem_efree_count": "0", "mem_efree_amount": "0", "mem_malloc_count": "0", "mem_malloc_amount": "0", "mem_calloc_count": "0", "mem_calloc_amount": "0", "mem_realloc_count": "0", "mem_realloc_amount": "0", "mem_free_count": "0", "mem_free_amount": "0", "mem_estrndup_count": "0", "mem_strndup_count": "0", "mem_estndup_count": "0", "mem_strdup_count": "0", "proto_text_fetched_null": "0", "proto_text_fetched_bit": "0", "proto_text_fetched_tinyint": "0", "proto_text_fetched_short": "153", "proto_text_fetched_int24": "0", "proto_text_fetched_int": "1235", "proto_text_fetched_bigint": "691", "proto_text_fetched_decimal": "0", "proto_text_fetched_float": "0", "proto_text_fetched_double": "0", "proto_text_fetched_date": "0", "proto_text_fetched_year": "0", "proto_text_fetched_time": "0", "proto_text_fetched_datetime": "0", "proto_text_fetched_timestamp": "0", "proto_text_fetched_string": "8188", "proto_text_fetched_blob": "0", "proto_text_fetched_enum": "3436", "proto_text_fetched_set": "0", "proto_text_fetched_geometry": "0", "proto_text_fetched_other": "0", "proto_binary_fetched_null": "0", "proto_binary_fetched_bit": "0", "proto_binary_fetched_tinyint": "0", "proto_binary_fetched_short": "0", "proto_binary_fetched_int24": "0", "proto_binary_fetched_int": "0", "proto_binary_fetched_bigint": "0", "proto_binary_fetched_decimal": "0", "proto_binary_fetched_float": "0", "proto_binary_fetched_double": "0", "proto_binary_fetched_date": "0", "proto_binary_fetched_year": "0", "proto_binary_fetched_time": "0", "proto_binary_fetched_datetime": "0", "proto_binary_fetched_timestamp": "0", "proto_binary_fetched_string": "0", "proto_binary_fetched_json": "0", "proto_binary_fetched_blob": "0", "proto_binary_fetched_enum": "0", "proto_binary_fetched_set": "0", "proto_binary_fetched_geometry": "0", "proto_binary_fetched_other": "0", "init_command_executed_count": "0", "init_command_failed_count": "0", "com_quit": "29", "com_init_db": "0", "com_query": "782", "com_field_list": "0", "com_create_db": "0", "com_drop_db": "0", "com_refresh": "0", "com_shutdown": "0", "com_statistics": "0", "com_process_info": "0", "com_connect": "0", "com_process_kill": "0", "com_debug": "0", "com_ping": "0", "com_time": "0", "com_delayed_insert": "0", "com_change_user": "0", "com_binlog_dump": "0", "com_table_dump": "0", "com_connect_out": "0", "com_register_slave": "0", "com_stmt_prepare": "0", "com_stmt_execute": "0", "com_stmt_send_long_data": "0", "com_stmt_close": "0", "com_stmt_reset": "0", "com_stmt_set_option": "0", "com_stmt_fetch": "0", "com_deamon": "0", "bytes_received_real_data_normal": "162700", "bytes_received_real_data_ps": "0" }, "openssl": { "OpenSSL support": "enabled", "OpenSSL Library Version": "OpenSSL 1.1.0f 25 May 2017", "OpenSSL Header Version": "OpenSSL 1.1.0f 25 May 2017", "Openssl default config": "\/usr\/lib\/ssl\/openssl.cnf", "openssl.cafile": "no value", "openssl.capath": "no value" }, "pcre": { "PCRE (Perl Compatible Regular Expressions) Support": "enabled", "PCRE Library Version": "8.39 2016-06-14", "PCRE JIT Support": "enabled", "pcre.backtrack_limit": "1000000", "pcre.jit": "1", "pcre.recursion_limit": "100000" }, "PDO": { "PDO drivers": "mysql" }, "pdo_mysql": { "Client API version": "mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $", "pdo_mysql.default_socket": "\/var\/run\/mysqld\/mysqld.sock" }, "Phar": { "Phar EXT version": "2.0.2", "Phar API version": "1.1.1", "SVN revision": "$Id: 9d91fd26ae99260111b934cc25174387d4bd7059 $", "Phar-based phar archives": "enabled", "Tar-based phar archives": "enabled", "ZIP-based phar archives": "enabled", "gzip compression": "enabled", "bzip2 compression": "disabled (install pecl\/bz2)", "Native OpenSSL support": "enabled", "Phar based on pear\/PHP_Archive, original concept by Davey Shafik.Phar fully realized by Gregory Beaver and Marcus Boerger.Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.": null, "phar.cache_list": "no value", "phar.readonly": "On", "phar.require_hash": "On" }, "posix": { "Revision": "$Id: b691ca925e7a085e6929579c4eba8fed0732e0ef $" }, "readline": { "Readline library": "EditLine wrapper", "cli.pager": "no value", "cli.prompt": "\b \> " }, "redis": { "Redis Version": "3.1.1", "Available serializers": "php, igbinary" }, "Reflection": { "Version": "$Id: e5303663dcb329e17818853ff223e5ee01481f2c $" }, "session": { "Session Support": "enabled", "Registered save handlers": "files user redis rediscluster", "Registered serializer handlers": "php_serialize php php_binary igbinary wddx", "session.auto_start": "Off", "session.cache_expire": "180", "session.cache_limiter": "nocache", "session.cookie_domain": "no value", "session.cookie_httponly": [ "On", "Off" ], "session.cookie_lifetime": "0", "session.cookie_path": "\/", "session.cookie_secure": "Off", "session.entropy_file": "\/dev\/urandom", "session.entropy_length": "32", "session.gc_divisor": "1000", "session.gc_maxlifetime": "1440", "session.gc_probability": "0", "session.hash_bits_per_character": "5", "session.hash_function": "0", "session.lazy_write": "On", "session.name": [ "oc6qxxzie2mn", "PHPSESSID" ], "session.referer_check": "no value", "session.save_handler": "files", "session.save_path": "\/var\/lib\/php\/sessions", "session.serialize_handler": "php", "session.upload_progress.cleanup": "On", "session.upload_progress.enabled": "On", "session.upload_progress.freq": "1%", "session.upload_progress.min_freq": "1", "session.upload_progress.name": "PHP_SESSION_UPLOAD_PROGRESS", "session.upload_progress.prefix": "uploadprogress", "session.use_cookies": "On", "session.use_only_cookies": "On", "session.use_strict_mode": "Off", "session.use_trans_sid": "0" }, "shmop": { "shmop support": "enabled" }, "SimpleXML": { "Revision": "$Id: 0637e06af859ca1d0dea9c2f1530e51b98f1970e $", "Schema support": "enabled" }, "sockets": { "Sockets Support": "enabled" }, "SPL": { "Interfaces": "Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject", "Classes": "AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException" }, "standard": { "Dynamic Library Support": "enabled", "Path to sendmail": "\/usr\/sbin\/sendmail -t -i", "assert.active": "1", "assert.bail": "0", "assert.callback": "no value", "assert.exception": "0", "assert.quiet_eval": "0", "assert.warning": "1", "auto_detect_line_endings": "0", "default_socket_timeout": "60", "from": "no value", "url_rewriter.tags": "a=href,area=href,frame=src,input=src,form=fakeentry", "user_agent": "no value" }, "sysvmsg": { "sysvmsg support": "enabled", "Revision": "$Id: dfb999763f95bfe9609fae60b4e07a492888ec7c $" }, "sysvsem": { "Version": "7.0.30-0+deb9u1" }, "sysvshm": { "Version": "7.0.30-0+deb9u1" }, "tokenizer": { "Tokenizer Support": "enabled" }, "wddx": { "WDDX Session Serializer": "enabled" }, "xml": { "XML Support": "active", "XML Namespace Support": "active", "libxml2 Version": "2.9.4" }, "xmlreader": { "XMLReader": "enabled" }, "xmlwriter": { "XMLWriter": "enabled" }, "xsl": { "XSL": "enabled", "libxslt Version": "1.1.29", "libxslt compiled against libxml Version": "2.9.4", "EXSLT": "enabled", "libexslt Version": "1.1.29" }, "Zend OPcache": { "Opcode Caching": "Up and Running", "Optimization": "Enabled", "SHM Cache": "Enabled", "File Cache": "Disabled", "Startup": "OK", "Shared memory model": "mmap", "Cache hits": "8122780", "Cache misses": "1347", "Used memory": "24910712", "Free memory": "42195064", "Wasted memory": "3088", "Interned Strings Used memory": "2734072", "Interned Strings Free memory": "1460232", "Cached scripts": "1324", "Cached keys": "2430", "Max keys": "3907", "OOM restarts": "0", "Hash keys restarts": "0", "Manual restarts": "0", "opcache.blacklist_filename": "no value", "opcache.consistency_checks": "0", "opcache.dups_fix": "Off", "opcache.enable": "On", "opcache.enable_cli": "Off", "opcache.enable_file_override": "Off", "opcache.error_log": "no value", "opcache.fast_shutdown": "0", "opcache.file_cache": "no value", "opcache.file_cache_consistency_checks": "1", "opcache.file_cache_only": "0", "opcache.file_update_protection": "2", "opcache.force_restart_timeout": "180", "opcache.huge_code_pages": "Off", "opcache.inherited_hack": "On", "opcache.interned_strings_buffer": "4", "opcache.lockfile_path": "\/tmp", "opcache.log_verbosity_level": "1", "opcache.max_accelerated_files": "2000", "opcache.max_file_size": "0", "opcache.max_wasted_percentage": "5", "opcache.memory_consumption": "64", "opcache.optimization_level": "0x7FFFBFFF", "opcache.preferred_memory_model": "no value", "opcache.protect_memory": "0", "opcache.restrict_api": "no value", "opcache.revalidate_freq": "2", "opcache.revalidate_path": "Off", "opcache.save_comments": "1", "opcache.use_cwd": "On", "opcache.validate_permission": "Off", "opcache.validate_root": "Off", "opcache.validate_timestamps": "On" }, "zip": { "Zip": "enabled", "Zip version": "1.13.5", "Libzip version": "1.1.2" }, "zlib": { "Stream Wrapper": "compress.zlib:\/\/", "Stream Filter": "zlib.inflate, zlib.deflate", "Compiled Version": "1.2.8", "Linked Version": "1.2.8", "zlib.output_compression": "Off", "zlib.output_compression_level": "-1", "zlib.output_handler": "no value" }, "Environment": { "TEMP": "\/tmp", "TMPDIR": "\/tmp", "TMP": "\/tmp", "HOSTNAME": "no value", "USER": "www-data", "HOME": "\/var\/www" } } }

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

{ "system": { "instanceid": "oc6qxxzie2mn", "passwordsalt": "REMOVED SENSITIVE VALUE", "secret": "REMOVED SENSITIVE VALUE", "trusteddomains": [ "localhost", "192.168.1.9", "vorman.mooo.com" ], "datadirectory": "\/var\/www\/html\/owncloud\/data", "overwrite.cli.url": "REMOVED ", "dbtype": "mysql", "version": "10.0.9.5", "dbname": "owncloud", "dbhost": "localhost:5432", "dbtableprefix": "oc", "dbuser": "REMOVED SENSITIVE VALUE", "dbpassword": "REMOVED SENSITIVE VALUE", "logtimezone": "America\/New_York", "installed": true, "cron_log": true, "loglevel": 2, "theme": "", "maintenance": false, "trashbin_retention_obligation": "D1,D2", "filelocking.enabled": true, "memcache.locking": "\OC\Memcache\Redis", "redis": { "host": "localhost", "port": 6379, "timeout": 0, "password": "REMOVED SENSITIVE VALUE" }, "defaultapp": "calendar" } }

List of activated apps:

CRON is running

ownclouders commented 6 years ago

GitMate.io thinks the contributors most likely able to help are @ownclouders, and @PVince81.

Possibly related issues are https://github.com/owncloud/core/issues/3260 (- Removed -), https://github.com/owncloud/core/issues/240 (--- Removed ---), https://github.com/owncloud/core/issues/18344 (fail to run cron job), https://github.com/owncloud/core/issues/25350 (Re-add missing cron jobs), and https://github.com/owncloud/core/pull/31782 (Remove session handling from loadApps (revived)).

soydepr commented 6 years ago

one thing i want to add is every time i hit refresh in the browser it creates a new session @ownclouders

PVince81 commented 6 years ago

Works for me with 10.0.10 and Chromium 69 on openSUSE Tumbleweed.

Is this happening for every client and browser ? Maybe your browser isn't keeping the cookies for some reason.

Also make sure you don't have any stray cookies in case you deployed OC in another web path and moved it to another one.

soydepr commented 6 years ago

mostly for non admin accounts but also have seen it in admin account . any browsers ios mac chromium etc . i would imagine regardless of the cookies that old session would be gone by cron sessions

soydepr commented 6 years ago

@PVince81 do you still need additional info , if yes, what ?

PVince81 commented 6 years ago

are you seeing this message in the logs ? https://github.com/owncloud/core/blob/v10.0.10/lib/private/Authentication/Token/DefaultTokenProvider.php#L245

also check if your oc_jobs table has an entry with \OC\Authentication\Token\DefaultTokenCleanupJob

soydepr commented 6 years ago

Yes and yes ate\\/Authentication\\/Token\\/DefaultTokenProvider.php(101): 03b77863-17fc-48fb-b195-7eeb5ee4d146

soydepr commented 5 years ago

Any update on this ?

PVince81 commented 5 years ago

@soydepr is the web server timezone set to UTC ? I suspect this could affect the date that is used to define the threshold after which to delete the sessions.

or are there sessions older than 2 days that are still not deleted ?

I checked my own server (which runs 10.1.0) and I see old sessions up to one day but not older.

soydepr commented 5 years ago

Version 10.0.10.4, Logzone America New York

Oldest one 1 day but to many 12 hours hours etc etc

PVince81 commented 5 years ago

from what I see the logic is not based on the number of sessions but on their age: https://github.com/owncloud/core/blob/v10.1.0/lib/private/Authentication/Token/DefaultTokenProvider.php#L244

by default it will invalidate sessions older than a day, unless a value was specified in config.php for "session_lifetime". If a value was set, it will use that one. Basically it would delete the tokens for sessions that have already expired.

this works by design and your ticket would be a feature request for expiring not by age but by number of sessions

soydepr commented 5 years ago

Thanks for the feedback originally when I first entered this I could see older than 1day now I don’t so something positive got addressed. Thanks