WAPT version: 1.8.2
Server OS: Windows Server 2016
Administration machine OS: Windows Server 2016
Hello,
Since upgrading to version 1.8, I've been having trouble uploading packages (whether it's a package I created myself or one from the store). Regardless of the package, I can't integrate it into my WAPT console (File Import or Internet Import). I consistently encounter the following error:
HTTPError: 500 Server Error: for url: https://myservername/api/v3/upload_packages
When I check the repository, the package is indeed present, but it's not in my list of packages in the private repository.
Whether I import via the command line or the console, I encounter the same error, regardless of the source of the WAPT file.
Could you please help me?
Sincerely.
HTTPError: 500 Server Error: for url:
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
I dug a little deeper into the logs to try and find where my problem lies, and I have the impression that it's a basic problem...
Here are the logs:
Here are the logs:
Code: Select all
2020-10-22 11:49:17,000 [waptserver ] CRITICAL upload_packages failed ProgrammingError('ERREUR: la colonne t1.valid_from n\'existe pas\nLINE 1: ...epends", "t1"."conflicts", "t1"."audit_schedule", "t1"."vali...\n ^\n',)
2020-10-22 11:50:04,723 [waptws ] CRITICAL Socket IO : An error has occurred for sid 83653f00eb1e406cb4b0915754f11b13, uuid:39363436-3130-5A43-4A33-333430304852 : InterfaceError('connection already closed',)
2020-10-22 11:50:04,723 [waptws ] CRITICAL Socket IO : An error has occurred for sid 62cee67b76ae4d6695838d3b92df5700, uuid:B6F9BF00-886C-5261-9048-ABA460CEB14F : InterfaceError('connection already closed',)
2020-10-22 11:50:04,723 [waptws ] CRITICAL Socket IO : An error has occurred for sid 089d4f2b399f46e48364ad3d3fa447f8, uuid:7D1D4D80-3366-11E3-8F80-7446A0B2368E : InterfaceError('connection already closed',)
2020-10-22 11:50:04,770 [waptws ] CRITICAL Socket IO : An error has occurred for sid 36bcdfcd768141fd89f5e4dd62102cc4, uuid:80685A66-037A-642A-E917-B4927212641E : OperationalError("FATAL: le syst\xe8me de base de donn\xe9es s'arr\xeate\n",)
2020-10-22 11:50:04,786 [waptws ] CRITICAL Socket IO : An error has occurred for sid b148b0f5de354f64b02100c5b297bec8, uuid:01243E93-3B34-6EF8-C9AA-4F8E8FC7FDAC : OperationalError('server closed the connection unexpectedly\n\tThis probably means the server terminated abnormally\n\tbefore or while processing the request.\n',)
2020-10-22 11:54:22,433 [waptserver ] CRITICAL Error uploading package D:\wapt\waptserver\repository\wapt\client-ftv-agent-thunderbird_78.2.2-62_x86_PROD_de_e01cffd8e8ebec6b2743387262314c35.wapt: ERREUR: la colonne t1.valid_from n'existe pas
LINE 1: ...epends", "t1"."conflicts", "t1"."audit_schedule", "t1"."vali...
^
2020-10-22 11:54:22,438 [waptserver ] CRITICAL upload_packages failed ProgrammingError('ERREUR: la colonne t1.valid_from n\'existe pas\nLINE 1: ...epends", "t1"."conflicts", "t1"."audit_schedule", "t1"."vali...\n
The database structure upgrade was not performed, or not performed correctly.
You can try running the following command in a command prompt with administrator rights and elevated privileges:
You can try running the following command in a command prompt with administrator rights and elevated privileges:
Code: Select all
waptpython -c "from waptserver.model import *;load_db_config();print(upgrade_db_structure());print(init_db())"Tranquil IT
Good morning,
Here is the response on the command line:
In the meantime, I restored my server to version 1.7.
I restored to a test machine to redo the update but apparently I still have the same problem.
Here is the response on the command line:
Code: Select all
C:\Windows\system32>waptpython -c "from waptserver.model import *;load_db_config();print(upgrade_db_structure());print(init_db())"
None
Unable to create tables, will try to upgrade step by step instead... : ProgrammingError("ERREUR: la colonne \xc2\xab categories \xc2\xbb n'existe pas\n",)
1.8.2.0I restored to a test machine to redo the update but apparently I still have the same problem.
- dcardon
- WAPT Expert
- Messages: 1930
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
Which version 1.7 did you upgrade from exactly, and which version 1.8 are you upgrading to?
Denis
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
