Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A lot of not syncronized screenshots #253

Open
timur-harin opened this issue Feb 19, 2024 · 5 comments
Open

A lot of not syncronized screenshots #253

timur-harin opened this issue Feb 19, 2024 · 5 comments
Assignees

Comments

@timur-harin
Copy link

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
Copy link
Author

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

@timur-harin
Copy link
Author

@vermorag I will be very grateful for your help

@DanilShapilov
Copy link
Member

@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 Where can I find logs from client app? #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 DanilShapilov self-assigned this Feb 20, 2024
@timur-harin
Copy link
Author

@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

@DanilShapilov
Copy link
Member

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants