I have mainly used my seafile with android app and it’s working fine. Automatic camera uploads works, I can see thumbs and download pics. But when I use web browser, I can’t see thumbs, can’t view bigger pics (the image could not be loaded) or can’t download them from my automatic camera upload folder. (No pics anywhere else) I can copy pics to another folder and then pics are working like they should with browser.
Only messages in log about this are like:
django.request:170 get_response Not Found: /repo/3a4e33df-(and so on)/raw/My%20Photos/Camera/nameofthepic.jpg
Nothing helpfull in other logs. //edit I found some information in Apache2 access.log. Check third post.
Any idea why this happened? What is the easiest way to fix this?
Today I tried again and turned camera upload on again. Now I chose folder with only 3 images. After automated upload same problem with web (Firefox). No thumbs, can’t view images or download (File does not exist says Seafile) them.
This is from seahub_django_request.log:
2017-05-08 17:06:17,987 [WARNING] django.request:170 get_response Not Found: /repo/49dce331-98f5-4329-895d-a7241ac11ca2/raw/My%20Photos/3images/IMG_2016-07-26-14111897.png
2017-05-08 17:06:18,001 [WARNING] django.request:170 get_response Not Found: /repo/49dce331-98f5-4329-895d-a7241ac11ca2/raw/My%20Photos/3images/IMG_2016-07-26-13595731.png
2017-05-08 17:06:18,369 [WARNING] django.request:170 get_response Not Found: /repo/49dce331-98f5-4329-895d-a7241ac11ca2/raw/My%20Photos/3images/IMG_2016-07-24-17001406.png
2017-05-08 17:06:22,162 [WARNING] django.request:170 get_response Not Found: /repo/49dce331-98f5-4329-895d-a7241ac11ca2/raw/My%20Photos/3images/IMG_2016-07-26-14111897.png
2017-05-08 17:06:22,164 [WARNING] django.request:170 get_response Not Found: /repo/49dce331-98f5-4329-895d-a7241ac11ca2/raw/My%20Photos/3images/IMG_2016-07-26-13595731.png
2017-05-08 17:06:22,193 [WARNING] django.request:170 get_response Not Found: /repo/49dce331-98f5-4329-895d-a7241ac11ca2/raw/My%20Photos/3images/IMG_2016-07-24-17001406.png
2017-05-08 17:06:28,003 [WARNING] django.request:170 get_response Not Found: /repo/49dce331-98f5-4329-895d-a7241ac11ca2/raw/My%20Photos/3images/IMG_2016-07-26-13595731.png
2017-05-08 17:06:28,004 [WARNING] django.request:170 get_response Not Found: /repo/49dce331-98f5-4329-895d-a7241ac11ca2/raw/My%20Photos/3images/IMG_2016-07-24-17001406.png
2017-05-08 17:06:28,159 [WARNING] django.request:170 get_response Not Found: /repo/49dce331-98f5-4329-895d-a7241ac11ca2/raw/My%20Photos/3images/IMG_2016-07-26-14111897.png
Time zones are different…
Auto uploaded images are located in:
My Libraries / test / My Photos / 3images (not working)
I copyed images from My Libraries / test / My Photos / 3images to:
My Libraries / test
and everything works fine again in that folder with Firefox.
I can’t find auto uploaded files from my Ubuntu 14.04 server using command line. Where are they? I want to check folder permissions.
Please help me. What else should I do to find the solution? This is getting really frustrating
Anybody? I really need help.
Is my mysql, apache or seafile misconfigurated… Ubuntu 14.04… Iptables should be ok.
I read through config files but everything looks fine. I don’t know which config line could do this.
I did some security hardening. Here’s thread about it.
Basicly I don’t understand what android app does, when it creates auto upload path. What is the differense to creating folder manually with web gui.
Some progress, finally.
Things just don’t work because there’s a space in the folder name. My Photos
Renaming it to Photos, thumbs and everything started working in the automatic upload folder with web browser.
Cons: automatic upload creates new path with My Photos and uploads there…
I found some guides how to setup letsencrypt sertificate and the last lines are for auto renew. But I don’t know if that work with seafile… Do you have any idea?
I read about it and I think the easiest way to me is to use nginx. I haven’t use nginx before, but basic configs are easy to do with seafile manual and with some googleing. I’m not going to do any special configs so I think I’m ok with this.