Good morning,
I'm making progress in my private central repository without installing wapt.
I managed to create my server without installing Wapt Server and with Nginx secured with https and password (httpwd).
However, I cannot find the scripts to create a repository: tis-waptrepo for version 1.8.
To move forward, I imported the complete /opt/wapt folder from a working server onto my server.
I created a bash script that reproduces this:
Code: Select all
#!/bin/bash
chown -R wapt:www-data /var/www/wapt
PYTHONPATH=/opt/wapt PYTHONHOME=/opt/wapt python /opt/wapt/wapt-signpackages.py -s --message-digest=sha256,sha1 -c /tmp/cert.crt /var/www/wapt/*.wapt
PYTHONHOME=/opt/wapt PYTHONPATH=/opt/wapt /opt/wapt/bin/python /opt/wapt/wapt-scanpackages.py -r -f -ldebug /var/www/wapt
Everything works rather well, the debug does not display any errors, renaming the wapt file correctly with MD5, and generating the Packages file.
I can see my package list from the console of another server.
However, when I try to download it, I consistently get the following message:
"Download cancelled. The downloaded file xxxxx... is corrupted; the MD5 checksum does not match."
However, when you look at the file name, the contents of Packages, the MD5 sum is indeed the same...
I don't understand....
Could you tell me what I need to do? Or where I can find scripts to generate the packages without MD5 errors?
Thank you.
Sincerely