Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kvmd-certbot.timer does not exist #833

Closed
lucaam opened this issue Oct 19, 2022 · 1 comment
Closed

kvmd-certbot.timer does not exist #833

lucaam opened this issue Oct 19, 2022 · 1 comment
Assignees
Labels

Comments

@lucaam
Copy link

lucaam commented Oct 19, 2022

I had PiKVM running with an old image and to get the new PST storage partition on SD card I downloaded a fresh image and flashed it again but when I run the following command:
[root@pikvm ~]# systemctl enable --now kvmd-certbot.timer

I get the error that was fixed in #767
Failed to enable unit: Unit file /etc/systemd/system/timers.target.wants/kvmd-certbot.timer does not exist.

Below some information about my setup:

Platform: Base: Raspberry Pi 4 Model B Rev 1.4

KVMD: 3.154
Streamer: 5.23 (ustreamer)
HAS_PDEATHSIG: Yes
WITH_GPIO: Yes
WITH_PTHREAD_NP: Yes
WITH_SETPROCTITLE: Yes
WITH_SYSTEMD: Yes
Linux kernel:
Machine: armv7l
Release: 5.15.68-2-rpi-ARCH
Version: #1 SMP Fri Oct 7 06:33:56 MSK 2022

Any idea?

Originally posted by @lucaam in #767 (comment)

@mdevaev
Copy link
Member

mdevaev commented Oct 19, 2022

Hello.

You forgot to switch filesystem to read-write mode using rw command before systemctl.

[root@pikvm ~]# pacman -Ql kvmd | grep kvmd-certbot
kvmd /usr/bin/kvmd-certbot
kvmd /usr/lib/systemd/system/kvmd-certbot.service
kvmd /usr/lib/systemd/system/kvmd-certbot.timer
kvmd /usr/share/kvmd/configs.default/os/services/kvmd-certbot.service
kvmd /usr/share/kvmd/configs.default/os/services/kvmd-certbot.timer
[root@pikvm ~]# rw
[root@pikvm ~]# systemctl enable --now kvmd-certbot.timer
Created symlink /etc/systemd/system/timers.target.wants/kvmd-certbot.timer -> /usr/lib/systemd/system/kvmd-certbot.timer.
[root@pikvm ~]# systemctl disable --now kvmd-certbot.timer
Removed "/etc/systemd/system/timers.target.wants/kvmd-certbot.timer".
[root@pikvm ~]# ro
[root@pikvm ~]# systemctl enable --now kvmd-certbot.timer
Failed to enable unit: Unit file /etc/systemd/system/timers.target.wants/kvmd-certbot.timer does not exist.
[root@pikvm ~]#

@mdevaev mdevaev closed this as completed Oct 19, 2022
@mdevaev mdevaev self-assigned this Oct 19, 2022
thermionic added a commit to thermionic/pikvm that referenced this issue Apr 30, 2023
as per pikvm#833 filesystem needs to be rw to enable the timer
mdevaev pushed a commit that referenced this issue May 1, 2023
as per #833 filesystem needs to be rw to enable the timer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants