Jump to content

Disk Space Plugin now not showing other drive sizes


austie
 Share

Recommended Posts

I started using the disk space plugin about 5 months ago when I was starting to run low on one of my drives so that I could use Emby to report when I was at a certain threshold which was a awesome plugin when I found it so shout out to the developer Chef for that.

As I was running x2 Qnaps, x2 Windows Servers for storage plus the old i5 with a 256gb SSD only and I mapped 1 drive from each host as a network location to get the overall size of my library and threshold notifications.

It worked great up until about 2 weeks ago when I got a new QNAP to migrate x2 old computers on that and decommission at the insistence of my other half as she was sick of running the servers 24/7 primarily for Emby.

Now I can only see the C drive for the computer which I don't really care about as it's only got Windows and Emby installed with Norton Anti Virus also.

Has something changed that it will now not show network shares that have been mapped?

Link to comment
Share on other sites

Nope @PenkethBoyand haven't since I first migrated to this server, it was this server I first set it up on initially. 

Does it need to be? I tried researching and checking the forum for notes on this plug in but sadly couldn't find much

Link to comment
Share on other sites

PenkethBoy

no - a windows service does not see map drives

you have checked the plugin settings that you have the other drives enabled

Link to comment
Share on other sites

Was one of the 1st things I checked but they don't even show up that's what is bizarre it only shows the C drive

Previously I saw any mapped drive.

That's how I was both shocked and dismayed I had 64tb of storage as I had a network drive for each Movies, Music, TV Shows for each host and NAS

once I removed it all to one share each I was really impressed with the plugin.

If I hadn't of gotten this new NAS I wouldn't have found the problem as I've been managing the storage space by shifting to bigger shares

drives.JPG

Link to comment
Share on other sites

Nope definitely can see the account, as it's behind the firewall plus I use the same account across everything for emby it can see them

And apart from the new NAS everything has been as is since I first installed about 5 months ago.

Only thing that has changed on the box is windows 10 updates and now the new mapping for this new NAS.

Thats what has me really stumped.

It would be awesome if I could specify the drive details in the plugin but no sure how to reach out to the developer to suggest a few changes

Link to comment
Share on other sites

PenkethBoy

it will be the account not setup how you think it is or the mappings set to login with diff account or ....

are the mappings actually active i.e. they dont have a red X on them - as that would stop the plugin seeing them

or actually go to one of the mappings in explorer so its definatley active then refresh the plugin page does it appear?

Link to comment
Share on other sites

Yep again done all that and on the NAS box shares it has been set to guest be full control still same issue

However Emby in the library collection sees everything perfectly and no playback issues

Thats why Im stumped as to whats causing the issue

Link to comment
Share on other sites

Yep and nothing stood out to me

Im going to have a better look tonight after work, might even enable debug while im at work to see if it picks something up also.

Link to comment
Share on other sites

robs_drunk

Interesting

I installed the plug in on the weekend and I only see the C:\ from the server emby is installed on to even thought the server can see all the mapped drives.

I was thinking that I need it to look over the network but I couldn't find any way to change that either

Link to comment
Share on other sites

PenkethBoy

i just loaded this on my win 10 test server and its seeing my mapped drives

M to Y

this is on 4.6.0.5 and 1.0.4.3

1403523978_Annotation2020-11-11062550.thumb.jpg.e9113b0a0d485056432ad7e85b43caa5.jpg

Link to comment
Share on other sites

On 11/9/2020 at 3:41 AM, austie said:

Was one of the 1st things I checked but they don't even show up that's what is bizarre it only shows the C drive

Previously I saw any mapped drive.

That's how I was both shocked and dismayed I had 64tb of storage as I had a network drive for each Movies, Music, TV Shows for each host and NAS

once I removed it all to one share each I was really impressed with the plugin.

If I hadn't of gotten this new NAS I wouldn't have found the problem as I've been managing the storage space by shifting to bigger shares

drives.JPG

Could I see a server log? This is a strange thing. Because the plugin uses the filesystem endpoint in the API, I am wondering if we would see filesystem errors in the log, and also there would be some disk space logs to check out.

Link to comment
Share on other sites

I have pushed a release in the catalog  which enables all the logging. It will tell use exactly what the issue is. I had turned off logging before because stuff was working. 

If you update to 1.0.4.4 send me a log, or check it out, to see if anything stands out.

Link to comment
Share on other sites

On 11/9/2020 at 7:04 AM, austie said:

Yep again done all that and on the NAS box shares it has been set to guest be full control still same issue

Hi, Have you tried giving access to the specific user running Emby besides just guest?

Link to comment
Share on other sites

PenkethBoy

@chef - its working fine for me but

020-11-12 21:42:13.649 Info DiskSpaceService: DISK SPACE -- C:\
2020-11-12 21:42:13.649 Error DiskSpaceService: Index and length must refer to a location within the string. (Parameter 'length')
2020-11-12 21:42:13.649 Error DiskSpaceService: Index was outside the bounds of the array.
2020-11-12 21:42:13.650 Debug XmlSerializer: Deserializing file F:\EmbyCore\programdata\plugins\configurations\DiskSpace.xml
2020-11-12 21:42:13.665 Debug XmlSerializer: Serializing to file F:\EmbyCore\programdata\plugins\configurations\DiskSpace.xml
2020-11-12 21:42:13.671 Info DiskSpaceService: DISK SPACE -- F:\
2020-11-12 21:42:13.671 Error DiskSpaceService: Index and length must refer to a location within the string. (Parameter 'length')
2020-11-12 21:42:13.671 Error DiskSpaceService: Index was outside the bounds of the array.
2020-11-12 21:42:13.671 Debug XmlSerializer: Serializing to file F:\EmbyCore\programdata\plugins\configurations\DiskSpace.xml
2020-11-12 21:42:13.675 Info DiskSpaceService: DISK SPACE -- G:\
2020-11-12 21:42:13.675 Error DiskSpaceService: Index and length must refer to a location within the string. (Parameter 'length')
2020-11-12 21:42:13.675 Error DiskSpaceService: Index was outside the bounds of the array.
2020-11-12 21:42:13.676 Debug XmlSerializer: Serializing to file F:\EmbyCore\programdata\plugins\configurations\DiskSpace.xml
2020-11-12 21:42:13.683 Info DiskSpaceService: DISK SPACE -- M:\
2020-11-12 21:42:13.683 Error DiskSpaceService: Index and length must refer to a location within the string. (Parameter 'length')
2020-11-12 21:42:13.683 Error DiskSpaceService: Index was outside the bounds of the array.
2020-11-12 21:42:13.686 Info Server: http/1.1 GET http://localhost:8096/emby/Plugins/9ECAAC5F-435E-4C21-B1C0-D99423B68984/Configuration?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=d9a27c48-0767-4197-880a-fc4bf91a09b8&X-Emby-Client-Version=4.6.0.5. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.193 Safari/537.36
2020-11-12 21:42:13.687 Debug XmlSerializer: Serializing to file F:\EmbyCore\programdata\plugins\configurations\DiskSpace.xml
2020-11-12 21:42:13.690 Info Server: http/1.1 Response 200 to ::1. Time: 4ms. http://localhost:8096/emby/Plugins/9ECAAC5F-435E-4C21-B1C0-D99423B68984/Configuration?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=d9a27c48-0767-4197-880a-fc4bf91a09b8&X-Emby-Client-Version=4.6.0.5
2020-11-12 21:42:13.693 Info Server: http/1.1 GET http://localhost:8096/emby/GetDriveData?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=d9a27c48-0767-4197-880a-fc4bf91a09b8&X-Emby-Client-Version=4.6.0.5. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.193 Safari/537.36
2020-11-12 21:42:13.703 Info DiskSpaceService: DISK SPACE -- C:\
2020-11-12 21:42:13.703 Error DiskSpaceService: Index and length must refer to a location within the string. (Parameter 'length')
2020-11-12 21:42:13.703 Error DiskSpaceService: Index was outside the bounds of the array.
2020-11-12 21:42:13.704 Debug XmlSerializer: Serializing to file F:\EmbyCore\programdata\plugins\configurations\DiskSpace.xml
2020-11-12 21:42:13.704 Info DiskSpaceService: DISK SPACE -- F:\
2020-11-12 21:42:13.704 Error DiskSpaceService: Index and length must refer to a location within the string. (Parameter 'length')
2020-11-12 21:42:13.704 Error DiskSpaceService: Index was outside the bounds of the array.
2020-11-12 21:42:13.705 Debug XmlSerializer: Serializing to file F:\EmbyCore\programdata\plugins\configurations\DiskSpace.xml
2020-11-12 21:42:13.707 Info DiskSpaceService: DISK SPACE -- G:\
2020-11-12 21:42:13.707 Error DiskSpaceService: Index and length must refer to a location within the string. (Parameter 'length')
2020-11-12 21:42:13.707 Error DiskSpaceService: Index was outside the bounds of the array.
2020-11-12 21:42:13.708 Debug XmlSerializer: Serializing to file F:\EmbyCore\programdata\plugins\configurations\DiskSpace.xml
2020-11-12 21:42:13.714 Info DiskSpaceService: DISK SPACE -- M:\
2020-11-12 21:42:13.714 Error DiskSpaceService: Index and length must refer to a location within the string. (Parameter 'length')
2020-11-12 21:42:13.714 Error DiskSpaceService: Index was outside the bounds of the array.
2020-11-12 21:42:13.716 Info DiskSpaceService: DISK SPACE -- P:\
2020-11-12 21:42:13.716 Error DiskSpaceService: Index and length must refer to a location within the string. (Parameter 'length')
2020-11-12 21:42:13.716 Error DiskSpaceService: Index was outside the bounds of the array.
2020-11-12 21:42:13.719 Debug XmlSerializer: Serializing to file F:\EmbyCore\programdata\plugins\configurations\DiskSpace.xml
2020-11-12 21:42:13.719 Debug XmlSerializer: Serializing to file F:\EmbyCore\programdata\plugins\configurations\DiskSpace.xml
2020-11-12 21:42:13.744 Info DiskSpaceService: DISK SPACE -- P:\
2020-11-12 21:42:13.744 Error DiskSpaceService: Index and length must refer to a location within the string. (Parameter 'length')
2020-11-12 21:42:13.744 Error DiskSpaceService: Index was outside the bounds of the array.
2020-11-12 21:42:13.748 Debug XmlSerializer: Serializing to file F:\EmbyCore\programdata\plugins\configurations\DiskSpace.xml
2020-11-12 21:42:13.748 Info DiskSpaceService: DISK SPACE -- S:\
2020-11-12 21:42:13.748 Error DiskSpaceService: Index and length must refer to a location within the string. (Parameter 'length')
2020-11-12 21:42:13.748 Error DiskSpaceService: Index was outside the bounds of the array.
2020-11-12 21:42:13.751 Debug XmlSerializer: Serializing to file F:\EmbyCore\programdata\plugins\configurations\DiskSpace.xml
2020-11-12 21:42:13.773 Info DiskSpaceService: DISK SPACE -- S:\
2020-11-12 21:42:13.773 Error DiskSpaceService: Index and length must refer to a location within the string. (Parameter 'length')
2020-11-12 21:42:13.773 Error DiskSpaceService: Index was outside the bounds of the array.
2020-11-12 21:42:13.779 Debug XmlSerializer: Serializing to file F:\EmbyCore\programdata\plugins\configurations\DiskSpace.xml
2020-11-12 21:42:13.781 Info DiskSpaceService: DISK SPACE -- Y:\
2020-11-12 21:42:13.782 Error DiskSpaceService: Index and length must refer to a location within the string. (Parameter 'length')
2020-11-12 21:42:13.782 Error DiskSpaceService: Index was outside the bounds of the array.
2020-11-12 21:42:13.785 Debug XmlSerializer: Serializing to file F:\EmbyCore\programdata\plugins\configurations\DiskSpace.xml
2020-11-12 21:42:13.807 Info DiskSpaceService: DISK SPACE -- Y:\
2020-11-12 21:42:13.807 Error DiskSpaceService: Index and length must refer to a location within the string. (Parameter 'length')
2020-11-12 21:42:13.807 Error DiskSpaceService: Index was outside the bounds of the array.

 

Link to comment
Share on other sites

Yes, usually those errors would be thrown away, but just in case they could tell us something about the issues with ausstie, I logged them.

  • Like 1
Link to comment
Share on other sites

@austie did you have a chance to download 1.0.4.4? could you send a log if you are still having issues?

Edited by chef
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...