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

I want to set onedrive to always monitor, but it fails. #1199

Closed
yuusakuri opened this issue Dec 24, 2020 · 2 comments
Closed

I want to set onedrive to always monitor, but it fails. #1199

yuusakuri opened this issue Dec 24, 2020 · 2 comments
Labels
Invalid - Support Template Not Used Invalid - Support Template Not Used Not a bug

Comments

@yuusakuri
Copy link

environment

Ubuntu 20.04 (wsl2)

run:

onedrive --version

result:

onedrive v2.4.8-11-g62a2b4f

problems

Option 1: OneDrive service running as root user via init.d

run:

 chkconfig onedrive on

result:

chkconfig: command not found

run:

service onedrive start

result:

onedrive: unrecognized service

Option 2: OneDrive service running as root user via systemd (Arch, Ubuntu, Debian, OpenSuSE, Fedora)

run:

systemctl --user enable onedrive

result:


run:

systemctl --user start onedrive

result:

Failed to connect to bus: No such file or directory

my install bash script for onedrive

    # Install dependencies
    sudo apt install -y build-essential
    sudo apt install -y libcurl4-openssl-dev
    sudo apt install -y libsqlite3-dev
    sudo apt install -y pkg-config
    sudo apt install -y git
    sudo apt install -y curl
    curl -fsS https://dlang.org/install.sh | bash -s dmd
    source "$(find ~/dlang -maxdepth 2 -mindepth 2 -name 'activate')"
    # Install OneDrive
    mkdir -p ~/apps
    cd ~/apps
    if [ ! -d "onedrive" ]; then
        git clone https://github.com/abraunegg/onedrive.git
    fi
    cd onedrive
    ./configure
    make clean
    make
    sudo make install
    deactivate
    # Configure OneDrive
    mkdir -p ~/.config/onedrive
    cp ./config ~/.config/onedrive/config
    mkdir -p ~/OneDrive
    systemctl --user enable onedrive
    systemctl --user start onedrive
    onedrive
@abraunegg
Copy link
Owner

@yuusakuri
Closing issue for the following reasons:

  1. Not following the correct support procedure
  2. Not using the bug report template

Additionally, your systemd issue is related to wsl2, which does not support systemd. Refer to: microsoft/WSL#4202

This is not a bug or issue with this client.

@abraunegg abraunegg added Invalid - Support Template Not Used Invalid - Support Template Not Used Not a bug labels Dec 25, 2020
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Invalid - Support Template Not Used Invalid - Support Template Not Used Not a bug
Projects
None yet
Development

No branches or pull requests

2 participants