Vaultwarden alpine update script error #319

Closed
opened 2026-02-04 17:57:15 +03:00 by OVERLORD · 8 comments
Owner

Originally created by @RyanTheTechMan on GitHub (Jan 12, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Vaultwarden LXC

📂 What was the exact command used to execute the script?

bash -c "$(wget -qO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/alpine-vaultwarden.sh)"

📝 Provide a clear and concise description of the issue.

When running the alpine update script I receive an error AFTER pressing update.

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Alpine

🔄 Steps to reproduce the issue.

Step 1: Run the update script inside the LXC.
Step 2: Select option 1, Update Vaultwarden
Step 3: Script errors and returns to console

Paste the full error output (if available).

💡 FIGlet or the slant font is missing. Installing...

[ERROR] in line 228: exit code 0: while executing command apk add --no-cache tar xz build-base wget &> /dev/null

🖼️ Additional context (optional).

No response

Originally created by @RyanTheTechMan on GitHub (Jan 12, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Vaultwarden LXC ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/alpine-vaultwarden.sh)" ### 📝 Provide a clear and concise description of the issue. When running the alpine update script I receive an error AFTER pressing update. ### ⚙️ What settings are you using? - [X] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Alpine ### 🔄 Steps to reproduce the issue. Step 1: Run the update script inside the LXC. Step 2: Select option 1, Update Vaultwarden Step 3: Script errors and returns to console ### ❌ Paste the full error output (if available). 💡 FIGlet or the slant font is missing. Installing... [ERROR] in line 228: exit code 0: while executing command apk add --no-cache tar xz build-base wget &> /dev/null ### 🖼️ Additional context (optional). _No response_
Author
Owner

@MickLesk commented on GitHub (Jan 12, 2025):

DNS issue? Works fine since weeks or months

@MickLesk commented on GitHub (Jan 12, 2025): DNS issue? Works fine since weeks or months
Author
Owner

@RyanTheTechMan commented on GitHub (Jan 12, 2025):

I ran the add command manually after a snapshot.
Not a script error. I ended up running out of space on the LXC.

vaultwarden:~# apk add --no-cache tar xz build-base wget
fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/community/x86_64/APKINDEX.tar.gz
(1/1) Installing gcc (14.2.0-r4)
ERROR: Failed to create usr/bin/lto-dump: No space left on device
ERROR: gcc-14.2.0-r4: No space left on device
1 error; 205 MiB in 98 packages

My fault for not testing that.

@RyanTheTechMan commented on GitHub (Jan 12, 2025): I ran the add command manually after a snapshot. Not a script error. I ended up running out of space on the LXC. ``` vaultwarden:~# apk add --no-cache tar xz build-base wget fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/community/x86_64/APKINDEX.tar.gz (1/1) Installing gcc (14.2.0-r4) ERROR: Failed to create usr/bin/lto-dump: No space left on device ERROR: gcc-14.2.0-r4: No space left on device 1 error; 205 MiB in 98 packages ``` My fault for not testing that.
Author
Owner

@oerix commented on GitHub (Jan 25, 2025):

I ran the add command manually after a snapshot. Not a script error. I ended up running out of space on the LXC.

vaultwarden:~# apk add --no-cache tar xz build-base wget
fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/community/x86_64/APKINDEX.tar.gz
(1/1) Installing gcc (14.2.0-r4)
ERROR: Failed to create usr/bin/lto-dump: No space left on device
ERROR: gcc-14.2.0-r4: No space left on device
1 error; 205 MiB in 98 packages

My fault for not testing that.

I don't believe it's an user error, figlet, update files and dependencies used by the script have increased quite significantly. Therefore, ideally it would be good idea for the default LXC storage sized to be increased accordingly to accommodate this.

@oerix commented on GitHub (Jan 25, 2025): > I ran the add command manually after a snapshot. Not a script error. I ended up running out of space on the LXC. > > ``` > vaultwarden:~# apk add --no-cache tar xz build-base wget > fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86_64/APKINDEX.tar.gz > fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/community/x86_64/APKINDEX.tar.gz > (1/1) Installing gcc (14.2.0-r4) > ERROR: Failed to create usr/bin/lto-dump: No space left on device > ERROR: gcc-14.2.0-r4: No space left on device > 1 error; 205 MiB in 98 packages > ``` > > My fault for not testing that. I don't believe it's an user error, figlet, update files and dependencies used by the script have increased quite significantly. Therefore, ideally it would be good idea for the default LXC storage sized to be increased accordingly to accommodate this.
Author
Owner

@MickLesk commented on GitHub (Jan 25, 2025):

figlet use round about 2mb lol

@MickLesk commented on GitHub (Jan 25, 2025): figlet use round about 2mb lol
Author
Owner

@oerix commented on GitHub (Jan 25, 2025):

figlet use round about 2mb lol

Figured much, thought I'd mention it as sometimes it fails to install on my instances when upgrading from tteck to this repo. Anyhow if I'm not mistaken, the update size is around '205 MiB in 98 packages' whilst default lxc size is 300mb for alpine.

@oerix commented on GitHub (Jan 25, 2025): > figlet use round about 2mb lol Figured much, thought I'd mention it as sometimes it fails to install on my instances when upgrading from tteck to this repo. Anyhow if I'm not mistaken, the update size is around '205 MiB in 98 packages' whilst default lxc size is 300mb for alpine.
Author
Owner

@MickLesk commented on GitHub (Jan 25, 2025):

Of cause, 300m is an tteck thing. I think i upgrade this to 500m next week

@MickLesk commented on GitHub (Jan 25, 2025): Of cause, 300m is an tteck thing. I think i upgrade this to 500m next week
Author
Owner

@RyanTheTechMan commented on GitHub (Jan 25, 2025):

I'm not sure if this is related to the initial issue (as in if the initial issue broke it) but I don't believe the "update" script updates vaultwarden itself.

If requested, I'll be more than happy to make a separate issue.

image

After running update, vaultwarden shows as version 2024.6.2 online, but according to their GitHub it should be 1.33.0 (as of today).

Is there someway I can fix this? Thanks

@RyanTheTechMan commented on GitHub (Jan 25, 2025): I'm not sure if this is related to the initial issue (as in if the initial issue broke it) but I don't believe the "update" script updates vaultwarden itself. If requested, I'll be more than happy to make a separate issue. ![image](https://github.com/user-attachments/assets/af3aedf9-3e0c-4c33-9f21-b1b7ebcfe944) After running update, vaultwarden shows as version 2024.6.2 online, but according to their GitHub it should be 1.33.0 (as of today). Is there someway I can fix this? Thanks
Author
Owner

@MickLesk commented on GitHub (Jan 25, 2025):

Dont Crawl from GitHub, its an alpine Repo Thing.

@MickLesk commented on GitHub (Jan 25, 2025): Dont Crawl from GitHub, its an alpine Repo Thing.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#319