Yes, both points are correct. To be more precise, with DietPi v8.7 it won’t be compiled in place but a precompiled package installed. The compiling was what took so long and required so much memory before.
Aug 02 13:36:01 DietPi systemd[1]: Started vaultwarden (DietPi).
Aug 02 13:36:01 DietPi vaultwarden[1618]: /--------------------------------------------------------------------\
Aug 02 13:36:01 DietPi vaultwarden[1618]: | Starting Vaultwarden |
Aug 02 13:36:01 DietPi vaultwarden[1618]: |--------------------------------------------------------------------|
Aug 02 13:36:01 DietPi vaultwarden[1618]: | This is an *unofficial* Bitwarden implementation, DO NOT use the |
Aug 02 13:36:01 DietPi vaultwarden[1618]: | official channels to report bugs/features, regardless of client. |
Aug 02 13:36:01 DietPi vaultwarden[1618]: | Send usage/configuration questions or feature requests to: |
Aug 02 13:36:01 DietPi vaultwarden[1618]: | https://vaultwarden.discourse.group/ |
Aug 02 13:36:01 DietPi vaultwarden[1618]: | Report suspected bugs/issues in the software itself at: |
Aug 02 13:36:01 DietPi vaultwarden[1618]: | https://github.com/dani-garcia/vaultwarden/issues/new |
Aug 02 13:36:01 DietPi vaultwarden[1618]: \--------------------------------------------------------------------/
Aug 02 13:36:01 DietPi vaultwarden[1618]: [INFO] No .env file found.
Aug 02 13:36:01 DietPi vaultwarden[1618]: [2022-08-02 13:36:01.678][_][WARN] Detected TLS-enabled liftoff without enabling HSTS.
Aug 02 13:36:01 DietPi vaultwarden[1618]: [2022-08-02 13:36:01.678][_][WARN] Shield has enabled a default HSTS policy.
Aug 02 13:36:01 DietPi vaultwarden[1618]: [2022-08-02 13:36:01.678][start][INFO] Rocket has launched from https://127.0.0.1:8001
Configuration file '/mnt/dietpi_userdata/vaultwarden/vaultwarden.env'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
==> Keeping old config file as default.
Configuring vaultwarden service user ...
usermod: no changes
Set vaultwarden userdata owner ...
Configuring vaultwarden systemd service ...
Created symlink /etc/systemd/system/multi-user.target.wants/vaultwarden.service → /lib/systemd/system/vaultwarden.service.
I saw the recently released DietPi 8.8 and wanted to check if it fixed my web vault problem.
I updated DietPi from 8.6 to 8.8
I updated Vaultwarden
Web vault access was working, but I could not login “Network error when attempting to fetch resource”
I rebooted
Tried web vault again, but this time it would not load, browser reports “Unable to connect”
I finally decided to just paste the fix previously described “GCI_PRESERVE=1 …” and everything is working.
So whilst the fix works, it’s integration as a part of the whole update process isn’t. At this stage, probably not worth chasing down since it looks like I’m the only one who has the problem!
Thank you all again for all the effort and hard work.
There is no real relation between Valtwarden and DietPi version as we moved Valtwarden into an own Debian package that is created separately.
The fix you execute was to change the LISTEN address Valtwarden is running on. Due to a change done by Valtwarden, instances are LISTEN to localhost only. Therefore, you were not able to connect. The fix changed this back to LISTEN to all interfaces/addresses. This should just impact versions pre-v1.25.0. Do you recall the Valtwarden version you where running on before?