ghostbsd / issues

Issue tracker for GhostBSD
BSD 2-Clause "Simplified" License
3 stars 1 forks source link

Update Manager: cannot create boot environment backup #149

Open grahamperrin opened 5 months ago

grahamperrin commented 5 months ago

Version

24.01.1

What desktop?

Official MATE

Explain the issue and what happens

The checkbox ☐ can not be checked:

image

Explain how to reproduce the bug?

  1. Have a single boot environment, named fourteen
  2. after not booting for some time (weeks, maybe months)
  3. boot, sign in
  4. await a hint that updates are available
  5. use the hint to open Update Manager
  6. ☐ Create boot environment backup
  7. the checkbox ☐ can not be checked

What is the Expected behavior (if applicable)

Creation should be possible:

☑ Create boot environment backup

Additional context (if applicable)

No response

ericbsd commented 5 months ago

@grahamperrin, what df -Tt zfs / return on that system?

Also, what is the output of pkg info update-station?

It is possible that the old version of the update station is looking for something missing. I changed 1.9 to use df instead of bectl for detecting zfs.

ericbsd commented 2 months ago

@grahamperrin, is this still happening?

grahamperrin commented 2 months ago
grahamperrin@mowa219-gjp4-ghostbsd-14-vm:~ % df -Tt zfs /
Filesystem           Type  1K-blocks     Used      Avail Capacity  Mounted on
april/ROOT/fourteen  zfs  1021894480 13590832 1008303648     1%    /
grahamperrin@mowa219-gjp4-ghostbsd-14-vm:~ % pkg info update-station
update-station-4.9
Name           : update-station
Version        : 4.9
Installed on   : Thu Feb 22 04:39:24 2024 GMT
Origin         : ports-mgmt/update-station
Architecture   : FreeBSD:14:amd64
Prefix         : /usr/local
Categories     : ports-mgmt
Licenses       : BSD
Maintainer     : ericturgeon@ghostbsd.com
WWW            : https://github.com/GhostBSD/update-station/
Comment        : Tool to update FreeBSD/GhostBSD software and system.
Annotations    :
        FreeBSD_version: 1400501
        flavor         : py39
        repo_type      : binary
        repository     : GhostBSD
Flat size      : 61.5KiB
Description    :
Tool to update FreeBSD/GhostBSD software and system.
:
WWW: http://www.ghostbsd.org/
grahamperrin@mowa219-gjp4-ghostbsd-14-vm:~ % 

Sorry! This fell off my radar.

ericbsd commented 2 months ago

@grahamperrin, no worries. This will help me to figure out if it is still a problem and look at the logic of the code.

grahamperrin commented 2 months ago

The symptom persisted, so before your most recent comment I had already upgraded update-station (log attached) then reboot -r.

There's now the invitation to upgrade to pkgbase, would you like me to proceed?

(I have also used pkgbase with FreeBSD-CURRENT since February. Very happy with it.)


2024-09-08 21-20.txt

The removal of ghostbsd-mate was a surprise, but did not trouble me. I reinstalled it.

ericbsd commented 2 months ago

Oh, this kind of issue started to scare me lately. I made a ticket to set our default packages as vital packages.

grahamperrin commented 2 months ago

~There's now the invitation to upgrade to pkgbase, would you like me to proceed?~

Now I see, https://www.ghostbsd.org/news/GhostBSD_24.07.1_Is_Now_Available

… Only upgrade from 24.04.2. …