opsi-wim-capture copy capture.opsiscript failed

Antworten
muecke_63
Beiträge: 10
Registriert: 11 Okt 2024, 18:07

opsi-wim-capture copy capture.opsiscript failed

Beitrag von muecke_63 »

Hallo zusammen,

ich habe das Problem dass beim opsi-wim-capture der sysprep sauber läuft, dann schlägt aber das kopieren der capture scripts fehl.

Schreibrechte für pcpatch auf opsi_depot_rw share sind vorhanden (getestet mit smbclient -U pcpatch)

Windows 11 ISO Build (tritt auch bei 23H2 auf):
Display Description: Windows 11 Pro
Build: 26100
Service Pack Build: 1742
Service Pack Level: 0

Paket Versionen:
opsi-wim-capture: 4.3.0.4-1
win11-x64: 4.3.0.2-9
win11-x64-captured: 4.3.0.2-9

Hier ein Log Auszug:

(980) [5] [2024-11-11 13:08:45.406] [opsi-wim-capture] Execution of: Files_copy_capture_opsiscript
(981) [7] [2024-11-11 13:08:45.407] [opsi-wim-capture] copy "p:\opsi-wim-capture\capture.opsiscript" "Y:\opsi\"
(982) [7] [2024-11-11 13:08:45.407] [opsi-wim-capture] copy
(983) [6] [2024-11-11 13:08:45.427] [opsi-wim-capture] Copying p:\opsi-wim-capture\capture.opsiscript -----> Y:\opsi\
(984) [6] [2024-11-11 13:08:45.427] [opsi-wim-capture] 1 File(s) found
(985) [7] [2024-11-11 13:08:45.428] [opsi-wim-capture] Source p:\opsi-wim-capture\capture.opsiscript
(986) [3] [2024-11-11 13:08:45.437] [opsi-wim-capture] Error: copy of p:\opsi-wim-capture\capture.opsiscript to Y:\opsi\capture.opsiscript not possible. CreateFile for reading, File Error No. 3 (Das System kann den angegebenen Pfad nicht finden.<)
(987) [6] [2024-11-11 13:08:45.437] [opsi-wim-capture] Info:
(988) [6] [2024-11-11 13:08:45.439] [opsi-wim-capture] 1 File(s) treated
(989) [7] [2024-11-11 13:08:45.442] [opsi-wim-capture] copy "p:\opsi-wim-capture\capture_special.opsiinc" "Y:\opsi\"
(990) [7] [2024-11-11 13:08:45.442] [opsi-wim-capture] copy
(991) [6] [2024-11-11 13:08:45.455] [opsi-wim-capture] Copying p:\opsi-wim-capture\capture_special.opsiinc -----> Y:\opsi\
(992) [6] [2024-11-11 13:08:45.455] [opsi-wim-capture] 1 File(s) found
(993) [7] [2024-11-11 13:08:45.456] [opsi-wim-capture] Source p:\opsi-wim-capture\capture_special.opsiinc
(994) [3] [2024-11-11 13:08:45.463] [opsi-wim-capture] Error: copy of p:\opsi-wim-capture\capture_special.opsiinc to Y:\opsi\capture_special.opsiinc not possible. CreateFile for reading, File Error No. 3 (Das System kann den angegebenen Pfad nicht finden.<)
(995) [6] [2024-11-11 13:08:45.463] [opsi-wim-capture] Info:
(996) [6] [2024-11-11 13:08:45.465] [opsi-wim-capture] 1 File(s) treated
(997) [7] [2024-11-11 13:08:45.468] [opsi-wim-capture] copy "p:\opsi-wim-capture\capture_special_sections.opsiinc" "Y:\opsi\"
(998) [7] [2024-11-11 13:08:45.468] [opsi-wim-capture] copy
(999) [6] [2024-11-11 13:08:45.480] [opsi-wim-capture] Copying p:\opsi-wim-capture\capture_special_sections.opsiinc -----> Y:\opsi\
(1000) [6] [2024-11-11 13:08:45.480] [opsi-wim-capture] 1 File(s) found
(1001) [7] [2024-11-11 13:08:45.481] [opsi-wim-capture] Source p:\opsi-wim-capture\capture_special_sections.opsiinc
(1002) [3] [2024-11-11 13:08:45.487] [opsi-wim-capture] Error: copy of p:\opsi-wim-capture\capture_special_sections.opsiinc to Y:\opsi\capture_special_sections.opsiinc not possible. CreateFile for reading, File Error No. 3 (Das System kann den angegebenen Pfad nicht finden.<)
(1003) [6] [2024-11-11 13:08:45.487] [opsi-wim-capture] Info:
(1004) [6] [2024-11-11 13:08:45.489] [opsi-wim-capture] 1 File(s) treated
(1005) [7] [2024-11-11 13:08:45.492] [opsi-wim-capture] copy "p:\opsi-wim-capture\opsi.png" "Y:\opsi\"
(1006) [7] [2024-11-11 13:08:45.492] [opsi-wim-capture] copy
(1007) [6] [2024-11-11 13:08:45.507] [opsi-wim-capture] Copying p:\opsi-wim-capture\opsi.png -----> Y:\opsi\
(1008) [6] [2024-11-11 13:08:45.508] [opsi-wim-capture] 1 File(s) found
(1009) [7] [2024-11-11 13:08:45.508] [opsi-wim-capture] Source p:\opsi-wim-capture\opsi.png
(1010) [3] [2024-11-11 13:08:45.515] [opsi-wim-capture] Error: copy of p:\opsi-wim-capture\opsi.png to Y:\opsi\opsi.png not possible. CreateFile for reading, File Error No. 3 (Das System kann den angegebenen Pfad nicht finden.<)
(1011) [6] [2024-11-11 13:08:45.516] [opsi-wim-capture] Info:
(1012) [6] [2024-11-11 13:08:45.517] [opsi-wim-capture] 1 File(s) treated
(1013) [7] [2024-11-11 13:08:45.520] [opsi-wim-capture] copy "p:\opsi-wim-capture\uib_bootutils.opsiscript" "Y:\opsi\"
(1014) [7] [2024-11-11 13:08:45.520] [opsi-wim-capture] copy
(1015) [6] [2024-11-11 13:08:45.532] [opsi-wim-capture] Copying p:\opsi-wim-capture\uib_bootutils.opsiscript -----> Y:\opsi\
(1016) [6] [2024-11-11 13:08:45.532] [opsi-wim-capture] 1 File(s) found
(1017) [7] [2024-11-11 13:08:45.533] [opsi-wim-capture] Source p:\opsi-wim-capture\uib_bootutils.opsiscript
(1018) [3] [2024-11-11 13:08:45.540] [opsi-wim-capture] Error: copy of p:\opsi-wim-capture\uib_bootutils.opsiscript to Y:\opsi\uib_bootutils.opsiscript not possible. CreateFile for reading, File Error No. 3 (Das System kann den angegebenen Pfad nicht finden.<)
(1019) [6] [2024-11-11 13:08:45.540] [opsi-wim-capture] Info:
(1020) [6] [2024-11-11 13:08:45.541] [opsi-wim-capture] 1 File(s) treated
(1021) [5] [2024-11-11 13:08:45.550] [opsi-wim-capture] Finished section: Files_copy_capture_opsiscript

Lösungsansätze:

- alle beteiligten Pakete mit default Werten neu installiert
- verschiedene win11 Isos getestet


Bin dankbar für jeden Hinweis.

Markus
Der der kommt wenn schon viele Admins am Werk waren :roll: :D
muecke_63
Beiträge: 10
Registriert: 11 Okt 2024, 18:07

Re: opsi-wim-capture copy capture.opsiscript failed

Beitrag von muecke_63 »

Zum Test einen opsi server frisch installiert per vorkonfigurierter vm:
Hier ein anderer Fehler wieder nach dem sysprep:
preserve winpe war aktiviert, driver sind hinterlegt.

(1072) [3] [2024-11-12 00:24:35.049] [opsi-wim-capture] Error: Drive C: still ready
(1073) [6] [2024-11-12 00:24:35.049] [opsi-wim-capture] The value of the variable "$tmpstr1$" is now: "false"
(1074) [6] [2024-11-12 00:24:35.050] [opsi-wim-capture] The value of the variable "$uefiBootLabel$" is now: "opsitempwinpe"
(1075) [3] [2024-11-12 00:24:35.302] [opsi-wim-capture] Error: failed to find boot entry with label: opsitempwinpe
(1076) [3] [2024-11-12 00:24:35.307] [opsi-wim-capture] Error: failed to get boot entry for label: opsitempwinpe
(1077) [7] [2024-11-12 00:24:35.308] [opsi-wim-capture] expression: [stringToBool(bootNextToUefiLabel($uefiBootLabel$))] <<< is false
(1078) [7] [2024-11-12 00:24:35.308] [opsi-wim-capture] expression: [not(stringToBool(bootNextToUefiLabel($uefiBootLabel$)))] <<< is true
(1079) [3] [2024-11-12 00:24:35.308] [opsi-wim-capture] Error: Activating peboot is failed
(1080) [2] [2024-11-12 00:24:35.308] [opsi-wim-capture] Error level set to fatal: failed peboot
Der der kommt wenn schon viele Admins am Werk waren :roll: :D
Antworten