Closed marmeladapk closed 11 months ago
@marmeladapk This is not a bug - sorry.
You are placing the home directory in a non standard place, thus you need to modify your systemd files to suit your environment.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Describe the bug
Onedrive client when run from terminal searches for config in $HOME or $XDG_CONFIG_HOME folders. Systemd unit has hardcoded
--confdir=/home/%i/.config/onedrive
. This yields different behaviour when running from terminal vs enabling systemd service.This means that for users with unusual home directory, when you first need to authenticate, files are created in another place, that systemd won't be searching. You'll need to either modify systemd file or copy configuration and token.
Example situation:
Operating System Details
Client Installation Method
From 3rd Party Source (PPA, OpenSuSE Build Service etc)
OneDrive Account Type
Personal
What is your OneDrive Application Version
onedrive v2.4.25-1+np1
What is your OneDrive Application Configuration
What is your 'curl' version
Where is your 'sync_dir' located
Local
What are all your system 'mount points'
What are all your local file system partition types
How do you use 'onedrive'
Using systemd for synchronization service.
Steps to reproduce the behaviour
Try to use onedrive for www-data user on ubuntu from terminal and as systemd service.
Complete Verbose Log Output
Screenshots
No response
Other Log Information or Details
No response
Additional context
No response