richdocuments
richdocuments copied to clipboard
cUrl error 1: HTTP 0.9
Describe the bug "Unable to create new file from template" when creating a new file. This is a fresh installation, but the issue is the same as when I upgraded from Nextcloud 22.2.5 (or was it 22.5.2?).
To Reproduce Steps to reproduce the behavior:
- create an ods file ( + => new sheet )
- select any of the templates, including "empty"
Expected behavior The box closes and I can see the file. I can edit che file.
Actual Behavior The box won't close and I actually see the file. When I click on It, the download box shows up and I can only download the file instead of editing It.
Client details:
- OS: Garuda (Arch Linux), iOS
- Browser: Google Chrome 99.0.4844.51, Mozilla Firefox 97.0.1
- Device: laptop, iPad Pro 2018
Server details
Deployed using the official Nextcloud Helm chart
λ kubectl version
Client Version: version.Info{Major:"1", Minor:"23"}
Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.3"}
λ helm version
version.BuildInfo{Version:"v3.7.2", GitCommit:"663a896f4a815053445eec4153677ddc24a0a361", GitTreeState:"clean", GoVersion:"go1.16.10"}
Helm Values:
image:
repository: docker.io/nextcloud
tag: 23-apache
pullPolicy: IfNotPresent
nameOverride: ""
fullnameOverride: ""
replicaCount: 1
ingress:
enabled: false
nextcloud:
host: cloud.example.com
username: myuser
password: mypassword
nginx: # Disabled with apache, but I made sure to follow the documentation for how to set up nginx with CODE Server
enabled: false
internalDatabase:
enabled: false
externalDatabase:
enabled: false
mariadb:
enabled: true
image:
imageRegistry: docker.io
debug: true
repository: bitnami/mariadb
tag: 10.5
auth:
database: nextcloud
username: ncuser
password: ncpass
rootPassword: rootpass
redis:
enabled: true
usePassword: true
password: redispass
replica:
replicaCount: 1
persistence:
enabled: false
cluster:
enabled: false
master:
persistence:
enabled: false
cronjob:
enabled: false
service:
type: ClusterIP
port: 80
loadBalancerIP: nil
nodePort: nil
persistence:
# Nextcloud Data (/var/www/html)
enabled: true
annotations: {}
existingClaim: nextcloud-www
accessMode: ReadWriteOnce
size: 300Gi
## Use an additional pvc for the data directory rather than a subpath of the default PVC
nextcloudData:
enabled: false
livenessProbe:
enabled: false
initialDelaySeconds: 120
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
successThreshold: 1
readinessProbe:
enabled: false
initialDelaySeconds: 120
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
successThreshold: 1
startupProbe:
enabled: false
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 30
successThreshold: 1
hpa:
enabled: false
metrics:
enabled: false
rbac:
enabled: true
serviceaccount:
create: true
name: nextcloud
Image: docker.io/nextcloud/nextcloud:23-apache (same with -fpm + nginx)
Web server: Apathe httpd, php-fpm + nginx
Database: MySQL (MariaDB)
PHP version: 8.0.16
Nextcloud version: Nextcloud Hub II 23.0.2
Version of the richdocuments app: 5.0.3
Version of Collabora Online: 21.11.204
Logs
Nextcloud log (data/nextcloud.log)
{
"reqId": "cJFNsRlijE9Rs8O7dg5L",
"level": 1,
"time": "2022-03-04T22:07:17+00:00",
"remoteAddr": "10.47.0.2",
"user": "myuser",
"app": "richdocuments",
"method": "GET",
"url": "/core/preview?fileId=318&c=4405bcce30c49f55fc78094e5d555d10&x=375&y=375&forceIcon=0&a=0",
"message": "Failed to convert file to preview",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36",
"version": "23.0.2.1",
"exception": {
"Exception": "GuzzleHttp\\Exception\\RequestException",
"Message": "cURL error 1: Received HTTP/0.9 when not allowed\n (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://my.domain.com/custom_apps/richdocumentscode/proxy.php?req=/lool/convert-to/png",
"Code": 0,
"Trace": [
{
"file": "/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php",
"line": 158,
"function": "createRejection",
"class": "GuzzleHttp\\Handler\\CurlFactory",
"type": "::",
"args": [
{
"__class__": "GuzzleHttp\\Handler\\EasyHandle",
"sink": { "__class__": "GuzzleHttp\\Psr7\\Stream" },
"headers": [],
"response": null,
"request": { "__class__": "GuzzleHttp\\Psr7\\Request" },
"options": {
"verify": false,
"timeout": 10,
"allow_redirects": {
"on_redirect": { "__class__": "Closure" },
"max": 5,
"protocols": ["http", "https"],
"strict": false,
"referer": false,
"track_redirects": false
},
"nextcloud": { "allow_local_address": false },
"synchronous": true,
"handler": { "__class__": "GuzzleHttp\\HandlerStack" },
"http_errors": true,
"decode_content": true,
"cookies": false,
"idn_conversion": false,
"curl": {
"10203": [
"my.domain.com:80:2.47.197.50,2.47.197.50",
"my.domain.com:443:2.47.197.50,2.47.197.50"
]
}
},
"errno": 1,
"onHeadersException": null,
"createResponseException": null
},
{
"errno": 1,
"error": "Received HTTP/0.9 when not allowed\n",
"appconnect_time": 0.060213,
"url": "https://my.domain.com/custom_apps/richdocumentscode/proxy.php?req=/lool/convert-to/png",
"content_type": null,
"http_code": 0,
"header_size": 0,
"request_size": 1147,
"filetime": -1,
"ssl_verify_result": 18,
"redirect_count": 0,
"total_time": 0.062543,
"namelookup_time": 1.4e-5,
"connect_time": 0.000567,
"pretransfer_time": 0.060249,
"size_upload": 864,
"size_download": 0,
"speed_download": 0,
"speed_upload": 13935,
"download_content_length": -1,
"upload_content_length": 864,
"starttransfer_time": 0.062541,
"redirect_time": 0,
"redirect_url": "",
"primary_ip": "2.47.197.50",
"certinfo": [],
"primary_port": 443,
"local_ip": "10.36.0.12",
"local_port": 52874,
"http_version": 0,
"protocol": 2,
"ssl_verifyresult": 0,
"scheme": "HTTPS",
"appconnect_time_us": 60213,
"connect_time_us": 567,
"namelookup_time_us": 14,
"pretransfer_time_us": 60249,
"redirect_time_us": 0,
"starttransfer_time_us": 62541,
"total_time_us": 62543,
"curl_version": "7.74.0"
}
]
},
{
"file": "/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php",
"line": 110,
"function": "finishError",
"class": "GuzzleHttp\\Handler\\CurlFactory",
"type": "::",
"args": [
{ "__class__": "GuzzleHttp\\Handler\\CurlHandler" },
{
"__class__": "GuzzleHttp\\Handler\\EasyHandle",
"sink": { "__class__": "GuzzleHttp\\Psr7\\Stream" },
"headers": [],
"response": null,
"request": { "__class__": "GuzzleHttp\\Psr7\\Request" },
"options": {
"verify": false,
"timeout": 10,
"allow_redirects": {
"on_redirect": { "__class__": "Closure" },
"max": 5,
"protocols": ["http", "https"],
"strict": false,
"referer": false,
"track_redirects": false
},
"nextcloud": { "allow_local_address": false },
"synchronous": true,
"handler": { "__class__": "GuzzleHttp\\HandlerStack" },
"http_errors": true,
"decode_content": true,
"cookies": false,
"idn_conversion": false,
"curl": {
"10203": [
"my.domain.com:80:2.47.197.50,2.47.197.50",
"my.domain.com:443:2.47.197.50,2.47.197.50"
]
}
},
"errno": 1,
"onHeadersException": null,
"createResponseException": null
},
{ "__class__": "GuzzleHttp\\Handler\\CurlFactory" }
]
},
{
"file": "/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php",
"line": 47,
"function": "finish",
"class": "GuzzleHttp\\Handler\\CurlFactory",
"type": "::",
"args": [
{ "__class__": "GuzzleHttp\\Handler\\CurlHandler" },
{
"__class__": "GuzzleHttp\\Handler\\EasyHandle",
"sink": { "__class__": "GuzzleHttp\\Psr7\\Stream" },
"headers": [],
"response": null,
"request": { "__class__": "GuzzleHttp\\Psr7\\Request" },
"options": {
"verify": false,
"timeout": 10,
"allow_redirects": {
"on_redirect": { "__class__": "Closure" },
"max": 5,
"protocols": ["http", "https"],
"strict": false,
"referer": false,
"track_redirects": false
},
"nextcloud": { "allow_local_address": false },
"synchronous": true,
"handler": { "__class__": "GuzzleHttp\\HandlerStack" },
"http_errors": true,
"decode_content": true,
"cookies": false,
"idn_conversion": false,
"curl": {
"10203": [
"my.domain.com:80:2.47.197.50,2.47.197.50",
"my.domain.com:443:2.47.197.50,2.47.197.50"
]
}
},
"errno": 1,
"onHeadersException": null,
"createResponseException": null
},
{ "__class__": "GuzzleHttp\\Handler\\CurlFactory" }
]
},
{
"file": "/var/www/html/lib/private/Http/Client/DnsPinMiddleware.php",
"line": 146,
"function": "__invoke",
"class": "GuzzleHttp\\Handler\\CurlHandler",
"type": "->",
"args": [
"*** sensitive parameter replaced ***",
"*** sensitive parameter replaced ***"
]
},
{
"file": "/var/www/html/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php",
"line": 64,
"function": "OC\\Http\\Client\\{closure}",
"class": "OC\\Http\\Client\\DnsPinMiddleware",
"type": "->",
"args": ["*** sensitive parameters replaced ***"]
},
{
"file": "/var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php",
"line": 31,
"function": "__invoke",
"class": "GuzzleHttp\\PrepareBodyMiddleware",
"type": "->",
"args": [
"*** sensitive parameter replaced ***",
"*** sensitive parameter replaced ***"
]
},
{
"file": "/var/www/html/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php",
"line": 71,
"function": "GuzzleHttp\\{closure}",
"class": "GuzzleHttp\\Middleware",
"type": "::",
"args": ["*** sensitive parameters replaced ***"]
},
{
"file": "/var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php",
"line": 63,
"function": "__invoke",
"class": "GuzzleHttp\\RedirectMiddleware",
"type": "->",
"args": [
"*** sensitive parameter replaced ***",
"*** sensitive parameter replaced ***"
]
},
{
"file": "/var/www/html/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php",
"line": 75,
"function": "GuzzleHttp\\{closure}",
"class": "GuzzleHttp\\Middleware",
"type": "::",
"args": ["*** sensitive parameters replaced ***"]
},
{
"file": "/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php",
"line": 331,
"function": "__invoke",
"class": "GuzzleHttp\\HandlerStack",
"type": "->",
"args": [
"*** sensitive parameter replaced ***",
"*** sensitive parameter replaced ***"
]
},
{
"file": "/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php",
"line": 168,
"function": "transfer",
"class": "GuzzleHttp\\Client",
"type": "->",
"args": [
"*** sensitive parameter replaced ***",
"*** sensitive parameter replaced ***"
]
},
{
"file": "/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php",
"line": 187,
"function": "requestAsync",
"class": "GuzzleHttp\\Client",
"type": "->",
"args": [
"post",
{ "__class__": "GuzzleHttp\\Psr7\\Uri" },
{
"verify": false,
"timeout": 10,
"allow_redirects": { "on_redirect": { "__class__": "Closure" } },
"multipart": [{ "name": "nth_file.ods", "contents": null }],
"nextcloud": { "allow_local_address": false },
"synchronous": true,
"handler": { "__class__": "GuzzleHttp\\HandlerStack" },
"http_errors": true,
"decode_content": true,
"cookies": false,
"idn_conversion": false,
"_conditional": { "User-Agent": "GuzzleHttp/7" }
}
]
},
{
"file": "/var/www/html/lib/private/Http/Client/Client.php",
"line": 294,
"function": "request",
"class": "GuzzleHttp\\Client",
"type": "->",
"args": [
"post",
"https://my.domain.com/custom_apps/richdocumentscode/proxy.php?req=/lool/convert-to/png",
{
"verify": false,
"timeout": 10,
"allow_redirects": { "on_redirect": { "__class__": "Closure" } },
"multipart": [{ "name": "nth_file.ods", "contents": null }],
"nextcloud": { "allow_local_address": false },
"headers": {
"User-Agent": "Nextcloud Server Crawler",
"Accept-Encoding": "gzip"
},
"synchronous": true
}
]
},
{
"file": "/var/www/html/custom_apps/richdocuments/lib/Preview/Office.php",
"line": 92,
"function": "post",
"class": "OC\\Http\\Client\\Client",
"type": "->",
"args": [
"https://my.domain.com/custom_apps/richdocumentscode/proxy.php?req=/lool/convert-to/png",
{
"timeout": 10,
"verify": false,
"multipart": [{ "name": "nth_file.ods", "contents": null }]
}
]
},
{
"file": "/var/www/html/lib/private/Preview/ProviderV1Adapter.php",
"line": 53,
"function": "getThumbnail",
"class": "OCA\\Richdocuments\\Preview\\Office",
"type": "->",
"args": [
"nth_file.ods",
4096,
4096,
false,
{ "__class__": "OC\\Files\\View" }
]
},
{
"file": "/var/www/html/lib/private/Preview/GeneratorHelper.php",
"line": 62,
"function": "getThumbnail",
"class": "OC\\Preview\\ProviderV1Adapter",
"type": "->",
"args": [{ "__class__": "OC\\Files\\Node\\File" }, 4096, 4096]
},
{
"file": "/var/www/html/lib/private/Preview/Generator.php",
"line": 245,
"function": "getThumbnail",
"class": "OC\\Preview\\GeneratorHelper",
"type": "->",
"args": [
{ "__class__": "OC\\Preview\\ProviderV1Adapter" },
{ "__class__": "OC\\Files\\Node\\File" },
4096,
4096
]
},
{
"file": "/var/www/html/lib/private/Preview/Generator.php",
"line": 140,
"function": "getMaxPreview",
"class": "OC\\Preview\\Generator",
"type": "->",
"args": [
{ "__class__": "OC\\Files\\SimpleFS\\SimpleFolder" },
{ "__class__": "OC\\Files\\Node\\File" },
"application/vnd.oasis.opendocument.spreadsheet",
""
]
},
{
"file": "/var/www/html/lib/private/Preview/Generator.php",
"line": 109,
"function": "generatePreviews",
"class": "OC\\Preview\\Generator",
"type": "->",
"args": [
{ "__class__": "OC\\Files\\Node\\File" },
[{ "width": 375, "height": 375, "crop": true, "mode": "fill" }],
"application/vnd.oasis.opendocument.spreadsheet"
]
},
{
"file": "/var/www/html/lib/private/PreviewManager.php",
"line": 212,
"function": "getPreview",
"class": "OC\\Preview\\Generator",
"type": "->",
"args": [
{ "__class__": "OC\\Files\\Node\\File" },
375,
375,
true,
"fill",
null
]
},
{
"file": "/var/www/html/core/Controller/PreviewController.php",
"line": 169,
"function": "getPreview",
"class": "OC\\PreviewManager",
"type": "->",
"args": [
{ "__class__": "OC\\Files\\Node\\File" },
375,
375,
true,
"fill"
]
},
{
"file": "/var/www/html/core/Controller/PreviewController.php",
"line": 142,
"function": "fetchPreview",
"class": "OC\\Core\\Controller\\PreviewController",
"type": "->",
"args": [
{ "__class__": "OC\\Files\\Node\\File" },
375,
375,
false,
false,
"fill"
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
"line": 217,
"function": "getPreviewByFileId",
"class": "OC\\Core\\Controller\\PreviewController",
"type": "->",
"args": [318, 375, 375, false, false, "fill"]
},
{
"file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
"line": 126,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
{ "__class__": "OC\\Core\\Controller\\PreviewController" },
"getPreviewByFileId"
]
},
{
"file": "/var/www/html/lib/private/AppFramework/App.php",
"line": 157,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
{ "__class__": "OC\\Core\\Controller\\PreviewController" },
"getPreviewByFileId"
]
},
{
"file": "/var/www/html/lib/private/Route/Router.php",
"line": 302,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::",
"args": [
"OC\\Core\\Controller\\PreviewController",
"getPreviewByFileId",
{ "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer" },
{ "_route": "core.Preview.getPreviewByFileId" }
]
},
{
"file": "/var/www/html/lib/base.php",
"line": 1006,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->",
"args": ["/core/preview"]
},
{
"file": "/var/www/html/index.php",
"line": 36,
"function": "handleRequest",
"class": "OC",
"type": "::",
"args": []
}
],
"File": "/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php",
"Line": 211,
"CustomMessage": "Failed to convert file to preview"
}
}
Browser log
Insert your browser log here, this could for example include:
*Console log:*
https://pastebin.com/FHtUkEg3
**Network Log:**
data:image/svg+xml;… | 200 | svg+xml | db65-9e8d-server.css?v=b92d206…-c3b6c94e-0 | (memory cache) | 0 ms data:image/svg+xml;… | 200 | svg+xml | Other | (memory cache) | 0 ms data:image/svg+xml;… | 200 | svg+xml | Other | (memory cache) | 0 ms data:image/svg+xml;… | 200 | svg+xml | Other | (memory cache) | 0 ms data:image/svg+xml;… | 200 | svg+xml | db65-9e8d-server.css?v=b92d206…-c3b6c94e-0 | (memory cache) | 0 ms templates | 200 | xhr | xhr.js:177 | 857 B | 122 ms create | 200 | xhr | xhr.js:177 | 285 B | 156 ms test.docx | 207 | xhr | client.js:270 | 814 B | 59 ms x-office-document.svg?v=0 | 200 | svg+xml | Other | (disk cache) | 1 ms data:image/svg+xml;… | 200 | svg+xml | Other | (memory cache) | 0 ms notifications | 304 | xhr | xhr.js:177 | 101 B | 114 ms notifications | 304 | xhr | xhr.js:177 | 220 B | 347 ms notifications | 304 | xhr | xhr.js:177 | 50 B | 55 ms notifications | 304 | xhr | xhr.js:177 | 50 B | 128 ms
*Apache Logs:*
10.47.0.2 - - [05/Mar/2022:11:35:05 +0000] "GET /apps/viewer/js/viewer-main.js.map?v=854f99604075493f128e HTTP/1.1" 200 939833 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36" 127.0.0.1 - - [05/Mar/2022:11:35:07 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 10.47.0.2 - - [05/Mar/2022:11:35:07 +0000] "GET /ocs/v2.php/apps/files/api/v1/templates HTTP/1.1" 200 1378 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36" 10.47.0.2 - - [05/Mar/2022:11:35:07 +0000] "POST /ocs/v2.php/apps/files/api/v1/templates/create HTTP/1.1" 200 995 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36" 10.47.0.2 - - [05/Mar/2022:11:35:07 +0000] "PROPFIND /remote.php/dav/files/antonio/test.docx HTTP/1.1" 207 1336 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36" 127.0.0.1 - - [05/Mar/2022:11:35:08 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:09 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:10 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:11 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:12 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:13 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:14 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:15 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:16 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:17 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:18 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:19 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:20 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:21 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:22 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:23 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:24 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:25 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:26 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:27 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 10.47.0.2 - - [05/Mar/2022:11:35:27 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 744 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36" 127.0.0.1 - - [05/Mar/2022:11:35:28 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:29 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:30 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:31 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:32 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:33 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:34 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:35 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:36 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:37 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 127.0.0.1 - - [05/Mar/2022:11:35:38 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)" 10.47.0.2 - - [05/Mar/2022:11:35:53 +0000] "-" 408 0 "-" "-" 127.0.0.1 - - [05/Mar/2022:11:35:54 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Debian) PHP/8.0.16 (internal dummy connection)"
</details>
Can confirm the same issue: OS: Ubuntu 20.04.4 Web server: Apache 2.4 Database: MySQL (MariaDB) PHP version: 7.4.3 Nextcloud version: Nextcloud Hub II 23.0.2 Version of the richdocuments app: 5.0.3 Version of Collabora Online: 21.11.204
Reverting rich documents app to v5.0.2 seems to resolve the problem.
Can confirm the same issue: OS: Ubuntu 20.04.4 Web server: Apache 2.4 Database: MySQL (MariaDB) PHP version: 7.4.3 Nextcloud version: Nextcloud Hub II 23.0.2 Version of the richdocuments app: 5.0.3 Version of Collabora Online: 21.11.204
Reverting rich documents app to v5.0.2 seems to resolve the problem.
Unfortunately it didn't. I tried 5.0.2 but I still get "Unable to create file from template" and when I try to open the file (which was actually created) the download prompt shows up.
I think this issue has been fixed with one of the latest releases. Could you check that again?