Page 1 of 2
Move the file from the repository
Published: Dec 21, 2015 - 8:49 PM
by knpc
Hello,
I would like to know which files need to be modified to redirect the folder containing the package repository to another hard drive.
Is it just the WAPT files, and if so, which ones? Or is it also in the IIS configuration, and if so, where?
Thank you
, Knpc
Re: Moving the folder from the repository
Published: January 6, 2016 - 2:05 AM
by dcardon
Good evening,
in the case of a standard installation on a Windows server, Apache serves the packages and has a virtual host configured to point to the correct directory. Therefore, in the case of IIS, you will also need to change the "physical path" in the site configuration, see
http://dev.tranquil.it/scenari/wsus_wap ... iis_3.html.
Then you also need to specify the new path in the waptserver.ini file.
That said, dedicating a VM is still the simplest solution.
Sincerely,
Denis
Re: Moving the folder from the repository
Published: February 5, 2016 - 8:08 PM
by knpc
Hi,
thanks for your reply.
I've made the correct changes in IIS
but I can't find where to modify the following in the waptserver.ini file:
[uwsgi]
http-socket = 127.0.0.1:8080
master = true
processes = 16
wsgi = waptserver:app
chdir = /opt/wapt/waptserver/
max-requests = 100
uid = wapt
gid = www-data
enable-threads = true
[options]
wapt_user = admin
wapt_password = b7ae7a0cb01360d6c70e5f0dc89d6b90c194720e
server_uuid = 5419674f-cc27-11e5-81a1-005056be36ea
Knpc
Re: Moving the folder from the repository
Published: February 5, 2016 - 8:38 PM
by knpc
Hi,
When I use "Import from repository": See configuration below

- config depot.JPG (119.03 KB) Viewed 9705 times
I modified the URL path of the main template repository to the Tranquil.it server to obtain the list of software
When I import one, it's transferred to the folder c:\wapt\waptserver\repository\wapt, except that my configuration is that this folder is located on another drive e:\wapt\repository\wapt
the link
http://wapt.mont-tremblant.local/wapt points correctly to my folder on E:
How can I import the WAPT packages into my folder on E:?
THANKS
Knpc
Re: Moving the folder from the repository
Published: February 12, 2016 - 3:26 PM
by knpc
Does anyone have any ideas for my problem? Sniff sniff
Re: Moving the folder from the repository
Published: February 14, 2016 - 5:59 PM
by Floflobel
A symbolic link while awaiting a response from a
Windows developer using "mklink"
Re: Moving the folder from the repository
Published: February 14, 2016 - 8:34 PM
by knpc
Hi,
thanks for your reply, but I don't understand what you mean?
Thanks
Re: Moving the folder from the repository
Published: February 15, 2016 - 8:09 AM
by Floflobel
I have the same problem. My old directory is on c:\waptdev, and I changed it to point to E:\waptdev. Unfortunately, when creating or importing a package, it defaults to the c:\waptdev directory.
So I created a symbolic link that redirects from c:\waptdev to e:\wapt.
If you don't understand, look it up online.
Re: Moving the folder from the repository
Published: February 16, 2016 - 9:15 PM
by knpc
Hi,
if I understand correctly, the files are downloaded to the original folder located on C:,
and the software reads the folder on E:, but thanks to the symbolic link, it sees the files that are actually on C:.
If that's the case, it doesn't work for me because I don't want the files on C: at all; I absolutely want them to be in the specified folder.
Thanks for your suggestion
. Does anyone from the tranquil.it team have any ideas?
Re: Moving the folder from the repository
Published: February 19, 2016 - 12:16 AM
by Floflobel
You didn't understand, try making symbolic links or searching on the internet, that's definitely your solution.
It's a kind of shortcut from C:\waptdev to E:\waptdev, so your packages will be stored on E!
I am currently in this configuration.
Here's what I wrote in my documentation:
Code: Select all
Création d'un lien symbolique : mklink /D C:\waptdev E:\waptdev
En attendant de trouver une solution j'ai mis en place un lien symbolique. Quand on utilise la commande "wapt-get make-template" le répertoire par défaut est c:\waptdev.