NethServer Version: 7.8
Module: System
Hi to everybody,
the console advice me about the upgrade to 7.9 version, trying to do it I receive an error, following you can find the report.
Thanks for your support
Enrico
[root@nethserver1 ~]# echo ‘{“action”:“upgrade”}’ | /usr/bin/setsid /usr/bin/sudo /usr/libexec/nethserver/api/system-packages/update | jq
{
“steps”: 1,
“pid”: 1964,
“args”: “”,
“event”: “software-repos-upgrade”
}
{
“step”: 1,
“pid”: 1964,
“action”: “S20nethserver-base-distro-upgrade”,
“event”: “software-repos-upgrade”,
“state”: “running”
}
{
“progress”: “1.00”,
“time”: “1.46462”,
“exit”: 256,
“event”: “software-repos-upgrade”,
“state”: “done”,
“step”: 1,
“pid”: 1964,
“action”: “S20nethserver-base-distro-upgrade”
}
{
“pid”: 1964,
“status”: “failed”,
“event”: “software-repos-upgrade”
}
{
“id”: “1637316765”,
“type”: “EventFailed”,
“message”: “See /var/log/messages”
}
Well, I solved myself, it was a simple problems, I noted that the servers (that gave me problems after setup with the network interfaces) doesn’t has the DNS configured so it cannot find any repository. Changed the resolve.conf file all seems to gone better even if now it always show 7.8 version
dnutan
(Marc)
November 19, 2021, 7:40pm
3
About the version displayed, a similar thread was:
As @giacomo said, the file is /etc/os-releasein particular the key VERSION. If you try to check the content of that key you should see the correct system version.
If you try to change it, save the file and execute systemctl restart cockpit then Ctrl+Shift+R to hard refresh the cockpit login page, you should see the same version.
Have you try it?
PS. that file is a NethServer template: /etc/e-smith/templates/etc/os-release/10base
Alternative to the upgrade through UI there was possible from command line as well:
Upgrade (but it does not give any progress information, just a long wait):
yum update
signal-event software-repos-upgrade
Upgrade method showing progress:
yum install -y http://mirror.nethserver.org/nethserver/nethserver-release-7.rpm
signal-event software-repos-save
yum update
Hi guys,
thanks a lot, I’ll try as showed in the answer of the post.
Thanks again
pike
(Michael Kicks)
November 20, 2021, 12:13pm
5
Image currently not visible, @enricocicconi
dnutan
(Marc)
November 20, 2021, 12:16pm
6
I believe the image was from the mail signature. Now the signature is removed. Regards.