slushy Posted March 13 Share #1 Posted March 13 (edited) Hello everyone, Wondering if any one has similar issue or it's just me. I've tried many different options, but seems none of that helps. I would apprechate your suggestions and help. Details below: I'm having an issue with my Xpenology DSM 7.2 64570 installed on ESXi. I have used Redpill loader, setup went fine, activated AME codecs. VideoStation started to work all fine, I can watch the movies etc. But... There is one problem with TMDB plugin, which seems to be not working correctly. I've supplied the API key (same as used on my real DS918+) but I cannot get plugin to work on Xpenology. My observations do far: - tried different OS - DSM 7.0, 7.1, 7.2, different Xpenology loaders DS918+, DS920+ - after supplying API key in VideoStation > Settings > TheMovie Database > Edit > Test Connection - it does show connection successful. - Unfortunately from previous view (Video Info Plugin) testing connection fails with a message "Connection fails". - Tried internet recommendations about static DNS settings or preffering IPv4 addresses in resolution but none of that works. - started reviewing logs on my own and found that there are some access denied in script execution, which is responsible for getting data from TMDB. " /var/log/bash_err.log:84353:" -> (23505)"/bin/bash -p /var/packages/VideoStation/target/plugins/syno_themoviedb/loader.sh --type movie --lang enu --input {"title":"Poufne lekcje perskiego (2020)"} /var/log/bash_err.log:84354:" -> (23507)"/bin/bash -p /var/packages/VideoStation/target/plugins/syno_themoviedb/loader.sh --type movie --lang enu --input {"title":"Poufne lekcje perskiego (2020)"} /var/log/bash_err.log:84355:" ] /var/packages/VideoStation/target/plugins/syno_themoviedb/loader.sh: line 8: /sbin/sed: Permission denied /var/log/bash_err.log:84356:2024-03-12T21:21:44+01:00 SynologyMedia bash[23512]: BASH_ERR: report_error [ (23509)"/bin/bash -p /var/packages/VideoStation/target/plugins/syno_themoviedb/loader.sh --type movie --lang enu --input {"title":"Poufne lekcje perskiego (2020)"} " Edited March 13 by slushy More details addition Quote Link to comment Share on other sites More sharing options...
dj_nsk Posted March 17 Share #2 Posted March 17 В 13.03.2024 в 18:49, slushy сказал: - Unfortunately from previous view (Video Info Plugin) testing connection fails with a message "Connection fails". check by SSH: nslookup api.themoviedb.org do you see some like this? ... Name: api.themoviedb.org Address: 13.227.219.100 Name: api.themoviedb.org Address: 13.227.219.32 Name: api.themoviedb.org Address: 13.227.219.43 ... Quote Link to comment Share on other sites More sharing options...
pioner1544 Posted May 3 Share #3 Posted May 3 Поставь DNS 64.6.65.6 либо 64.6.64.6 Quote Link to comment Share on other sites More sharing options...
ner0 Posted 7 hours ago Share #4 Posted 7 hours ago Same problem here. I have been going in circles to try to resolve this but nothing seems to work. I've read all that I can find about people facing the same situation but none of the suggestions have worked for me. I've tried changing the DNS settings, NTP settings, I've tried resolving IPv4 first, disabling IPv6, I've tried regenerating the NAS certificate... I don't think there is anything I have not tried. I have even used a switch with port mirroring to capture the NAS network communication using Wireshark and what I realized is that... the problem is anything but connectivity! On the TMDB API key form, the test function returns successful validation, and when I look at the Wireshark traffic there is indeed a DNS query and then active communication with api.themoviedb.org. Then I use the test function in the plugin list and the connection fails, moreover there is absolutely no communication with the internet, just an exchange between the NAS and the user browser saying that the test failed. The same case happened when I tried to install a 3rd-party metadata plugin in VideoStation, it says there is no internet connectivity... which is false, and again, Wireshark shows that there was no attempt to communicate outside the local network. Taking this a bit further, using SSH to test either the default TMDB plugin (or a third-party plugin dropped through SCP) works fine in the terminal, meaning that a perfect JSON response is received with all the expected metadata. So, my question at the moment is why Synology's VideoStation seemingly invents connectivity issues where there are none, and if there is anything that can be done about it? I assume that the issue must be at the binary level of VideoStation itself so I'm not getting my hopes up. Quote Link to comment Share on other sites More sharing options...
ner0 Posted 7 hours ago Share #5 Posted 7 hours ago Apparently this is an issue... Serial console [ 143.799058] audit: type=1400 audit(1715530151.021:2): apparmor="DENIED" operation="exec" profile="videostation_default_plugin" name="/usr/sbin/sed" pid=15874 comm="bash" requested_mask="x" denied_mask="x" fsuid=228233 ouid=0 [ 143.803147] audit: type=1400 audit(1715530151.025:3): apparmor="DENIED" operation="open" profile="videostation_default_plugin" name="/usr/sbin/sed" pid=15874 comm="bash" requested_mask="r" denied_mask="r" fsuid=228233 ouid=0 [ 143.810459] audit: type=1400 audit(1715530151.032:4): apparmor="DENIED" operation="exec" profile="videostation_default_plugin" name="/usr/sbin/sed" pid=15879 comm="bash" requested_mask="x" denied_mask="x" fsuid=228233 ouid=0 [ 143.814240] audit: type=1400 audit(1715530151.036:5): apparmor="DENIED" operation="open" profile="videostation_default_plugin" name="/usr/sbin/sed" pid=15879 comm="bash" requested_mask="r" denied_mask="r" fsuid=228233 ouid=0 [ 143.820832] audit: type=1400 audit(1715530151.043:6): apparmor="DENIED" operation="exec" profile="videostation_default_plugin" name="/usr/sbin/sed" pid=15884 comm="bash" requested_mask="x" denied_mask="x" fsuid=228233 ouid=0 [ 143.825004] audit: type=1400 audit(1715530151.047:7): apparmor="DENIED" operation="open" profile="videostation_default_plugin" name="/usr/sbin/sed" pid=15884 comm="bash" requested_mask="r" denied_mask="r" fsuid=228233 ouid=0 [ 143.831772] audit: type=1400 audit(1715530151.054:8): apparmor="DENIED" operation="exec" profile="videostation_default_plugin" name="/usr/sbin/sed" pid=15889 comm="bash" requested_mask="x" denied_mask="x" fsuid=228233 ouid=0 [ 143.835655] audit: type=1400 audit(1715530151.057:9): apparmor="DENIED" operation="open" profile="videostation_default_plugin" name="/usr/sbin/sed" pid=15889 comm="bash" requested_mask="r" denied_mask="r" fsuid=228233 ouid=0 [ 143.843663] audit: type=1400 audit(1715530151.065:10): apparmor="DENIED" operation="exec" profile="videostation_default_plugin" name="/usr/sbin/sed" pid=15894 comm="bash" requested_mask="x" denied_mask="x" fsuid=228233 ouid=0 [ 143.847538] audit: type=1400 audit(1715530151.069:11): apparmor="DENIED" operation="open" profile="videostation_default_plugin" name="/usr/sbin/sed" pid=15894 comm="bash" requested_mask="r" denied_mask="r" fsuid=228233 ouid=0 /var/log/messages 2024-05-12T17:09:11+01:00 VM-NAS plugin_runner[15868]: plugin_runner.cpp:82 Failed to execute plugin runner: /bin/env HOME=/ SHELL=/bin/false /bin/bash -p /var/packages/VideoStation/target/plugins/syno_plugin_tester/loader.sh --type movie --lang enu --input {"original_available":"2001-11-16","title":"Harry Potter"} --limit 1 --apikey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --path /var/packages/VideoStation/target/plugins/syno_themoviedb/loader.sh --pluginid com.synology.TheMovieDb 2024-05-12T17:09:11+01:00 VM-NAS plugin_runner[15943]: plugin_runner.cpp:82 Failed to execute plugin runner: /bin/env HOME=/ SHELL=/bin/false /bin/bash -p /var/packages/VideoStation/target/plugins/syno_plugin_tester/loader.sh --type tvshow --lang enu --input {"original_available":"2011-04-17","title":"Game of Thrones"} --limit 1 --apikey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --path /var/packages/VideoStation/target/plugins/syno_themoviedb/loader.sh --pluginid com.synology.TheMovieDb Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.