Picture of Steve Cole
Image assets missing
by Steve Cole - Thursday, 5 April 2018, 1:18 PM
 

I'm using the authoring tool 0.4.0

All of my image assets are now missing, in both the component forms and in the assets list. The image details are still there but none of the images show, see attachment.

Any idea what might cause that to happen?

Thanks


Picture of Steve Cole
Re: Image assets missing
by Steve Cole - Thursday, 5 April 2018, 2:34 PM
 

When visiting the uri for a missing image ( http://localhost:5000/api/asset/serve/5ab4e6c813975f5c7791e74c ) the browser reports that the server connection has been reset.

 

Picture of Steve Cole
Re: Image assets missing
by Steve Cole - Thursday, 5 April 2018, 2:40 PM
 

Terminal reports this:

Error: ENOENT: no such file or directory, open '/Users/sc17089/adapt_authoring/data/lmaster/assets/a8/3b/a83bff7ff24cf1b7880e21551f9795852cceff33.jpg'

 

Picture of Steve Cole
Re: Image assets missing
by Steve Cole - Thursday, 5 April 2018, 2:59 PM
 

So the files are in fact in the right location

/adapt_authoring/data/lmaster/assets/...

Any idea why the node server would report that they are not and not be able to display them?

Picture of Steve Cole
Re: Image assets missing
by Steve Cole - Thursday, 5 April 2018, 3:52 PM
 

Solved this mystery - node server was starting in the wrong User directory. 

 

Picture of Tim Charlie
Re: Image assets missing
by Tim Charlie - Friday, 6 April 2018, 6:26 AM
 

Although it was solved, I also had this problem once I then cloned the course and then it went again. Unfortunately, I did not know why.