Since not too long, OneDrive plugin keeps looping after start and fails with the following error:
Code
May 07 23:26:46 xxx onedrive[691796]: Reading configuration file: /var/cache/onedrive/config
May 07 23:26:46 xxx onedrive[691796]: Invalid value for key in config file: verbose
May 07 23:26:46 xxx onedrive[691796]: Configuration file has errors - please check your configuration
The content of the file /var/cache/onedrive/config:
Code
# This file is auto-generated by openmediavault (https://www.openmediavault.org)
# WARNING: Do not edit this file, your changes will get lost.
enable_logging = "true"
verbose = "true"
sync_dir = "/srv/dev-disk-by-uuid-4faa5941-08a5-4ef9-8e4d-f796723d162e/onedrive/"
sync_dir_permissions = "750"
sync_file_permissions = "640"
local_first = "false"
no_remote_delete = "false"
cleanup_local_files = "false"
download_only = "false"
upload_only = "false"
skip_dotfiles = "false"
monitor_interval = "43200"
monitor_fullscan_frequency = "12"
rate_limit = "0"
# Fix issues related to curl that is installed by Debian.
# https://github.com/abraunegg/onedrive/blob/master/docs/usage.md#compatibility-with-curl
force_http_11 = "true"
ip_protocol_version = "1"
# Do not display the warning message on startup.
disable_notifications = "true"
Display More
openmediavault 7.7.6-1
openmediavault-onedrive 7.1.4-3
onedrive Version: 2.5.5-1+np1+1.1
I assume I am not to mess with /var/cache/onedrive/config as indicated by the header. I changed it anyway and put a # in front of verbose = "true", understanding that it'll get overwritten eventually.
After having to do omv-onedrive --reauth since the service has been inoperable for too long, a sync was successfully started.