Santrex 7 Posted July 3, 2022 Share Posted July 3, 2022 Good afternoon, colleagues. I have a problem. It happened today after a server restart. I have updated one of the plugins, which is currently not compatible with my version of EMBY. Unfortunately, now there is no way to update all EMBY servers that are involved in Production (there are a lot of scripts working with the API - they need to be tested for new builds). Automatic updating leads to the "inoperability" of one of the pieces responsible for the statistics of views. I need to disable automatic plugin updates. I'm thinking about the ability to block access to the update site? Then it won't let him do it. Can you tell me what addresses it takes to view the "Catalogue" of plugins? I have Emby Premiere. 1 Link to comment Share on other sites More sharing options...
Happy2Play 8319 Posted July 3, 2022 Share Posted July 3, 2022 Not recommended but you can disable the hidden scheduled task in the api. { "Name": "Check for plugin updates", "State": "Idle", "Id": "c27fda37dfb6e39be141191aaa1c3060", "LastExecutionResult": { "StartTimeUtc": "2022-07-03T08:51:33.2256919Z", "EndTimeUtc": "2022-07-03T08:51:34.0958206Z", "Status": "Completed", "Name": "Check for plugin updates", "Key": "PluginUpdates", "Id": "c27fda37dfb6e39be141191aaa1c3060" }, "Triggers": [ { "Type": "StartupTrigger" }, { "Type": "IntervalTrigger", "IntervalTicks": 108000000000 } Link to comment Share on other sites More sharing options...
Santrex 7 Posted July 3, 2022 Author Share Posted July 3, 2022 I found this task by the ID you provided. Will the DELETE method help in this matter? I not see method for Disabled. Or is it somehow possible to do this through the EMBY Config? Link to comment Share on other sites More sharing options...
Happy2Play 8319 Posted July 3, 2022 Share Posted July 3, 2022 3 minutes ago, Santrex said: I found this task by the ID you provided. Will the DELETE method help in this matter? I not see method for Disabled. Or is it somehow possible to do this through the EMBY Config? No you need to remove the triggers. Link to comment Share on other sites More sharing options...
Santrex 7 Posted July 3, 2022 Author Share Posted July 3, 2022 1 minute ago, Happy2Play said: No you need to remove the triggers. /ScheduledTasks/{Id}/Triggers Is there an example? Link to comment Share on other sites More sharing options...
Happy2Play 8319 Posted July 3, 2022 Share Posted July 3, 2022 2 minutes ago, Santrex said: /ScheduledTasks/{Id}/Triggers Is there an example? This will create a custom scheduled task in /config/scheduledtasks folder. So to reenable you would update via api or delete this custom task. 1 Link to comment Share on other sites More sharing options...
Santrex 7 Posted July 3, 2022 Author Share Posted July 3, 2022 Thank you! I will try. Unsubscribe about the result. Link to comment Share on other sites More sharing options...
Luke 37133 Posted July 3, 2022 Share Posted July 3, 2022 Most plugin updates are compatibility updates. If you don't get those you're just going to cause yourself more problems. That's why it's not optional. Link to comment Share on other sites More sharing options...
Santrex 7 Posted July 4, 2022 Author Share Posted July 4, 2022 18 hours ago, Luke said: Most plugin updates are compatibility updates. If you don't get those you're just going to cause yourself more problems. That's why it's not optional. I understand. This is temporary. We suggest time to update the server. Link to comment Share on other sites More sharing options...
Santrex 7 Posted July 4, 2022 Author Share Posted July 4, 2022 I tried to do as you said. I created ScheduledTasks and it appeared in my folder as you said. But updates are still going on. I restarted the server and checked the status of this Tasks via the API and it returned me: {"Name":"Check for plugin updates","State":"Idle","Id":"c27fda37dfb6e39be141191aaa1c3060","LastExecutionResult":{"StartTimeUtc":"2022-07-04T09:33:14.4668172Z","EndTimeUtc":"2022-07-04T09:33:16.1046764Z","Status":"Completed","Name":"Check for plugin updates","Key":"PluginUpdates","Id":"c27fda37dfb6e39be141191aaa1c3060"},"Triggers":[{"Type":"StartupTrigger"},{"Type":"IntervalTrigger","IntervalTicks":108000000000}],"Description":"Downloads and installs updates for plugins that are configured to update automatically.","Category":"Application","IsHidden":true,"Key":"PluginUpdates"} Link to comment Share on other sites More sharing options...
Santrex 7 Posted July 4, 2022 Author Share Posted July 4, 2022 I am using this construct on Powershell ------------------------------- $url_task_triggered="http://"+$ServerEmby+":8096/ScheduledTasks/c27fda37dfb6e39be141191aaa1c3060/Triggers?api_key=$api_key"; $result_task_triggered=Invoke-WebRequest -Uri $url_task_triggered -Method POST -ContentType "application/json;charset=utf-8;" $result_task_triggered.StatusCode Link to comment Share on other sites More sharing options...
Santrex 7 Posted July 4, 2022 Author Share Posted July 4, 2022 It is possible if this is done using the SQLLite database or through some EMBY configuration file? Link to comment Share on other sites More sharing options...
Santrex 7 Posted July 4, 2022 Author Share Posted July 4, 2022 I know there are files with Tasks in the folder. C:\Emby\programdata\data\ScheduledTasks I found it there c27fda37-dfb6-e39b-e141-191aaa1c3060.js and deleted. BUT it was created after restarting the server. I tried removing the "permissions" ACL from it and that didn't help either... Link to comment Share on other sites More sharing options...
Santrex 7 Posted July 4, 2022 Author Share Posted July 4, 2022 (edited) I still think that it would be possible to "temporarily" block the address from which he downloads the Plugin update. The main thing is that this does not affect Emby Premiere. Do you have the address they install them from? Or get a list of new versions? @Luke Edited July 4, 2022 by Santrex Link to comment Share on other sites More sharing options...
Santrex 7 Posted July 4, 2022 Author Share Posted July 4, 2022 This link? https://www.mb3admin.com/admin/service/EmbyPackages.json Link to comment Share on other sites More sharing options...
Luke 37133 Posted July 4, 2022 Share Posted July 4, 2022 3 hours ago, Santrex said: This link? https://www.mb3admin.com/admin/service/EmbyPackages.json That's the list of updates, yes. 1 Link to comment Share on other sites More sharing options...
Happy2Play 8319 Posted July 4, 2022 Share Posted July 4, 2022 (edited) 7 hours ago, Santrex said: I know there are files with Tasks in the folder. C:\Emby\programdata\data\ScheduledTasks I found it there c27fda37-dfb6-e39b-e141-191aaa1c3060.js and deleted. BUT it was created after restarting the server. I tried removing the "permissions" ACL from it and that didn't help either... Data task will always regenerate themselves, that is why the custom tasks folder is created in config. If there is content beside [] in the config custom task you did not do it right. content of the custom task.js Edited July 4, 2022 by Happy2Play 1 Link to comment Share on other sites More sharing options...
Santrex 7 Posted July 5, 2022 Author Share Posted July 5, 2022 15 hours ago, Happy2Play said: Data task will always regenerate themselves, that is why the custom tasks folder is created in config. If there is content beside [] in the config custom task you did not do it right. content of the custom task.js All right. I did as you saw and as you showed. I restarted the Service several times, but it always made the Plugin update back ;( Maybe my software version is too old. So far, I have stopped at a temporary blocking of the update through a link. I will test the option with Task, a little later. Link to comment Share on other sites More sharing options...
Santrex 7 Posted July 7, 2022 Author Share Posted July 7, 2022 So far I've solved the problem... Not very beautiful, and errors in the logs, but I have no option. Link to comment Share on other sites More sharing options...
nahtay 2 Posted July 7, 2022 Share Posted July 7, 2022 Having the same issue. Link to comment Share on other sites More sharing options...
Happy2Play 8319 Posted July 7, 2022 Share Posted July 7, 2022 Honestly have no idea as all I do is remove the triggers and have never had a plugin update since and have to run the task manually Same as all other tasks that I have removed triggers from. { "Name": "Check for plugin updates", "State": "Idle", "Id": "c27fda37dfb6e39be141191aaa1c3060", "LastExecutionResult": { "StartTimeUtc": "2022-07-07T03:12:07.7685251Z", "EndTimeUtc": "2022-07-07T03:12:08.6219540Z", "Status": "Completed", "Name": "Check for plugin updates", "Key": "PluginUpdates", "Id": "c27fda37dfb6e39be141191aaa1c3060" }, "Triggers": [], "Description": "Downloads and installs updates for plugins that are configured to update automatically.", "Category": "Application", "IsHidden": true, "Key": "PluginUpdates" } Link to comment Share on other sites More sharing options...
Luke 37133 Posted July 7, 2022 Share Posted July 7, 2022 1 hour ago, nahtay said: Having the same issue. HI there, what issue do you think you're having? Link to comment Share on other sites More sharing options...
nahtay 2 Posted July 7, 2022 Share Posted July 7, 2022 Emby playback plugin keeps updating and it won't work presumably because I can't update to most current emby server version due to my mac being old. Link to comment Share on other sites More sharing options...
Luke 37133 Posted July 7, 2022 Share Posted July 7, 2022 4 minutes ago, nahtay said: Emby playback plugin keeps updating and it won't work presumably because I can't update to most current emby server version due to my mac being old. HI, what playback plugin? You don't need to worry about hacking this. It will only update you to a version of the plugin that is appropriate for your server version. Link to comment Share on other sites More sharing options...
nahtay 2 Posted July 7, 2022 Share Posted July 7, 2022 Playback Reporting. It keeps uninstalling after it auto ugprades to latest version of plugin. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now