Page 1 sur 1

Paquet upgrade windows 10 1809

Publié : 28 févr. 2019 - 16:12
par Elminio
Serveur wapt 1.5.1.22 sur windows server 2016

Bonjour à tous,

J'ai suivi la procédure du sujet paquet upgrade windows 10 1803.

Je rencontre un problème avec la création du premier paquet.

voici mon setup.py :

# -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []

path_install = makepath(programfiles32,"WindowsUpgrade")

def install():
mkdirs(path_install )
copytree2("WINDOWS1809",path_install)

J'ai réalisé deux tests :
- avec le dossier1809 contenant le windows 10
- sans le dossier1809

Avec le dossier 1809, j'ai cette erreur :
List of errors :
c:\waptdev\deploiement-w10data-1809-wapt
Buildind and uploading packages to https://serveur
FATAL ERROR : Exception: No package to upload
Exit code: 3
>>>

Sans le dossier 1809, le paquet est bien créé et uploadé sur le serveur.

Re: Paquet upgrade windows 10 1809

Publié : 05 mars 2019 - 14:04
par Elminio
Depuis la commande : wapt-get install "C:\waptdev\deploiement-w10data-1809-wapt"
Installing WAPT files C:\waptdev\deploiement-w10data-1809-wapt

Results :

=== install packages ===
C:\waptdev\deploiement-w10data-1809-wapt | deploiement-w10data-1809 (1.0.0-4)
2019-03-05 11:14:41,400 WARNING Host on the server is not known or not known under this FQDN name (known as None). Trying to register the computer...
2019-03-05 11:14:45,772 WARNING New registration successful

C:\Windows\system32>wapt-get build "C:\waptdev\deploiement-w10data-1809-wapt"
Unknown action build

C:\Windows\system32>wapt-get build-upload "C:\waptdev\deploiement-w10data-1809-wapt"
Building packages 1 packages
Personal certificate is waptprivateao
Please type the password to decrypt the private key
Password:
Private key is <SSLPrivateKey u'c:\\private\\waptprivate.pem'>
Building C:\waptdev\deploiement-w10data-1809-wapt
...done building. Package filename C:\waptdev\deploiement-w10data-1809_1.0.0-4_all.wapt
Signing C:\waptdev\deploiement-w10data-1809_1.0.0-4_all.wapt with key <SSLPrivateKey u'c:\\private\\waptprivate.pem'> and certificate waptprivateao (c:\private\waptprivate.crt)
ERROR building C:\waptdev\deploiement-w10data-1809-wapt: cannot fit 'long' into an index-sized integer
0 packages successfully built
1 packages failed
List of errors :
C:\waptdev\deploiement-w10data-1809-wapt
Buildind and uploading packages to https://serveur
Please get login for https://serveur/api/v3/upload_xxx:admin
Password:
FATAL ERROR : Exception: No package to upload

C:\Windows\system32>

Re: Paquet upgrade windows 10 1809

Publié : 05 juin 2019 - 11:53
par renaud.counhaye
Bonjour,

A mon avis, tu as un paquet trop lourd pour l'upload via PyScripter.
Tu peut très bien le compiler puis le transfèrer a coup de samba/ftp ensuite pour finir par un rescan du dossier du store ça devrais t'éviter cette erreur