[RESOLVED] No more packets and error message

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
Robin
Messages: 9
Registration: Sep 27, 2019 - 11:55

October 4, 2019 - 10:59

Hello everyone,

I wanted to import a package into my private repository. The package was LibreOffice, which is about 250MB.
The upload crashed at around 50% with a message saying the server was no longer responding. My Wapt server crashes every time; I've tested it twice.

I restarted my server and console. I no longer have any packages and I get an error message when I refresh the packages available in my groups and repository.
Captureww.PNG
Captureww.PNG (34.39 KB) Viewed 6608 times
WAPT Server version: 1.7.4 - OS Linux debian 9.11 stretch
OS Windows 10 (administration)

Thanks in advance
Last edited by Robin on 04 Oct 2019 - 14:32, edited 1 time.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

October 4, 2019 - 11:18

Hello, I can give you the procedure to fix the problem, but I'm missing some information (see forum rules at the top of the page)
Robin
Messages: 9
Registration: Sep 27, 2019 - 11:55

October 4, 2019 - 2:33 PM

sfonteneau wrote: Oct 4, 2019 - 11:18 AM Hello, I can give you the procedure to fix the problem, but I'm missing some information (see forum rules at the top of the page)
Good morning

I edited my post

WAPT Server version: 1.7.4 - OS Linux debian 9.11 stretch
OS Windows 10 (administration)
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

October 4, 2019 - 6:56 PM

Run `wapt-scanpackages /var/www/wapt -ldebug`.

Remove the problematic Wapt package, then run

`wapt-scanpackages /var/www/wapt -ldebug`
Robin
Messages: 9
Registration: Sep 27, 2019 - 11:55

October 7, 2019 - 9:49 AM

sfonteneau wrote: Oct 4, 2019 - 6:56 PM Run `wapt-scanpackages /var/www/wapt -ldebug`.

Delete the problematic wapt package, then run

`wapt-scanpackages /var/www/wapt -ldebug`
Thanks for your reply. It was just a test image at first, so I reverted to my original one. I'll test it next time.
Robin
Messages: 9
Registration: Sep 27, 2019 - 11:55

October 7, 2019 - 10:44

sfonteneau wrote: Oct 4, 2019 - 6:56 PM Run `wapt-scanpackages /var/www/wapt -ldebug`.

Delete the problematic wapt package, then run

`wapt-scanpackages /var/www/wapt -ldebug`
I imported a package and I'm getting the error message again. When you talk about deleting the package, can you tell me which folder on the server it's installed in by default?.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

October 7, 2019 - 11:15

Hello, in /var/www/wapt or /var/www/html/wapt,

can you tell me which package you are trying to import?
Robin
Messages: 9
Registration: Sep 27, 2019 - 11:55

October 7, 2019 - 11:31

sfonteneau wrote: Oct 7, 2019 - 11:15 AM Hello, in /var/www/wapt or /var/www/html/wapt,

can you tell me which package you are trying to import?
I wanted to create a simple MSI package (https://www.wapt.fr/fr/doc/wapt-create- ... index.html)
When making my selection, I used "Create and edit..." instead of "Create and upload". Nothing happened, and I've been getting the error message "BadZipFile: File is not a zip file"

I don't have a /var/www/html/wapt directory, and my .msi file isn't in /var/www/wapt
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

October 7, 2019 - 12:00

Robin wrote: Oct 7, 2019 - 11:31 When making my selection, I used "Create and edit..." instead of "Create and upload". Nothing happened, and since then I've been getting the error message "BadZipFile: File is not a zip file".
Have you installed PyScripter correctly? (If you haven't clicked "build-upload" yet, the server hasn't received anything.)
Robin wrote: Oct 7, 2019 - 11:31 AM I don't have a /var/www/html/wapt directory. And in /var/www/wapt I don't have my .msi file.
https://www.wapt.fr/fr/doc/wapt-create- ... index.html

First line:

A WAPT package is a zip file that contains several elements


Therefore, you will only find .wapt files in the /var/www/wapt folder
Robin
Messages: 9
Registration: Sep 27, 2019 - 11:55

October 7, 2019 - 2:26 PM

sfonteneau wrote: Oct 7, 2019 - 12:00 PMDid you install PyScripter correctly? (If you haven't clicked "build-upload" yet, the server hasn't received anything.)
I installed it manually. I didn't do it via a Wapt package (I only saw that in the documentation later). So when I try to install it, it doesn't automatically open PyScripter.
sfonteneau wrote: Oct 7, 2019 - 12:00 PM https://www.wapt.fr/fr/doc/wapt-create- ... index.html

First line:

A WAPT package is a zip file containing several elements.


Therefore, you will only find .wapt files in the /var/www/wapt folder.
Yes, I made a mistake with "generate a package template" for the .msi file
Locked