check_upgrade (1): unknown error @ 2024-06-07 09:26:39
-
What are you upgrading from?
-
@stephenw10 said in check_upgrade (1): unknown error @ 2024-06-07 09:26:39:
What are you upgrading from?
Not from anything specific. I just get that same notification that caused @TAC57 to start this thread:
“check_upgrade (1): unknown error”
-
@DominikHoffmann said in check_upgrade (1): unknown error @ 2024-06-07 09:26:39:
Not from anything specific.
So you've tried upgrading from multiple pfSense versions?
-
@stephenw10: I am no upgrading at all.
I am wondering, whether this is something that the
pkg_check.php
script authored by @luckman212 generates that. -
Noop.
That script doesn't generate of modifies any files. It calls the same php pfSense function 'get_system_pkg_versio()' as the widget on the dashboard.
And it uses the shell command "/usr/sbin/pkg upgrade -n ..." to enumerate the newer avaible packages, if any exists.
It doesn't actually change anything.I'm using it every day, for years now.
I have a x86 based 4100 with 24.03.edit :
pkg -d update
produces a lot of details, but no errors.
The script file :
[24.03-RELEASE][root@pfSense.bhf.tld]/root: php -q ./pkg_check.php pfSense version 24.03_1 (installed) is current
-
Ah nice I didn't think it knew about the recent changes yet. But maybe it doesn't have to.
-
I am having the same problem with a Netgate 5100:
DBG(1)[55001]> pkg initialized Updating pfSense-core repository catalogue... DBG(1)[55001]> PkgRepo: verifying update for pfSense-core DBG(1)[55001]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite' DBG(1)[55001]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v24_03_amd64-core/meta.conf DBG(1)[55001]> curl_open DBG(1)[55001]> Fetch: fetcher used: pkg+https DBG(1)[55001]> curl> fetching https://pfsense-plus-pkg.netgate.com/pfSense_plus-v24_03_amd64-core/meta.conf DBG(1)[55001]> CURL> attempting to fetch from , left retry 3 * Couldn't find host pfsense-plus-pkg00.atx.netgate.com in the .netrc file; using defaults * Trying 208.123.73.207:443... * Connected to pfsense-plus-pkg00.atx.netgate.com (208.123.73.207) port 443 * ALPN: curl offers http/1.1 * CAfile: /etc/ssl/netgate-ca.pem * CApath: /etc/ssl/certs/ * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 * ALPN: server accepted http/1.1 * Server certificate: * subject: C=US; ST=Texas; L=Austin; O=Rubicon Communications, LLC (Netgate); OU=pfSense Plus; CN=pfsense-plus-pkg00.atx.netgate.com * start date: Mar 15 20:23:11 2022 GMT * expire date: Feb 19 20:23:11 2122 GMT * common name: pfsense-plus-pkg00.atx.netgate.com (matched) * issuer: C=US; ST=Texas; L=Austin; O=Rubicon Communications, LLC (Netgate); OU=Netgate CA; CN=Netgate CA * SSL certificate verify ok. * using HTTP/1.1 > GET /pfSense_plus-v24_03_amd64-core/meta.conf HTTP/1.1 Host: pfsense-plus-pkg00.atx.netgate.com User-Agent: pkg/1.20.9 Accept: */* If-Modified-Since: Fri, 19 Apr 2024 01:25:58 GMT < HTTP/1.1 304 Not Modified < Server: nginx < Date: Tue, 27 Aug 2024 03:18:06 GMT < Last-Modified: Fri, 19 Apr 2024 01:25:58 GMT < Connection: keep-alive < ETag: "6621c826-b2" < * Connection #0 to host pfsense-plus-pkg00.atx.netgate.com left intact DBG(1)[55001]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v24_03_amd64-core/packagesite.pkg DBG(1)[55001]> curl_open DBG(1)[55001]> Fetch: fetcher used: pkg+https DBG(1)[55001]> curl> fetching https://pfsense-plus-pkg.netgate.com/pfSense_plus-v24_03_amd64-core/packagesite.pkg DBG(1)[55001]> CURL> attempting to fetch from , left retry 3 * Couldn't find host pfsense-plus-pkg00.atx.netgate.com in the .netrc file; using defaults * Found bundle for host: 0x170e7082f7e0 [serially] * Re-using existing connection with host pfsense-plus-pkg00.atx.netgate.com > GET /pfSense_plus-v24_03_amd64-core/packagesite.pkg HTTP/1.1 Host: pfsense-plus-pkg00.atx.netgate.com User-Agent: pkg/1.20.9 Accept: */* If-Modified-Since: Fri, 19 Apr 2024 01:25:58 GMT < HTTP/1.1 304 Not Modified < Server: nginx < Date: Tue, 27 Aug 2024 03:18:06 GMT < Last-Modified: Fri, 19 Apr 2024 01:25:58 GMT < Connection: keep-alive < ETag: "6621c826-62c" < * Connection #0 to host pfsense-plus-pkg00.atx.netgate.com left intact pfSense-core repository is up to date. Updating pfSense repository catalogue... DBG(1)[55001]> PkgRepo: verifying update for pfSense DBG(1)[55001]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense.sqlite' DBG(1)[55001]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v24_03_amd64-pfSense_plus_v24_03/meta.conf DBG(1)[55001]> curl_open DBG(1)[55001]> Fetch: fetcher used: pkg+https DBG(1)[55001]> curl> fetching https://pfsense-plus-pkg.netgate.com/pfSense_plus-v24_03_amd64-pfSense_plus_v24_03/meta.conf DBG(1)[55001]> CURL> attempting to fetch from , left retry 3 * Couldn't find host pfsense-plus-pkg01.atx.netgate.com in the .netrc file; using defaults * Trying 208.123.73.209:443... * Connected to pfsense-plus-pkg01.atx.netgate.com (208.123.73.209) port 443 * ALPN: curl offers http/1.1 * CAfile: /etc/ssl/netgate-ca.pem * CApath: /etc/ssl/certs/ * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 * ALPN: server accepted http/1.1 * Server certificate: * subject: C=US; ST=Texas; L=Austin; O=Rubicon Communications, LLC (Netgate); OU=pfSense Plus; CN=pfsense-plus-pkg01.atx.netgate.com * start date: Mar 15 20:23:37 2022 GMT * expire date: Feb 19 20:23:37 2122 GMT * common name: pfsense-plus-pkg01.atx.netgate.com (matched) * issuer: C=US; ST=Texas; L=Austin; O=Rubicon Communications, LLC (Netgate); OU=Netgate CA; CN=Netgate CA * SSL certificate verify ok. * using HTTP/1.1 > GET /pfSense_plus-v24_03_amd64-pfSense_plus_v24_03/meta.conf HTTP/1.1 Host: pfsense-plus-pkg01.atx.netgate.com User-Agent: pkg/1.20.9 Accept: */* If-Modified-Since: Wed, 21 Aug 2024 15:44:04 GMT < HTTP/1.1 304 Not Modified < Server: nginx < Date: Tue, 27 Aug 2024 03:18:06 GMT < Last-Modified: Wed, 21 Aug 2024 15:44:04 GMT < Connection: keep-alive < ETag: "66c60b44-b2" < * Connection #0 to host pfsense-plus-pkg01.atx.netgate.com left intact DBG(1)[55001]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v24_03_amd64-pfSense_plus_v24_03/packagesite.pkg DBG(1)[55001]> curl_open DBG(1)[55001]> Fetch: fetcher used: pkg+https DBG(1)[55001]> curl> fetching https://pfsense-plus-pkg.netgate.com/pfSense_plus-v24_03_amd64-pfSense_plus_v24_03/packagesite.pkg DBG(1)[55001]> CURL> attempting to fetch from , left retry 3 * Couldn't find host pfsense-plus-pkg01.atx.netgate.com in the .netrc file; using defaults * Found bundle for host: 0x170e70917ce0 [serially] * Re-using existing connection with host pfsense-plus-pkg01.atx.netgate.com > GET /pfSense_plus-v24_03_amd64-pfSense_plus_v24_03/packagesite.pkg HTTP/1.1 Host: pfsense-plus-pkg01.atx.netgate.com User-Agent: pkg/1.20.9 Accept: */* If-Modified-Since: Wed, 21 Aug 2024 15:44:04 GMT < HTTP/1.1 304 Not Modified < Server: nginx < Date: Tue, 27 Aug 2024 03:18:06 GMT < Last-Modified: Wed, 21 Aug 2024 15:44:04 GMT < Connection: keep-alive < ETag: "66c60b44-2ff4c" < * Connection #0 to host pfsense-plus-pkg01.atx.netgate.com left intact pfSense repository is up to date. All repositories are up to date.
-
What problem? That output shows a normal pkg update check.
-
@stephenw10 said in check_upgrade (1): unknown error @ 2024-06-07 09:26:39:
What problem? That output shows a normal pkg update check.
@KB8DOA, with debug output enabled (i.e.
pkg -d update
). a more 'normalized' level output:Updating pfSense-core repository catalogue... * Connected to pfsense-plus-pkg00.atx.netgate.com (208.123.73.207) port 443 pfSense-core repository is up to date. Updating pfSense repository catalogue... * Connected to pfsense-plus-pkg01.atx.netgate.com (208.123.73.209) port 443 pfSense repository is up to date. All repositories are up to date.
or just run
pkg update
without the-d
flag. -
Don't worry, I somewhat understand what you mean.
This :looks alarming because it contain a negation (or something like that, I'm not native ...)
Or, it's just an awkward notification. -
I get this too, so is this a bug to be fixed or ?
-
@HA4g3n said in check_upgrade (1): unknown error @ 2024-06-07 09:26:39:
I get this too, so is this a bug to be fixed or ?
The "Couldn't find host pfsense .... in the .netrc file" message ?
It's cosmetic. We all see that message. Totally innocent. -
Or the
check_upgrade (1): unknown error
alert? That is already fixed for almost every mode.