ShaneIsrael / fireshare

Self host your media and share with unique links

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thumbnail Generation Does Not Appear to Be Working

b3stbuddy opened this issue · comments

Thumbnail Generation Does Not Appear to Be Working

The first video I tested with did successfully get a thumbnail. Other tests since then don't. I can play the videos fine. I was thinking maybe a permissions issue in the thumbnail directory or something but I don't know the process for how the thumbnails are generated. Is there a way to manually trigger thumbnail creation or to generate a log of what exactly is happening?

I'm using Docker Compose.

Steps to reproduce the behavior:

  1. Upload a video
  2. Wait for it to appear in the list
  3. Video can play but no thumbnail has been generated

Is there something obvious I've missed?

This is the docker yml file

version: "3"
services:
fireshare:
container_name: fireshare
image: shaneisrael/fireshare:latest
ports:
- 172.16.3.17:80:80
volumes:
- ./dev_root/fireshare_data:/data:rw
- ./dev_root/fireshare_processed:/processed:rw
- ./dev_root/fireshare_videos:/videos:rw
environment:
- ADMIN_USERNAME=admin
- ADMIN_PASSWORD=admin
- SECRET_KEY=replace_this_with_some_random_string
- MINUTES_BETWEEN_VIDEO_SCANS=5
- PUID=1000
- PGID=1000

I added the ":rw" after the volumes when troubleshooting because I saw that in some of the documentation. But that change made no difference that I could tell.

This is what the test files look like in the uploads directory

drwxr-xr-x 2 saul saul 4.0K Apr 26 18:51 .
drwxr-xr-x 3 saul saul 4.0K Jun 23 2023 ..
-rw-r--r-- 1 saul saul 5.3M Apr 26 18:31 IMG_5465.mov
-rw-r--r-- 1 saul saul 4.7M Apr 26 18:38 IMG_5466.mov
-rw-r--r-- 1 saul saul 16.4M Jun 23 2023 Test Video Post-1.mp4
-rw-r--r-- 1 saul saul 10.1M Apr 26 18:51 alex_intro_ver3.mp4
-rw-r--r-- 1 saul saul 12.5M Apr 26 02:43 catbase.mp4

I've tried using Firefox and Safari.

I spent some time in the container learning about the cli commands, (which are super handy by the way!). I noticed when I used the command to generate posters, there was an error about using an operand on a floating point. When I was checking that error I noticed the container I was running for fireshare was out of date on version .12. I updated the container and now it works fine! Great product!