jlesage / docker-czkawka

Docker container for Czkawka
MIT License
142 stars 11 forks source link

UI does not show up, container terminates #12

Closed chbndrhnns closed 2 weeks ago

chbndrhnns commented 1 year ago

Hi,

Starting with version v22.11.1, I see a strange behaviour that I am unable to debug further. When I access the app in the browser, it crashes. The logs just contain these lines and setting the CONTAINER_DEBUG variable to see more details does not create more verbose output.

Any idea what I could try?

Bye, Jo

czkawka_1  | [app         ] Gdk-Message: 20:24:22.270: Failed to get file transfer portal: Could not connect: No such file or directory
czkawka_1  | [supervisor  ] service 'app' exited (with status 1).
czkawka_1  | [supervisor  ] waiting termination of logger thread of service 'app'...
czkawka_1  | [supervisor  ] logger thread of service 'app' successfully terminated.
czkawka_1  | [supervisor  ] restarting service 'app'.
czkawka_1  | [supervisor  ] starting service 'app'...
czkawka_1  | [supervisor  ] started service 'app'.
czkawka_1  | [supervisor  ] service 'app' exited (with status 1).
czkawka_1  | [supervisor  ] waiting termination of logger thread of service 'app'...
czkawka_1  | [supervisor  ] logger thread of service 'app' successfully terminated.
czkawka_1  | [supervisor  ] restarting service 'app'.
czkawka_1  | [supervisor  ] starting service 'app'...
czkawka_1  | [supervisor  ] started service 'app'.
czkawka_1  | [app         ] Gdk-Message: 20:24:29.373: Failed to get file transfer portal: Could not connect: No such file or directory
czkawka_1  | [supervisor  ] service 'app' exited (with status 1).
czkawka_1  | [supervisor  ] waiting termination of logger thread of service 'app'...
czkawka_1  | [supervisor  ] logger thread of service 'app' successfully terminated.
czkawka_1  | [supervisor  ] restarting service 'app'.
czkawka_1  | [supervisor  ] starting service 'app'...
czkawka_1  | [supervisor  ] started service 'app'.
czkawka_1  | [app         ] Gdk-Message: 20:24:31.275: Failed to get file transfer portal: Could not connect: No such file or directory
jlesage commented 1 year ago

How did you created the container (your docker run command) ?

chbndrhnns commented 1 year ago

I am using this docker-compose file:

version: '3.1'

services:
  czkawka:
    restart: unless-stopped
    image: jlesage/czkawka:v22.11.1
    environment:
      USER_ID: 1027
      GROUP_ID: 101
      SUP_GROUP_IDS: 100,105733
      CONTAINER_DEBUG: 1
    volumes:
      - ./data/config:/config:rw
      - /volume1/photo/three:/storage/volume1/photo/three:rw
      - /volume1/photo/MobileBackup:/storage/volume1/photo/MobileBackup:rw
      - /volume1/photo/zz-testing:/storage/volume1/photo/zz-testing:rw
      - /volume1/database:/storage/volume1/database:rw
      - /volume1/homes/one:/storage/volume1/homes/one:rw
      - /volume1/homes/two:/storage/volume1/homes/two:rw
    ports:
      - "5800:5800"
jlesage commented 1 year ago

Can you do a quick test and try to not map /config to see if the problem is caused by something in the config ?

chbndrhnns commented 1 year ago

It seems 2022.12.2 solved the issue for. I looked through the changes but could not figure out how exactly you fixed it? I only saw a change to the base image.

jlesage commented 1 year ago

Correct, Czkawka didn't change in the latest version.

The latest version fixes an issue for people using the Synology UI to setup the container, which I think it's not your case.

chbndrhnns commented 1 year ago

Ah, right, I just read "synology" which also applies to me but I am not using the UI. So it's even more interesting that I was able to run the tool now.

jlesage commented 2 weeks ago

Closing this issue. Please re-open if needed.