Many thanks for the tip.
Unfortunately after running opnsense-bootstrap and reloading the backup configuration we are not able to update the version, sqlite error persists as well as missing /usr/local/etc/pkg/repos/OPNsense.conf.
Trying to run a second time opnsense-bootstrap shows "package database non-existent"
Does it look like a hardware/SDD issue?
**********************
Enter an option: 12
Fetching change log information, please wait... Missing /usr/local/etc/pkg/repos/OPNsense.conf
Missing /usr/local/etc/pkg/repos/OPNsense.conf
fetch: /sets/changelog.txz: No such file or directory
This will automatically fetch all available updates and apply them.
Missing /usr/local/etc/pkg/repos/OPNsense.conf
Missing /usr/local/etc/pkg/repos/OPNsense.conf
Proceed with this action? [y/N]: y
Missing /usr/local/etc/pkg/repos/OPNsense.conf
Missing /usr/local/etc/pkg/repos/OPNsense.conf
Starting web GUI...done.
pkg: sqlite error while executing ALTER TABLE packages ADD licenselogic INTEGER NOT NULL DEFAULT(1); in file pkgdb.c:2333: no such table: packages
pkg: sqlite error while executing ALTER TABLE packages ADD licenselogic INTEGER NOT NULL DEFAULT(1); in file pkgdb.c:2333: no such table: packages
Usage: pkg version [-IPR] [-hoqvU] [-l limchar] [-L limchar] [-Cegix pattern]
[-r reponame] [-O origin|-n pkgname] [index]
pkg version -t <version1> <version2>
pkg version -T <pkgname> <pattern>
For more information see 'pkg help version'.
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
All repositories are up to date.
pkg: sqlite error while executing ALTER TABLE packages ADD licenselogic INTEGER NOT NULL DEFAULT(1); in file pkgdb.c:2333: no such table: packages
pkg: sqlite error while executing ALTER TABLE packages ADD licenselogic INTEGER NOT NULL DEFAULT(1); in file pkgdb.c:2333: no such table: packages
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
All repositories are up to date.
pkg: sqlite error while executing ALTER TABLE packages ADD licenselogic INTEGER NOT NULL DEFAULT(1); in file pkgdb.c:2333: no such table: packages
pkg: sqlite error while executing ALTER TABLE packages ADD licenselogic INTEGER NOT NULL DEFAULT(1); in file pkgdb.c:2333: no such table: packages
Missing /usr/local/etc/pkg/repos/OPNsense.conf
********************************
root@OPNsense:~ # opnsense-bootstrap
This utility will attempt to turn this installation into the latest
OPNsense 25.7 release. All packages will be deleted, the base
system and kernel will be replaced, and if all went well the system
will automatically reboot.
Proceed with this action? [y/N]: y
fetch: https://github.com/opnsense/core/archive/stable/25.7.tar.gz: size of remote file is not known
/tmp/opnsense-bootstrap/core.tar.gz 11 MB 8262 kBps 02s
pkg: package database non-existent
pkg: No packages installed
pkg: No packages installed
mkdir: /usr/local/etc/pkg: No such file or directory
*** Error code 1
Stop.
make[1]: stopped in /tmp/opnsense-bootstrap/core-stable-25.7/src
*** Error code 1
Stop.
make: stopped in /tmp/opnsense-bootstrap/core-stable-25.7
root@OPNsense:~ #
***********************************************
Regards
Unfortunately after running opnsense-bootstrap and reloading the backup configuration we are not able to update the version, sqlite error persists as well as missing /usr/local/etc/pkg/repos/OPNsense.conf.
Trying to run a second time opnsense-bootstrap shows "package database non-existent"
Does it look like a hardware/SDD issue?
**********************
Enter an option: 12
Fetching change log information, please wait... Missing /usr/local/etc/pkg/repos/OPNsense.conf
Missing /usr/local/etc/pkg/repos/OPNsense.conf
fetch: /sets/changelog.txz: No such file or directory
This will automatically fetch all available updates and apply them.
Missing /usr/local/etc/pkg/repos/OPNsense.conf
Missing /usr/local/etc/pkg/repos/OPNsense.conf
Proceed with this action? [y/N]: y
Missing /usr/local/etc/pkg/repos/OPNsense.conf
Missing /usr/local/etc/pkg/repos/OPNsense.conf
Starting web GUI...done.
pkg: sqlite error while executing ALTER TABLE packages ADD licenselogic INTEGER NOT NULL DEFAULT(1); in file pkgdb.c:2333: no such table: packages
pkg: sqlite error while executing ALTER TABLE packages ADD licenselogic INTEGER NOT NULL DEFAULT(1); in file pkgdb.c:2333: no such table: packages
Usage: pkg version [-IPR] [-hoqvU] [-l limchar] [-L limchar] [-Cegix pattern]
[-r reponame] [-O origin|-n pkgname] [index]
pkg version -t <version1> <version2>
pkg version -T <pkgname> <pattern>
For more information see 'pkg help version'.
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
All repositories are up to date.
pkg: sqlite error while executing ALTER TABLE packages ADD licenselogic INTEGER NOT NULL DEFAULT(1); in file pkgdb.c:2333: no such table: packages
pkg: sqlite error while executing ALTER TABLE packages ADD licenselogic INTEGER NOT NULL DEFAULT(1); in file pkgdb.c:2333: no such table: packages
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
All repositories are up to date.
pkg: sqlite error while executing ALTER TABLE packages ADD licenselogic INTEGER NOT NULL DEFAULT(1); in file pkgdb.c:2333: no such table: packages
pkg: sqlite error while executing ALTER TABLE packages ADD licenselogic INTEGER NOT NULL DEFAULT(1); in file pkgdb.c:2333: no such table: packages
Missing /usr/local/etc/pkg/repos/OPNsense.conf
********************************
root@OPNsense:~ # opnsense-bootstrap
This utility will attempt to turn this installation into the latest
OPNsense 25.7 release. All packages will be deleted, the base
system and kernel will be replaced, and if all went well the system
will automatically reboot.
Proceed with this action? [y/N]: y
fetch: https://github.com/opnsense/core/archive/stable/25.7.tar.gz: size of remote file is not known
/tmp/opnsense-bootstrap/core.tar.gz 11 MB 8262 kBps 02s
pkg: package database non-existent
pkg: No packages installed
pkg: No packages installed
mkdir: /usr/local/etc/pkg: No such file or directory
*** Error code 1
Stop.
make[1]: stopped in /tmp/opnsense-bootstrap/core-stable-25.7/src
*** Error code 1
Stop.
make: stopped in /tmp/opnsense-bootstrap/core-stable-25.7
root@OPNsense:~ #
***********************************************
Regards