CBers 6771 Posted February 12, 2020 Share Posted February 12, 2020 The scheduled Task is failing as well. 2020-02-12 17:58:43.617 Debug TaskManager: Executing Disk Space Almost Full Notification 2020-02-12 17:58:43.643 Error TaskManager: Error *** Error Report *** Version: 4.4.0.13 Command line: C:\Users\Media\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp Operating system: Microsoft Windows NT 6.2.9200.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///C:/Users/Media/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll System.Environment.Version: 3.1.1 Processor count: 4 Program data path: C:\Users\Media\AppData\Roaming\Emby-Server Application directory: C:\Users\Media\AppData\Roaming\Emby-Server\system System.InvalidCastException: System.InvalidCastException: Unable to cast object of type 'WhereSelectListIterator`2[DiskSpace.Configuration.MonitoredPartition,System.String]' to type 'System.IConvertible'. at System.Convert.ToDouble(Object value) at DiskSpace.DiskSpaceScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options) Source: System.Private.CoreLib TargetSite: Double ToDouble(System.Object) 2020-02-12 17:58:43.643 Debug TaskManager: Disk Space Almost Full Notification Failed after 0 minute(s) and 0 seconds 1 Link to comment Share on other sites More sharing options...
chef 3746 Posted February 12, 2020 Author Share Posted February 12, 2020 The scheduled Task is failing as well. 2020-02-12 17:58:43.617 Debug TaskManager: Executing Disk Space Almost Full Notification 2020-02-12 17:58:43.643 Error TaskManager: Error *** Error Report *** Version: 4.4.0.13 Command line: C:\Users\Media\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp Operating system: Microsoft Windows NT 6.2.9200.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///C:/Users/Media/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll System.Environment.Version: 3.1.1 Processor count: 4 Program data path: C:\Users\Media\AppData\Roaming\Emby-Server Application directory: C:\Users\Media\AppData\Roaming\Emby-Server\system System.InvalidCastException: System.InvalidCastException: Unable to cast object of type 'WhereSelectListIterator`2[DiskSpace.Configuration.MonitoredPartition,System.String]' to type 'System.IConvertible'. at System.Convert.ToDouble(Object value) at DiskSpace.DiskSpaceScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options) Source: System.Private.CoreLib TargetSite: Double ToDouble(System.Object) 2020-02-12 17:58:43.643 Debug TaskManager: Disk Space Almost Full Notification Failed after 0 minute(s) and 0 seconds Found it! Thank. should be fixed in 1.0.2.95 Hopefully the threshold is honored during the task. 1 Link to comment Share on other sites More sharing options...
CBers 6771 Posted February 12, 2020 Share Posted February 12, 2020 OK, so .95 doesn't fail for the Scehduked Task, but the individual thresholds aren't saved. They keep resetting to 10, even after changing them and saving them. Link to comment Share on other sites More sharing options...
CBers 6771 Posted February 12, 2020 Share Posted February 12, 2020 OK, so .95 doesn't fail for the Scehduked Task, but the individual thresholds aren't saved. They keep resetting to 10, even after changing them and saving them. Is it only saving the threshold value to the first drive monitored? <?xml version="1.0"?> <PluginConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <AvailableColor>#2cf905</AvailableColor> <AvailableOutline>#000000</AvailableOutline> <UsedColor>#f70505</UsedColor> <UsedOutline>#000000</UsedOutline> <MonitoredPartitions> <MonitoredPartition> <Name>C</Name> <Threshold>100</Threshold> </MonitoredPartition> </MonitoredPartitions> <IgnoredPartitions> <string>E</string> <string>M</string> <string>U</string> <string>T</string> <string>S</string> <string>R</string> </IgnoredPartitions> <DataDisplayRender>table</DataDisplayRender> </PluginConfiguration> Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted February 12, 2020 Share Posted February 12, 2020 @@chef i get this if i use the up/down arrows (pressed 5 times) <?xml version="1.0"?> <PluginConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <AvailableColor>#ffff00</AvailableColor> <AvailableOutline>#000000</AvailableOutline> <UsedColor>#ff0000</UsedColor> <UsedOutline>#000</UsedOutline> <Threshold>400</Threshold> <MonitoredPartitions> <MonitoredPartition> <Name>Z</Name> <Threshold>11</Threshold> </MonitoredPartition> <MonitoredPartition> <Name>Z</Name> <Threshold>12</Threshold> </MonitoredPartition> <MonitoredPartition> <Name>Z</Name> <Threshold>13</Threshold> </MonitoredPartition> <MonitoredPartition> <Name>Z</Name> <Threshold>14</Threshold> </MonitoredPartition> <MonitoredPartition> <Name>Z</Name> <Threshold>15</Threshold> </MonitoredPartition> </MonitoredPartitions> <IgnoredPartitions /> <DataDisplayRender>table</DataDisplayRender> </PluginConfiguration> also note the old threshold is not removed i.e. the 400 1 Link to comment Share on other sites More sharing options...
chef 3746 Posted February 12, 2020 Author Share Posted February 12, 2020 (edited) I think this has been fixed. If anyone else reads this, please continue the updates until .96 it's the least buggy at the moment. Edited February 12, 2020 by chef 1 Link to comment Share on other sites More sharing options...
chef 3746 Posted February 12, 2020 Author Share Posted February 12, 2020 @@chef i get this if i use the up/down arrows (pressed 5 times) <?xml version="1.0"?> <PluginConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <AvailableColor>#ffff00</AvailableColor> <AvailableOutline>#000000</AvailableOutline> <UsedColor>#ff0000</UsedColor> <UsedOutline>#000</UsedOutline> <Threshold>400</Threshold> <MonitoredPartitions> <MonitoredPartition> <Name>Z</Name> <Threshold>11</Threshold> </MonitoredPartition> <MonitoredPartition> <Name>Z</Name> <Threshold>12</Threshold> </MonitoredPartition> <MonitoredPartition> <Name>Z</Name> <Threshold>13</Threshold> </MonitoredPartition> <MonitoredPartition> <Name>Z</Name> <Threshold>14</Threshold> </MonitoredPartition> <MonitoredPartition> <Name>Z</Name> <Threshold>15</Threshold> </MonitoredPartition> </MonitoredPartitions> <IgnoredPartitions /> <DataDisplayRender>table</DataDisplayRender> </PluginConfiguration> also note the old threshold is not removed i.e. the 400 Should be resolved. I stupidly wrote this: config.MonitoredPartitions = config.MonitoredPartitions.filter((entry) => entry.Name === partitionName); when it should have been this: config.MonitoredPartitions = config.MonitoredPartitions.filter((entry) => entry.Name !== partitionName); Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted February 12, 2020 Share Posted February 12, 2020 Yep - working on table and chart - setting thresholds still have old threshold number though Link to comment Share on other sites More sharing options...
chef 3746 Posted February 12, 2020 Author Share Posted February 12, 2020 Yep - working on table and chart - setting thresholds still have old threshold number though Oh, that's not good. Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted February 12, 2020 Share Posted February 12, 2020 now we have thresholds per drive - could you show those thresholds so we dont have to click on each drive to see whats set etc Thanks again Chef ps i removed the old threshold manually with the server shut down 1 Link to comment Share on other sites More sharing options...
CBers 6771 Posted February 12, 2020 Share Posted February 12, 2020 Looking good on .96, thanks Chef. 1 Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted February 12, 2020 Share Posted February 12, 2020 Chef in the config dialog if i uncheck a drive - get spinning circle of death although quitting the dialog and going back appears to clear it 1 Link to comment Share on other sites More sharing options...
CBers 6771 Posted February 12, 2020 Share Posted February 12, 2020 in the config dialog if i uncheck a drive - get spinning circle of death Also if you check a previously unchecked drive. 2 Link to comment Share on other sites More sharing options...
chef 3746 Posted February 12, 2020 Author Share Posted February 12, 2020 now we have thresholds per drive - could you show those thresholds so we dont have to click on each drive to see whats set etc Thanks again Chef ps i removed the old threshold manually with the server shut down Yes, I can add a column on the table view. Do we need to show them on the chart view too? Link to comment Share on other sites More sharing options...
chef 3746 Posted February 12, 2020 Author Share Posted February 12, 2020 Chef in the config dialog if i uncheck a drive - get spinning circle of death although quitting the dialog and going back appears to clear it Okay, spinning circle of death is not a good thing. I'll look at that immediately. Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted February 12, 2020 Share Posted February 12, 2020 Yes, I can add a column on the table view. Do we need to show them on the chart view too? for me probably not as can change to table view easy enough to see the values Link to comment Share on other sites More sharing options...
chef 3746 Posted February 12, 2020 Author Share Posted February 12, 2020 Should be fixed now in .97 Thank you guys! 1 Link to comment Share on other sites More sharing options...
chef 3746 Posted February 13, 2020 Author Share Posted February 13, 2020 now we have thresholds per drive - could you show those thresholds so we dont have to click on each drive to see whats set etc Thanks again Chef ps i removed the old threshold manually with the server shut down This has been added to .98 I've been messing around with it for about and hour trying to break the code. It seems pretty stable. Might have a bug removing monitored drives in table view if there are threshold limits attached to the configuration. TODO: remove global threshold from the configuration. had to wait to make sure the changes weren't going to break everything. Link to comment Share on other sites More sharing options...
CBers 6771 Posted February 13, 2020 Share Posted February 13, 2020 now we have thresholds per drive - could you show those thresholds so we dont have to click on each drive to see whats set etc This has been added to .98 This option is only available in the LINE chart, so can it be added to the PIE chart as well ? Can you update the ICONS at the top please. The configuration button would look better with a COG icon and the chart switch with a REFRESH type button. I think that's how you originally had them. Just my opinon, so see what others say. 2 Link to comment Share on other sites More sharing options...
Dibbes 431 Posted February 13, 2020 Share Posted February 13, 2020 @@chef I haven't read all here, but is it by design that network and mapped drives are not being displayed anymore? For the rest, responsiveness has improved a LOT and the drawing of the graphs is now perfect! Me like! 1 Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted February 13, 2020 Share Posted February 13, 2020 seeing mapped drives on latest version Link to comment Share on other sites More sharing options...
Dibbes 431 Posted February 13, 2020 Share Posted February 13, 2020 Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted February 13, 2020 Share Posted February 13, 2020 well all mine show up fine and can enable/disable as necessary mine is on win 10 looking at a win 2012r2 server Link to comment Share on other sites More sharing options...
chef 3746 Posted February 13, 2020 Author Share Posted February 13, 2020 that is very strange. I haven't changed any of the info classes. So it should be requesting the information from the OS the same as before. Are you on a beta server version? Link to comment Share on other sites More sharing options...
Dibbes 431 Posted February 13, 2020 Share Posted February 13, 2020 that is very strange. I haven't changed any of the info classes. So it should be requesting the information from the OS the same as before. Are you on a beta server version? Yes, 4.4.0.13 beta on Windows Server 2016 with both Chrome (and recently installed Mozilla) on Windows 10 fully patched 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