-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Guide for Synology #5
Comments
It's hard for me to provide a step-by-step guide since I don't have a Synology myself. But it should not be hard to setup. You can share what you have done and I can help to provide what you are missing. |
I can help with this, but first I have an issue. I tried it on my laptop under macOS machine and it works fine, but on Synology I'm seeing that
@jlesage would you have any insight into what I could check to debug this? |
Hello! sudo docker run -d --name=czkawka -p 5800:5800 -v /volume1/Famille:/storage:rw -v /tmp/pipo:/config:rw --env USER_ID=1026 --env GROUP_ID=100 jlesage/czkawka In a bash acces with a root user /storage is ok but app user cannot read it because /storage are set to 700. If i can help to solve the issue it's pleasure. Thanks |
You probably need to adjust the You can check ownership on the host side, i.e. on Synology itself. If we take the example of @mdovero, what |
Hello !
I'm a french speaker from France, I think you are from Quebec ?
I already worked and lived in Quebec City, i like this area !
Thanks for your help !
On my NAS Synology :
***@***.***:/volume1$ ls -ld /volume1/Famille/
drwxrwxrwx+ 1 *root root *96 Feb 22 17:09 /volume1/Famille/
User marcd can write :
***@***.***:/volume1/Famille$ *touch /volume1/Famille/test*
***@***.***:/volume1/Famille$ *ls -alF /volume1/Famille/*
total 0
drwxrwxrwx+ 1 root root 112 Feb 23 22:29 ./
drwxr-xr-x 1 root root 674 Feb 22 18:09 ../
drwxrwxrwx+ 1 marc users 8 Feb 13 17:12 Camera/
drwxrwxrwx+ 1 root root 100 Feb 23 22:29 ***@***.***'/
drwxrwxrwx+ 1 marcd users 96 Feb 2 19:48 Marc/
-rwxrwxrwx+ 1 marcd users 0 Feb 23 22:28 pipo*
drwxrwxrwx+ 1 root root 18 Feb 21 00:10 '#recycle'/
drwxrwxrwx+ 1 marcd users 0 Feb 20 14:59 Scans/
drwxr-xr-x 1 root root 594 Feb 23 04:00 '#snapshot'/
drwxrwxrwx+ 1 root StorageAnalyzer 56 Feb 23 03:13 synoreport/
-rwxrwxrwx+ 1 marcd users 0 Feb 23 22:29 *test**
My id for my user marcd :
***@***.***:/volume1$ id
uid=1026(marcd) gid=100(users) groups=100(users),101(administrators)
And for my container :
***@***.***:/volume1/Famille$ sudo docker container ls -a | grep jlesage
99e2012975ba jlesage/czkawka "/init" 4 days
ago Exited (0) 4 days ago *czkawka*
723569328f24 jlesage/dupeguru:latest "/init" 9 days
ago Exited (0) 9 days ago jlesage-dupeguru1
*sudo docker container inspect czkawka*
[...]
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"LANG=en_US.UTF-8",
"S6_BEHAVIOUR_IF_STAGE2_FAILS=3",
"S6_SERVICE_DEPS=1",
* "USER_ID=1026", "GROUP_ID=100",*
"APP_NAME=Czkawka",
"APP_USER=app",
"XDG_DATA_HOME=/config/xdg/data",
"XDG_CONFIG_HOME=/config/xdg/config",
"XDG_CACHE_HOME=/config/xdg/cache",
"XDG_RUNTIME_DIR=/tmp/run/user/app",
"DISPLAY=:0",
"DISPLAY_WIDTH=1280",
"DISPLAY_HEIGHT=768",
"SUP_GROUP_IDS=0"
Thanks for your help.
Ps: same issue for your another good container "jlesage/dupeguru:latest" ;)
See you soon.
Le mer. 23 févr. 2022 à 14:55, Jocelyn Le Sage ***@***.***> a
écrit :
… You probably need to adjust the USER_ID and GROUP_ID environment
variables.
You can check ownership on the host side, i.e. on Synology itself.
If we take the example of @mdovero <https://github.com/mdovero>, what ls
-ld /volume1/Famille is showing ?
—
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPPNPK2QD6P6FHBBD3GLYTU4TRLNANCNFSM5K2P7OBQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@mdovero
Could you try this? |
Complementary informations :
From the IHM for app user :
[image: image.png]
And from a bash it's ok for root:
[image: image.png]
Le mer. 23 févr. 2022 à 14:55, Jocelyn Le Sage ***@***.***> a
écrit :
… You probably need to adjust the USER_ID and GROUP_ID environment
variables.
You can check ownership on the host side, i.e. on Synology itself.
If we take the example of @mdovero <https://github.com/mdovero>, what ls
-ld /volume1/Famille is showing ?
—
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPPNPK2QD6P6FHBBD3GLYTU4TRLNANCNFSM5K2P7OBQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@mdovero screenshots are not coming through |
@mdovero yes I'm from Quebec, living near Montreal :) Your |
Ok I found the solution with your precious help ! It was a mistake on my
side.
The problem is with a USER_ID *1026... *indeed this user have read and
write acces because this user is in a NAS admin group....
If i use another non privilegied user, it work !!! I see that in a
Properties Panel - thanks Ruben !
Like that i can map in a /storage folder a sub directory of a share ou
directly a volume folder /volume1, but if i understand correctly it's not a
good idea.
I can also not specify the config directory with the -v
/tmp/pipo:/config:rw param. I think it's not efficient but it work, so
righ now the /storage work !!!
Le mer. 23 févr. 2022 à 23:57, Jocelyn Le Sage ***@***.***> a
écrit :
… @mdovero <https://github.com/mdovero> yes I'm from Quebec, living near
Montreal :)
Your USER_ID and GROUP_ID variables looks good. What you didn't mention
is how you mapped your folders to the container. As @rubenvarela
<https://github.com/rubenvarela> pointed, you cannot map /volume1
directory to the container. You need to map individual shares.
—
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPPNPLQNZZS3ZLSWNK7UCDU4VQ35ANCNFSM5K2P7OBQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yeah mapping
Or create and edit the container via the Synology UI. This way you are sure to never do anything "illegal". |
Here is the step by step guide for Synology
10- Select your “Install czkawka” Task then click the “Run” tab. You will be asked to run Install czkawka – click Yes. |
Hello From https://community.synology.com/enu/forum/1/post/152255
|
uid=1026(SOM-ADMIN) gid=100(users) groups=100(users),101(administrators) I want to mount the home photos folder to remove similar iamges with duplicate ones. docker run -d |
Looks like you need to run the docker command with |
Docker Compose for Portainer
Make sure to adjust according to your needs. |
Hi there, I'm trying to make it work following your step but no way. Installed docker in registry (container manager) docker run -d no idea where I make a mistake. Could you help me |
Make sure to use |
Hi All,
I have shared the solution in this video.As it is already so many days even
I don't remember.
https://youtu.be/wBpk5EF26ew?si=aWzbFIrks4ucu7eT
Thanks and Regards,
Somanath Behera
…On Tue, 25 Jun 2024 at 7:18 AM, Jocelyn Le Sage ***@***.***> wrote:
Make sure to use /volume1/homes/Vix/Photos, not
</volume1/homes/Vix/Photos> (invalid path).
—
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE2O3LMKOTT6PKMOCI2OUFDZJDD6RAVCNFSM5K2P7OB2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJYG43TOMRRGAYQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
someone knows why it ask me credential? Don0t remember to did set a password to access. Any Ideas? |
Could it be possible to provide a step-by-step guide on how to get this running in Docker on Synology.
I downloaded the image but I can't get it to work, because of my habbit of messing this up I've learned to ask now. I've searched the web but I can't find a guide, that's why I'm creating this issue.
The text was updated successfully, but these errors were encountered: