![]() OwnCloud log (data/owncloud.log) Insert your ownCloud log hereīrowser log Insert your browser log here, this could for example include: Windows 10 Pro Logs Web server error log Insert your webserver log here SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap' Įventually replace sensitive data as the name/IP-address of your LDAP server or groups. Without access to your command line download the data/owncloud.db to your localĬomputer or access your SQL server remotely and run the select query: Sudo -u www-data php occ ldap:show-configįrom within your ownCloud installation folder No LDAP configuration (delete this part if not used) With access to your command line run e.g.: “shareapi_allow_public_notification”: “yes”,Īre you using external storage, if yes which one: local/smb/sftp/…Īre you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/… “remote_webdav”: “dav/appinfo/v1/webdav.php”, “remote_files”: “dav/appinfo/v1/webdav.php”, “remote_dav”: “dav/appinfo/v2/remote.php”, “remote_contacts”: “dav/appinfo/v1/carddav.php”, “remote_carddav”: “dav/appinfo/v1/carddav.php”, “remote_calendar”: “dav/appinfo/v1/caldav.php”, “remote_caldav”: “dav/appinfo/v1/caldav.php”, “public_webdav”: “dav/appinfo/v1/publicwebdav.php”, “public_files”: “files_sharing/public.php”, “mail_smtppassword”: “ REMOVED SENSITIVE VALUE”, “mail_smtpname”: “ REMOVED SENSITIVE VALUE”, “mail_smtphost”: “ REMOVED SENSITIVE VALUE”, “mail_domain”: “ REMOVED SENSITIVE VALUE”, “mail_from_address”: “ REMOVED SENSITIVE VALUE”, “dbpassword”: “ REMOVED SENSITIVE VALUE”, “datadirectory”: “/var/www/owncloud/data”, “passwordsalt”: “ REMOVED SENSITIVE VALUE”, “license key”: “ REMOVED SENSITIVE VALUE”, This report includes the config.php settings, the list of activated appsĪnd other details in a well sanitized form. ‘admin’ -> ‘Generate Config Report’ -> ‘Download ownCloud config report’ Log in to the web-UI with an administrator account and click on ![]() The parameter doesn’t need to be a GET parameter - a POST parameter will also be detected.Signing status (ownCloud 9.0 and above): Login as admin user into your ownCloud and access Be aware to use a random string that isn’t easy to guess and remove the setting once it is not needed anymore.įor example following request will cause to write all log messages during the execution (given that the above config is applied): curl -X PROPFIND -u another-user:password \ If you notice that for a single request something bad happens then you can add a parameter named log_secret with the exact same value as set in the config to log all messages of this single request. The option shared_secret is something special to pick a very specific use case. The options for users and apps are quite self-explanatory: If the request is made by a user that is in the list all log messages will be written or if the log message is raised by an app that is in the list then all log messages will be written. This means that it is also allowed to only specify the list of apps. 'shared_secret' => '57b58edb6637fe3059b3595cf9c41b9',īy default log.condition is set to an empty array. To setup conditional logging the following config parameter needs to be set in config.php: 'log.condition' => [ Once the log message meets one of the set up conditions it will be logged no matter what the log level is. use a shared secret that is added to a request.There are three different types of conditions that can be used: Wouldn’t it be cool to raise the log level from “warning” to “debug” just for specific conditions? That’s what I just added some time ago and it landed in ownCloud 8.1. But to identify a problem it is really helpful to log more stuff to get all the information that are needed. If you have an installation of ownCloud and you experience a bug it is quite difficult to debug the problem, because usually only errors and warnings are logged.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |