Coder Social home page Coder Social logo

Comments (9)

dianlight avatar dianlight commented on July 29, 2024 1

Interesting, you are not exporting an external disk but the whole /mnt/data of hassos.
That's a uses case I hadn't thought of. In the modification to fix bug #58 I had to exclude all disks internal to hassos so it goes in error.

I'm thinking of a workaround for bug #58. In the meantime, don't upgrade.

@klaus1956 Do you have a similar configuration?

L.

from hassio-addons.

dianlight avatar dianlight commented on July 29, 2024 1

Try the new version 9.5.1-nas4.

from hassio-addons.

Krocko avatar Krocko commented on July 29, 2024

I have the same problem.

from hassio-addons.

dianlight avatar dianlight commented on July 29, 2024

I need some more info. Your logs for example?
The error is not share or not access to the share?

L.

from hassio-addons.

Krocko avatar Krocko commented on July 29, 2024

Config:

workgroup: XXX
username: '! secret samba share username'
password: '!secret samba share password'
allow hosts:
  - 10.0.0.0/8
  - 172.16.0.0/12
  - 192.168.0.0/16
  - fe80::/10
moredisks:
  - hassos-data
medialibrary:
  enable: false
  ssh private key: <YOU SUPER SECRET PRIVAT KEY>
veto files:
  - .DS Store
  - Thumbs.db
  - icon?
  - '@eaDir'
compatibility mode: false
autodiscovery: {}
interface: ''
mqtt_enable: false

Log with version 9.5.1-nas2:

[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:15:13] INFO: Protection Mode is false
[15:15:13] INFO: MoreDisk option found!
[15:15:13] INFO: MediaLibrary disabled in config. Disk are mounted only for this addon!
[15:15:13] INFO: More Disks mounting.. hassos-data
[15:15:13] INFO: Mount hassos-data
[15:15:14] INFO: Success!
[cont-init.d] automount.sh: exited 0.
[cont-init.d] mqtt.sh: executing... 
[15:15:14] ERROR: Got unexpected response from the API: Service not enabled
[15:15:15] WARNING: No MQTT Server found. Homeassistant integration can't work!
[cont-init.d] mqtt.sh: exited 0.
[cont-init.d] samba.sh: executing... 
[15:15:16] INFO: Using hostname=homeassistant interface=enp0s3
tdbsam_open: Converting version 0.0 database to version 4.0.
tdbsam_convert_backup: updated /var/lib/samba/private/passdb.tdb file.
Added user XXX.
[cont-init.d] samba.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[15:15:22] INFO: Starting the AVAHI daemon for homeassistant...
Waiting for daemon ...
nmbd version 4.13.8 started.
Copyright Andrew Tridgell and the Samba Team 1992-2020
daemon_ready: daemon 'nmbd' finished starting up and ready to serve connections
smbd version 4.13.8 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
*****
Samba name server HOMEASSISTANT is now a local master browser for workgroup XXX on subnet XXX.XXX.XXX.XX
*****

Log with version 9.5.1-nas3:

[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... 
[10:53:26] INFO: Protection Mode is false
[10:53:26] INFO: MoreDisk option found!
[10:53:26] INFO: MediaLibrary disabled in config. Disk are mounted only for this addon!
[cont-init.d] automount.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] mqtt.sh: executing... 
[10:53:26] INFO: MQTT cleanup.
Error: Connection refused
[cont-finish.d] mqtt.sh: exited 1.
[cont-finish.d] umount.sh: executing... 
[10:53:27] INFO: Done.
[cont-finish.d] umount.sh: exited 0.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

from hassio-addons.

Krocko avatar Krocko commented on July 29, 2024

If I remove the moredisks, it is working again.
So something has changed in this option.

from hassio-addons.

klaus1956 avatar klaus1956 commented on July 29, 2024

I have exactly the same issue ( using just the hassos drives

from hassio-addons.

Krocko avatar Krocko commented on July 29, 2024

The new version is working. Thank you very much!

from hassio-addons.

klaus1956 avatar klaus1956 commented on July 29, 2024

Working for me as well - Thank you

from hassio-addons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.