FreeNAS 11.3 wants to update to ... 11.1-U7

Samuel Mutel

Dabbler
Joined
Feb 21, 2020
Messages
21
I am recently installed FreeNAS version 11.3.
When I click on the update button under System, I have the message below:

Code:
Operation    Name
Upgrade    base-os-11.3-RELEASE-a67e6fa145e21a7cf074b3ec4e95676c -> base-os-11.1-U7-0227733d2cf67a042fc7bd0e7fa05221
Upgrade    freebsd-pkgdb-11.3-RELEASE-a67e6fa145e21a7cf074b3ec4e95676c -> freebsd-pkgdb-11.1-U7-0227733d2cf67a042fc7bd0e7fa05221
Upgrade    freenas-pkg-tools-11.3-RELEASE-a67e6fa145e21a7cf074b3ec4e95676c -> freenas-pkg-tools-11.1-U7-0227733d2cf67a042fc7bd0e7fa05221
Upgrade    FreeNASUI-11.3-RELEASE-a67e6fa145e21a7cf074b3ec4e95676c -> FreeNASUI-11.1-U7-0227733d2cf67a042fc7bd0e7fa05221


I think it's a bug ... right ?
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Yep it's a bug, ignore it
 

GeekGoneOld

Dabbler
Joined
Aug 1, 2015
Messages
48
Yep it's a bug, ignore it
I, too, experience this bug but from 11.3 to 9.10.2-U6. So a few followup questions:

1. Can I eliminate the message by removing a file, editing a file etc.? It is super annoying and will cause me to miss a real update because I ignore the dashboard "Updates available" now, knowing it is BS.

2. How did it happen so I can avoid the bug in the future?

3. Has anyone made a bug report? What # or name?
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
You can look up the big report yourself.

You can also just dismiss the alert in the gui.
 

GeekGoneOld

Dabbler
Joined
Aug 1, 2015
Messages
48

GeekGoneOld

Dabbler
Joined
Aug 1, 2015
Messages
48
Any idea of the jira name or number
Found it. NAS-104852. Very hard to find the right keywords to narrow down the list! Also the jira gives no insight at all.
 

blueether

Patron
Joined
Aug 6, 2018
Messages
259
the command to get rid of the bogus 'update'
midclt call update.set_train FreeNAS-11.3-STABLE
 

GeekGoneOld

Dabbler
Joined
Aug 1, 2015
Messages
48
the command to get rid of the bogus 'update'
midclt call update.set_train FreeNAS-11.3-STABLE
Tried it last night but didn't check the GUI until today. When the dashboard came up, it said "update available" and I frowned figuring it didn't work. Went to update to find that it's actually 11.3-U1, not 9.10.2-U6. What timing!

Looks like it might have worked. Thanks very much.
 

pader

Cadet
Joined
Feb 29, 2020
Messages
7
The perfech way is set it to empty, not FreeNAS-11.3-STABLE, see these posts:
 

GeekGoneOld

Dabbler
Joined
Aug 1, 2015
Messages
48
I just tried the db read and got:
Code:
root@freebkp01:~ # sqlite3 /data/freenas-v1.db
SQLite version 3.29.0 2019-07-10 17:32:03
Enter ".help" for usage hints.
sqlite> select * from system_update
   ...> ;
1|FreeNAS-11.3-STABLE|1
sqlite>


This seems to be different from your case which showed 4 fields of 1|1||11.2-U8. I expected 1|1||11.3-RELEASE or something similar. I realize that I typed in the command shown above to fix it, but now I'm not sure what state I'm in.

Before I type the update command, can you explain what these fields are and advise me as to whether my system is now dangerously inconsistent?

Just want to be sure before I go editing the database!!!

Keith
 

GeekGoneOld

Dabbler
Joined
Aug 1, 2015
Messages
48
So I looked at the table. Fields are upd_autocheck, upd_train and id. So mine doesn't match yours (you have 4 fields?). Odd.

Also, why would the GUI show something different? There seems to be more than one place this is stored which causes the initial problem that the GUI says I'm on train 11.3-RELEASE but the autocheck software uses another. How can I be sure I'm fixing both? Could there be a third? Do you know what the "midclt call update.set_train FreeNAS-11.3-STABLE" command changes? Is it this very field? Is it "the other one"?

Very worried. I hate duplication of data (as there appears to be here) because at some point they don't match!

Sorry to bother you, but I really don't want to end up with an inconsistent installation.

Keith
 

GeekGoneOld

Dabbler
Joined
Aug 1, 2015
Messages
48
@pader
Also, in my db in the system_update table, the upd_train field is specified as NOT NULL. I suppose you are setting it to a null string, not specifically NULL?

Could the differences be that I upgraded from 9.10, through other versions like 11.1 but with no fresh start?
 

pader

Cadet
Joined
Feb 29, 2020
Messages
7
@pader
Also, in my db in the system_update table, the upd_train field is specified as NOT NULL. I suppose you are setting it to a null string, not specifically NULL?

Could the differences be that I upgraded from 9.10, through other versions like 11.1 but with no fresh start?
I'm sorry I type wrong fields, there only 3 fields, and set upd_train to empty string '', not NULL, it's different.
 

pader

Cadet
Joined
Feb 29, 2020
Messages
7
You can refresh install a new version of FreeNAS in virtual machine, then backup and compare the data.
 
Top