Error updating to 23.7

Started by GorillaxJax, September 26, 2023, 12:40:08 PM

Previous topic - Next topic
September 26, 2023, 12:40:08 PM Last Edit: September 26, 2023, 12:42:35 PM by GorillaxJax
Hello,

I ran into a few hiccups while updating to 23.7. No matter what I do, Adguardhome won't start.

No biggie, I know it runs into errors when updating. Turned off Adguard, changed Unbound to primary DNS and it worked! No matter what I tried, however, I couldn't get Adguardhome's service to run. I've updated to 1.10 which is supposed to fix an error related to this I think.

However, upon checking the logs I see this:

"Error   configd.py   [49fe10f1-4eda-4f7a-9afd-07539e4f3039] Script action stderr returned "b'diskinfo: Failed to determine serial number for: /dev/ses0'"

Now when trying to restart Unbound or other services the whole thing hangs and I need to force a restart. What's going on? How do I fix this?

I updated to 23.7.5 to see if the unbound fixes worked but unfortunately they did not.

Here's some more error logs:
2023-09-27T15:44:48-07:00 Error configd.py [fd485a19-ddd4-4181-8ca8-c98e57c6be8e] returned exit status 1
2023-09-27T15:44:15-07:00 Error configd.py [e6737a21-b1b5-4c12-aac9-cf637367f763] Script action stderr returned "b'diskinfo: Failed to determine serial number for: /dev/ses0'"
2023-09-27T15:44:12-07:00 Error configd.py [564b2a76-2e90-446c-b316-88e178e6d1ff] Script action stderr returned "b'diskinfo: Failed to determine serial number for: /dev/ses0'"
2023-09-27T13:51:01-07:00 Error configd.py [788894c3-6cd6-4a60-87bf-457177742baa] Script action stderr returned "b'diskinfo: Failed to determine serial number for: /dev/ses0'"
2023-09-26T16:23:47-07:00 Error configd.py [6feb4505-619a-43f8-bf81-2e9986420268] Script action stderr returned "b"pkg: sqlite error while executing SELECT count(name) FROM sqlite_master WHERE type='table' AND name='repodata'; in file pkgdb.c:2358: database is locked\npkg: Repository mimugmail contains no repodata table, need to re-create database""
2023-09-26T16:23:40-07:00 Error configd.py [68b7212a-e39f-49fe-a7d3-a0286c885660] Script action stderr returned "b"pkg: sqlite error while executing SELECT count(name) FROM sqlite_master WHERE type='table' AND name='repodata'; in file pkgdb.c:2358: database is locked\npkg: Repository OPNsense contains no repodata table, need to re-create database\npkg: sqlite error whil""
2023-09-26T16:23:23-07:00 Error configd.py [7c5d2c24-a148-45a4-9446-80822b47f54a] Script action stderr returned "b'diskinfo: Failed to determine serial number for: /dev/ses0'"
2023-09-26T16:18:47-07:00 Error configd.py [797fbae3-725c-4b21-94ac-a3df0a7dc08a] Script action stderr returned "b'diskinfo: Failed to determine serial number for: /dev/ses0'"
2023-09-26T04:12:02-07:00 Error configd.py [e3ad38d6-b47c-45a5-b8cd-4edce6c4b5b8] Script action stderr returned "b'diskinfo: Failed to determine serial number for: /dev/ses0'"
2023-09-26T04:10:45-07:00 Error configd.py [a54c0ac7-a7e4-42a5-9353-bed4e3011671] Script action stderr returned "b'diskinfo: Failed to determine serial number for: /dev/ses0'"
2023-09-26T04:09:29-07:00 Error configd.py Configd disconnected while executing : 'unbound' start

Is that supposed to be a SCSI drive and is it healthy ?

That's the thing, my disk is ada0, not ses0

Here's the output from SMART for my SSD:
smartctl 7.4 2023-08-01 r5530 [FreeBSD 13.2-RELEASE-p3 amd64] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Crucial/Micron Client SSDs
Device Model:     Crucial_CT120M500SSD1
Serial Number:    1346095A5F4E
LU WWN Device Id: 5 00a075 1095a5f4e
Firmware Version: MU03
User Capacity:    120,034,123,776 bytes [120 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
TRIM Command:     Available, deterministic, zeroed
Device is:        In smartctl database 7.3/5528
ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Sep 28 15:01:16 2023 PDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled


And
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED



The fastest way to to fix any hidden issues would be to save the configuration and install 23.7 fresh.

You'll have the option to import existing configuration before installation starts, but it's good to have a copy just in case.


Once you're on 23.7 with the configuration in place check for updates a few times, you'll get on 23.7.5 and all plugins will be reinstalled.

Thanks, I figured a reinstall would do the trick but I'll try it out.

Dunno what/if there's anything wrong yet, hardware or in the config, but it would be best to start with a clean(er) slate.

> Error   configd.py   [e3ad38d6-b47c-45a5-b8cd-4edce6c4b5b8] Script action stderr returned "b'diskinfo: Failed to determine serial number for: /dev/ses0'"   

Reminds me I need to revert the os-smart changes about this that cause it. But I don't see anything concerning in the logs to be honest.


Cheers,
Franco