abraunegg / onedrive

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

Bug: dbus not found #2690

Closed pathcheatsheet closed 3 months ago

pathcheatsheet commented 3 months ago

Describe the bug

Hi there,

Many thanks for the client.

Please see error details below. I have followed every suggestion in #509 to no avail. (I am running distro-supplied dbus.)

[szg@felhokakukkvar ~]$ systemctl --user status onedrive.service
● onedrive.service - OneDrive Free Client
     Loaded: loaded (/usr/lib/systemd/user/onedrive.service; enabled; preset: enabled)
     Active: active (running) since Fri 2024-04-05 14:32:25 CEST; 2min 17s ago
       Docs: https://github.com/abraunegg/onedrive
   Main PID: 1500 (onedrive)
      Tasks: 4 (limit: 453)
        CPU: 3.217s
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/onedrive.service
             └─1500 /usr/bin/onedrive --monitor

ápr 05 14:32:25 felhokakukkvar systemd[444]: Started OneDrive Free Client.
ápr 05 14:32:26 felhokakukkvar onedrive[1500]: Configuration file successfully loaded
ápr 05 14:32:29 felhokakukkvar onedrive[1500]: Notification (dbus) server not available, disabling

and:

[szg@felhokakukkvar ~]$ sudo systemctl enable --now onedrive@szg.service
[sudo] password for szg:
Created symlink /etc/systemd/system/multi-user.target.wants/onedrive@szg.service → /usr/lib/systemd/system/onedrive@.service.
[szg@felhokakukkvar ~]$ sudo systemctl status onedrive@szg.service
● onedrive@szg.service - OneDrive Free Client for szg
     Loaded: loaded (/usr/lib/systemd/system/onedrive@.service; enabled; preset: disabled)
     Active: active (running) since Fri 2024-04-05 14:43:06 CEST; 6s ago
       Docs: https://github.com/abraunegg/onedrive
   Main PID: 1743 (onedrive)
      Tasks: 3 (limit: 453)
        CPU: 880ms
     CGroup: /system.slice/system-onedrive.slice/onedrive@szg.service
             └─1743 /usr/bin/onedrive --monitor --confdir=/home/szg/.config/onedrive

ápr 05 14:43:06 felhokakukkvar systemd[1]: Started OneDrive Free Client for szg.
ápr 05 14:43:07 felhokakukkvar onedrive[1743]: Configuration file successfully loaded
ápr 05 14:43:07 felhokakukkvar onedrive[1743]: Notification (dbus) server not available, disabling

Thanks in advance for looking into this!

Operating System Details

Raspberry Pi 3B+
Linux felhokakukkvar 6.7.8-1-MANJARO-RPI4 #1 SMP PREEMPT Tue Mar  5 13:01:23 UTC 2024 aarch64 GNU/Linux

Client Installation Method

From Source

OneDrive Account Type

Business | Office365

What is your OneDrive Application Version

2.4.25

What is your OneDrive Application Configuration

Configuration file successfully loaded
onedrive version                             = v2.4.25
Config path                                  = /home/szg/.config/onedrive
Config file found in config path             = true
Config option 'sync_dir'                     = /mnt/1TB
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 'disable_notifications'        = false                                                                                                      [0/1931]
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 'dns_timeout'                  = 60                                                                                                                 Config option 'connect_timeout'              = 10                                                                                                                 Config option 'data_timeout'                 = 600
Config option 'ip_protocol_version'          = 0                                                                                                                  Config option 'sync_root_files'              = false
Selective sync 'sync_list' configured        = true
sync_list contents:
music-stereo
music-surround
                                                                                                                                                                  Config option 'sync_business_shared_folders' = false
Business Shared Folders configured           = false
Config option 'webhook_enabled'              = false

What is your 'curl' version

curl 8.6.0 (aarch64-unknown-linux-gnu) libcurl/8.6.0 OpenSSL/3.2.1 zlib/1.3.1 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.7 libpsl/0.21.2 libssh2/1.11.0 nghttp2/1.59.0 nghttp3/1.2.0
Release-Date: 2024-01-31
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd

Where is your 'sync_dir' located

Local

What are all your system 'mount points'

proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=193468k,nr_inodes=48367,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/mmcblk0p2 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)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
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)
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=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=5187)
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)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=462852k,nr_inodes=1048576)
/dev/mmcblk0p1 on /boot type vfat (rw,nodev,noexec,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,errors=remount-ro)
/dev/sda1 on /mnt/1TB type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda1 on /home/szg/Downloads/slsk type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda1 on /home/szg/Downloads/torrent type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda1 on /home/szg/Music/QP type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda1 on /home/szg/Music/stereo type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda1 on /home/szg/Music/surround type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda1 on /home/szg/Videos/Movie type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda1 on /home/szg/Videos/Series type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda1 on /home/szg/hdd type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=92568k,nr_inodes=23142,mode=700,uid=1000,gid=1000)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)

What are all your local file system partition types

NAME        FSTYPE FSVER LABEL      UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda
└─sda1      ntfs         new        C2103637103632B1                       62,1G    93% /home/szg/hdd
                                                                                        /home/szg/Videos/Series
                                                                                        /home/szg/Videos/Movie
                                                                                        /home/szg/Music/surround
                                                                                        /home/szg/Music/stereo
                                                                                        /home/szg/Music/QP
                                                                                        /home/szg/Downloads/torrent
                                                                                        /home/szg/Downloads/slsk
                                                                                        /mnt/1TB
mmcblk0
├─mmcblk0p1 vfat   FAT16 BOOT_MNJRO 0371-6912                             405,2M    11% /boot
└─mmcblk0p2 ext4   1.0   ROOT_MNJRO f325f09a-2809-4e13-8c2f-e776dac10e79   44,4G    19% /
zram0                                                                                   [SWAP]

How do you use 'onedrive'

Shared across multiple systems / platforms / Operating Systems and in use at the same time

Steps to reproduce the behaviour

Please see above

Complete Verbose Log Output

Not relevant

Screenshots

No response

Other Log Information or Details

No response

Additional context

No response

abraunegg commented 3 months ago

@pathcheatsheet Firstly this is not a bug - sorry. A bug refers to technical issues like application crashes, memory leaks, or logical errors, warranting a GitHub issue for resolution. In contrast, difficulties with feature usage or integration challenges should prompt opening a GitHub discussion instead.

Please be mindful of this in the future.

As you are running aarch64 and Manjaro - how did you actually install the client? Did you:

  1. Actually compile from source ...
  2. Use the Arch AUR repository to install the client on Manjaro ?

Secondly, to make notifications work the client must first be compiled with support for enabling notifications by including --enable-notifications when you build. the Arch AUR package builds the client correctly with this flag option enabled.

Please can you answer the above questions.

I have followed every suggestion in https://github.com/abraunegg/onedrive/issues/509 to no avail. (I am running distro-supplied dbus.)

Further questions to answer:

abraunegg commented 3 months ago

@pathcheatsheet Please can you respond to the points I have raised

pathcheatsheet commented 3 months ago

Hello,

Sorry about the late response. Yes we are looking at the AUR version here -- tried it on a Manjaro x86_64 rig and it seems to be working fine there, ie. it does not complain about dbus not being available. Looks like I have to raise this with the manjaro-arm team. Apologies for the noise and thank you for your time! Please close this and keep up the good work!

All the best

abraunegg commented 3 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.