abraunegg / onedrive

OneDrive Client for Linux
https://abraunegg.github.io
GNU General Public License v3.0
10.1k stars 863 forks source link

Bug: WARNING: Your onedrive client version is now obsolete and unsupported. Please upgrade your client version. #2549

Closed imonteroo closed 11 months ago

imonteroo commented 11 months ago

Describe the bug

with codes "sudo apt update" and "sudo apt-get-update onedrive do not update. when i run "onedrive --synchronize" I obtain

WARNING: Your onedrive client version is now obsolete and unsupported. Please upgrade your client version.
Current Application Version: 2.4.23
Version Available:           2.4.25

Operating System Details

microviable@microviable:~$ uname -a
Linux microviable 6.2.0-34-generic #34~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep  7 13:12:03 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
microviable@microviable:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.3 LTS
Release:    22.04
Codename:   jammy

Client Installation Method

From Source

OneDrive Account Type

Business | Office365

What is your OneDrive Application Version

onedrive v2.4.23-8-g5b14157

What is your OneDrive Application Configuration

Configuration file successfully loaded
onedrive version                             = v2.4.23-8-g5b14157
Config path                                  = /home/microviable/.config/onedrive
Config file found in config path             = true
Config option 'sync_dir'                     = /media/microviable/e/OneDrive
Config option 'enable_logging'               = false
Config option 'log_dir'                      = /var/log/onedrive/
Config option 'disable_notifications'        = false
Config option 'min_notify_changes'           = 5
Config option 'skip_dir'                     = 
Config option 'skip_dir_strict_match'        = false
Config option 'skip_file'                    = ~*|.~*|*.tmp
Config option 'skip_dotfiles'                = false
Config option 'skip_symlinks'                = false
Config option 'monitor_interval'             = 300
Config option 'monitor_log_frequency'        = 6
Config option 'monitor_fullscan_frequency'   = 12
Config option 'read_only_auth_scope'         = false
Config option 'dry_run'                      = false
Config option 'upload_only'                  = false
Config option 'download_only'                = false
Config option 'local_first'                  = false
Config option 'check_nosync'                 = false
Config option 'check_nomount'                = false
Config option 'resync'                       = false
Config option 'resync_auth'                  = false
Config option 'cleanup_local_files'          = false
Config option 'classify_as_big_delete'       = 1000
Config option 'disable_upload_validation'    = false
Config option 'bypass_data_preservation'     = false
Config option 'no_remote_delete'             = false
Config option 'remove_source_files'          = false
Config option 'sync_dir_permissions'         = 700
Config option 'sync_file_permissions'        = 600
Config option 'space_reservation'            = 52428800
Config option 'application_id'               = 
Config option 'azure_ad_endpoint'            = 
Config option 'azure_tenant_id'              = common
Config option 'user_agent'                   = 
Config option 'force_http_11'                = false
Config option 'debug_https'                  = false
Config option 'rate_limit'                   = 0
Config option 'operation_timeout'            = 3600
Config option 'sync_root_files'              = false
Selective sync 'sync_list' configured        = false
Config option 'sync_business_shared_folders' = false
Business Shared Folders configured           = false
Config option 'webhook_enabled'              = false

What is your 'curl' version

curl --version
curl 7.81.0 (x86_64-pc-linux-gnu) libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.16
Release-Date: 2022-01-05
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets zstd

Where is your 'sync_dir' located

Local

What are all your system 'mount points'

sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=32791212k,nr_inodes=8197803,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=6575704k,mode=755,inode64)
/dev/nvme1n1p2 on / type ext4 (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=24907)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
ramfs on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
/dev/nvme0n1 on /media/microviable/f type ext4 (rw,nosuid,nodev,relatime,x-gvfs-show)
/dev/sda1 on /media/microviable/d type ext4 (rw,nosuid,nodev,relatime,x-gvfs-show)
/dev/sdd2 on /media/microviable/SeagateExpansion type ext4 (rw,nosuid,nodev,relatime,x-gvfs-show)
/dev/sdb2 on /media/microviable/e type ext4 (rw,nosuid,nodev,relatime,x-gvfs-show)
/dev/sdc on /media/microviable/g type ext4 (rw,nosuid,nodev,relatime,x-gvfs-show)
/var/lib/snapd/snaps/canonical-livepatch_246.snap on /snap/canonical-livepatch/246 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/canonical-livepatch_248.snap on /snap/canonical-livepatch/248 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/core_16091.snap on /snap/core/16091 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/core_16202.snap on /snap/core/16202 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/core18_2790.snap on /snap/core18/2790 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/core18_2796.snap on /snap/core18/2796 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/core20_1974.snap on /snap/core20/1974 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/core20_2015.snap on /snap/core20/2015 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/core22_858.snap on /snap/core22/858 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/core22_864.snap on /snap/core22/864 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/cups_974.snap on /snap/cups/974 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/cups_980.snap on /snap/cups/980 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-28-1804_194.snap on /snap/gnome-3-28-1804/194 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-28-1804_198.snap on /snap/gnome-3-28-1804/198 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-34-1804_90.snap on /snap/gnome-3-34-1804/90 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-34-1804_93.snap on /snap/gnome-3-34-1804/93 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-38-2004_140.snap on /snap/gnome-3-38-2004/140 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-38-2004_143.snap on /snap/gnome-3-38-2004/143 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/gnome-42-2204_132.snap on /snap/gnome-42-2204/132 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/gnome-42-2204_141.snap on /snap/gnome-42-2204/141 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/gtk2-common-themes_13.snap on /snap/gtk2-common-themes/13 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1534.snap on /snap/gtk-common-themes/1534 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1535.snap on /snap/gtk-common-themes/1535 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/hunspell-dictionaries-1-7-2004_2.snap on /snap/hunspell-dictionaries-1-7-2004/2 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/kde-frameworks-5-core18_32.snap on /snap/kde-frameworks-5-core18/32 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/kde-frameworks-5-core18_35.snap on /snap/kde-frameworks-5-core18/35 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/p7zip-desktop_220.snap on /snap/p7zip-desktop/220 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/pyqt5-runtime-lite_4.snap on /snap/pyqt5-runtime-lite/4 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/qt515-core20_27.snap on /snap/qt515-core20/27 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/qt515-core20_28.snap on /snap/qt515-core20/28 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/qt551_41.snap on /snap/qt551/41 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/snapd_20092.snap on /snap/snapd/20092 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/qt551_42.snap on /snap/qt551/42 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
/var/lib/snapd/snaps/snapd_20290.snap on /snap/snapd/20290 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=6575700k,nr_inodes=1643925,mode=700,uid=1000,gid=1000,inode64)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
tmpfs on /run/snapd/ns type tmpfs (rw,nosuid,nodev,noexec,relatime,size=6575704k,mode=755,inode64)
nsfs on /run/snapd/ns/cups.mnt type nsfs (rw)
nsfs on /run/snapd/ns/canonical-livepatch.mnt type nsfs (rw)
gvfsd-fuse on /home/microviable/.cache/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/fuse on /run/user/1000/gnome-remote-desktop/cliprdr-KPiMkp type fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sde2 on /media/microviable/Windows type ntfs3 (rw,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,windows_names,uhelper=udisks2)
/dev/sde1 on /media/microviable/Timeshift type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)
/dev/sde1 on /run/timeshift/backup type ext4 (rw,relatime,errors=remount-ro)

What are all your local file system partition types

NAME FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0
                                                                   0   100% /snap/canonical-livepatch/246
loop1
                                                                   0   100% /snap/canonical-livepatch/248
loop2
                                                                   0   100% /snap/core/16091
loop3
                                                                   0   100% /snap/core/16202
loop4
                                                                   0   100% /snap/core18/2790
loop5
                                                                   0   100% /snap/core18/2796
loop6
                                                                   0   100% /snap/core20/1974
loop7
                                                                   0   100% /snap/core20/2015
loop8
     squash 4.0                                                    0   100% /snap/core22/858
loop9
     squash 4.0                                                    0   100% /snap/core22/864
loop10
     squash 4.0                                                    0   100% /snap/cups/974
loop11
     squash 4.0                                                    0   100% /snap/cups/980
loop12
     squash 4.0                                                    0   100% /snap/gnome-3-28-1804/194
loop13
     squash 4.0                                                    0   100% /snap/gnome-3-28-1804/198
loop14
     squash 4.0                                                    0   100% /snap/gnome-3-34-1804/90
loop15
     squash 4.0                                                    0   100% /snap/gnome-3-34-1804/93
loop16
     squash 4.0                                                    0   100% /snap/gnome-3-38-2004/140
loop17
     squash 4.0                                                    0   100% /snap/gnome-3-38-2004/143
loop18
     squash 4.0                                                    0   100% /snap/gnome-42-2204/132
loop19
     squash 4.0                                                    0   100% /snap/gnome-42-2204/141
loop20
     squash 4.0                                                    0   100% /snap/gtk2-common-themes/13
loop21
     squash 4.0                                                    0   100% /snap/gtk-common-themes/1534
loop22
     squash 4.0                                                    0   100% /snap/gtk-common-themes/1535
loop23
     squash 4.0                                                    0   100% /snap/hunspell-dictionaries-1-7-2004/2
loop24
     squash 4.0                                                    0   100% /snap/kde-frameworks-5-core18/32
loop25
     squash 4.0                                                    0   100% /snap/kde-frameworks-5-core18/35
loop26
     squash 4.0                                                    0   100% /snap/p7zip-desktop/220
loop27
     squash 4.0                                                    0   100% /snap/pyqt5-runtime-lite/4
loop28
     squash 4.0                                                    0   100% /snap/qt515-core20/27
loop29
     squash 4.0                                                    0   100% /snap/qt515-core20/28
loop30
     squash 4.0                                                    0   100% /snap/qt551/41
loop31
     squash 4.0                                                    0   100% /snap/qt551/42
loop32
     squash 4.0                                                    0   100% /snap/snapd/20092
loop33
     squash 4.0                                                    0   100% /snap/snapd/20290
sda                                                                         
└─sda1
     ext4   1.0   d     82197b2e-2d43-4d61-95d3-4776952c8771  820,8G     5% /media/microviable/d
sdb                                                                         
└─sdb2
     ext4   1.0   e     4d7e81d0-ed6f-4300-9278-df883936ca6a    7,6T    11% /media/microviable/e
sdc  ext4   1.0   g     7393adef-ed74-4f71-9e78-d9a15ec1dd69   11,5T    15% /media/microviable/g
sdd                                                                         
├─sdd1
│                                                                           
└─sdd2
     ext4   1.0   SeagateExpansion
                        bc492b7a-e1c6-47d3-b6ff-e7e36b46d505  724,8G    88% /media/microviable/SeagateExpansion
sde                                                                         
├─sde1
│    ext4   1.0   Timeshift
│                       d7c48f6f-8ff4-47e4-bb0e-04858e8761c9  494,7G    41% /run/timeshift/backup
│                                                                           /media/micr
│                                                                           oviable/Tim
│                                                                           eshift
└─sde2
     ntfs         Windows
                        4A2BCA5B2386B53E                      295,5G    68% /media/microviable/Windows
nvme1n1
│                                                                           
├─nvme1n1p1
│    vfat   FAT32       48ED-0522                                           
└─nvme1n1p2
     ext4   1.0   c     e57d4f37-2c99-411d-a0ec-7b0ebfdd8211  268,1G    36% /
nvme0n1
     ext4   1.0   f     b6c20d14-1afe-46f8-9303-c359543c9dbc    1,7T     2% /media/microviable/f

How do you use 'onedrive'

I uso onedrive to share files used in linux and windows

Steps to reproduce the behaviour

onedrive --monitor Configuration file successfully loaded

WARNING: Your onedrive client version is now obsolete and unsupported. Please upgrade your client version. Current Application Version: 2.4.23 Version Available: 2.4.25

Configuring Global Azure AD Endpoints

ERROR: onedrive application is already running - check system process list for active application instances

Complete Verbose Log Output

Using 'user' Config Dir: /home/microviable/.config/onedrive
Using 'system' Config Dir: /etc/onedrive
Configuration file successfully loaded
Checking Application Version ...

WARNING: Your onedrive client version is now obsolete and unsupported. Please upgrade your client version.
Current Application Version: 2.4.23
Version Available:           2.4.25

Initializing the OneDrive API ...
Configuring Global Azure AD Endpoints
Using Curl defaults for all HTTP operations
Opening the item database ...

ERROR: onedrive application is already running - check system process list for active application instances
 - Use 'sudo ps aufxw | grep onedrive' to potentially determine acive running process

Screenshots

No response

Other Log Information or Details

No response

Additional context

No response

abraunegg commented 11 months ago

@imonteroo FYI .. this is not a bug and this should have been opened as a discussion here: https://github.com/abraunegg/onedrive/discussions

Please be mindful of what is a bug and what is not a bug.

Now as to your actual issue

onedrive v2.4.23-8-g5b14157

It appears that at some point with you using this client you have installed the client from source, rather than from the distribution package for your system.

As you are running Ubuntu, you should have installed the client following the correct instructions as detailed here:

image

which then points you at this Installation of 'onedrive' package on Debian and Ubuntu

To resolve your issue:

  1. Uninstall your manually compiled application version. Follow these instructions Uninstalling the client if installed and built from source
  2. Install the correct Ubuntu package for your platform following Installation of 'onedrive' package on Debian and Ubuntu
abraunegg commented 11 months ago

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.