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

Unit [email protected] not found. #408

Open
tradecraft1 opened this issue Jul 6, 2024 · 1 comment
Open

Unit [email protected] not found. #408

tradecraft1 opened this issue Jul 6, 2024 · 1 comment

Comments

@tradecraft1
Copy link

On Linux Mint 21.3 (Cinnamon) I am trying to start OneDriver on login via systemd. I am getting the following error:

export SERVICE_NAME=$(systemd-escape --template [email protected] --path /home/user/OneDrive )
systemctl --user daemon-reload
systemctl --user start $SERVICE_NAME

Failed to start [email protected]: Unit [email protected] not found.

@junalmeida
Copy link

junalmeida commented Dec 20, 2024

I'm using the launcher gui, and after clicking the button to allow auto start, although the gui provides no error message and acts as it succeed, after a restart the mount does not start.
Opening the launcher in a terminal and clicking the check button to enable auto start shows the following messages:

{"level":"warn","error":"open /home/junior/.config/onedriver/config.yml: no such file or directory","path":"/home/junior/.config/onedriver/config.yml","time":"2024-12-20T08:51:26-06:00","message":"Configuration file not found, using defaults."}
08:41:52 INF onedriver-launcher v0.14.1 
08:41:52 INF Found existing mount. mount=/home/junior/OneDrive
08:41:54 INF Changing systemd unit enabled state. enabled=true mount=/home/junior/OneDrive signal=toggled [email protected]
08:41:54 ERR Could not change systemd unit enabled state. error="File /home/junior/.config/systemd/user/default.target.wants/[email protected] already exists." [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants