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
DSM7 (Synology Photo) compatibility #51
Comments
Hej dtypo, thanks for the report. I didn't have the time to upgrade my DiskStation, so I didn't ran into this problem, yet. I don't know when I will have time to upgrade to DSM7, but I hope it will happen within the next three weeks. As soon as I know more about the issue I will write here. Thanks again, |
I Confirm I'm facing with the same issue as @dtypo after DSM7 update. The indexing stopped working, but I didn't go as far as reinstalling every modules yet. |
Hello any news on that issue ? Synchronisation still not working since DSMUpdate |
I plan to work in the issue from 18th to 20th of October, but please don't take this timespan for granted as work and family might have other plans for me ;) |
Hello, I've finally started to work on the issue 🥳 The upgrade to DSM 7 went through and I did some first test with some surprising results:
I haven't tested Synology Photo so far, but if my findings are right, it would IMHO mean that the best solution would be to leave Synoindex Watcher as it is and create a new auto-update tool for Synology Photo. This could be based on Synoindex Watcher, but I'm not sure, if this is best way, since the whole indexing seems to work different there. 👉 Can someone please confirm that Synoindex Watcher is not required to auto-update the media index on DSM 7? |
Hello, for me I haven't done that part "the synoindexwatcher module has to be reinstalled after the update," . |
Hello letorbi! |
Thanks for the feedback :) @danyfire Can you see the new TV-Show files in your video-folder? If you see new files, but they aren't part of the media-index, Sonarr seems to circumvent the new auto-updating mechanism somehow. In that case, it should be enough to re-install Synoindex Watcher simply by following the install-instructions in the readme. If the files are not present in the folder, the problem must be with Transmission or Sonarr. @dtypo It seems that Synology Photo does not use the media-index to find photos anymore. Because of this Synology Photo can not be used to check, whether a file has been added to the media-index. I personally check the media-index via the Media Server package, which presents all files in the media-index to UPnP/DLNA-clients (I'm using DMS Explorer on my Android, but VLC should also work). Basically I just open the App, connect to my DiskStation and browse the files. If you prefer a more low level approach, you could also use the |
oki fixed for me thx |
Great to hear. Do you still have to use Synoindex Watcher to have files added to the media-index or was it a problem with Transmission or Sonarr? |
I still need Synoindex Watcher I think.
I didn't test to uninstall it. All I can say indexing wasn't working after
updating dsm. And after I reinstalled Synoindex it was working fine.
…On Thu, Oct 21, 2021, 12:15 Torben ***@***.***> wrote:
oki fixed for me thx
Great to hear. Do you still have to use Synoindex Watcher to have files
added to the media-index or was it a problem with Transmission or Sonarr?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#51 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABYRCBF7FKP5U7AV6CZRJWLUH7R3HANCNFSM5DTHUJCA>
.
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>.
|
Just to keep you updated: I'm still on this issue. Currently I'm trying to move my files from my DiskStation to another Location, in order to perform a factory reset. Once that is done, I will analyze the media indexing behavior on a vanilla DSM7 system. My goal is to confirm, that any files added to a media folder are automatically indexed - even without Synoindex Watcher installed. If that's the case, I will leave Synoindex Watcher as it is and create a new tool for adding photo-files to the Synology Photo index instead. If Synoindex Watcher is still required on DSM7 systems, I will integrate the Synology Photo auto-indexing functionality into it. |
I want to chime in about the fact, that some means of manual nudge is needed, if files are landing via rsync. My temporary solution is Task Scheduler: two scheduled tasks, performed every 8 hours, both with root: Not ideal as it is basically a reindex. (You cannot go deeper and say /volume1/photo/shared, because it somehow messes up the index structure, causing some nested folder /volume1/photo/shared/shared on the gui which appears to be empty on the gui, but once you delete it, you actually delete /volume1/photo/shared). |
I'm using inotify-tools. It works good. https://synocommunity.com/package/inotify-tools Login with SSH. notify.sh
notify.service
Start and enable
Known issue: You need to delete/move files with Synology Photos/File Manager. If you delete/move files from "Container" it won't update the index. |
@misery - this worked for me, thanks! My next challenge were the images that are being deleted by my docker container. I tried the following "synofoto-bin-index-tool" Syno service (basic_reindex) which I am running as a scheduled task. This seems to be removing all non-existent files/pictures from the Photos app:
Cheers |
According to the last comments in #57, Docker might be the reason why files are not added to the media index by Synology's indexing tool. I won't be able to investigate this before September, so it would be helpful, if anyone can test whether "normal" file-operations (like PS: Sorry for the long delays. I have quite a busy life right now and not much time for side-projects. |
Hi @letorbi, thank you so much for all your work on this. I'm curious if you have ever forwarded this information to synology? I am currently running into the same issues and it does appear to me the issue revolves around media indexing of folders when those changes are made from inside a docker container. |
I received this explanation from Synology Support today:
I did submit is as a feature request. |
confirmed this script won't help to get Synology photo auto index synced file from docker syncthing. But thanks to all the info here, I have a solution now to get the auto index working: use the smb instead of direct mount within docker. |
Hello letorbi :)
I've used your great python module with profit since 1 year now and no problem at all until yesterday, when I decided to update to DSM7.
Considering the integration of Python3 in DSM, I've reinstalled all my python modules from the scratch, including SynoIndexWatcher.
Unfortunately, giving a simple
python -m synoindexwatcher
produces the usual output:but the images automatically uploaded in
/volume1/photo
(via syncthing) don't appear in my Synology Photo app.The only way I can see the images is by manual reindexing with the button showed in the screenshot.
The exact same mechanism (syncthing+synoindexwatcher) worked like a charm with Photo Station and Moments.
So I suppose this is strictly related to the new indexing mechanism used by Synology Photo.
More info HERE and HERE.
I hope you can give an eye and solve this problem.
Thanks in advance :)
The text was updated successfully, but these errors were encountered: