Page 1 of 1

WAPT console and private repository (error)

Published: May 26, 2015 - 4:18 PM
by Libersa
Hello,

I'm working on WAPT as an intern and I'm stuck on a repository problem.
Since I'm testing the software so my supervisor can then reuse my work, I don't have anyone on-site to help me solve the problem.

When I go to the private repository tab in the console, it remains empty despite the fact that I've imported several packages (both from a repository and a file), packages which are definitely on my server since I can see their presence by clicking on the private repository tab in the web console.

Have I missed a step in the installation? Is this an error?

Thank you for your attention. Sincerely,
Libersa.

Re: WAPT console and private repository (error)

Published: May 27, 2015 - 09:45
by htouvet
On the server, in the same directory as the packages, there must be a "Packages" file.
This is the package index. This is the file that is read to display the list of packages in the console or that is read by client PCs to find out the latest versions of the packages.
This file is updated each time a new package is uploaded to the server.
Check that this file exists (it is actually a zip file) in the private repository tab and that its date is more recent than all the packages... and that it is accessible via http.

Using the command prompt (cmd) as administrator, test the following commands:
wapt-get -ldebug --direct update
wapt-get search

Re: WAPT console and private repository (error)

Published: May 27, 2015 - 10:22
by Libersa
Hello,

I see I forgot to mention that my server was running Debian when I wrote my message, so regarding the commands, I would appreciate their Linux equivalents (sorry for the oversight).

As for the "Packages" file, I can see that it is indeed present via the web console and that it updated along with the last imported package. However, nothing is displayed in the private repository tab of the console.
Regarding HTTP accessibility, I can download the file via the private repository in the web console, if I understand the question correctly, but it doesn't give me a zip file.

Thank you for your reply.

Re: WAPT console and private repository (error)

Published: May 27, 2015 - 11:01
by htouvet
In the console, check the repository URL in the Tools / Local WAPT Configuration menu
main repository URL

The
http://mywaptserver.mylocaldomain/wapt

(note the /wapt at the end).

Then, click the "Refresh Available Packages" button in the "Private Repository" tab.

Are you using a proxy?

Re: WAPT console and private repository (error)

Published: May 27, 2015 - 11:14
by Libersa
Thanks, problem solved!

The repository URL was written as an IP address: https://192.168.xxx.xxx.
I modified it to add /wapt to the end, and the repository now displays correctly.

Thank you for your help, and best of luck with your project.