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
Move the file from the repository
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
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
- dcardon
- WAPT Expert
- Messages: 1932
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
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
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
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
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
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
Hi,
When I use "Import from repository": See configuration below
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
When I use "Import from repository": See configuration below
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
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.
So I created a symbolic link that redirects from c:\waptdev to e:\wapt.
If you don't understand, look it up online.
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?
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?
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:
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.