FS#76192 - [vaultwarden] v1.25.2-2 Incompatibility with vaultwarden-web v2022.9.2-1 - err registering user

Attached to Project: Community Packages
Opened by Bouke J. Henstra (bouke) - Thursday, 13 October 2022, 17:10 GMT
Last edited by George Rawlinson (rawlinsong) - Saturday, 15 October 2022, 18:26 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Daniel M. Capella (polyzen)
George Rawlinson (rawlinsong)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Incompatibility issue: vaultwarden v1.25.2-2 and vaultwarden-web v2022.9.2-1 - err registering user

This is a follow up of  FS#76133  - https://bugs.archlinux.org/task/76133

After fixing vaultwarden there was another issue introduced.
There's a JSON error when a user is being registered.
Please see https://bugs.archlinux.org/task/76133

Additional info:
* package version(s): please see description
* config and/or log files etc.
* link to upstream bug report, if any: https://bugs.archlinux.org/task/76133

Steps to reproduce: register a user.
This task depends upon

Closed by  George Rawlinson (rawlinsong)
Saturday, 15 October 2022, 18:26 GMT
Reason for closing:  Fixed
Comment by Bouke J. Henstra (bouke) - Thursday, 13 October 2022, 17:11 GMT
Unable to edit bug report - the link to the upstream bug report is incorrect. Please see https://github.com/dani-garcia/vaultwarden/discussions/2802#discussioncomment-3866060
Comment by George Rawlinson (rawlinsong) - Saturday, 15 October 2022, 00:22 GMT
Are you able to test against 1.26.0-1 and web 2022.10.0-1, released today?
Comment by Bouke J. Henstra (bouke) - Saturday, 15 October 2022, 11:35 GMT
> Are you able to test against 1.26.0-1 and web 2022.10.0-1, released today?

Yes. It's an honour. Thank you.

I installed the updates.

I was able to register a new user without any issues (no errors).

I was able to add a new organisation without any issues (no errors).

I did notice I had to restart 'vaultwarden' as the diagnostics page reported v1.25.2 after installing the updates. It's what I expected. After issuing the 'systemctl restart vaultwarden' command the version reported is 1.26.0 (instead of the previous).

This looks good. Thank you George.

Below you'll find copy/paste of the console output.

# pacman -Syu
:: Synchronizing package databases...
core 156.4 KiB 399 KiB/s 00:00 [######################] 100%
extra 1721.2 KiB 2.03 MiB/s 00:01 [######################] 100%
community 7.0 MiB 2.27 MiB/s 00:03 [##############################################] 100%
:: Starting full system upgrade...
warning: caddy: ignoring package upgrade (2.5.2-1 => 2.6.1-1)
resolving dependencies...
looking for conflicting packages...

Packages (10) dbus-1.14.4-1 gettext-0.21.1-1 gnupg-2.2.40-1 nodejs-18.11.0-1 python-3.10.8-1 qemu-guest-agent-7.1.0-9
tzdata-2022e-1 vaultwarden-1.26.0-1 vaultwarden-web-2022.10.0-1 zlib-1:1.2.13-1

Total Download Size: 40.34 MiB
Total Installed Size: 175.05 MiB
Net Upgrade Size: 0.97 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
python-3.10.8-1-x86_64 12.0 MiB 2.47 MiB/s 00:05 [##############################################] 100%
nodejs-18.11.0-1-x86_64 10.4 MiB 2.05 MiB/s 00:05 [##############################################] 100%
vaultwarden-1.26.0-1-x86_64 7.3 MiB 2.36 MiB/s 00:03 [##############################################] 100%
vaultwarden-web-2022.10.0-1-any 5.6 MiB 2.40 MiB/s 00:02 [##############################################] 100%
gnupg-2.2.40-1-x86_64 2.3 MiB 2036 KiB/s 00:01 [##############################################] 100%
gettext-0.21.1-1-x86_64 1823.4 KiB 1403 KiB/s 00:01 [##############################################] 100%
tzdata-2022e-1-x86_64 385.0 KiB 1604 KiB/s 00:00 [##############################################] 100%
dbus-1.14.4-1-x86_64 304.9 KiB 2.01 MiB/s 00:00 [##############################################] 100%
qemu-guest-agent-7.1.0-9-x86_64 295.6 KiB 2.12 MiB/s 00:00 [##############################################] 100%
zlib-1:1.2.13-1-x86_64 92.4 KiB 1155 KiB/s 00:00 [##############################################] 100%
Total (10/10) 40.3 MiB 2.16 MiB/s 00:19 [##############################################] 100%
(10/10) checking keys in keyring [##############################################] 100%
(10/10) checking package integrity [##############################################] 100%
(10/10) loading package files [##############################################] 100%
(10/10) checking for file conflicts [##############################################] 100%
(10/10) checking available disk space [##############################################] 100%
:: Processing package changes...
( 1/10) upgrading tzdata [##############################################] 100%
( 2/10) upgrading zlib [##############################################] 100%
( 3/10) upgrading dbus [##############################################] 100%
( 4/10) upgrading gettext [##############################################] 100%
( 5/10) upgrading gnupg [##############################################] 100%
( 6/10) upgrading nodejs [##############################################] 100%
( 7/10) upgrading python [##############################################] 100%
( 8/10) upgrading qemu-guest-agent [##############################################] 100%
( 9/10) upgrading vaultwarden [##############################################] 100%
warning: /etc/vaultwarden.env installed as /etc/vaultwarden.env.pacnew
(10/10) upgrading vaultwarden-web [##############################################] 100%
:: Running post-transaction hooks...
(1/6) Creating system user accounts...
(2/6) Reloading system manager configuration...
(3/6) Creating temporary files...
(4/6) Reloading device manager configuration...
Skipped: Device manager is not running.
(5/6) Arming ConditionNeedsUpdate...
(6/6) Updating the info directory file...

Loading...