docker-czkawka icon indicating copy to clipboard operation
docker-czkawka copied to clipboard

Step by step guide for Synology

Open Praneet-Srivastav opened this issue 2 years ago • 4 comments

Here is the step by step guide for Synology 1- Installed Docker pkg from package center 2- Create a shared folder called docker if its already not there. 3- In the docker folder create a folder called "czkawka" 4- Inside czkawka folder .. create another folder called "config" 5- Make sure all folder names are not in small letters (no CAPS) 6- Go to Control Panel / Task Scheduler / Create / Scheduled Task / User-defined script. 7- General: In the Task field type in “Install czkawka“. Uncheck the “Enabled” option and select your current NAS user from the drop-down menu. 8- Schedule: Select Run on the following date then select “Do not repeat“. 9- Copy paste the code below in the Run command area. After that click OK. (Update the USER_ID, GROUP_ID as per NAS User selected above in step 7 and your photo location accordingly )

docker run -d \
    --name=czkawka \
    -p 5800:5800 \
    -e USER_ID=**1026** \
    -e GROUP_ID=**101** \
    -v /volume1/docker/czkawka/config:/config:rw \
    -v **<relplace here your photos folder location>**:/storage/photos:rw \
    jlesage/czkawka

10- Select your “Install czkawka” Task then click the “Run” tab. You will be asked to run Install czkawka – click Yes. 11- If everything was setup properly you can access it by Open your browser and type in http://Synology-ip-address:5800/

Praneet-Srivastav avatar Feb 22 '23 12:02 Praneet-Srivastav

Hi, please can you confirm exactly what you mean in point 5.

Make sure all folder names are not in small letters (no CAPS)

nodecentral avatar Feb 27 '23 10:02 nodecentral

Hi, please can you confirm exactly what you mean in point 5.

Make sure all folder names are not in small letters (no CAPS)

means folder names should be in small letters (folder) not in capital letters (FOLDER) or mixed letters(Folder)

Praneet-Srivastav avatar Feb 27 '23 12:02 Praneet-Srivastav

can you help me in installing czkwaka deduplication in container. I am unable to setup the mount folder even with the wizard as well as with user defined script command. I am missing something. It is asking for permission denied. 

uid=1026(SOM-ADMIN) gid=100(users) groups=100(users),101(administrators) Error is >>> docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create?name=czkawka": dial unix /var/run/docker.sock: connect: permission denied. See 'docker run --help'.

I want to mount the home photos folder to remove similar iamges with duplicate ones.

docker run -d
--name=czkawka
-p 5800:5800
-e USER_ID=1026
-e GROUP_ID=101
-v /docker/czkawka/config:/config:rw
-v /home/Photos:/storage:rw
jlesage/czkawka

1st Folder is >> /home/docker/czkawka/config
2nd Folder is >> /home/Photos

somnath427 avatar Oct 12 '23 21:10 somnath427

can you help me in installing czkwaka deduplication in container. I am unable to setup the mount folder even with the wizard as well as with user defined script command. I am missing something. It is asking for permission denied. 

uid=1026(SOM-ADMIN) gid=100(users) groups=100(users),101(administrators) Error is >>> docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create?name=czkawka": dial unix /var/run/docker.sock: connect: permission denied. See 'docker run --help'.

I want to mount the home photos folder to remove similar iamges with duplicate ones.

docker run -d --name=czkawka -p 5800:5800 -e USER_ID=1026 -e GROUP_ID=101 -v /docker/czkawka/config:/config:rw -v /home/Photos:/storage:rw jlesage/czkawka

1st Folder is >> /home/docker/czkawka/config
2nd Folder is >> /home/Photos

Hi, did you find a solution? I'm stuck too. Many hours spending for reading all stuff but no-one is helping me.

vixius avatar Jun 24 '24 21:06 vixius