2018-07-07, 22:59
I’ve got Kodi running on a Raspberry Pi 2, OS is OpenElec V 8.0.4, Kodi build 17.3 June 2[sup]nd[/sup], 2017 =11ptI’m using an old 2.5” 250G laptop drive to store media, plugged into the RPI via USB. The drive is seen properly in Kodi, which has no problem reading files from the disc. I have not tried having Kodi write something to this disc, would not know how to get it to do that.
I’m not Linux guru by any means, but I know a little about it. The RPI setup is replacing a MythTV box that I used for several years before.
I’ve got the RPI set with static IP on a wired network connection. Apparently the “out of the box” configuration of Kodi is already set to allow my external drive to be shared out to the network. If I open any Windows machine on the network I don’t automatically see the RPI share, but if I point Windows Explorer at the IP address of the RPI I can access the drive (no username or password prompt requested).
Not having the RPI share show on the network is a small issue – I’d love to configure it so other machines on the network can see it without having to know the IP, but that’s minor. I can map it to a drive letter on my Win machine if I need quick access to it.
The big problem is with file transfers, which is critical. I often create videos for the family or for a local theater company, and I need to be able to transfer those files to the Kodi box so I can preview them on our main TV.
If I try transferring a small file across the network from Windows machine to RPI share it works fine. I can transfer a small text document or a photo, for example. However, if I try to transfer a larger file, it fails – always.
The Windows error is “An unexpected error is keeping you from copying the file.” This is followed by error code 0x8007003B: An Unexpected Network error has occurred.
Googling that points to discussions involving Windows Server 2012 and disabling the Windows Search service on that server – but I’m not using Windows Server.
I haven’t quite narrowed down the break point between file sizes that will transfer and those that won’t, but it appears as I get over 20Mb the process starts failing before completion. Way smaller than any video.
I have a number of other windows machines on the network, most with shares, and I have no problem transferring enormous files (gigabytes) back and forth normally – whether the source and target are on wired connections or wireless – all it takes is time.
I have another RPI on the network which I use as a dedicated music server. That RPI is set up almost identically, with an external drive shared to the network. It lives right next to the Kodi box in the same closet, on the same network (although it is wireless). I have no problem transferring large files to it.
I assume the permissions on the RPI/Kodi share are set properly since I CAN write files to the share over the network. I know the drive is not full – it’s a 250G drive that is almost completely empty.
Within Kodi, it has no problem reading files on that drive.
One unusual thing… If I look at System Information it reports a partition (/dev/sdb1) with a 1TB drive on it – which doesn’t exist. There are only two storage devices attached – the flash drive (a 16G SD) that runs OpenElec and the external USB 250G drive. Nothing else is connected, but Kodi reports this phantom 1TB drive.
I’ve done a small amount of work with smb.conf in past Linux setups, I’d love to look at it here but I have no idea how to get Kodi to let me see the command line, even.
Where do I start to troubleshoot? Is there a log file somewhere that might be useful?
Thanks,
Todd
I’m not Linux guru by any means, but I know a little about it. The RPI setup is replacing a MythTV box that I used for several years before.
I’ve got the RPI set with static IP on a wired network connection. Apparently the “out of the box” configuration of Kodi is already set to allow my external drive to be shared out to the network. If I open any Windows machine on the network I don’t automatically see the RPI share, but if I point Windows Explorer at the IP address of the RPI I can access the drive (no username or password prompt requested).
Not having the RPI share show on the network is a small issue – I’d love to configure it so other machines on the network can see it without having to know the IP, but that’s minor. I can map it to a drive letter on my Win machine if I need quick access to it.
The big problem is with file transfers, which is critical. I often create videos for the family or for a local theater company, and I need to be able to transfer those files to the Kodi box so I can preview them on our main TV.
If I try transferring a small file across the network from Windows machine to RPI share it works fine. I can transfer a small text document or a photo, for example. However, if I try to transfer a larger file, it fails – always.
The Windows error is “An unexpected error is keeping you from copying the file.” This is followed by error code 0x8007003B: An Unexpected Network error has occurred.
Googling that points to discussions involving Windows Server 2012 and disabling the Windows Search service on that server – but I’m not using Windows Server.
I haven’t quite narrowed down the break point between file sizes that will transfer and those that won’t, but it appears as I get over 20Mb the process starts failing before completion. Way smaller than any video.
I have a number of other windows machines on the network, most with shares, and I have no problem transferring enormous files (gigabytes) back and forth normally – whether the source and target are on wired connections or wireless – all it takes is time.
I have another RPI on the network which I use as a dedicated music server. That RPI is set up almost identically, with an external drive shared to the network. It lives right next to the Kodi box in the same closet, on the same network (although it is wireless). I have no problem transferring large files to it.
I assume the permissions on the RPI/Kodi share are set properly since I CAN write files to the share over the network. I know the drive is not full – it’s a 250G drive that is almost completely empty.
Within Kodi, it has no problem reading files on that drive.
One unusual thing… If I look at System Information it reports a partition (/dev/sdb1) with a 1TB drive on it – which doesn’t exist. There are only two storage devices attached – the flash drive (a 16G SD) that runs OpenElec and the external USB 250G drive. Nothing else is connected, but Kodi reports this phantom 1TB drive.
I’ve done a small amount of work with smb.conf in past Linux setups, I’d love to look at it here but I have no idea how to get Kodi to let me see the command line, even.
Where do I start to troubleshoot? Is there a log file somewhere that might be useful?
Thanks,
Todd