OneDrive plugin questions / feature request

    • Official Post

    Is this documented somewhere ? I did not find the documentation corresponding to onedrive plugin ... Can you please provide the documentation link ? Thank you

    Yes, please use the source. See https://github.com/openmediava…b/openmediavault-onedrive. Except the source there is no need to document anything because the plugin UI should be self-explaining and there should be no need that users modify anything.

  • Yes, please use the source. See https://github.com/openmediava…b/openmediavault-onedrive. Except the source there is no need to document anything because the plugin UI should be self-explaining and there should be no need that users modify anything.

    maybe most of the time for standard use, but in my case, as explained in detail in this post :

    I have permission issues in Windows when I try to open updated files from the network drive pointing to the OMV onedrive sync folder shared via smb.

    Initially not having found any documentation for the plugin, I have tried to change folder and files permissions in the config file stored in the ~/.config/onedrive directory, as mentioned in the onedrive client documentation, and then by chance I found your post mentioning the /var/cache/onedrive directory for the plugin config file.

    My fear is that in this config file it is mentioned:

    # This file is auto-generated by openmediavault (https://www.openmediavault.org)

    # WARNING: Do not edit this file, your changes will get lost.

    Is it the case ?

    By default :

    {%- set sync_dir_permissions = salt['pillar.get']('default:OMV_ONEDRIVE_SYNCDIRPERMISSIONS', '750') -%}

    {%- set sync_file_permissions = salt['pillar.get']('default:OMV_ONEDRIVE_SYNCFILEPERMISSIONS', '640') -%}

    I changed them to 777 and 666 ... And now it is ok but not sure that it is the right way and that it won't be changed by a plugin new version update ...

    I would like to understand why I am having these issues... my fault? installation issue ? thank you

  • Hi, i might have a similar issue.

    omv is running on debian11 and i've created a smb share (/backup) which inherits scl and permissions.

    this share is accessible from my win client using the according creds.

    in the onedrive config i set the sync_dir to the mounted dir (/srv/dev-disk-by-uuid-81e..../backup/onedrive).

    as soon as i start the sync, the defined subfolder (/onedrive) becomes inaccessible via smb.

    am i missing something?

    cheers

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!