We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should generate preview or use cache as it works for other format like mp3 or video
I get an 404 for all text files in the trash, which provoke a ban for crowdsec
Operating system: Debian 11
Web server: Nginx
Database: Postgresql
PHP version: 7.4
Nextcloud version: (see Nextcloud admin page) 22.1.1
Updated from an older Nextcloud/ownCloud or fresh install: updated form 21
Where did you install Nextcloud from: Form official website
Signing status: No errors have been found.
List of activated apps:
Enabled:
Nextcloud configuration:
Are you using external storage, if yes which one: local/smb/sftp/... No
Are you using encryption: yes/no No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... Ldap
ip - - [28/Sep/2021:12:15:47 +0200] "GET /apps/files_trashbin/preview?fileId=887602&file=Android%2FSMS%2Fsms-20210902000044.xml%2Fsms-20210902000044.xml.d1630626850&c=1630626850 HTTP/2.0" 404 2 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36" ip - - [28/Sep/2021:12:15:47 +0200] "GET /apps/files_trashbin/preview?fileId=887057&file=Android%2FSMS%2Fsms-20210830000042.xml%2Fsms-20210830000042.xml.d1630449424&c=1630449424 HTTP/2.0" 404 2 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36" ip - - [28/Sep/2021:12:15:47 +0200] "GET /apps/files_trashbin/preview?fileId=886826&file=Android%2FSMS%2Fcalls-20210829000041.xml%2Fcalls-20210829000041.xml.d1630449418&c=1630449418 HTTP/2.0" 404 2 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36" ip - - [28/Sep/2021:12:15:47 +0200] "GET /apps/files_trashbin/preview?fileId=887363&file=Android%2FSMS%2Fsms-20210901000043.xml%2Fsms-20210901000043.xml.d1630539494&c=1630539494 HTTP/2.0" 404 2 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36" ip - - [28/Sep/2021:12:15:47 +0200] "GET /apps/files_trashbin/preview?fileId=886487&file=Android%2FSMS%2Fsms-20210828000039.xml%2Fsms-20210828000039.xml.d1630242616&c=1630242616 HTTP/2.0" 404 2 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36" ip - - [28/Sep/2021:12:15:47 +0200] "GET /apps/files_trashbin/preview?fileId=887601&file=Android%2FSMS%2Fcalls-20210902000044.xml%2Fcalls-20210902000044.xml.d1630714875&c=1630714875 HTTP/2.0" 404 2 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36"
The text was updated successfully, but these errors were encountered:
duplicate of #26793 (comment)
Sorry, something went wrong.
No branches or pull requests
How to use GitHub
Steps to reproduce
Expected behaviour
Should generate preview or use cache as it works for other format like mp3 or video
Actual behaviour
I get an 404 for all text files in the trash, which provoke a ban for crowdsec
Server configuration
Operating system:
Debian 11
Web server:
Nginx
Database:
Postgresql
PHP version:
7.4
Nextcloud version: (see Nextcloud admin page)
22.1.1
Updated from an older Nextcloud/ownCloud or fresh install:
updated form 21
Where did you install Nextcloud from:
Form official website
Signing status:
No errors have been found.
List of activated apps:
App list
Enabled:
Disabled:
Nextcloud configuration:
Config report
{ "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "cloud.thrynir.fr" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "pgsql", "version": "22.1.1.2", "overwrite.cli.url": "https:\/\/cloud.thrynir.fr", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "25", "default_phone_region": "FR", "app_install_overwrite": [ "occweb", "ldaporg", "flowupload", "caniupdate", "cookbook", "previewgenerator", "imageconverter" ], "memcache.local": "\\OC\\Memcache\\APCu", "enable_previews": true, "enabledPreviewProviders": [ "OC\\Preview\\Movie", "OC\\Preview\\PNG", "OC\\Preview\\JPEG", "OC\\Preview\\GIF", "OC\\Preview\\BMP", "OC\\Preview\\XBitmap", "OC\\Preview\\MP3", "OC\\Preview\\MP4", "OC\\Preview\\TXT", "OC\\Preview\\MarkDown", "OC\\Preview\\CR2" ], "trashbin_retention_obligation": "auto, 30", "versions_retention_obligation": "auto, 30", "maintenance": false, "theme": "", "loglevel": 2 } }Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Ldap
Web server error log
Web server error log
ip - - [28/Sep/2021:12:15:47 +0200] "GET /apps/files_trashbin/preview?fileId=887602&file=Android%2FSMS%2Fsms-20210902000044.xml%2Fsms-20210902000044.xml.d1630626850&c=1630626850 HTTP/2.0" 404 2 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36"
ip - - [28/Sep/2021:12:15:47 +0200] "GET /apps/files_trashbin/preview?fileId=887057&file=Android%2FSMS%2Fsms-20210830000042.xml%2Fsms-20210830000042.xml.d1630449424&c=1630449424 HTTP/2.0" 404 2 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36"
ip - - [28/Sep/2021:12:15:47 +0200] "GET /apps/files_trashbin/preview?fileId=886826&file=Android%2FSMS%2Fcalls-20210829000041.xml%2Fcalls-20210829000041.xml.d1630449418&c=1630449418 HTTP/2.0" 404 2 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36"
ip - - [28/Sep/2021:12:15:47 +0200] "GET /apps/files_trashbin/preview?fileId=887363&file=Android%2FSMS%2Fsms-20210901000043.xml%2Fsms-20210901000043.xml.d1630539494&c=1630539494 HTTP/2.0" 404 2 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36"
ip - - [28/Sep/2021:12:15:47 +0200] "GET /apps/files_trashbin/preview?fileId=886487&file=Android%2FSMS%2Fsms-20210828000039.xml%2Fsms-20210828000039.xml.d1630242616&c=1630242616 HTTP/2.0" 404 2 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36"
ip - - [28/Sep/2021:12:15:47 +0200] "GET /apps/files_trashbin/preview?fileId=887601&file=Android%2FSMS%2Fcalls-20210902000044.xml%2Fcalls-20210902000044.xml.d1630714875&c=1630714875 HTTP/2.0" 404 2 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36"
The text was updated successfully, but these errors were encountered: