server-application icon indicating copy to clipboard operation
server-application copied to clipboard

A lot of not syncronized screenshots

Open timur-harin opened this issue 2 years ago • 5 comments

Screenshot 2024-02-19 at 22 42 28 Screenshot 2024-02-19 at 22 42 36 Screenshot 2024-02-19 at 22 42 44 Screenshot 2024-02-19 at 22 42 54

Using logs from cattr-queue-1 - I see that only if App\Jobs\GenerateScreenshotThumbnail was done - screenshot made

I set to do it every minute. Why it is not working correctly?

timur-harin avatar Feb 19 '24 19:02 timur-harin

@amazing-cat I will be very grateful for your help

timur-harin avatar Feb 19 '24 19:02 timur-harin

@vermorag I will be very grateful for your help

timur-harin avatar Feb 20 '24 12:02 timur-harin

@timur-harin Hello. Can you please check the following:

  1. only screenshots are missing or the interval itself?
  2. Do client app logs say something useful? They can be found here #154
  3. Near the logs ../db/main.db you can find db file with can help you identify if interval are missing or not.

DanilShapilov avatar Feb 20 '24 13:02 DanilShapilov

@DanilShapilov, Thanks you for your response

  1. Only screenshots, time intervals always sinchronized
  2. cat: /root/.config/cattr/logs: No such file or directory but I can provide logs from docker containers, because I used docker-compose install
  3. same as 2nd

timur-harin avatar Feb 22 '24 12:02 timur-harin

@timur-harin 2nd and 3rd related to https://github.com/cattr-app/desktop-application, logs and db files are on your OS, not docker.

When you click on , do you see same sad face in modal or a screenshot?

It's weird that some screenshots were uploaded successfully, if you used standard docker compose, try to change backed folder permission https://github.com/cattr-app/server-application/blob/main/docker-compose.yml#L10

If Desktop app says "not synchronized" but we have interval on the server, this means there is an error when Desktop app tries to upload interval+screenshot. Laravel logs should help identify the problem.

Also, if you have tried to install cattr before Jul 11, 2023 , there was a bug with similar behavior, clear docker cache.

DanilShapilov avatar Feb 22 '24 14:02 DanilShapilov