Image upload issue

i’ve been trying to run sharetribe locally (mac os x 10.12.x). everything is running, however same issue, using local file system uploaded image (for cover photo) not displayed.

I get the not found error in the log (file 20091031-halloween-pacman-gpod1.jpg)

15:01:38 rails.1 | 127.0.0.1 - - [31/Aug/2017:15:01:37 AEST] "GET /system/cover_photos/1/hd_header/20091031-halloween-pacman-gpod1.jpg?1504155221 HTTP/1.1" 404 25
the file system has the file stored locally so the lack of s3 configuration seems to work.

$ du -a public/ | grep pacman 120 public//system/cover_photos/1/original/20091031-halloween-pacman-gpod1.jpg

however not found/displayed.

just occurred to me , is this something to do with asset pipeline (The request has ?1504155221 after the file).

i did try setting config.yml serve_static_files to false just in case. but no change?

has anyone come across this issue recently
Ben

Thanks, I forgot to run that command. I don’t have any more problems with the images.

I’m having the same problem, I do not know where to start …

Hi, @Debora_Rocha_Verissi

I solved it by running this command:

bundle exec rake jobs:work

1 Like

I solved it by running this:(Centos7)
yum install ImageMagick ImageMagick-devel
bundle exec rake jobs:work