v17 Samba problems Kodi 17.4 Debian stretch
#1
I upgraded my kodi to 17.4 and moved the installation to a new Debian Stretch box. My movies, that were already in the database/ library, play fine but when I want to browse the smb share on my server the first 2 - 3 tries it works. But after that it takes forever, sometimes more than a few minutes for the folder to open. I tried everything that I could find on forums: adding my username and password to the media source, editing the user.conf in .kodi/.smb file ETC.

I'm at a loss here...

I'm using the package from deb.multimedia because the upstream 17.4 in debain is waiting to be packaged and is now on 17.3.

Code:
13:31:07.609 T:140118642851968  NOTICE: Starting Kodi (17.4 Git:Unknown). Platform: Linux x86 64-bit
13:31:07.609 T:140118642851968  NOTICE: Using Release Kodi x64 build
13:31:07.609 T:140118642851968  NOTICE: Kodi compiled Aug 28 2017 by GCC 6.3.0 for Linux x86 64-bit version 4.9.30 (264478)
13:31:07.609 T:140118642851968  NOTICE: Running on Debian GNU/Linux 9 (stretch), kernel: Linux x86 64-bit version 4.9.0-3-amd64
13:31:07.609 T:140118642851968  NOTICE: FFmpeg version/source: 3.3.4
13:31:07.610 T:140118642851968  NOTICE: Host CPU: AMD E-350D APU with Radeon(tm) HD Graphics, 2 cores available

my complete debug log:
https://pastebin.com/2RaJPQ2j

server

Code:
uname -a
Linux giver 3.13.0-108-generic #155-Ubuntu SMP Wed Jan 11 16:57:06 UTC 2017 i686 i686 i686 GNU/Linux
samba --version
Version 4.3.11-Ubuntu

I hope someone is able to help me out! Thanks in advance,

Arjhun
Reply
#2
If you want help and support here then you need to abide by the forum rules (wiki) that you accepted when you signed up here. Namely no banned addons (wiki) or repos installed.

Code:
13:31:08.073 T:140118642851968  NOTICE: ADDONS: Using repository superrepo.kodi.krypton.all

Please remove anything on that list before we can help you.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#3
(2017-09-24, 14:38)DarrenHill Wrote: If you want help and support here then you need to abide by the forum rules (wiki) that you accepted when you signed up here. Namely no banned addons (wiki) or repos installed.

Code:
13:31:08.073 T:140118642851968  NOTICE: ADDONS: Using repository superrepo.kodi.krypton.all

Please remove anything on that list before we can help you.

So sorry, removed it. Should I post again?
Reply
#4
No it's ok. There are no bad addons installed, just that repo. That's why I requested rather than binning the thread.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#5
(2017-09-24, 14:30)arjhun Wrote: ... after that it takes forever, sometimes more than a few minutes for the folder to open.

Since the log you posted contains only 1m4s of information I guess it's pretty safe to assume it doesn't include any detail pertaining to one of these "slow" connections, so is essentially of no value...

Can you post a debug log after you have reproduced one of these slow connections?

Also, what version of Samba is Stretch using (run "smbclient -V").
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#6
Smile 
OK, in desperation I decided to remove all my samba shares and replace them with NFS, and replacing all the paths in the xml export of the database (Very Very pleased with the performance so far Big Grin).

After that I was curious if I could reproduce the problems I had with samba because I wanted to respond with some info to the thread I started here. But fortunately for me, but unfortunately for finding out what the problem was, I wasn't able to reproduce the issues I was seeing before removing the old references to SMB locations and cleaning out the mediasources.xml and sources.xml. Everything worked fine after recreating my old smb shares, no more lag, no more timeouts.

For me this problem is solved now, too bad my lack of debugging experience in Kodi prevented me from finding out why. If other people are experiencing the same problems and are curious, I could bring my installation back to the point it was failing and debug again! I just learned that putting debug level to 3 debugs smb as well Confused...

in response to Milhouse:

Code:
smbclient --version
Version 4.5.8-Debian
Reply

Logout Mark Read Team Forum Stats Members Help
Samba problems Kodi 17.4 Debian stretch0