Upgrade 21.1 to 21.7 Failure Too many arguments, Too many links.

Started by brim2full, September 14, 2021, 03:35:05 PM

Previous topic - Next topic
Installed:

OPNsense 21.1.9_1-amd64
FreeBSD 12.1-RELEASE-p19-HBSD
OpenSSL 1.1.1k  25 Mar 2021
CPU type Intel(R) Core(TM)2 Duo CPU     E7400  @ 2.80GHz (2 cores)


Run Health Audit Reports: CLEAN

***GOT REQUEST TO AUDIT HEALTH***
Currently running OPNsense 21.1.9_1 (amd64/OpenSSL) at Tue Sep 14 11:53:57 -01 2021
>>> Check installed kernel version
Version 21.1.8 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 21.1.8 is correct.
>>> Check for missing or altered base files
No problems detected.
>>> Check for missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages: .......... done
>>> Check for core packages consistency
Core package "opnsense" has 66 dependencies to check.
Checking packages: .................................................................... done
***DONE***


Run Security Audit Reports:
***GOT REQUEST TO AUDIT SECURITY***

.... Detail removed for security reasons ....

3 problem(s) in 3 installed package(s) found.

***DONE***
<blockquote>

</blockquote> Checking for updates (using the WEB GUI):

Package nameCurrent versionNew versionRequired actionRepository
base21.1.821.7upgradeOPNsense
kernel21.1.821.7upgradeOPNsense
packages21.1.9_121.7upgradeOPNsense

First atempt:
***GOT REQUEST TO UPGRADE***
Fetching packages-21.7-OpenSSL-amd64.tar: .mkdir: /var/cache/opnsense-update/58221: Too many links
  failed, mkdir error 0
***DONE***


Go back to Status Tab and retry update:
***GOT REQUEST TO UPGRADE***
Fetching packages-21.7-OpenSSL-amd64.tar: .mkdir: /var/cache/opnsense-update/56544: Too many links
  failed, mkdir error 0
***DONE***


From Log Files - General:

DateProcessLine
2021-09-14T12:09:02monit[36141]'No_FW_Updates' status didn't change (1) -- tput: no terminal type specified and no TERM environmental variable. mkdir: /var/cache/opnsense-update/40832: Too many links  1
2021-09-14T12:07:02monit[36141]Aborting event
2021-09-14T12:07:02monit[36141]Mail: Mailserver response error -- 553 5.7.1 <..............>: Sender address rejected: not owned by user................
2021-09-14T12:07:01monit[36141]'No_FW_Updates' status changed (0 -> 1) -- tput: no terminal type specified and no TERM environmental variable. mkdir: /var/cache/opnsense-update/25806: Too many links  1
2021-09-14T12:05:01monit[36141]'No_FW_Updates' status didn't change (0) -- tput: no terminal type specified and no TERM environmental variable. Your system is up to date. 0
2021-09-14T12:03:01monit[36141]Aborting event
2021-09-14T12:03:01monit[36141]Mail: Mailserver response error -- 553 5.7.1 <......................>: Sender address rejected: not owned by user ......................
2021-09-14T12:03:00monit[36141]'No_FW_Updates' status changed (1 -> 0) -- tput: no terminal type specified and no TERM environmental variable. Your system is up to date. 0
2021-09-14T12:02:28syslog-ng[76420]syslog-ng starting up; version='3.33.2'
2021-09-14T12:02:28syslogdkernel boot file is /boot/kernel/kernel
2021-09-14T12:02:27syslogdexiting on signal 15
2021-09-14T12:02:19syslog-ng[22675]syslog-ng starting up; version='3.33.2'
2021-09-14T12:02:19syslogdkernel boot file is /boot/kernel/kernel

Running option 12 on the console:
Proceed with this action? [21.7/y/N]: 21.7

Fetching packages-21.7-OpenSSL-amd64.tar: .mkdir: /var/cache/opnsense-update/13914: Too many links
  failed, mkdir error 0

*** opnsense.home.net: OPNsense 21.1.9_1 (amd64/OpenSSL) ***

ALSO. 

I have buy some means got as far as sucessfully downloading the three packages ( base, kernel and packages) .  Also atempting to install the afformentiond packages.  However the kernel package fails with the message rm: argument list too long.  I have also had base fail with .mkdir: /var/cache/opnsense-update/75470: Too many links


Does anyone have thoughts on this issue please.

Example of it partly working:
***GOT REQUEST TO UPGRADE***
Fetching packages-21.7-OpenSSL-amd64.tar: ................................................ done
Fetching base-21.7-amd64.txz: ................ done
Fetching kernel-21.7-amd64.txz: ..... done
!!!!!!!!!!!! ATTENTION !!!!!!!!!!!!!!!
! A critical upgrade is in progress. !
! Please do not turn off the system. !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Extracting packages-21.7-OpenSSL-amd64.tar... done
Extracting base-21.7-amd64.txz... done
Installing kernel-21.7-amd64.txz... done
/usr/local/sbin/opnsense-update: rm: Argument list too long
***DONE***


The only think I changed was fix the mail address in Monit.

It appears to have tried to install the kernel >>
System: Firmware Updates tab
Package nameCurrent versionNew versionRequired actionRepository
kernel21.721.1.8upgradeOPNsense
Also In the System: Firmware Packages Tab
kernel21.7121.0MiBOPNsenseBSD2CLAUSEHardenedBSD kernel set