Skip to content

Instantly share code, notes, and snippets.

@theking2
Last active May 24, 2025 10:12
Show Gist options
  • Select an option

  • Save theking2/3bc4970d7d79fd642c517a1fc76b002a to your computer and use it in GitHub Desktop.

Select an option

Save theking2/3bc4970d7d79fd642c517a1fc76b002a to your computer and use it in GitHub Desktop.
nextcloud support request
#!/bin/bash
reverse_proxy_version=$(docker container exec nginx-proxy nginx -v 2>&1 | head -n 1)
echo "
Some or all of the below information will be requested if it isn't supplied; for fastest response please provide as much as you can. :heart:
* Nextcloud Server version:
- \`$(docker container exec nextcloud php /var/www/html/occ --version)\`
* Operating system and version:
- \`$(docker container exec nextcloud uname -v)\`
* Web server and version:
- \`$(docker container exec nextcloud apachectl -v | head -n 1)\`
* Reverse proxy and version:
- \`$reverse_proxy_version\`
* PHP version:
- \`$(docker container exec nextcloud php --version | head -n 1)\`
* Is this the first time you've seen this error? (Yes / No):
- \`yes\`
* When did this problem seem to first start?
- \`prob direct after installation\`
* Installation method _(e.g. AlO, NCP, Bare Metal/Archive, etc.)_
- \`OMV Container\`
* Are you using CloudfIare, mod_security, or similar? _(Yes / No)_
- \`nope\`"
echo "
###Configuration
####Nextcloud
\`\`\`
$(docker exec -it nextcloud /var/www/html/occ config:list system)
\`\`\`
####Apps
$(docker exec -it nextcloud /var/www/html/occ app:list | sed 's/^/> /')
"
echo "
### Summary of the issue you are facing:
[...]
### Steps to replicate it (hint: details matter!):
1.
2.
3.
### Log entries
#### Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the *Copy raw* option from *Administration settings->Logging* screen or from your `nextcloud.log` located in your data directory). Feel free to use a pastebin/gist service if necessary.
\`\`\`
PASTE HERE
\`\`\`
"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment