Vero Crashes Daily when Accessing Windows Shares

I’ve had my Vero box for almost a week now and I have it set up by configuring fstab to mount my shared folder.

Every day, however, on first use, Vero crashes (freezes) when I try to access any shared content and I have to do a hard reset by unplugging it. I turn my PC off every night if that matters.

I love everything else about it and don’t want to send it back. Is this a problem I can easily fix?

We don’t know as we have no idea what the problem truly is. If you help us to help you by providing logs that demonstrate the issue, we’ll be happy to take a look.

To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.

Depending on the used skin you have to set the settings-level to standard or higher, in summary:

  • enable debug logging at settings->system->logging

  • reboot the OSMC device

  • reproduce the issue

  • upload the log set either using the Log Uploader method within the My OSMC menu in the GUI or the ssh method invoking command grab-logs -A

  • publish the provided URL from the log set upload, here

Thanks for your understanding. We hope that we can help you get up and running again shortly.

OSMC skin screenshot:

Can you leave the PC on for one night and let us know if it still happens?

Sam

I’ll try both suggestions and report back.

Still crashing. Not every single day, but more often than not. Here are the logs I grabbed right after resetting. Sorry if it’s more than you need. I wasn’t sure what to select.

https://paste.osmc.tv/ewajahital

Did you find that keeping the PC on reduced the incidence of the problem?

Sam

Yes, crashes are less frequent when the PC is not turned off.

Try using autofs

I spent a couple of days on the autofs setup and just can’t get it work. Testing it just results in " No such file or directory".

For now, I’m going back to fstab and the hard reset of my Vero every day.

Show us what you’ve tried with autofs. I’m sure we can help you.

I followed the instructions. This is the line I added:

/mnt/Computer/TV -fstype=cifs,rw,username=AcutalName,password=ActualPass,iocharset=utf8,uid=osmc,gid=osmc ://192.168.1.104/tv/

My computer is named “Computer”. I have a single shared folder named “TV”.

I should have asked for the fstab line also.

This is the fstab line that works for me:

//192.168.1.104/tv /mnt/TV cifs x-systemd.automount,noauto,rw,iocharset=utf8,username=ActualName,password=ActualPass,uid=osmc,gid=osmc,file_mode=0770,dir_mode=0770 0 0

The auto.map line looks OK. What does your auto.master look like?

for auto.master, I just pasted

/- /etc/auto.smb.shares --timeout 15 browse

Did you try:

sudo systemctl stop autofs
sudo automount -f -v -d

that should show why the mount is failing.

Here’s what I get:

osmc@Vero:~$ sudo automount -f -v -d
Starting automounter version 5.1.2, master map /etc/auto.master
using kernel protocol version 5.02
lookup_nss_read_master: reading master file /etc/auto.master
do_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry +dir:/etc/auto.master.d
lookup_nss_read_master: reading master dir /etc/auto.master.d
lookup(dir): dir map /etc/auto.master.d missing or not readable
lookup(file): failed to read included master map dir:/etc/auto.master.d
lookup_read_master: lookup(file): read entry +auto.master
lookup_nss_read_master: reading master files auto.master
do_init: parse(sun): init gathered global options: (null)
lookup(file): failed to read included master map auto.master
lookup_read_master: lookup(file): read entry sudo
syntax error in map near [ sudo nano ]
no mounts in table

Have another look at your auto.smb.shares and auto.master :wink:

Still not working:

Starting automounter version 5.1.2, master map /etc/auto.master
using kernel protocol version 5.02
lookup_nss_read_master: reading master file /etc/auto.master
do_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry +dir:/etc/auto.master.d
lookup_nss_read_master: reading master dir /etc/auto.master.d
lookup(dir): dir map /etc/auto.master.d missing or not readable
lookup(file): failed to read included master map dir:/etc/auto.master.d
lookup_read_master: lookup(file): read entry +auto.master
lookup_nss_read_master: reading master files auto.master
do_init: parse(sun): init gathered global options: (null)
lookup(file): failed to read included master map auto.master
lookup_read_master: lookup(file): read entry /-
master_do_mount: mounting /-
automount_path_to_fifo: fifo name /var/run/autofs.fifo–
lookup_nss_read_map: reading map file /etc/auto.nfs.shares
do_init: parse(sun): init gathered global options: (null)
st_ready: st_ready(): state = 0 path /-

It is only looking for auto.nfs.shares, not auto.smb.shares.

Paste your entire auto.master so I can look at it.

Also check in auto.master.d. Are there any files there?