require install logs for bug reports

This commit is contained in:
softwarenoob 2021-12-29 17:24:20 +02:00
parent 6df3bc32d7
commit f2a4cb7b77
No known key found for this signature in database
GPG Key ID: 727A9A3F4417ED51

View File

@ -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