tteck / Proxmox

Proxmox VE Helper-Scripts
https://Helper-Scripts.com
MIT License
14.43k stars 2.37k forks source link

[Error] LXC (Alpine) Vaultwarden update issue: service not found #3799

Closed Goeste closed 1 month ago

Goeste commented 1 month ago

Please verify that you have read and understood the guidelines.

yes

A clear and concise description of the issue.

Hey and hello,

I just wanted to run the alpine lxc install script inside my vaultwarden LXC to update vaultwarden wut when running it i encounter the below issue:

 _    __            ____                          __         
| |  / /___ ___  __/ / /__      ______ __________/ /__  ____ 
| | / / __ `/ / / / / __/ | /| / / __ `/ ___/ __  / _ \/ __ \
| |/ / /_/ / /_/ / / /_ | |/ |/ / /_/ / /  / /_/ /  __/ / / /
|___/\__,_/\__,_/_/\__/ |__/|__/\__,_/_/   \__,_/\___/_/ /_/ 
 Alpine                                                 

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
v3.20.3-78-ge9439f31d75 [http://dl-cdn.alpinelinux.org/alpine/latest-stable/main]
v3.20.3-77-gef51a82d013 [http://dl-cdn.alpinelinux.org/alpine/latest-stable/community]
OK: 24167 distinct packages available
OK: 310 MiB in 88 packages
 * rc-service: service `vaultwarden' does not exist

[ERROR] in line 74: exit code 0: while executing command rc-service vaultwarden restart -q

But vaultwarden is actually running so there might be an issue wih the services?!?

What settings are you currently utilizing?

Default Settings

Which Linux distribution are you employing?

Alpine

If relevant, including screenshots or a code block can be helpful in clarifying the issue.

n/a

Please provide detailed steps to reproduce the issue.

c'np the install (Alpine) script to the LXC and run it. Select "Update Vaultwarden".

tteck commented 1 month ago

The command rc-service vaultwarden restart -q executes without issue here.

 _    __            ____                          __         
| |  / /___ ___  __/ / /__      ______ __________/ /__  ____ 
| | / / __ `/ / / / / __/ | /| / / __ `/ ___/ __  / _ \/ __ \
| |/ / /_/ / /_/ / / /_ | |/ |/ / /_/ / /  / /_/ /  __/ / / /
|___/\__,_/\__,_/_/\__/ |__/|__/\__,_/_/   \__,_/\___/_/ /_/ 
 Alpine                                                 

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
v3.20.3-78-ge9439f31d75 [http://dl-cdn.alpinelinux.org/alpine/latest-stable/main]
v3.20.3-77-gef51a82d013 [http://dl-cdn.alpinelinux.org/alpine/latest-stable/community]
OK: 24167 distinct packages available
OK: 106 MiB in 76 packages
alpine-vaultwarden:~# rc-service vaultwarden restart -q
alpine-vaultwarden:~#