Specify the installed WAPT version (1.8)
* Specify server OS (Linux) and version (Debian Buster)
* Specify the OS of the machine used for administration/package creation (Linux)
Good morning,
I now have my secondary repository configured, however when I go to the repository tab and try to create my index on the server, nothing happens.
My secondary repository is therefore waiting for the index.
I'm having trouble following your procedure for setting up this deposit system... I'm stuck at this step: https://www.wapt.fr/fr/doc/wapt-replica ... figuration
I can't find the waptserver.ini file which, according to your documentation, is located on the main server; there's nothing in /opt/wapt.
Thank you,
[RESOLVED] Server index not generated (secondary 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 :
Hello mart03,
I will look into making this more explicit in the documentation.
Sincerely,
Denis
The server configuration file is /opt/wapt/conf/waptserver.ini
I will look into making this more explicit in the documentation.
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
Thank you.
You mention the [global] section in the documentation, but there is no global section in waptserver.ini, only [options].
So I added the section and tested with and without it, but nothing happens with the index creation process...
You mention the [global] section in the documentation, but there is no global section in waptserver.ini, only [options].
So I added the section and tested with and without it, but nothing happens with the index creation process...
- dcardon
- WAPT Expert
- Messages: 1932
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
Hello mart03,

Sincerely,
Denis
Yes, it's in the [options] section that it needs to be added. We're going to have some documentation updating to do
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
Good morning,
So you will need:
* Add `remote_repo_support=True` to the [options] section of `/opt/wapt/conf/waptserver.ini`
* Restart your server:
Can you verify that a sync.json file has been created in the /var/www folder?
If not, you can create it in /var/www/ and assign it the correct permissions.
Creating this file may take some time depending on the number and size of the packages on your server.
Check from time to time if it has content with cat for example.
Best regards,
Evan Blaudy
So you will need:
* Add `remote_repo_support=True` to the [options] section of `/opt/wapt/conf/waptserver.ini`
* Restart your server:
Code: Select all
systemctl restart waptserverIf not, you can create it in /var/www/ and assign it the correct permissions.
Code: Select all
touch /var/www/sync.json
chown wapt www-data
systemctl restart waptserverCheck from time to time if it has content with cat for example.
Best regards,
Evan Blaudy
Developer WAPT at TRANQUIL IT
Good morning,
Thank you for your valuable help!
I have since updated my server to version 1.8.1; the files were created correctly, but nothing is being written to them.
Here are the details of the permissions in /var/www/
Do they have the correct permissions? (I've since deleted and recreated the sync.json file, but it's the same)
My waptserver.ini is also correctly configured.
Sincerely,
Thank you for your valuable help!
I have since updated my server to version 1.8.1; the files were created correctly, but nothing is being written to them.
Here are the details of the permissions in /var/www/
Code: Select all
-rw-r--r-- 1 wapt www-data 0 Feb 19 15:42 sync.json
-rw-r----- 1 wapt www-data 0 Jan 28 14:05 rules.json
My waptserver.ini is also correctly configured.
Sincerely,
- dcardon
- WAPT Expert
- Messages: 1932
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
The rules.json file is populated when rules are saved in the secondary repository tab. It's normal for it to be empty if there are no rules.mart03 wrote: ↑Feb 19, 2020 - 3:54 PM Thank you for your valuable help!
I have since updated my server to version 1.8.1; the files were created correctly, but nothing is being written to them.
Here are the details of the permissions in /var/www/
Do they have the correct permissions? (I've since deleted and recreated the sync.json file, but it's the same)Code: Select all
-rw-r--r-- 1 wapt www-data 0 Feb 19 15:42 sync.json -rw-r----- 1 wapt www-data 0 Jan 28 14:05 rules.json
My waptserver.ini is also correctly configured.
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
