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

Delete Missing Photos Stuck #774

Closed
3 tasks done
Nerodacles opened this issue Mar 6, 2023 · 2 comments
Closed
3 tasks done

Delete Missing Photos Stuck #774

Nerodacles opened this issue Mar 6, 2023 · 2 comments
Labels
backend bug Something isn't working

Comments

@Nerodacles
Copy link

πŸ› Bug Report

  • πŸ“ I've Included a ZIP file containing my librephotos log files
  • ❌ I have looked for similar issues (including closed ones)
  • 🎬 (If applicable) I've provided pictures or links to videos that clearly demonstrate the issue

πŸ“ Description of issue:

After correcting the error #768, now it just hangs the process itself.
image
image

127.0.0.1 - - [2023-03-06 15:32:25] "POST /build/ HTTP/1.1" 200 142 1.095149
127.0.0.1 - - [2023-03-06 15:32:30] "POST /build/ HTTP/1.1" 200 142 1.066571
127.0.0.1 - - [2023-03-06 15:32:35] "POST /build/ HTTP/1.1" 200 142 1.126486
127.0.0.1 - - [2023-03-06 15:32:40] "POST /build/ HTTP/1.1" 200 142 1.083360
127.0.0.1 - - [2023-03-06 15:32:45] "POST /build/ HTTP/1.1" 200 142 1.064139
127.0.0.1 - - [2023-03-06 15:32:50] "POST /build/ HTTP/1.1" 200 142 1.112556
127.0.0.1 - - [2023-03-06 15:32:54] "POST /build/ HTTP/1.1" 200 142 1.039401
15:32:54 default: Job OK (01cff0b8-7492-4e7d-9221-98b21027e7ee)
15:32:54 Result is kept for 60 seconds
Unauthorized: /api/rqavailable/
Unauthorized: /api/dirtree/
15:39:39 Cleaning registries for queue: default
Unauthorized: /api/rqavailable/
Unauthorized: /api/dirtree/
Unauthorized: /api/jobs/
Unauthorized: /api/dirtree/
Unauthorized: /api/albums/thing/list/
Unauthorized: /api/albums/place/list/
Unauthorized: /api/searchtermexamples/
Unauthorized: /api/albums/user/list/
Unauthorized: /api/persons/
Unauthorized: /api/dirtree/
Unauthorized: /api/rqavailable/
Unauthorized: /api/rqavailable/
Unauthorized: /api/jobs/
Unauthorized: /api/dirtree/
Unauthorized: /api/dirtree/
Unauthorized: /api/rqavailable/
Unauthorized: /api/jobs/
Unauthorized: /api/dirtree/
Unauthorized: /api/dirtree/

πŸ” How can we reproduce it:

Click the button to delete missing photos

Please provide additional information:

  • πŸ’» Operating system: Ubuntu 20.04
  • βš™ Architecture (x86 or ARM): x86
  • πŸ”’ Librephotos version: dev
  • πŸ“Έ Librephotos installation method (Docker, Kubernetes, .deb, etc.): docker-compose
    • πŸ‹ If Docker or Kubernets, provide docker-compose image tag: dev
  • πŸ“ How is you picture library mounted (Local file system (Type), NFS, SMB, etc.): NFS
  • ☁ If you are virtualizing librephotos, Virtualization platform (Proxmox, Xen, HyperV, etc.): Hyper-V
@Nerodacles Nerodacles added the bug Something isn't working label Mar 6, 2023
@Nerodacles
Copy link
Author

Nerodacles commented Mar 21, 2023

When i do a:

librephotos=# select missing,path from api_file;
 missing |                                                                      path                                                                      
---------+------------------------------------------------------------------------------------------------------------------------------------------------
 f       | /data/neroData/WhatsApp/Media/Files/2022/05/VID-20220521-WA0051.mp4
 f       | /data/neroData/Camera/2022/05/PXL_20220502_144407450.jpg
 t       | /data/neroData/Google Fotos/Cosas/IMG_20190527_145726.jpg
 f       | /data/neroData/Google/dateless/5c93a0d9327df97fa7efa025dec36d33.jpg
 f       | /data/neroData/Google/2017/IMG_20171122_213209.jpg
 f       | /data/neroData/Google/2017/IMG_20171209_195949-ANIMATION.gif
 f       | /data/neroData/Google/2019/IMG_20190101_000732.jpg
 t       | /data/neroData/Google/2019/IMG-20191103-WA0143.jpeg
 f       | /data/neroData/Cosas/2022/IMG_20190211_103716.jpg
 f       | /data/neroData/Cosas/2022/IMG-20161209-WA0063.jpg
 f       | /data/neroData/Google/2016/20160621_112843.jpg
 f       | /data/neroData/Google/2016/IMG-20161213-WA0041.jpg
 t       | /data/neroData/Google/2015/IMG-20151220-WA0005.jpg
 t       | /data/neroData/Google/2018/IMG_20180122_142133.jpg
 f       | /data/neroData/Google/2018/IMG_20180204_135339.jpg
 t       | /data/neroData/Google/2020/IMG-20200503-WA0032.jpg
 f       | /data/neroData/Google/2020/IMG_20200525_145800.jpg
 t       | /data/neroData/Google/2016/IMG-20161016-WA0012.jpg
 f       | /data/neroData/Google/2016/IMG-20160508-WA0010.jpg
 t       | /data/neroData/Google/2016/IMG-20160710-WA0009.jpeg

It just stalls.

image

And in the log file it shows this...:

23:39:44 default: api.apps.build_index() (15f86078-3b2e-4bf3-8129-e58dc26ffc10)
127.0.0.1 - - [2023-03-20 23:39:44] "POST /build/ HTTP/1.1" 200 139 0.000680
127.0.0.1 - - [2023-03-20 23:39:49] "POST /build/ HTTP/1.1" 200 142 1.108170
Unauthorized: /api/persons/
Unauthorized: /api/albums/thing/list/
Unauthorized: /api/searchtermexamples/
Unauthorized: /api/albums/place/list/
Unauthorized: /api/dirtree/
Unauthorized: /api/albums/user/list/
127.0.0.1 - - [2023-03-20 23:39:55] "POST /build/ HTTP/1.1" 200 142 1.182329
127.0.0.1 - - [2023-03-20 23:40:00] "POST /build/ HTTP/1.1" 200 142 1.167248
127.0.0.1 - - [2023-03-20 23:40:05] "POST /build/ HTTP/1.1" 200 142 1.123925
127.0.0.1 - - [2023-03-20 23:40:11] "POST /build/ HTTP/1.1" 200 142 1.290505
127.0.0.1 - - [2023-03-20 23:40:16] "POST /build/ HTTP/1.1" 200 142 1.147701
127.0.0.1 - - [2023-03-20 23:40:21] "POST /build/ HTTP/1.1" 200 142 1.131345
Unauthorized: /api/searchtermexamples/
Unauthorized: /api/albums/thing/list/
Unauthorized: /api/dirtree/
Unauthorized: /api/albums/user/list/
Unauthorized: /api/albums/place/list/
Unauthorized: /api/persons/
127.0.0.1 - - [2023-03-20 23:40:27] "POST /build/ HTTP/1.1" 200 142 1.628934
127.0.0.1 - - [2023-03-20 23:40:32] "POST /build/ HTTP/1.1" 200 142 1.140484
127.0.0.1 - - [2023-03-20 23:40:37] "POST /build/ HTTP/1.1" 200 142 1.131907
127.0.0.1 - - [2023-03-20 23:40:38] "POST /build/ HTTP/1.1" 200 141 0.057828
23:40:38 default: Job OK (15f86078-3b2e-4bf3-8129-e58dc26ffc10)

@derneuere
Copy link
Member

should be fixed now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants