Wiki incomplete / vague / incorrect? > Server update

Questions about WAPT Server / Requests and help related to the WAPT server
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
Locked
renaud.counhaye
Messages: 31
Registration: December 13, 2017 - 11:45

October 25, 2018 - 2:48 PM

Hello everyone (it's me again),

I would like to understand why the server update is not so simple in the end.
On the Wiki:
https://www.wapt.fr/fr/doc-1.6/waptserv ...ebian.html
apt-get update && apt-get upgrade
apt-get install apt-transport-https lsb-release
wget -O - https://wapt.tranquil.it/debian/tiswapt-pub.gpg | apt-key add -
echo "deb https://wapt.tranquil.it/debian/wapt-1.6/ $(lsb_release -c -s) main" > /etc/apt/sources.list.d/wapt.list
Why not permanently add the TranquilIT repository to Debian? It doesn't seem to work here...

Then you write:
If you upgrade your distribution with `apt-get dist-upgrade`, be sure to update your `lsb_release` in `/etc/apt/sources.list.d/wapt.list` (example: Jessie -> Stretch).

`apt-get update` `apt-get install tis-waptserver` `tis-waptsetup`
which means that the part apt-get update apt-get install tis-waptserver tis-waptsetup is somewhat "hidden" from the rest.
Furthermore, the command syntax is incorrect... this forces the user to execute the entire command, which is not correct.
Running `apt-get update` and then `apt-get upgrade` would be more logical, but here we're talking about `apt-get install` (probably because the WAPT TranquilIT repository isn't in the list?) (I'm not a Linux user either)

Finally, I was previously on version 1.5 and after updating to 1.6, the documentation for the update is missing:
Update from 1.5 to 1.6.
The update is performed as a minor update.

If you are using Debian Jessie, it is recommended to upgrade to Debian Stretch. This is mandatory for the Enterprise edition with Windows Update support. When upgrading to Debian Stretch, the PostgreSQL database must be upgraded to version 9.6.
No instructions were given, leading one to believe that a simple 'apt-get update' followed by 'apt-get upgrade' would suffice, but that wasn't the case. A link to the WAPT server minor update procedure would be clearer. ^^"

Finally, I see that on the changelog you mention 1.6.2.8, however no matter how many times I do apt-get install, it tells me that I am on the latest version.
root@wapt # apt-get install tis-waptserver tis-waptsetup
Reading package lists... Done
Building dependency tree
Reading state information... Done
tis-waptserver is already the newest version (1.6.2.7-tisdeb9-5538-962880c0).
tis-waptsetup is already the newest version (1.6.2.7-tisdeb9-5538-962880c0).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
This would mean that version 1.6.2.8 is published elsewhere or is an Enterprise-only version; again, the documentation is vague. As a Community customer, I'm not given priority in my requests, but I'm not asking for anything other than clearer communication :)

By the way, regarding the database update, the database version number isn't always the same as the server version. Is that a problem? Should we run a command to upgrade it? Nothing about that either. :/

PS: The forum search function is really unreliable; when I searched for 'server update 1.6.2.8':
The following words from your search were ignored because they are too common: server update to 1628.
You must enter at least one word to perform a search. Each word must be at least 3 characters long and no more than 14 characters, excluding wildcards.
Renaud Counhaye,
Network Systems Technician,
Central Functions Division
, Ymagis Group
Picture
User avatar
dcardon
WAPT Expert
Messages: 1930
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

October 25, 2018 - 5:09 PM

Hello renaud.counhaye,

renaud.counhaye wrote: Oct 25, 2018 - 2:48 PM I would like to understand why the server update is not so simple in the end.
Of course, everything is relative.

renaud.counhaye wrote: Oct 25, 2018 - 2:48 PM Why not permanently add the TranquilIT repository to Debian? It doesn't seem to work here...
If you have maintainer status, you can take care of it.

renaud.counhaye wrote: Oct 25, 2018 - 2:48 PM Then you write:
If you upgrade your distribution with `apt-get dist-upgrade`, be sure to update your `lsb_release` in `/etc/apt/sources.list.d/wapt.list` (example: Jessie -> Stretch).
`apt-get update` `apt-get install tis-waptserver` `tis-waptsetup`
which means that the part apt-get update apt-get install tis-waptserver tis-waptsetup is somewhat "hidden" from the rest.
Furthermore, the command syntax is incorrect... this forces the user to execute the entire command, which is not correct.
Running `apt-get update` and then `apt-get upgrade` would be more logical, but here we're talking about `apt-get install` (probably because the WAPT TranquilIT repository isn't in the list?)
If you had looked at the RST source code, you would have seen that it was on two lines. There was a formatting error. It's fixed in the Git repository, and the build should follow soon. Thanks for pointing it out, even if the wording is a bit awkward.

renaud.counhaye wrote: Oct 25, 2018 - 2:48 PM (I'm not a Linux user either)
No worries, WAPT is a tolerant and inclusive community.

renaud.counhaye wrote: Oct 25, 2018 - 2:48 PM Finally, I was previously on version 1.5 and after updating to 1.6, the documentation for the update is missing:
Update from 1.5 to 1.6.
The update is performed as a minor update.

If you are using Debian Jessie, it is recommended to upgrade to Debian Stretch. This is mandatory for the Enterprise edition with Windows Update support. When upgrading to Debian Stretch, the PostgreSQL database must be upgraded to version 9.6.
No instructions were given, leading one to believe that a simple 'apt-get update' followed by 'apt-get upgrade' would suffice, but that wasn't the case. A link to the WAPT server minor update procedure would be clearer. ^^"
I confess I didn't quite understand.

renaud.counhaye wrote: Oct 25, 2018 - 2:48 PM Finally, I see that you mention version 1.6.2.8 in the changelog, however, no matter how many times I run `apt-get install`, it tells me I'm already on the latest version.
...
Which would mean that 1.6.2.8 is published elsewhere or is an Enterprise Only version; again, the documentation is vague. As a Community customer, I'm not given priority in my requests, but I'm not asking for anything except clearer communication. :)
The code is up to date on GitHub. You can test the build documentation and provide constructive feedback.

renaud.counhaye wrote: Oct 25, 2018 - 2:48 PM By the way, regarding the database update, the database version number isn't always the same as the server version. Is that a problem? Should we run a command to upgrade it? Nothing about that either :/
Perhaps it's time for you to start your own blog and include the details you wish you had found. Nobody's perfect, not even the WAPT maintainers.

renaud.counhaye wrote: Oct 25, 2018 - 2:48 PM PS: The forum search is really buggy. When I searched for 'server update 1.6.2.8':
The following words in your search were ignored because they are too common: server update to 1 6 2 8.
You must enter at least one word to perform a search. Each word must be at least 3 characters long and no more than 14 characters, excluding wildcards.
Google is your friend, the site is well indexed.

Sincerely,

Denis

PS: Regarding the title of your post, the documentation is not based on a wiki but on Sphinx / RST.
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
renaud.counhaye
Messages: 31
Registration: December 13, 2017 - 11:45

October 26, 2018 - 12:54

Hello Denis,

Thank you for all your replies and the minor corrections. My apologies if my message seemed abrupt or harsh; that was far from my intention.
Regarding the blog, I don't think I have enough experience with your system for that. :mrgreen:

As for the part you didn't quite understand, I see why; I wasn't clear either.
I meant to say: The text indicates to perform the update as a minor update, which, at first glance, could be misinterpreted, so I simply suggest adding a link to the procedure.

I'm becoming increasingly interested in the Enterprise version, in any case. :D

Have a good day,
Renaud
Renaud Counhaye,
Network Systems Technician,
Central Functions Division
, Ymagis Group
Picture
Locked