Skip to content

Ubuntu PPA | Ubuntu | Debian Packages: onedrive --monitor runs automatically on startup after install #1274

Closed

Description

@salaivv

Bug Report Details

The onedrive client runs automatically on startup in --monitor mode and writes around a gigabyte of data (~1.3 GB). This happens at every startup. I didn't configure any systemd service for the client; this happens out of the box.

Application and Operating System Details:

  • PopOS 20.10 | uname output Linux pop-os 5.8.0-7642-generic #47~1612288990~20.10~b8113e7-Ubuntu SMP Wed Feb 3 02:27:26 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
  • Running with a GUI
  • OneDrive Account Type -- Personal
  • Installed from the Ubuntu PPA mentioned in the INSTALL.md document.
  • DMD -- 2.095.0
  • OneDrive Application Version: 2.4.9-22-g42b7945
  • Config file:
Configuration file successfully loaded
onedrive version                       = v2.4.9-22-g42b7945
Config path                            = /home/salaivv/.config/onedrive
Config file found in config path       = true
Config option 'check_nosync'           = false
Config option 'sync_dir'               = /media/salaivv/Treazure/OneDrive
Config option 'skip_dir'               = 
Config option 'skip_file'              = ~*|.~*|*.tmp
Config option 'skip_dotfiles'          = false
Config option 'skip_symlinks'          = fals
Config option 'monitor_interval'       = 300
Config option 'min_notify_changes'     = 5
Config option 'log_dir'                = /var/log/onedrive/
Config option 'classify_as_big_delete' = 1000
Config option 'upload_only'            = false
Config option 'no_remote_delete'       = false
Config option 'remove_source_files'    = false
Config option 'sync_root_files'        = false
Selective sync 'sync_list' configured  = false
Business Shared Folders configured     = false
  • curl version -- 7.68.0
  • 'sync_dir' is on a local NTFS volume to share data between Linux and Windows (dual boot).
  • My OneDrive account is only used on my PC and mobile. Accessed from both Linux and Windows as mentioned above, but have stopped syncing from Windows. I only sync from Linux using this client.

To Reproduce
Steps to reproduce:

  1. Install onedrive from Ubuntu PPA mentioned in the INSTALL.md document.
  2. Authenticate and configure onedrive.
  3. Restart the PC and login.
  4. OneDrive should start automatically in --monitor mode even without any manual configuration of systemd services.

Activity

  1. abraunegg commented on Feb 14, 2021

    @abraunegg
    Owner
  2. changed the title [-]onedrive --monitor runs automatically on startup after install[/-] [+]Ubuntu PPA: onedrive --monitor runs automatically on startup after install[/+] on Feb 15, 2021
  3. nabriis commented on Mar 21, 2021

    @nabriis
  4. abraunegg commented on Apr 6, 2021

    @abraunegg
    Owner

    When the PPA | Ubuntu | Debian package installs the application, it creates a symbolic link as follows:

    Created symlink /etc/systemd/user/default.target.wants/onedrive.service → /usr/lib/systemd/user/onedrive.service.
    

    To resolve this, so that the client is not automatically started, without 'enabling' the client yourself, you need to remove this symbolic link:

    sudo rm /etc/systemd/user/default.target.wants/onedrive.service
    

    The OpenSuSE Build Service packages are not impacted by this issue. Refer to https://github.com/abraunegg/onedrive/blob/master/docs/ubuntu-package-install.md to install the client from the OpenSuSE Build Service.

  5. changed the title [-]Ubuntu PPA: onedrive --monitor runs automatically on startup after install[/-] [+]Ubuntu PPA | OpenSuSE Build Service: onedrive --monitor runs automatically on startup after install[/+] on Jul 26, 2021
  6. abraunegg commented on Apr 20, 2022

    @abraunegg
    Owner

    Closing this issue as this is a packaging issue due to Debian & Ubuntu processes, unrelated to 'onedrive'.

    Update: OpenSuSE Build Service packages updated and fixed this issue from v2.4.17-1~np2

  7. github-actions commented on Apr 28, 2022

    @github-actions

    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.

  8. locked as resolved and limited conversation to collaborators on Apr 28, 2022
  9. added this to the v2.4.18 milestone on May 30, 2022
  10. modified the milestones: v2.4.18, v2.4.17 on Dec 10, 2022
  11. changed the title [-]Ubuntu PPA | OpenSuSE Build Service: onedrive --monitor runs automatically on startup after install[/-] [+]Ubuntu PPA | Ubuntu | Debian Packages: onedrive --monitor runs automatically on startup after install[/+] on Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions