SOLVED freenas-update Broken

Status
Not open for further replies.
Joined
Jun 13, 2018
Messages
2
Hi all. In freenas-11-STABLE, when I try to run freenas-update from the shell, I am met with the following error:

Code:
[root@freenas /mnt/NAS]# freenas-update check
Update not permitted:
b'Cannot open "/lib/libedit.so.7"'

The error dialogs are pretty unhelpful at the command line, but I can get more info when I attempt to check for updates in the GUI:

Code:
Update server could not be reached

b'Cannot open "/lib/libedit.so.7"'


Traceback
Traceback (most recent call last):
File "/usr/local/lib/freenasOS/Manifest.py", line 682, in RunValidationProgram
subprocess.check_output(valid_script, preexec_fn=PreExecHook, stderr=subprocess.STDOUT)
File "/usr/local/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/usr/local/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command './tmpkp54_w23' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "./freenasUI/system/views.py", line 1698, in update_check
train=updateobj.get_train(),
File "/usr/local/lib/freenasOS/Update.py", line 889, in CheckForUpdates
new_manifest.RunValidationProgram(cache_dir)
File "/usr/local/lib/freenasOS/Manifest.py", line 684, in RunValidationProgram
raise Exceptions.UpdateInvalidUpdateException(err.output.rstrip())
freenasOS.Exceptions.UpdateInvalidUpdateException: b'Cannot open "/lib/libedit.so.7"'


Any ideas? Thanks for the help!
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
It's probably a duff boot device.
Try running "Validate Install"
 
Joined
Jun 13, 2018
Messages
2
It's probably a duff boot device.
Try running "Validate Install"
Thanks. I just did and a ton of permissions errors came back:
Code:
Expected MODE: 0o444, Got: 0o700

This comes up on almost every library file I have. I never messed with the permissions on these directories (or so I thought). At this point would a full reinstall be advisable?
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
Download your config and re-install.
 
Status
Not open for further replies.
Top