import data

142 views
Skip to first unread message

rabia quajja

unread,
Apr 25, 2024, 8:29:54 AMApr 25
to dcm...@googlegroups.com
hi community
i try to import data but an error occurred :
find 2024 -type f | curl -v  -H "Authorization: Bearer $TOKEN1" -H "Content-Type: text/plain" --data-binary @- 'http://10.113.70.218:8080/dcm4chee-arc/aets/DCM4CHEE2/rs/instances/storage/fs1'
*   Trying 10.113.70.218:8080...
* TCP_NODELAY set
* Connected to 10.113.70.218 (10.113.70.218) port 8080 (#0)
> POST /dcm4chee-arc/aets/DCM4CHEE2/rs/instances/storage/fs1 HTTP/1.1
> Host: 10.113.70.218:8080
> User-Agent: curl/7.68.0
> Accept: */*
> Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJUUjk1Qzh6OUVORGR5R2l0R0hyM3NsTHFYSWZ6UEY5YklzVy1BSlpnMEZvIn0.eyJleHAiOjE3MTM4ODAyNjcsImlhdCI6MTcxMzg3OTk2NywianRpIjoiMjE3NzA5ZDctMDFiMS00MDIzLTllZjYtZTFmM2M5Y2E5YmU2IiwiaXNzIjoiaHR0cHM6Ly8xMC4xMTMuNzAuMjE4Ojg4NDMvcmVhbG1zL2RjbTRjaGUiLCJzdWIiOiI0MDc0ZDAxZC1jYTE4LTRiNTYtYTUwNS1mZGYyOTUzYTJlM2IiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJjdXJsIiwiYWNyIjoiMSIsImFsbG93ZWQtb3JpZ2lucyI6WyIvKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsib2ZmbGluZV9hY2Nlc3MiLCJhZG1pbiIsImRlZmF1bHQtcm9sZXMtZGNtNGNoZSIsInVtYV9hdXRob3JpemF0aW9uIiwidXNlciJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImN1cmwiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX19LCJzY29wZSI6InByb2ZpbGUgZW1haWwiLCJjbGllbnRIb3N0IjoiMTAuMTEzLjcwLjIxOCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LWN1cmwiLCJnaXZlbl9uYW1lIjoiIiwiZmFtaWx5X25hbWUiOiIiLCJjbGllbnRBZGRyZXNzIjoiMTAuMTEzLjcwLjIxOCIsImNsaWVudF9pZCI6ImN1cmwifQ.RInyIsRnxszIm5CZ7B2L-D78JnayylBxKucxbR3KU86Of4STsmKr7etGqU2zmS0vpocOzhsByXFVlH8ohapEvEkPgAviiw7beNslZTLk3F1DeR0iSBbF5-yuCD_f5Wg7d1D7KDqP_S5zoj6DRX1hCj05jobPraghEBraa0Rr79UtsomQCDK_XbV5ErjJUam8uA8TC8U_58tsaPyjYeFikfSYl88QJmYl26AJR2O8Slo_buy5BLSSRv-eUgGdNObRoBKbMlnsqyNUXlwxY_IkL-a8HSBKtsKD2_jsjKyLH_g_osMIbzI0CV6mif4bjw5rf08dIEB1jBeI6xndyzsQoQ
> Content-Type: text/plain
> Content-Length: 76
>
* upload completely sent off: 76 out of 76 bytes
* Mark bundle as not supporting multiuse
< HTTP/1.1 409 Conflict
< Access-Control-Allow-Headers: origin, content-type, accept, authorization
< Warning: /storage/fs1/2024/04/23/8B10524F/4D88E851/4D88E852
< Access-Control-Expose-Headers: content-type, warning
< Date: Tue, 23 Apr 2024 13:46:16 GMT
< Connection: keep-alive
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Credentials: true
< Transfer-Encoding: chunked
< Content-Type: application/octet-stream
< Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS, HEAD
<
* Connection #0 to host 10.113.70.218 left intact
{"00000902":{"vr":"LO","Value":["/storage/fs1/2024/04/23/8B10524F/4D88E851/4D88E852"]},"00081190":{"vr":"UR"}}

please a solution for this error

fleetwoodfc

unread,
Apr 26, 2024, 1:19:09 PMApr 26
to dcm4che
Is the source filesystem mounted on the dcm4chee server as "/storage/fs1" ?
Message has been deleted
Message has been deleted

rabia quajja

unread,
Apr 26, 2024, 7:27:24 PMApr 26
to dcm...@googlegroups.com
YES 


--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dcm4che/67fee20e-1d5d-44c5-9c8a-a2c3c3e5a52an%40googlegroups.com.
STORAGEFS.jpg
IDSTORAGE.jpg

aa...@sararadiology.com

unread,
Apr 27, 2024, 10:52:22 AMApr 27
to dcm4che
I don't understand. The curl call you are trying to make will not import data, it is a query API command. If you want to import you have to use dicom or wado 

fleetwoodfc

unread,
Apr 28, 2024, 2:40:47 PMApr 28
to dcm4che
The curl command is correct - see Import Instances

rabia quajja

unread,
Apr 30, 2024, 12:29:21 PMApr 30
to dcm...@googlegroups.com

rabia quajja

unread,
Apr 30, 2024, 12:29:22 PMApr 30
to dcm...@googlegroups.com
please what this error means:
2024-04-25 13:55:28,304 INFO  [org.dcm4chee.arc.stow.ImportStorageRS] (default task-41) 10.113...@10.113.70.167->DCM4CHEE: Failed to import instance on storage StoragePath=2023/12/21/EAF12B7C/EAF12B7D/73344435: java.nio.file.NoSuchFileException: /storage/fs1/2023/12/21/EAF12B7C/EAF12B7D/73344435
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218)

Ga Rt

unread,
Nov 25, 2024, 11:29:38 AMNov 25
to dcm4che
Hey, did you find a way to fix this ? I'm having the same error.
Reply all
Reply to author
Forward
0 new messages