Kodi Community Forum
Accessing hidden .kodi Directory on LibreElec - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166)
+---- Thread: Accessing hidden .kodi Directory on LibreElec (/showthread.php?tid=322589)



Accessing hidden .kodi Directory on LibreElec - hewligun - 2017-10-16

I moved my openelec install over to libreelec for kodi 17. When I did that my editing of the samba.conf file worked fine and I could access over windows the .kodi folder. Over the weekend I upgraded libreelec to 17.4 and now it no longer allows me to see that folder in windows. When I check the samba.conf file I do see this

[storage]
  path = /storage
  available = yes
  browsable = yes
  public = yes
  writable = yes

Am I missing something? did it change with the newer versions to browse to the folder?

Here is my global below. Not sure I even need the global in it.

[global]
  server string = LibreELEC
  workgroup = WORKGROUP
  netbios name = %h
  security = share
  guest account = root
  socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
  smb ports = 445
  max protocol = SMB2
  min receivefile size = 16384
  deadtime = 30
  os level = 20
  mangled names = no
  syslog only = yes
  syslog = 2
  name resolve order = lmhosts wins bcast host
  preferred master = yes
  domain master = yes
  local master = yes
  printcap name = /dev/null
  load printers = no
  browseable = yes
  writeable = yes
  printable = no
  encrypt passwords = true
  enable core files = no
  passdb backend = smbpasswd
  smb encrypt = disabled
  use sendfile = yes


RE: Accessing hidden .kodi Directory on LibreElec - bubblegum57 - 2017-10-16

Try logging in via coreftp lite


RE: Accessing hidden .kodi Directory on LibreElec - DarrenHill - 2017-10-16

See also the release notes concerning the changes to samba

https://libreelec.tv/2017/09/libreelec-krypton-v8-1-2-beta/


RE: Accessing hidden .kodi Directory on LibreElec - Klojum - 2017-10-16

It depends which subfolder from .kodi you need. The folder .kodi itself is hidden, and can only be accessed via SSH.
For SMB matters, enable the SMBv1 in the LibreELEC Settings Add-on in case of an emergency. SMBv2 is now the default setting.


RE: Accessing hidden .kodi Directory on LibreElec - Milhouse - 2017-10-16

(2017-10-16, 19:17)hewligun Wrote: Am I missing something? did it change with the newer versions to browse to the folder?

You missed this in the announcement:
Quote:Samba detects v3 /storage/.config/samba.conf configurations and ignores them to avoid the Samba service failing on startup. If this happens Samba starts with a default v4 configuration. Custom Samba configurations must be updated to use the new Samba 4.x base template (samba.conf.sample).

Copy the new samba.conf.sample to samba.conf then add your [storage] share to the end of samba.conf.


RE: Accessing hidden .kodi Directory on LibreElec - hewligun - 2017-10-16

So I edited the sample file and added the storage to the bottom and rebooted but it still is not working.


RE: Accessing hidden .kodi Directory on LibreElec - Milhouse - 2017-10-16

(2017-10-16, 20:02)hewligun Wrote: So I edited the sample file and added the storage to the bottom and rebooted but it still is not working.

You don't edit the sample file, you copy it to your new samba.conf and edit samba.conf.


RE: Accessing hidden .kodi Directory on LibreElec - hewligun - 2017-10-16

(2017-10-16, 20:09)Milhouse Wrote:
(2017-10-16, 20:02)hewligun Wrote: So I edited the sample file and added the storage to the bottom and rebooted but it still is not working.

You don't edit the sample file, you copy it to your new samba.conf and edit samba.conf.

Sorry that is what I meant. used WinSCP and copied it then renamed it to samba.conf and added this at the end

  [storage]
  path = /storage
  available = yes
  browsable = yes
  public = yes
  writable = yes
  root preexec = mkdir -p /storage

then i copied it back and rebooted. I am not sure if i need the root prexec at the end but all the others in the sample had it.


RE: Accessing hidden .kodi Directory on LibreElec - hewligun - 2017-10-16

I got it working. For whatever reason removing the other directories and just making the storage one fixed it. Thanks for the help!