Page 2 of 2
Re: [SOLVED] wapt agent and repo_rules
Published: March 7, 2023 - 09:37
by jdziadek
Hello, I have a similar problem. All the packages I updated after declaring the repository are not synchronizing.
When I look at the logs:
Code: Select all
Exception: Downloaded file https://xxxxxx/wapt/Packages sha256 xxxxxx does not match expected yyyyyy
Re: [SOLVED] wapt agent and repo_rules
Published: March 8, 2023 - 11:28
by guigeek
I solved my problem.
In fact, in the file /opt/wapt/wapt-get.ini I modified the path: local_repo_path=/home/wapt
and therefore in nginx I had to change the configuration so that nginx points to the local_repo_path.
Re: [SOLVED] wapt agent and repo_rules
Published: March 8, 2023 - 12:14
by dcardon
Indeed, if you modify the path, you must update it on the nginx system.
Thanks Guillaume for your feedback,

Denis
Re: [SOLVED] wapt agent and repo_rules
Published: March 8, 2023 - 2:46 PM
by x-davidl
For jdziadek, it looks like the sync.json file doesn't seem to be the same between the source repository and the mirror machine.
Regards
Re: [SOLVED] wapt agent and repo_rules
Published: March 10, 2023 - 08:33
by jdziadek
x-davidl wrote: ↑March 8, 2023 - 2:46 PM
for jdziadek, it looks like the sync.json file doesn't seem to be the same between the source repository and the mirror machine.
Regards
Hello, my server-side json.sync is indeed old; it lists old packages and not new ones, so it makes sense that it's failing. How can I regenerate it properly?
Julian