Open GitReizu opened 3 years ago
I'm not sure why it's trying to look for status.service
. What command did you run to try and enable it?
(xenial)reizu@localhost:~/ReplaySorcery$ systemctl --user enable --now replay-sorcery
Failed to start replay-sorcery.service: Process org.freedesktop.systemd1 exited with status 1
See user logs and 'systemctl --user status replay-sorcery.service' for details.
(xenial)reizu@localhost:~/ReplaySorcery$ sudo systemctl --user enable --now replay-sorcery
Failed to connect to bus: No such file or directory
(xenial)reizu@localhost:~/ReplaySorcery$ sudo systemctl status replay-sorcery.service
Running in chroot, ignoring request: status
(xenial)reizu@localhost:~/ReplaySorcery$ sudo systemctl enable status replay-sorcery.service```
Don't run systemctl
with sudo
for user services like ReplaySorcery.
so what command do i do?
Hey, I tried to use what you said and i got this
(xenial)reizu@localhost:~$ systemctl status replay-sorcery.service
System has not been booted with systemd as init system (PID 1). Can't operate.
What do i do
Wait nevermind just saw that was the first thing you tried, my bad. Was at a resturant and was looking on my phone.
Having a better look through the messages it looks like systemd isn't setup and running properly on your system. Not sure how to fix this since on most Linux systems its setup already and users don't have to do anything. Have you done anything special with your computer that could affect your systemd installation?
nah, i dont think so. i actually looked around and found out my system cant run the command systemctl. any other way i can do this?
well actually, when i run this i get this
(xenial)reizu@localhost:~$ systemctl --version
systemd 237
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid
nah, i dont think so. i actually looked around and found out my system cant run the command systemctl. any other way i can do this?
This is what I mean. From my understanding something seems to be wrong with your systemd setup that's preventing you from running user services.
ReplaySorcery currently requires systemd so that it can run on login, collect logs and automatically restart on failure. Alternatively you can just run replay-sorcery
as a command by itself but you will have to do that everytime you login and keep the terminal open and restart it if it crashes. Maybe in the future I'll add support for other init systems but systemd is the most popular by a very long shot.
From what I can gather it seems @reiixzu is using Ubuntu 16.04 (xenial) which doesn't use systemd as it's init system. This in practice means you have to write a new upstart user service script, but seeing as this Ubuntu release is 5 years old with 3 more extended security maintenance years left it might be more practical to upgrade your system instead :p
Describe the bug A clear and concise description of what the bug is.
Desktop:
Configuration: Please upload your copy of
/usr/local/etc/replay-sorcery.conf
(/usr/etc/replay-sorcery.conf
on Arch) and a copy of~/.config/replay-sorcery.conf
if it exists.Logs: Please run
journalctl --user -eu replay-sorcery -n 100 > replay-sorcery.log
and upload the result. No journal files were found.Alright, so my is im trying everything to enable the application, but nothing works i go to ubuntu discord but nothing works. i always get this: Failed to enable unit, unit status.service does not exist. can you help me? the install process was perfect, i cloned your git and everything, can i have help?