nie-ine / suite-quickstart

For non production purposes
0 stars 0 forks source link

Data directory /tmp/webapi_tmp/ does not exist on server #4

Closed janCstoffregen closed 6 years ago

janCstoffregen commented 6 years ago

2) The import.py script didn't work:

➜ ImportPictureTest git:(master) ✗ python3 import.py {"status":4,"error":"org.knora.webapi.FileWriteException: Data directory /tmp/webapi_tmp/ does not exist on server"}

janCstoffregen commented 6 years ago

Solved with:

sudo chmod a+rwx tmp
sudo mkdir tmp/webapi_tmp

@Padlina zur info

Padlina commented 6 years ago

Probably this error is linked with the fact that Sipi isn't working correctly.

janCstoffregen commented 6 years ago

I have to map the folder inside the docker container to an outside folder so that the images are stored persistently. I think I forgot to create this folder in the "createSipiFolderTructure" - script.