From f2a4cb7b77f863bb203c2d105be812e815be03bf Mon Sep 17 00:00:00 2001 From: softwarenoob Date: Wed, 29 Dec 2021 17:24:20 +0200 Subject: [PATCH 1/2] require install logs for bug reports --- .github/ISSUE_TEMPLATE/bug-report.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 5bb78cc2..66b2f85f 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -72,9 +72,20 @@ body: Step 3 Receive error X or Y validations: required: true - - type: textarea - id: logs + - type: input + id: install-logs attributes: - label: Relevant log output - description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. - render: shell + label: Install logs + description: | + Run the command below on the SSH terminal of your Wings machine and provide the link to logs. + + **If using Pterodactyl 1.x or newer:** + + `tail -n 100 $(ls -Alrt /var/log/pterodactyl/install/*.log | tail -1 | sed 's/ */ /g' | cut -s -d' ' -f9) | nc pteropaste.com 99` + **If using legacy Pterodactyl 0.7:** + + `tail -n 100 $(ls -Alrt /srv/daemon/config/servers/*/install.log | tail -1 | sed 's/ */ /g' | cut -s -d' ' -f9) | nc pteropaste.com 99` + placeholder: | + https://pteropaste.com/exampleLogs + validations: + required: true \ No newline at end of file From b1b6d55ee49d127ca4f534a25fbcdcc496b44150 Mon Sep 17 00:00:00 2001 From: softwarenoob Date: Wed, 29 Dec 2021 17:35:40 +0200 Subject: [PATCH 2/2] (bug-reports): drop support for 0.7 --- .github/ISSUE_TEMPLATE/bug-report.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 66b2f85f..e17866da 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -79,12 +79,7 @@ body: description: | Run the command below on the SSH terminal of your Wings machine and provide the link to logs. - **If using Pterodactyl 1.x or newer:** - `tail -n 100 $(ls -Alrt /var/log/pterodactyl/install/*.log | tail -1 | sed 's/ */ /g' | cut -s -d' ' -f9) | nc pteropaste.com 99` - **If using legacy Pterodactyl 0.7:** - - `tail -n 100 $(ls -Alrt /srv/daemon/config/servers/*/install.log | tail -1 | sed 's/ */ /g' | cut -s -d' ' -f9) | nc pteropaste.com 99` placeholder: | https://pteropaste.com/exampleLogs validations: