{"id":57824,"date":"2020-12-30T09:21:23","date_gmt":"2020-12-30T09:21:23","guid":{"rendered":"https:\/\/owncloud.com\/?p=57824"},"modified":"2021-01-04T15:49:05","modified_gmt":"2021-01-04T15:49:05","slug":"how-to-report-an-issue-on-github","status":"publish","type":"post","link":"https:\/\/owncloud.com\/de\/blogs\/how-to-report-an-issue-on-github\/","title":{"rendered":"Testing ownCloud Infinite Scale: How to report an issue on GitHub"},"content":{"rendered":"<p>First of all: Thank you for your interest in contributing to ownCloud! As an open source project, we both thrive and depend on getting feedback from our users. One of the most important ways to contribute is to report bugs (there is <a href=\"#tldr\">a tl;dr<\/a>). <\/p>\n<p>Let&#8217;s start with a real world example (don&#8217;t worry, the real-world issue behind the example was already fixed).<\/p>\n<h4>Finding a bug in ownCloud Infinite Scale<\/h4>\n<p>Say you have <a href=\"https:\/\/owncloud.com\/news\/howto-install-owncloud-infinite-scale-tech-preview\/\" target=\"_blank\" rel=\"noopener\">installed the ownCloud Infinite Scale Tech Preview<\/a> and logged in as one of the test users, einstein. Now you would like to share a file with another test user, marie. After sharing the file, you log out and log in as marie. On the \u201cshared with me\u201d page, you accept the share from the share owner, einstein. if you then click on the share, you see that on the right side in the people accordion, marie is shown as the owner of the share. Since einstein is the share owner, one would expect it to show einstein. You\u2019ve found a bug! <\/p>\n<h4>Report an issue on GitHub<\/h4>\n<p>Let&#8217;s go over to GitHub to create an issue for this, well, issue. Go to <a href=\"https:\/\/github.com\/owncloud\" target=\"_blank\" rel=\"noopener\">github.com\/owncloud<\/a>. From there, select the ownCloud repository that is most likely affected. In our case, it is the ownCloud\/ocis repository. <\/p>\n<p>Before we submit our issue, let&#8217;s make sure that it is not already known. Go to <a href=\"https:\/\/github.com\/owncloud\/ocis\/issues\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/owncloud\/ocis\/issues<\/a> and enter a plausible search term for your bug in the search field on the right of \u201cFilters\u201d. In our example, the words owner and people come to mind. Please take a look at the existing bug reports that fit the bill before posting your own so as not to create duplicate work. <\/p>\n<div id=\"attachment_57828\" style=\"width: 2472px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-57828\" src=\"https:\/\/owncloud.com\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-18.43.42.png\" alt=\"report an issue on github\" width=\"2462\" height=\"1488\" class=\"size-full wp-image-57828\" srcset=\"https:\/\/owncloud.com\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-18.43.42.png 2462w, https:\/\/owncloud.com\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-18.43.42-1280x774.png 1280w, https:\/\/owncloud.com\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-18.43.42-980x592.png 980w, https:\/\/owncloud.com\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-18.43.42-480x290.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 2462px, 100vw\" \/><p id=\"caption-attachment-57828\" class=\"wp-caption-text\">Before submitting your issue, see if it is already known<\/p><\/div>\n<p>If the error you encountered really is an as of yet unknown bug in ownCloud, let\u2019s report it. In the horizontal navigation bar right below the repository name, click on \u201cIssues\u201d, the second item from the left. On the right, click on the green button that says \u201cnew issue\u201d.  You can also just enter <a href=\"https:\/\/github.com\/owncloud\/ocis\/issues\/new\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/owncloud\/ocis\/issues\/new<\/a> in your browser address bar.<\/p>\n<h4>It all starts with a good description<\/h4>\n<p>On this screen, we want you to describe the bug you encountered systematically. Please list the <strong>steps to reproduce<\/strong>, that means please describe step by step what you did to encounter the bug. In expected behavior, please describe what ought to happen, and in \u201cActual behavior\u201d, what happens instead. <\/p>\n<p>In our example case, the \u201csteps to reproduce\u201d are:  log in as einstein. share a file with marie. Log out and log in as marie. On the \u201cshared with me\u201d page, accept the share. click on the share, then open the people accordion. \u201cExpected behavior\u201d would be something like: \u201cIn the people accordion item, Einstein is shown as the share owner\u201d &#8211; indicating the orderly state of affairs we strive for. In \u201cActual behavior\u201d, please describe the messy reality: \u201cIn the people accordion item, Marie is shown as the share owner\u201d. <\/p>\n<div id=\"attachment_57844\" style=\"width: 2884px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-57844\" src=\"https:\/\/owncloud.com\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-15.39.58.png\" alt=\"How to report an issue with the ownCloud Infinite Scale Tech Preview\" width=\"2874\" height=\"1472\" class=\"size-full wp-image-57844\" srcset=\"https:\/\/owncloud.com\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-15.39.58.png 2874w, https:\/\/owncloud.com\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-15.39.58-1280x656.png 1280w, https:\/\/owncloud.com\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-15.39.58-980x502.png 980w, https:\/\/owncloud.com\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-15.39.58-480x246.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 2874px, 100vw\" \/><p id=\"caption-attachment-57844\" class=\"wp-caption-text\">Please report the steps to repoduce, what ought to happen and what happens instead as well as a detailed profile of your system and the server<\/p><\/div>\n<h4>Tell us what you&#8217;re working with<\/h4>\n<p>Then, please describe your system in detail, the client as well as the server. The operating system of the server and the client with the respective version number are as necessary as which browser or client or app you are using to access ownCloud Infinite Scale when the error occurs. <\/p>\n<p>Please also attach or paste the relevant <strong>client and server logs<\/strong>, if you can. If you have started ownCloud Infinite Scale as a binary from the command line interface, you can copy your server logs from there. If you are using Docker, open the Docker Interface, click on your instance and in the logs screen, just hit the copy button in the bottom right corner (see screenshot). <\/p>\n<div id=\"attachment_57869\" style=\"width: 2502px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-57869\" src=\"https:\/\/owncloud.com\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-17.36.31.png\" alt=\"docker copy server log\" width=\"2492\" height=\"1438\" class=\"size-full wp-image-57869\" srcset=\"https:\/\/owncloud.com\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-17.36.31.png 2492w, https:\/\/owncloud.com\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-17.36.31-1280x739.png 1280w, https:\/\/owncloud.com\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-17.36.31-980x566.png 980w, https:\/\/owncloud.com\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-17.36.31-480x277.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 2492px, 100vw\" \/><p id=\"caption-attachment-57869\" class=\"wp-caption-text\">In the Docker GUI, copying the logs is particularly easy<\/p><\/div>\n<p>Also, the server version is relevant. When testing the ownCloud Infinite Scale Tech Preview, the server version is 1.0.0. To be better able to understand the problem, we also need to know the extensions and components you use with ownCloud Infinite Scale, such as the storage provider(s) and the way in which you provosion users. Unless you have manually set up something fancy, for the Tech Preview the storage provider is Reva and the identity provider is Kopano Konnect.<\/p>\n<p>We also need <strong>specifics about your client system<\/strong>. When testing ownCloud Infinite Scale, this is often the same as the <strong>server system<\/strong>. Let&#8217;s open the browsers\u2019 and the operating systems\u2019 about pages to find out which ones we are using. For the author of this text, it is Firefox for Mac 83.0 64bit on a Macbook Air running macOS Big Sur version 11.1. If you encounter an error while using the ownCloud Desktop Client, there now is a handy settings submenu to activate logging and quickly find the log files. <\/p>\n<div id=\"attachment_57877\" style=\"width: 1736px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-57877\" src=\"https:\/\/owncloud.com\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-18.04.59.png\" alt=\"\" width=\"1726\" height=\"1312\" class=\"size-full wp-image-57877\" srcset=\"https:\/\/owncloud.com\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-18.04.59.png 1726w, https:\/\/owncloud.com\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-18.04.59-1280x973.png 1280w, https:\/\/owncloud.com\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-18.04.59-980x745.png 980w, https:\/\/owncloud.com\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-18.04.59-480x365.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1726px, 100vw\" \/><p id=\"caption-attachment-57877\" class=\"wp-caption-text\">In the ownCloud Desktop Client, there is a handy settings submenu to activate logging and quickly find the log files<\/p><\/div>\n<p>If you encounter a bug in the browser interface using the ownCloud Web frontend, please also post your console output, you can find it via View->Developer->JavaScript Console in Chrome and via Tools->Web Developer->Console in Firefox. <\/p>\n<p>If you can, please also include screenshots or screencasts as attachments &#8211; they can make problems much easier to understand.<\/p>\n<p>When you have entered all this information, hit the green \u201cSubmit new issue\u201d. \u2028\u2028Thank you very much for your contribution to the ownCloud development! <\/p>\n<h4 id=\"tldr\">tl;dr? Here is a Checklist:<\/h4>\n<ul>\n<li>make sure the bug is unknown by searching the existing issues<\/li>\n<li>steps to reproduce\n<ul>\n<li>expected behaviour<\/li>\n<li>actual behaviour<\/li>\n<\/ul>\n<\/li>\n<li>screenshot(s) or screen video of the bug in action would be great<\/li>\n<li>note server characteristics\n<ul>\n<li>operating system, version<\/li>\n<li>ownCloud Infinite Scale version number<\/li>\n<li>list of components used (Identity, Storage and potentially others)<\/li>\n<li>server logs<\/li>\n<\/ul>\n<\/li>\n<li>client characteristics\n<ul>\n<li>operating system<\/li>\n<li>if relevant: browser, version<\/li>\n<li>if relevant: ownCloud Desktop Client, version<\/li>\n<li>client logs<\/li>\n<li>for browser interface errors: browser console log<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>We ask you to test the all-new ownCloud Infinite Scale to see its speed and scale for yourself. But what would you do if you find an error? When using open source software, you get to co-create even if you are not into programming. In this blog post we&#8217;ll show you how you too can report an issue on GitHub.<\/p>\n","protected":false},"author":7,"featured_media":57862,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","inline_featured_image":false,"footnotes":""},"categories":[509,43,240],"tags":[],"class_list":["post-57824","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-infinite-scale","category-blog","category-getting-started"],"acf":[],"_links":{"self":[{"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/posts\/57824","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/comments?post=57824"}],"version-history":[{"count":4,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/posts\/57824\/revisions"}],"predecessor-version":[{"id":57964,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/posts\/57824\/revisions\/57964"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/media\/57862"}],"wp:attachment":[{"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/media?parent=57824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/categories?post=57824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/tags?post=57824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}