From b0e5901354263aa934f675b64bbe0aa0f6325d7d Mon Sep 17 00:00:00 2001
From: RealRancor <RealRancor@users.noreply.github.com>
Date: Tue, 9 Jun 2015 19:41:12 +0200
Subject: [PATCH] Add occ app:list and ldap:show-config to issue_template.md

---
 issue_template.md | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/issue_template.md b/issue_template.md
index df93e0ffe1..b0b24e56df 100644
--- a/issue_template.md
+++ b/issue_template.md
@@ -24,6 +24,12 @@ Tell us what happens instead
 
 **List of activated apps:**
 
+```
+If you have access to your command line run e.g.:
+sudo -u www-data php occ app:list
+from within your ownCloud installation folder
+```
+
 **The content of config/config.php:**
 
 ```
@@ -40,9 +46,17 @@ Insert your config.php content here
 #### LDAP configuration (delete this part if not used)
 
 ```
-run: sqlite3 data/owncloud.db
+On ownCloud 7+ with access to your command line run e.g.:
+sudo -u www-data php occ ldap:show-config
+from within your ownCloud installation folder
+
+On ownCloud 6 with access to your command line run e.g.:
+sqlite3 data/owncloud.db or mysql -u root -p owncloud
 then execute:  select * from oc_appconfig where appid='user_ldap';
 
+Without access to your command line download the data/owncloud.db to your local
+computer or access your SQL server remotely and run the select query above.
+
 Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.
 ```
 
-- 
GitLab