Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
(Solved) Upgrading Firmware to 24.1 from 23.7.12.5
« previous
next »
Print
Pages: [
1
]
Author
Topic: (Solved) Upgrading Firmware to 24.1 from 23.7.12.5 (Read 1107 times)
cguilford
Full Member
Posts: 130
Karma: 15
(Solved) Upgrading Firmware to 24.1 from 23.7.12.5
«
on:
February 27, 2024, 03:50:02 pm »
I'm getting the below error -
***GOT REQUEST TO UPGRADE***
Currently running OPNsense 23.7.12_5 at Tue Feb 27 09:45:01 EST 2024
Fetching packages-24.1-amd64.tar: ................................................... done
Fetching base-24.1-amd64.txz: ............ done
Fetching kernel-24.1-amd64.txz: ...... done
Extracting packages-24.1-amd64.tar... done
Extracting base-24.1-amd64.txz... done
Extracting kernel-24.1-amd64.txz... done
Please reboot.
>>> Invoking upgrade script 'squid-plugin.php'
Squid web proxy is not active. Not installing replacement plugin.
>>> Invoking upgrade script 'unbound-duckdb.py'
Traceback (most recent call last):
File "/usr/local/opnsense/site-python/duckdb_helper.py", line 65, in __enter__
self.connection = duckdb.connect(database=self._path, read_only=self._read_only)
duckdb.IOException: IO Error: Trying to read a database file with version number 39, but we can only read version 51.
The database file was created with DuckDB version v0.6.0 or v0.6.1.
The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
The storage will be stabilized when version 1.0 releases.
For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
See the storage page for more information:
https://duckdb.org/internals/storage
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/etc/rc.syshook.d/upgrade/20-unbound-duckdb.py", line 41, in <module>
if export_database('/var/unbound/data/unbound.duckdb', '/var/cache/unbound.duckdb', 'unbound', 'unbound'):
File "/usr/local/opnsense/site-python/duckdb_helper.py", line 147, in export_database
with DbConnection(source, read_only=True) as db:
File "/usr/local/opnsense/site-python/duckdb_helper.py", line 75, in __enter__
raise StorageVersionException(str(e))
duckdb_helper.StorageVersionException: IO Error: Trying to read a database file with version number 39, but we can only read version 51.
The database file was created with DuckDB version v0.6.0 or v0.6.1.
The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
The storage will be stabilized when version 1.0 releases.
For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
See the storage page for more information:
https://duckdb.org/internals/storage
>>> Error in upgrade script '20-unbound-duckdb.py'
***DONE***
«
Last Edit: February 27, 2024, 04:16:12 pm by cguilford
»
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: Upgrading Firmware to 24.1 from 23.7.12.5
«
Reply #1 on:
February 27, 2024, 04:02:41 pm »
Just use the forum to find the answer at least ten times... or...
Reporting: Settings: delete DNS database.
And try again.
Cheers,
Franco
Logged
cguilford
Full Member
Posts: 130
Karma: 15
Re: (Solved) Upgrading Firmware to 24.1 from 23.7.12.5
«
Reply #2 on:
February 27, 2024, 04:16:58 pm »
While I appreciate your Sarcasm.. I also thank you for the fix... I was in the middle of searching the forums after posting this. Thank you for the help.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
(Solved) Upgrading Firmware to 24.1 from 23.7.12.5