Update 1.8.2.7321 and a problem in the database

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
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
corriou
Messages: 26
Registration: May 16, 2019 - 09:59

November 26, 2020 - 3:37 PM

Good morning,

I have been using WAPT for a few years and I have never had a major problem (that I could not solve on my own or almost) until today during the updates.
This morning I was using version 1.8.2.7267 Community and after the update, I should have switched to the latest 1.8.2.7321. A small step for me, a giant leap for my database apparently.
Additional details: Server OS Debian 10.6, Administration/package creation machine OS Windows 10 20H2 (in short, I update regularly).

After the update, I ended up with a lot of lines like the following:

Code: Select all

Nov 26 14:38:39 wapt waptserver[39655]: 2020-11-26 14:38:39,890 [waptserver     ] CRITICAL Trying to upgrade database structure, error was : ProgrammingError('relation "hostsyncstatus" does not exist\nLINE 1: DELETE FROM hostsyncstatus WHERE hostsyncstatus.uuid = OLD.u...\n                    ^\nQUERY:  DELETE FROM hostsyncstatus WHERE hostsyncstatus.uuid = OLD.uuid\nCONTEXT:  PL/pgSQL function update_host_sync_status() line 14 at SQL statement\n',)
And my server has of course become unreachable with a 502 Bad Gateway error.

<mode flemme>I confess that I haven't gotten my hands dirty yet, figuring that someone would probably have a ready-made solution.</mode flemme>

If you have any ideas on how to fix the problem, I'm all ears.
Sincerely,
Alain
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

November 26, 2020 - 4:15 PM

Can you try the package that is in

https://wapt.tranquil.it/wapt/nightly/w ... 6-48828327

Fixes:

* fix extract CN from ssl client cert authentication for get_auth_token…
* fix regression on wakeonlan introduced by backported code from 1.9
* [FIX] PostgreSQL DB not correctly migrating from some 1.8.1.X
Tranquil IT
corriou
Messages: 26
Registration: May 16, 2019 - 09:59

November 27, 2020 - 09:43

Hello,

Yes, the problem has indeed been resolved thanks to this nightly update (a nightly update is rather paradoxical :D ).
In any case, thank you for your speed and efficiency.

I will miss the Community version of WAPT. I admit I didn't have the time (or sometimes the knowledge) to contribute to it, but given the services it provided, I hope the future Discovery version will offer the same level of service.

Sincerely and with many thanks,
Alain
Valentin Ficis
Messages: 14
Registration: Oct 27, 2020 - 2:32 p.m.
Location: Metropolitan France
Contact :

November 27, 2020 - 3:04 PM

corriou wrote: Nov 27, 2020 - 9:43 AM I will miss the Community version of WAPT. I admit I didn't have the time (or sometimes the knowledge) to contribute to it, but given the services it provided, I hope the future Discovery version will offer the same level of service.
Hello Alain,
You probably read cbarille's message a little too quickly:
cbarille wrote:WAPT Community 1.8.2 will not disappear, but you will simply become masters of this version and its development.
If you find the time, in the future it will always be possible to contribute to the Community version and I would be very happy! ;)
Installed WAPT version: WAPT Starter (WAPT Self-service Community 1.8.2.7267)

Client machine OS: Windows 7 Home Premium
Locked