TrueNAS-13.0-U1: Another update issue - [Errno 13] Permission denied

bestboy

Contributor
Joined
Jun 8, 2014
Messages
198
I'm currently running TrueNAS-13.0-U1 and want to install the most recent update. Unfortunately, there is an error when doing so. When I press the "refresh" button to run the check on the selected TrueNAS 13 train, then an error is reported:
[Errno 13] Permission denied: './tmpq5so1gxw': Automatic update check failed. Please check system network settings.
1670774001555.png


My network setup is fine, though. I can lookup the update server just fine.

# nslookup update-master.ixsystems.com Server: 172.22.22.254 Address: 172.22.22.254#53 Non-authoritative answer: update-master.ixsystems.com canonical name = update-master.freenas.org. Name: update-master.freenas.org Address: 192.41.228.50 Name: update-master.freenas.org Address: 2604:a880:4:1d0::389:6000

When I do the update from the middleware CLI I basically get the same error:
root@cygnus:~ # cli ************************************************************ Software in ALPHA state, highly experimental. No bugs/features being accepted at the moment. ************************************************************ cygnus[]> system update check_available [Errno 13] Permission denied: './tmp2btlb0xy' cygnus[]> system update check_available [Errno 13] Permission denied: './tmp5xthodel' cygnus[]> system update check_available [Errno 13] Permission denied: './tmpm9a52b10'


To me it looks like the creation of a randomized temporary directory for the download does not work rather than an issue with the network.
Any advice?
 
Joined
Oct 22, 2019
Messages
3,641
Can you confirm that your System Dataset has execute permissions?
zfs list -r -o name,exec mypool/.system

And same for the boot-pool
zfs list -r -o name,exec boot-pool
 
Last edited:

bestboy

Contributor
Joined
Jun 8, 2014
Messages
198
The system dataset is located on the boot pool

# zfs list -r -o name,exec freenas-boot NAME EXEC freenas-boot on freenas-boot/.system on freenas-boot/.system/configs-28be292f44844fcabf51551f934e2aa6 on freenas-boot/.system/cores on freenas-boot/.system/rrd-28be292f44844fcabf51551f934e2aa6 on freenas-boot/.system/samba4 on freenas-boot/.system/services on freenas-boot/.system/syslog-28be292f44844fcabf51551f934e2aa6 on freenas-boot/.system/webui on freenas-boot/ROOT on freenas-boot/ROOT/11.2-U7 on freenas-boot/ROOT/11.2-U8 on freenas-boot/ROOT/11.3-U1 on freenas-boot/ROOT/11.3-U4.1 on freenas-boot/ROOT/11.3-U5 on freenas-boot/ROOT/12.0-U7 on freenas-boot/ROOT/12.0-U8.1 on freenas-boot/ROOT/13.0-U1 on freenas-boot/ROOT/FreeNAS-12.0-U3.1 on freenas-boot/grub on
 
Joined
Oct 22, 2019
Messages
3,641
I wonder if you might find better luck exporting your config, and then installing a fresh copy of TrueNAS Core 13.0-U3.1, then finally importing the config.
 
Top