Seite 1 von 2

opsi-local-image-backup Probleme beim Backup

Verfasst: 30 Aug 2023, 10:37
von loewe080882
Hallo zusammen,
leider habe ich Probleme beim localen Backup.

opsi-uefi-netboot schlägt fehl, nach einem eintrag in die
Host-Parameter, clientconfig.uefinetbootlabel mit dem eintrag : IPV4 Network - Intel(R) Ethernet Connection (11) I219-LM
läuft das Setup durch.

Danach das Setup unter opsi-local-image-backup-starter once gestartet, läuft durch, dass System startet neun und danach kommt folgener fehler; NameError: name 'AveRate' is not defined
----------------------------------------------------------------
Warning 'OPSI.Logger.logException is deprecated, instead use logger.log with exc_info=True.' in file 'OPSI/Logger.py', line 422 (logging.py:848)
File "run-master", line 1739, in <module> (logging.py:851)
(logging.py:851)
File "OPSI/Logger.py", line 422, in logException (logging.py:851)
(logging.py:851)
File "warnings.py", line 109, in _showwarnmsg (logging.py:851)
(logging.py:851)
File "opsicommon/logging/logging.py", line 849, in _log_warning (logging.py:851)
(logging.py:851)
(name 'AveRate' is not defined (Logger.py:423)
Traceback (most recent call last):
File "run-master", line 1686, in <module>
File "/tmp/setup.py", line 514, in <module>
logger.notice(u"Setting image meta data: AveRate: %s " % (AveRate) )
NameError: name 'AveRate' is not defined

----------------------------------------------------------------------------------------------------------------
Log opsi-local-image-backup-starter:
WinIsUefi detect by GetFirmwareType: UEFI Boot Mode
runningOnUefi <<< result true
Then
Error: failed to find boot entry with label: IPV4 Network - Intel(R) Ethernet Connection (11) I219-LM
Error: Error: Got empty GUID for label: IPV4 Network - Intel(R) Ethernet Connection (11) I219-LM

Hat jemand eine Idee woran es liegen könnte.
Opsi und alle Pakete sind aktuell.

Vielen Dank
Gruß
Matthias

Re: opsi-local-image-backup Probleme beim Backup

Verfasst: 30 Aug 2023, 11:41
von SisterOfMercy
What is the version of the bootimage, and what is the version of the netboot package?

Re: opsi-local-image-backup Probleme beim Backup

Verfasst: 30 Aug 2023, 12:52
von loewe080882
Hallo
netboot 4.2.0.2-1
opsi-linux-bootimage 20221128-2

Gruß
Matthias

Re: opsi-local-image-backup Probleme beim Backup

Verfasst: 30 Aug 2023, 13:19
von SisterOfMercy
Well, your opsi packages are not up to date. You update your bootimage by updating your OS packages. If you are on 4.1, you need to update to 4.2 first.

opsi-local-image-backup-starter doesn't seem to exist on download.uib.de, so it might have been replaced with something else.

Re: opsi-local-image-backup Probleme beim Backup

Verfasst: 30 Aug 2023, 13:32
von loewe080882
Hallo,
update
ist jetzt auf opsi-linux-bootimage 20230614-1
Gruß
Matthias

Re: opsi-local-image-backup Probleme beim Backup

Verfasst: 30 Aug 2023, 13:36
von SisterOfMercy
And have you tried it again?

Re: opsi-local-image-backup Probleme beim Backup

Verfasst: 30 Aug 2023, 13:40
von loewe080882
Hallo,
es funktioniert leider immer noch nicht.
Dienste wurden auch neu gestartet!
Gruß
Matthias

Re: opsi-local-image-backup Probleme beim Backup

Verfasst: 30 Aug 2023, 13:42
von SisterOfMercy
Then I think you should look into what changed with the opsi-local-image-backup products. I have no experience with it, so can't help you.

Re: opsi-local-image-backup Probleme beim Backup

Verfasst: 30 Aug 2023, 13:59
von loewe080882
opsi-local-image-backup_4.2.0.3-1 hat leider auch nicht funktioniert, weitere pakete sind nicht verfügbar.

bleibt immer noch der fehler mit
NameError("name ´AveRate´ is not defined")

Re: opsi-local-image-backup Probleme beim Backup

Verfasst: 30 Aug 2023, 14:08
von SisterOfMercy
loewe080882 hat geschrieben: 30 Aug 2023, 13:59 weitere pakete sind nicht verfügbar.
You might want to install new packages with "opsi-package-updater install packagename"
packagelist: https://download.uib.de/4.2/stable/pack ... e/netboot/
documentation: https://download.uib.de/4.2/documentati ... localimage