Comments (13)
Using a complete file path to the RF2 zip file should also work.
from snowstorm.
We are not using Slack on work laptop. Is there any other possibility to have a call with skype? or teams?
from snowstorm.
Hi @MaryamRazavi, no problem, let's work through it.
It looks like you have created the import configuration but the step to upload the file with curl is not working.
It looks like curl can not find the file that needs uploading. After the @ sign you have provided just the filename without a file path so check that the file is in the same directory/folder as where you are running the command from.
from snowstorm.
Hi @kaicode, Thank for answering me. The problem is we are using Putty and I dont know how to run that from the folder I have the file! :( But I think I can figure it out. I will try the way you mentioned.
from snowstorm.
I have created an import job in snowstorm and used the ID and the used this curl: curl -X POST --header 'Content-Type: multipart/form-data' --header 'Accept: application/json' -F 'file=@C:\Users\smri01\Downloads\SnomedCT_InternationalRF2_PRODUCTION_20230630T120000Z.zip 'http://nixv1te.sos.local:8080/snowstorm/imports/05a3fa14-fbee-4f78-9bf9-84a1afedca7f/archive'
But nothing happned, I don't see any log in Putty.
from snowstorm.
The file upload is quite large, around 500MB. It may take some time.
You should be able to check the status of the update using:
curl http://nixv1te.sos.local:8080/snowstorm/imports/05a3fa14-fbee-4f78-9bf9-84a1afedca7f
from snowstorm.
The file upload is quite large, around 500MB. It may take some time. You should be able to check the status of the update using:
curl http://nixv1te.sos.local:8080/snowstorm/imports/05a3fa14-fbee-4f78-9bf9-84a1afedca7f
Hi,
"status": "WAITING_FOR_FILE", is that something we are expecting to see?
from snowstorm.
- When the import is created, using
POST /imports
, then the status will beWAITING_FOR_FILE
. - Once the file has been uploaded, using
POST /imports/{uuid}/archive
, the import will start and the status will beRUNNING
. - About an hour after starting the import should complete successfully, then the status will be
COMPLETED
. - If the import fails for any reason the status will be
FAILED
and there will be additional information about the issue in the logs.
from snowstorm.
Your curl statement may have an issue, I can see there is no closing quote after the file path.
from snowstorm.
Your curl statement may have an issue, I can see there is no closing quote after the file path.
It should be like this right?
curl -X POST --header 'Content-Type: multipart/form-data' --header 'Accept: application/json' -F 'file=@C:\Users\smri01\Downloads\SnomedCT_InternationalRF2_PRODUCTION_20230630T120000Z.zip' 'http://nixv1te.sos.local:8080/snowstorm/imports/81546f63-a799-4ac5-94ea-f10408468622/archive'
then this is what I can see in putty:
[developer@nixv1te ~]$ curl -X POST --header 'Content-Type: multipart/form-data' --header 'Accept: application/json' -F 'file=@C:\Users\smri01\Downloads\SnomedC T_InternationalRF2_PRODUCTION_20230630T120000Z.zip' 'http://nixv1te.sos.local:8 080/snowstorm/imports/0d340464-e729-476d-96f3-a44aab91922f/archive'
curl: (26) couldn't open file "C:\Users\smri01\Downloads\SnomedCT_InternationalR F2_PRODUCTION_20230630T120000Z.zip"
this what I can see in Swagger UI when I tried to upload the file in via snowstorm:
{
"status": "RUNNING",
"type": "SNAPSHOT",
"internalRelease": false,
"moduleIds": [],
"createCodeSystemVersion": true,
"branchPath": "MAIN"
}
then:
{
"status": "FAILED",
"type": "SNAPSHOT",
"internalRelease": false,
"moduleIds": [],
"createCodeSystemVersion": true,
"branchPath": "MAIN"
}
from snowstorm.
I will just mention that I have tried to upload the same file in another server/ local host and everything was fine and I got no error. I'm wondering if this problem has something to do with this spesific server?!
from snowstorm.
Shall we have a quick call to sort it out? I'm on Slack.
from snowstorm.
This import issue is now resolved.
from snowstorm.
Related Issues (20)
- Missing designation output when using Accept-language header and no displayLanguage HOT 2
- I would like to see the incoming HTTP requests in the snowstorm's docker container logs. HOT 3
- Question about Elastic fuzziness feature HOT 1
- Import failure org.springframework.dao.DataAccessResourceFailureException: 30,000 milliseconds timeout on connection http-outgoing-1 HOT 3
- Upgrading an extension on a daily-build server HOT 8
- What's the latest release? 8.3.0? 9.0.0? 9.2.0? HOT 14
- Loading SNOMED CT FULL in a Docker installation HOT 3
- FHIR API $lookup - query response with normalForm property HOT 2
- FHIR API $translate - include display (term) in response when possible HOT 3
- Documentation is not up to date for version 9.2.0 HOT 2
- FULL Import Failure on Snowstorm 9.2.0 HOT 7
- Germany Edition is missing from application.properties HOT 6
- Elasticsearch problem in Docker HOT 6
- Valueset expansion not returning translated values HOT 7
- Search feature - slow response HOT 5
- Difficulty Integrating SNOMED CT APIs into Healthcare Application HOT 2
- Application fails to start: No setter found for property: index-prefix HOT 2
- Is it possible for a concept to exist without having ancestors? HOT 2
- Default module id not working HOT 4
- MRCM Range search - wrong language HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snowstorm.