Seite 1 von 1

Error during win10-x64 installation - SOLVED

Verfasst: 26 Jan 2016, 13:25
von bourhis
Hi,

during the installation of win10-x64 netboot product (version 4.0.6.2-2) there is this error when "setup.py" is running to copy the "winpe" files :

Repository error : Failed to get file info dor '/mnt/opsi/win10-x64/winpe//boot/Fonts/meiryo_boot.ttf': file not found

A similar installation with another server works without problem : the opsi packages are the same, all the files in the "win10-x64" directory are the same (synchronised with "rsync").
The only difference between the two server is the Ubuntu version : 12.04 (which works) vs 14.04

What am I doing wrong ?

Regards.

Re: Error during win10-x64 installation

Verfasst: 26 Jan 2016, 15:32
von ngbr
Hi,

try opsi-setup --set-rights

correct ownership of files is critical in several cases

HTH

ngbr

Re: Error during win10-x64 installation

Verfasst: 26 Jan 2016, 15:43
von bourhis
Hi,

I do "opsi-setup --set-rights ." : no change...

Regards.

Re: Error during win10-x64 installation

Verfasst: 26 Jan 2016, 16:24
von ngbr
you could track it down. you can log on to the client machine running the bootimage with root / linux123 .

verify the path and file availability of your mentioned file. seems like for some reason it is not available from the client.
the depot seems to be successfully mounted.

there is a logfile in /tmp, you could post that here.

Re: Error during win10-x64 installation

Verfasst: 27 Jan 2016, 10:29
von bourhis
Hi,

The last lines of the log file :
<code>
[6] [janv. 27 09:41:41] Transfered 44.84 kByte in 0.00 minutes, average speed was 7278.68 kByte/s (Repository.py|418)
[7] [janv. 27 09:41:41] Length of binary data to download: 46468 bytes (Repository.py|742)
[7] [janv. 27 09:41:41] Transfer in from <open file u'/mnt/opsi/win10-x64/winpe//boot/Fonts/wgl4_boot.ttf', mode 'rb' at 0xb4f2f8b8> to <open file u'/mnt/hd/boot/Fonts/wgl4_boot.ttf', mode 'wb' at 0xb4f2fd30>, dynamic bandwidth False, max bandwidth 0 (Repository.py|366)
[7] [janv. 27 09:41:41] Filesize is: 46468 (Repository.py|377)
[6] [janv. 27 09:41:41] Transfered 45.38 kByte in 0.00 minutes, average speed was 7268.78 kByte/s (Repository.py|418)
[2] [janv. 27 09:41:42] Traceback: (Logger.py|765)
[2] [janv. 27 09:41:42] line 1461 in '<module>' in file '/usr/local/bin/master.py' (Logger.py|765)
[2] [janv. 27 09:41:42] line 725 in '<module>' in file '/tmp/setup.py' (Logger.py|765)
[2] [janv. 27 09:41:42] line 614 in 'copy' in file '/usr/lib/python2.7/dist-packages/OPSI/Util/Repository.py' (Logger.py|765)
[2] [janv. 27 09:41:42] ==>>> Repository error: Failed to get file info for '/mnt/opsi/win10-x64/winpe//boot/Fonts/meiryo_boot.ttf': File not found (master.py|1509)
[7] [janv. 27 09:41:42] Backend: <JSONRPCBackend(host=u'172.18.60.67', deflate=False)> (master.py|1512)
[7] [janv. 27 09:41:42] ProductId: win10-x64 (master.py|1513)
[7] [janv. 27 09:41:42] ClientId: iutgestb110.iutb.univ-brest.fr (master.py|1514)
[7] [janv. 27 09:41:42] ProductOnClient: <ProductOnClient(clientId=u'iutgestb110.iutb.univ-brest.fr', productId=u'win10-x64', installationStatus=u'unknown', actionRequest=u'none')> (master.py|1515)
[6] [janv. 27 09:41:42] Updating productOnClient: {'actionProgress': u'', 'actionResult': u'failed', 'clientId': u'iutgestb110.iutb.univ-brest.fr', 'modificationTime': None, 'actionRequest': u'none', 'targetConfiguration': None, 'productVersion': None, 'productType': u'NetbootProduct', 'type': u'ProductOnClient', 'lastAction': None, 'packageVersion': None, 'actionSequence': None, 'installationStatus': u'unknown', 'productId': u'win10-x64'} (master.py|1526)
[7] [janv. 27 09:41:42] Executing jsonrpc method 'productOnClient_updateObjects' on host 172.18.60.67 (JSONRPC.py|115)
[7] [janv. 27 09:41:42] Posting request... (JSONRPC.py|706)
[7] [janv. 27 09:41:42] Starting new HTTPS connection (0) to 172.18.60.67:4447 (HTTP.py|587)
[7] [janv. 27 09:41:42] Connection established to: 172.18.60.67 (HTTP.py|600)
[7] [janv. 27 09:41:42] Failed to get peer cert: 'NoneType' object has no attribute 'getpeercert' (HTTP.py|191)
[7] [janv. 27 09:41:42] Closing connection: <httplib.HTTPSConnection instance at 0xb4ef418c> (HTTP.py|530)
[7] [janv. 27 09:41:42] Content-Type: gzip-application/json;charset=utf-8, Content-Encoding: deflate (JSONRPC.py|723)
[7] [janv. 27 09:41:42] Expecting deflated data from server (backwards compatible) (JSONRPC.py|731)
[5] [janv. 27 09:41:42] Writing log to service (master.py|1536)
</code>

It strange : in the directory /mnt/opsi/win10-x64/winpe/boot/Fonts/ I see only 6 files, but if mount this share on my PC I can see all the files !

Regards.

Re: Error during win10-x64 installation

Verfasst: 27 Jan 2016, 10:58
von ngbr
Hi bourhis,

indeed, strange !

could you pls post the output of

ls -l /var/lib/opsi/depot/win10-x64

?

I believe you, don't worry, but I can bother other people only if I can show sth ;)

Re: Error during win10-x64 installation

Verfasst: 27 Jan 2016, 11:09
von ngbr
excuse me I mean output of

ls -l /var/lib/opsi/depot/win10-x64/winpe/fonts

Re: Error during win10-x64 installation

Verfasst: 27 Jan 2016, 11:26
von bourhis

Code: Alles auswählen

total 13072
-rw-rw---- 1 opsiconfd pcpatch 3694080 juin  17  2015 chs_boot.ttf
-rw-rw---- 1 opsiconfd pcpatch 3876772 juin  17  2015 cht_boot.ttf
-rw-rw---- 1 opsiconfd pcpatch 1984228 juin  17  2015 jpn_boot.ttf
-rw-rw---- 1 opsiconfd pcpatch 2371360 juin  17  2015 kor_boot.ttf
-rw-rw---- 1 opsiconfd pcpatch  168212 juin  17  2015 malgun_boot.ttf
-rw-rw---- 1 opsiconfd pcpatch  165764 juin  17  2015 malgunn_boot.ttf
-rw-rw---- 1 opsiconfd pcpatch  134508 juin  17  2015 meiryo_boot.ttf
-rw-rw---- 1 opsiconfd pcpatch  132888 juin  17  2015 meiryon_boot.ttf
-rw-rw---- 1 opsiconfd pcpatch  154896 juin  17  2015 msjh_boot.ttf
-rw-rw---- 1 opsiconfd pcpatch  152892 juin  17  2015 msjhn_boot.ttf
-rw-rw---- 1 opsiconfd pcpatch  146228 juin  17  2015 msyh_boot.ttf
-rw-rw---- 1 opsiconfd pcpatch  142124 juin  17  2015 msyhn_boot.ttf
-rw-rw---- 1 opsiconfd pcpatch   36020 juin  17  2015 segmono_boot.ttf
-rw-rw---- 1 opsiconfd pcpatch   77088 juin  17  2015 segoen_slboot.ttf
-rw-rw---- 1 opsiconfd pcpatch   77404 juin  17  2015 segoe_slboot.ttf
-rw-rw---- 1 opsiconfd pcpatch   47452 juin  17  2015 wgl4_boot.ttf
I have solved my problem : in "winpe/boot" there is 2 directory "fonts" and "Fonts" ; if I delete "fonts" there is no error !
N.B. : in my other server there is also these 2 directory without any problem... but it's not exactly the same version of "samba" (due to 2 different version of Ubuntu).
"fonts" seem not useful : perhaps I have made a mistake when I have generated the new winpe with the Windows 10 ADK ?

Regards.

Re: Error during win10-x64 installation

Verfasst: 27 Jan 2016, 12:43
von ngbr
hi Bourhis,

glad things are working :)

actually, its hard to make errors when creating the winpe there.
the new Samba might be more sensitive.
However, we'll provide more comfortable means to create winpe soon ;)

have a nice day!