Hi @darshan ,
Thanks for your answer!
I sent the same request with reference to the documentation on the conversion API, but I still get a log with the words “No Storage configured or invalid URI /opt/cool/xxx”.
I think
-F
will add Header Content-Disposition
automatically.
This is the lastest error log:
wsd-00001-00044 2025-05-07 09:36:38.887563 +0000 [ docbroker_009 ] ERR Unsupported URI [/opt/cool/child-roots/1-5d79495d/tmp/incoming/cool-r6R5imVMHGJFPJd0/test.docx] or no storage configured| wsd/Storage.cpp:223
wsd-00001-00044 2025-05-07 09:36:38.887696 +0000 [ docbroker_009 ] ERR loading document exception: No Storage configured or invalid URI /opt/cool/child-roots/1-5d79495d/tmp/incoming/cool-r6R5imVMHGJFPJd0/test.docx]| wsd/DocumentBroker.cpp:3708
frk-00015-00015 2025-05-07 09:36:38.887708 +0000 [ forkit ] WRN The systemplate directory [/opt/cool/systemplate] is read-only, and at least [/opt/cool/systemplate//etc/passwd] is out-of-date. Will have to clone dynamic elements of systemplate to the jails. To restore optimal performance, make sure the files in [/opt/cool/systemplate/etc] are up-to-date.| common/JailUtil.cpp:587
wsd-00001-00044 2025-05-07 09:36:38.887736 +0000 [ docbroker_009 ] ERR Failed to add session to [%3A%2F%2F.%2A%3A0%2Fopt%2Fcool%2Fchild-roots%2F1-5d79495d%2Ftmp%2Fincoming%2Fcool-r6R5imVMHGJFPJd0%2Ftest.docx] with URI [/opt/cool/child-roots/1-5d79495d/tmp/incoming/cool-r6R5imVMHGJFPJd0/test.docx]: No Storage configured or invalid URI /opt/cool/child-roots/1-5d79495d/tmp/incoming/cool-r6R5imVMHGJFPJd0/test.docx]| wsd/DocumentBroker.cpp:3667
wsd-00001-00044 2025-05-07 09:36:38.887773 +0000 [ docbroker_009 ] ERR Exception while invoking poll [docbroker_009] callback: No Storage configured or invalid URI /opt/cool/child-roots/1-5d79495d/tmp/incoming/cool-r6R5imVMHGJFPJd0/test.docx]| net/Socket.cpp:607
I’m guessing if the problem is related to my container environment, such as I’m using podman to run CODE’s containers, or my podman is running on macOS, or my container environment variables are set incorrectly, etc.
This is my pod configuration:
# Save the output of this file and use kubectl create -f to import
# it into Kubernetes.
#
# Created with podman-5.3.2
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: "2025-05-07T09:44:26Z"
labels:
app: code-test-pod
name: code-test-pod
spec:
containers:
- env:
- name: extra_params
value: --o:ssl.enable=false --o:ssl.termination=false --o:storage.filesystem[@allow]=true
--o:logging.color=false --o:storage.ssl.enable=false
- name: aliasgroup1
value: https://.*:443,https://.*:15000,http://.*:80,http://.*:31000
- name: username
value: admin
- name: TERM
value: xterm
- name: password
value: admin
- name: dictionaries
value: en_US
image: docker.io/collabora/code:latest
name: code-test
ports:
- containerPort: 9980
hostPort: 9980
securityContext:
privileged: true
procMount: Unmasked
runAsNonRoot: true
stdin: true
tty: true
restartPolicy: Always
I apologize for asking you so many questions in a row, but I am beyond grateful because of your help!