Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No access after update to Samba NAS 9.5.1-nas3 #60

Closed
klaus1956 opened this issue Nov 2, 2021 · 9 comments
Closed

No access after update to Samba NAS 9.5.1-nas3 #60

klaus1956 opened this issue Nov 2, 2021 · 9 comments
Labels
bug Something isn't working

Comments

@klaus1956
Copy link

Hello
After update from version 9.5.1-nas2 my drives were not available - currently cured by reinstallung the backup.

@Krocko
Copy link

Krocko commented Nov 2, 2021

I have the same problem.

@dianlight
Copy link
Owner

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

L.

@dianlight dianlight added bug Something isn't working incomplete The issue is incomplete. No future action done until completed question Further information is requested labels Nov 2, 2021
@Krocko
Copy link

Krocko commented Nov 3, 2021

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.

@Krocko
Copy link

Krocko commented Nov 3, 2021

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

@dianlight
Copy link
Owner

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.

@dianlight dianlight removed question Further information is requested incomplete The issue is incomplete. No future action done until completed labels Nov 3, 2021
dianlight added a commit that referenced this issue Nov 3, 2021
@dianlight
Copy link
Owner

Try the new version 9.5.1-nas4.

@klaus1956
Copy link
Author

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

@Krocko
Copy link

Krocko commented Nov 3, 2021

The new version is working. Thank you very much!

@klaus1956
Copy link
Author

Working for me as well - Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants