[New Addon] Samba NAS. (Mount external disk and share it )

Hi, I’m new here and have a problem.
I’m probably just doing something wrong but cannot find out what.

It seems like the same problem as chowdarygm but i installed a MQTT and restarted the system and get the log below.

The original Samba share worked just fine.

Thank you in advance !

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] automount.sh: executing... 
[15:58:22] INFO: Protection Mode is true
[15:58:22] WARNING: MoreDisk ignored because ADDON in Protected Mode!
[15:58:23] WARNING: 
[15:58:23] WARNING: A recommended add-on configuration option is not set.
[15:58:23] WARNING: 
[15:58:23] WARNING: The configuration key 'protected' seems to be empty.
[15:58:23] WARNING: 
[15:58:23] WARNING: 
[15:58:23] WARNING: Consider configuring this because:
[15:58:23] WARNING: moredisk only work when Protection mode is disabled
[15:58:23] WARNING: Check the add-on manual for more information.
[15:58:23] WARNING: 
[cont-init.d] automount.sh: exited 0.
[cont-init.d] mqtt.sh: executing... 
[cont-init.d] mqtt.sh: exited 0.
[cont-init.d] samba.sh: executing... 
[15:58:27] INFO: Hostname: homeassistant
tdbsam_open: Converting version 0.0 database to version 4.0.
tdbsam_convert_backup: updated /var/lib/samba/private/passdb.tdb file.
Added user sjors.
[cont-init.d] samba.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
nmbd version 4.12.7 started.
Copyright Andrew Tridgell and the Samba Team 1992-2020
[15:58:29] INFO: Starting the AVAHI daemon for homeassistant...
[15:58:29] INFO: Starting the MQTT daemon for disks info...
daemon_ready: daemon 'nmbd' finished starting up and ready to serve connections
Waiting for daemon ...
smbd version 4.12.7 started.
Copyright Andrew Tridgell and the Samba Team 1992-2020
INFO: Profiling support unavailable in this build.
daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
[15:58:30] INFO: Sending MQTT autodiscovery...
df: /<PARTITION: can't find mount point
/usr/local/bin/mqtt_daemon.sh: line 42: fsdata[1]: unbound variable
Got SIGTERM: going down...
Got SIGTERM, quitting.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] mqtt.sh: executing... 
[15:58:33] INFO: MQTT cleanup.
homeassistant/sensor/sambanas/a_size/config {"name": "sambanas Size /config", "unit_of_measurement": "Kb","unique_id":"sambanas_size_config","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk","value_template": "{{ value_json.size_config}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/a_used/config {"name": "sambanas Used /config", "unit_of_measurement": "Kb","unique_id":"sambanas_used_config","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.used_config}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/a_available/config {"name": "sambanas Available /config", "unit_of_measurement": "Kb","unique_id":"sambanas_available_config","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.available_config}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/a_use/config {"name": "sambanas Use% /config", "unit_of_measurement": "%","unique_id":"sambanas_use_config","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.use_config}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/b_size/config {"name": "sambanas Size /addons", "unit_of_measurement": "Kb","unique_id":"sambanas_size_addons","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk","value_template": "{{ value_json.size_addons}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/b_used/config {"name": "sambanas Used /addons", "unit_of_measurement": "Kb","unique_id":"sambanas_used_addons","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.used_addons}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/b_available/config {"name": "sambanas Available /addons", "unit_of_measurement": "Kb","unique_id":"sambanas_available_addons","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.available_addons}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/b_use/config {"name": "sambanas Use% /addons", "unit_of_measurement": "%","unique_id":"sambanas_use_addons","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.use_addons}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/c_size/config {"name": "sambanas Size /ssl", "unit_of_measurement": "Kb","unique_id":"sambanas_size_ssl","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk","value_template": "{{ value_json.size_ssl}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/c_used/config {"name": "sambanas Used /ssl", "unit_of_measurement": "Kb","unique_id":"sambanas_used_ssl","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.used_ssl}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/c_available/config {"name": "sambanas Available /ssl", "unit_of_measurement": "Kb","unique_id":"sambanas_available_ssl","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.available_ssl}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/c_use/config {"name": "sambanas Use% /ssl", "unit_of_measurement": "%","unique_id":"sambanas_use_ssl","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.use_ssl}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/d_size/config {"name": "sambanas Size /share", "unit_of_measurement": "Kb","unique_id":"sambanas_size_share","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk","value_template": "{{ value_json.size_share}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/d_used/config {"name": "sambanas Used /share", "unit_of_measurement": "Kb","unique_id":"sambanas_used_share","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.used_share}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/d_available/config {"name": "sambanas Available /share", "unit_of_measurement": "Kb","unique_id":"sambanas_available_share","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.available_share}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/d_use/config {"name": "sambanas Use% /share", "unit_of_measurement": "%","unique_id":"sambanas_use_share","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.use_share}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/e_size/config {"name": "sambanas Size /backup", "unit_of_measurement": "Kb","unique_id":"sambanas_size_backup","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk","value_template": "{{ value_json.size_backup}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/e_used/config {"name": "sambanas Used /backup", "unit_of_measurement": "Kb","unique_id":"sambanas_used_backup","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.used_backup}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/e_available/config {"name": "sambanas Available /backup", "unit_of_measurement": "Kb","unique_id":"sambanas_available_backup","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.available_backup}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/e_use/config {"name": "sambanas Use% /backup", "unit_of_measurement": "%","unique_id":"sambanas_use_backup","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.use_backup}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/f_size/config {"name": "sambanas Size /media", "unit_of_measurement": "Kb","unique_id":"sambanas_size_media","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk","value_template": "{{ value_json.size_media}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/f_used/config {"name": "sambanas Used /media", "unit_of_measurement": "Kb","unique_id":"sambanas_used_media","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.used_media}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/f_available/config {"name": "sambanas Available /media", "unit_of_measurement": "Kb","unique_id":"sambanas_available_media","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.available_media}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/f_use/config {"name": "sambanas Use% /media", "unit_of_measurement": "%","unique_id":"sambanas_use_media","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.use_media}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/g_size/config {"name": "sambanas Size /<PARTITION", "unit_of_measurement": "Kb","unique_id":"sambanas_size_<partition","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk","value_template": "{{ value_json.size_<partition}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/g_used/config {"name": "sambanas Used /<PARTITION", "unit_of_measurement": "Kb","unique_id":"sambanas_used_<partition","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.used_<partition}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/g_available/config {"name": "sambanas Available /<PARTITION", "unit_of_measurement": "Kb","unique_id":"sambanas_available_<partition","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.available_<partition}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/g_use/config {"name": "sambanas Use% /<PARTITION", "unit_of_measurement": "%","unique_id":"sambanas_use_<partition","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.use_<partition}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/h_size/config {"name": "sambanas Size /LABEL>", "unit_of_measurement": "Kb","unique_id":"sambanas_size_label>","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk","value_template": "{{ value_json.size_label>}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/h_used/config {"name": "sambanas Used /LABEL>", "unit_of_measurement": "Kb","unique_id":"sambanas_used_label>","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.used_label>}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/h_available/config {"name": "sambanas Available /LABEL>", "unit_of_measurement": "Kb","unique_id":"sambanas_available_label>","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.available_label>}}", "state_topic": "homeassistant/sensor/sambanas/state"}
homeassistant/sensor/sambanas/h_use/config {"name": "sambanas Use% /LABEL>", "unit_of_measurement": "%","unique_id":"sambanas_use_label>","device":{"identifiers":["sambanas"],"name": "Samba Nas Sensors", "model": "Samba Version 4.12.7", "manufacturer": "@Dianlight"},"icon":"mdi:harddisk", "value_template": "{{ value_json.use_label>}}", "state_topic": "homeassistant/sensor/sambanas/state"}
s6-maximumtime: warning: unable to wait for child process: Operation timed out
[cont-finish.d] mqtt.sh: exited 99.
[cont-finish.d] umount.sh: executing... 
[15:58:38] INFO: Unmount drivers.
umount: /dev: target is busy.
[cont-finish.d] umount.sh: exited 32.
[cont-finish.d] done.
[s6-finish] waiting for services.
s6-svwait: fatal: unable to subscribe to events for /var/run/s6/services/mqtt-handler-service: Read-only file system
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

my configuration looks like this.

workgroup: WORKGROUP
username: sjors
password: 
interface: eth0
allow_hosts:
  - 10.0.0.0/8
  - 172.16.0.0/12
  - 192.168.178.220/16
  - 'fe80::/10'
moredisks:
  - <PARTITION LABEL>
veto_files:
  - ._*
  - .DS_Store
  - Thumbs.db
  - icon?
  - .Trashes
compatibility_mode: true
autodiscovery: {}

I see two problems here:

  • You run the addon in Protection Mode? Is not tested. Don’t do it! :slight_smile:
  • <PARTITION LABEL> is not a valid disk label is only the example in config. You need to put in moredisks option the label(s) of your partition(s) on the external drive you want to mount.

Hey,

Thank you!! changing the protection mode worked.
Thank you for the great add on and the help!

I was hoping to connect my usb 2TB drive to my rpi4b and share it but I read in the docs.md that it is not supported due to ntfs. Any idea when you will support it?

What are filesystem you using? I believe this is a problem with docker / the os or something, not something that you can just support. You could try to just copy everything off, reformat it, and copy it back.

Filesystem is ntfs. Also planning on getting a bigger drive so fat32 isn’t an option since its max is 2TB

I used ext4 on my 512GB one and that worked fine, only problem is that only Linux will be able to access it.

I have the same problem.
Also using a ntfs drive (2tb) on my raspberry pi 3+.

i would like to keep the drive ntfs and have seen raspberry pi add-ons to handle these driver.
However i dont know how to install them.

ntfs-3g should enable writing on the driver, however i dont know how to install this because i installed home assistant directly as shown in the getting started. (sudo apt-get install ntfs-3g does not work in the terminal add on)

Does someone know how i could install this ?

thank you for the help.

I had a hard time figuring out how to use this add-on, but I got it to work :tada:

I have now set up my Macbook to automatically backup using Timemachine to my NUC that has a 2TB external HDD.

Here I document what I did.

I went into the host system using the Proxmox web interface.

First I checked which device my USB HDD corresponded to using:

lsblk

this told me I had to use /dev/sdb.

Then I removed all partitions using

fdisk /dev/sdb
d
w

and then added a new partition using

fdisk /dev/sdb
n
# accept defaults and hit return
w

Then I created a filesystem using (change LABEL_HERE to the label you like)

mkfs.ext4 -L LABEL_HERE /dev/sdb1

Then I set the moredisks setting in the add-on configuration to

moredisks:
  - LABEL_HERE

And that’s it!

6 Likes

HI Lucio,

I’m interesting in mount my external share to be used with plex for Hassio… What you done with plex add-on?

You need to use my version of the plex addon (Plex Media Server with NAS
) to remount the exposed disk.

For example my sambanas config:

workgroup: WORKGROUP
username: ##########
password: **********
interface: ''
allow_hosts:
  - 10.0.0.0/8
  - 172.16.0.0/12
  - 192.168.0.0/16
moredisks:
  - LIBRARY
veto_files:
  - ._*
  - .DS_Store
  - Thumbs.db
  - icon?
  - .Trashes
compatibility_mode: false
autodiscovery: {}

My Plex Media Server with NAS
config:

claim_code: claim-**********
webtools: true
networkdisks:
  - //192.168.0.250/LIBRARY
cifsusername: ##########
cifspassword: **************

NOTE: 192.168.0.250 is the address of my ha installation.

Hi Lucio, thank you for your answer. Yesterday night I found your version of plex add-on, but I’m not able to load my shares (I would like to load a disk shared by my fritz!box 7590). When I start the plex add-on I’ve all times in the log:

[00:17:45] INFO: Starting the Plex Media Server...
[00:17:45] INFO: Network Disks mounting.. //192.168.178.1/Elements4TB_ANIMAZIONE
//192.168.178.1/FILM_Elements2TB
[00:17:45] INFO: Mount //192.168.178.1/Elements4TB_ANIMAZIONE
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[00:17:45] INFO: Mount //192.168.178.1/FILM_Elements2TB
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[00:17:45] WARNING: Protection mode is ON. Unable to mount external drivers

Seems that username or password are not correct, but I doulbe checked and all is ok.

This is my configuration:

claim_code: claim-_mdRA4VpMY7UznzyYQXU
webtools: true
networkdisks:
  - //192.168.178.1/Elements4TB_ANIMAZIONE
  - //192.168.178.1/FILM_Elements2TB
cifsusername: gpaoli
cifspassword: *******
log_level: debug

But in plex under my shares nothing is showed.

Following what you are saying in your reply, did you use both your add-on in combo? Before you re-share your “libray” share whit sambanas and then you mount from plex add-on? Thank you for your help. Gianluca.

I suggest you to remove the claim_code from the box, request a new and invalidate the old.

What is your environment? (Rpi3, Rpi4, Odroid, Nuc etc etc).

Il look like the addon is unable to create the mounting dir or the shares are not visibles.

Your network is 192.168.178.0/24?
Fritz and Ha are on the same network?
The protection mode is off?

L.

I’ve a RPI4 with Hassio (the latest version released). My network is 192.168.178.x and my fritzbox ip is 192.168.178.1. Both fritz and Ha are in the same network (Ha is 192.168.178.10) and I disabled the protection, also if in log still the row that say the opposite…

How to invalidate the claim code that actually I’ve?

Nothing to do… also with a new claim code. What I don’t understand is why in log still the warning that protection mode is on, also if this setting is set to off…

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing... 
-----------------------------------------------------------
 Hass.io Add-on: Plex Media Server with NAS
 Recorded media, live TV, online news, and podcasts ready to stream.
-----------------------------------------------------------
 Add-on version: 2.4.0-dht1
 You are running the latest version of this add-on.
 System: Home Assistant OS 5.9  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2020.12.2
 Home Assistant Supervisor: 2020.12.7
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
Log level is set to DEBUG
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] plex.sh: executing... 
[cont-init.d] plex.sh: exited 0.
[cont-init.d] webtools.sh: executing... 
[cont-init.d] webtools.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[22:28:56] INFO: Starting the Plex Media Server...
[22:28:56] INFO: Network Disks mounting.. //192.168.178.1/FRITZ
[22:28:56] INFO: Mount //192.168.178.1/FRITZ
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[22:28:56] WARNING: Protection mode is ON. Unable to mount external drivers!

Finally I found the problem… The path from linux system is not the same like on windows… I was trying to mount smb://192.168.178.1/xxx, while is smb://192.168.178.1/fritz.nas/xxx. Now I’m able to mount my shares! Thank you so much for this fantastic add-on! Just last question, how I can update the plex server? I’ve a notification , but it just let me download a file…

The Plax server is installed on an ephemeral disk so no update is possible without a rebuild of the docker image. I will release the next version in a near future…

L.

ok, thank you. Last question, Now I’m able to see my share, but when I try to play something after few second it stop. Looking in information plex says that is not accessible (permission) also if it see the file. Do you have an idea how to solve this? How I can set the right privileges to play video from plex?
Have a look to screnshots. Thank you in advance, Gianluca.

Is a new problem for me. If you see the movie you can read it so probably is a seek error or an re-encode error.
Any logs in the addon?
Have you made a search on Plex site about it?
Do you used Fritz as server before for Plex?

Is is enabled try to change o disable the re-encoding.

L.

In plex web site is reported that plex need to have permission to handle files and normally the user assumed to do this is “plex”. How I can figure out what kind of user is used here? I think that is something related to this.
I’ll try also your suggestion to enable or disable reencoding.

No info in the log file of addon that actually is set to debug.

Before I used the internal feature of fritz box to share like a Nas files, but is not very good. All files are stored in 2 usb disks (ntfs formatted) attached and shared from fritz.