ariselseng / camerarawpreviews

Camera Raw Previews app for Nextcloud
GNU Affero General Public License v3.0
53 stars 11 forks source link

JPG Previews #16

Closed Tott3 closed 6 years ago

Tott3 commented 6 years ago

Not sure if it's this app, but my JPG previews has stopped working ;o The RAW works just fine tho. This is the only unofficial app I'm running.

ariselseng commented 6 years ago

Any info from the logs?

On Mon, Apr 9, 2018, 20:30 Totte notifications@github.com wrote:

Not sure if it's this app, but my JPG previews has stopped working ;o The RAW works just fine tho. This is the only unofficial app I'm running.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cowai/camerarawpreviews/issues/16, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbNk04AYFgIcglKNxzEOy-HIYI3JvCHks5tm6jQgaJpZM4TNArS .

Tott3 commented 6 years ago

Pretty much all I could find in the error_log. Not quiet sure what other logs to be looking for :P

[Mon Apr 09 19:54:09.347190 2018] [fcgid:warn] [pid 5877:tid 140287909287680] [client 83.255.109.195:64428] mod_fcgid: read data timeout in 40 seconds
[Mon Apr 09 19:54:09.347248 2018] [core:error] [pid 5877:tid 140287909287680] [client 83.255.109.195:64428] End of script output before headers: remote.php
ariselseng commented 6 years ago

Errors in the nextcloud log would be great.

On Mon, Apr 9, 2018, 20:40 Totte notifications@github.com wrote:

Pretty much all I could find in the error_log. Not quiet sure what other logs to be looking for :P

[Mon Apr 09 19:54:09.347190 2018] [fcgid:warn] [pid 5877:tid 140287909287680] [client 83.255.109.195:64428] mod_fcgid: read data timeout in 40 seconds [Mon Apr 09 19:54:09.347248 2018] [core:error] [pid 5877:tid 140287909287680] [client 83.255.109.195:64428] End of script output before headers: remote.php

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cowai/camerarawpreviews/issues/16#issuecomment-379852307, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbNk20EfzQAyf0xtA5o99iVThElc0syks5tm6sPgaJpZM4TNArS .

Tott3 commented 6 years ago

Found it. This is literally the entire file. Doesn't looks like it got something to do with the thumbnail generation :/ Looks like when I had problems setting up NC the other day :P

{"reqId":"ZRQwBX78bYSclCqVZnyF","level":3,"time":"2018-04-06T14:40:54+00:00","remoteAddr":"83.255.109.195","user":"--","app":"PHP","method":"POST","url":"\/index.php","message":"mkdir(): Permission denied at \/home\/laddad\/domains\/subdom.laddad.net\/public_html\/lib\/private\/Setup.php#299","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/65.0.3325.181 Safari\/537.36","version":""}

ariselseng commented 6 years ago

Try disabling the app and see if that helps.

Tott3 commented 6 years ago

Ye, removing this from the config makes it preview other media files again.

  'enabledPreviewProviders' => 
  array (
    0 => 'OCA\\CameraRawPreviews\\RawPreview',
    1 => 'OCA\\CameraRawPreviews\\IndesignPreview',
  ),
Tott3 commented 6 years ago

It seems to be working now. So I removed the lines I posted above from the config and went to "Apps" and hit enable instead. Weird.

ariselseng commented 6 years ago

@Tott3 That is good input. So just to confirm. Everything works now, the app, raw previews and jpegs?

Tott3 commented 6 years ago

So far so good. Both are previewing just fine so far.

ariselseng commented 6 years ago

@Tott3 Can you upload/create a new raw file to check if new files also can be previewed? The previews are cached.

Tott3 commented 6 years ago

Done. Works like a charm =)

ariselseng commented 6 years ago

@Tott3 Thanks for your input. Removed info about the config. https://github.com/cowai/camerarawpreviews/commit/04ef7cc4f24dc81de5c7affff4094a6136028401 I think this was only needed some time ago in older versions.

Tott3 commented 6 years ago

Cool! Keep up the good work! Awesome tool for a hobby photographer :D