Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for NextCloud #1821

Closed
afzl-wtu opened this issue Jan 30, 2022 · 15 comments
Closed

Support for NextCloud #1821

afzl-wtu opened this issue Jan 30, 2022 · 15 comments
Labels
Feature Request Feature Request | Enhancement Request Rejected Request Rejected

Comments

@afzl-wtu
Copy link

NextClound currently have no OneDrive support, specially for OneDrive for Business. Microsoft do not allow to connect OneDrive for Business from new apps or unverfied apps.
Mostly universities offer their students Terabytes of free space in form of OneDrive for Business, office365 account. But we can not use that space because their policies like Disbaled public sharing link. and more over university admins can see your files.
So the soultion is this:

  1. Onedrive should be connected to Nextcloud as a folder or extra storage drive.
  2. We upload file to nextcloud server and it automatically encrypt its data and name and then upload to onedrive.
  3. But we still can see the file in next cloud and if video file, play it on demand, decryption and download in background.
@abraunegg
Copy link
Owner

abraunegg commented Jan 30, 2022

@afzl-wtu

NextClound currently have no OneDrive support, specially for OneDrive for Business

OK .. unfortunately I cant assist with that - speak with NextCloud?

Microsoft do not allow to connect OneDrive for Business from new apps or unverfied apps.

Unsure what you mean by this? This app is technically 'unverified' - and as any OneDrive client, you need to authorise its use - and 100% works with OneDrive Business and SharePoint.

So the soultion is this ...

I dont exactly understand what you are wanting to do - you mean have this client communicate to NextCloud and then pull data from NextCloud and put on OneDrive?

If so - this client is not a cloud-to-cloud integration tools - Google is your friend.

@abraunegg abraunegg added Feature Request Feature Request | Enhancement Request Rejected Request Rejected labels Jan 30, 2022
@afzl-wtu
Copy link
Author

Sorry for bad writing last night. Here is a plugin Next Cloud that allows you to connect Onedrive. But I am not sure if it supports Onedrive for business.
image
So I go on azure portal and register an app:
image

So I see this line there:
image

@abraunegg
Copy link
Owner

@afzl-wtu
You need to take this up with the developers of that tool - all of this is nothing I can assist with - sorry.

@afzl-wtu
Copy link
Author

@afzl-wtu You need to take this up with the developers of that tool - all of this is nothing I can assist with - sorry.

I am able to do this with the help of rclone. I can mount my business one drive as VFS and then I point NextCloud to this folder and all set.
I highly recommend you to know about NextCloud. Thanks

@abraunegg
Copy link
Owner

@afzl-wtu

I am able to do this with the help of rclone. I can mount my business one drive as VFS and then I point NextCloud to this folder and all set.
I highly recommend you to know about NextCloud. Thanks

So why dont you do the exact same thing using this client then? This client stores all data in ~/OneDrive ... It seems like potentially you have not read the documents or at least tested / tried?

rclone is also a 1-way sync client - not bidirectional like this one. Rclone also does not support all the OneDrive Business items nor can it deal with the SharePoint shenanigans that go on.

@afzl-wtu
Copy link
Author

@afzl-wtu

I am able to do this with the help of rclone. I can mount my business one drive as VFS and then I point NextCloud to this folder and all set.
I highly recommend you to know about NextCloud. Thanks

So why dont you do the exact same thing using this client then? This client stores all data in ~/OneDrive ... It seems like potentially you have not read the documents or at least tested / tried?

rclone is also a 1-way sync client - not bidirectional like this one. Rclone also does not support all the OneDrive Business items nor can it deal with the SharePoint shenanigans that go on.

rclone encrypts my files even their name and then upload them to onedrive and when i Nedd them it automatically decrypts them

@abraunegg
Copy link
Owner

@afzl-wtu

rclone encrypts my files even their name and then upload them to onedrive and when i Nedd them it automatically decrypts them

OneDrive does not support encrypted files | folders - whilst you can upload that data - depending on how things are encrypted (folder structure, content) - you run into their architectural legacy path length issue.

Please read #1023 very carefully.

@afzl-wtu
Copy link
Author

your Onedrive start download all files at once when connected to account , lol.
I have more than 200GB data over onedrive. So I exclude files and folders to use your onedrive software. otherwise it is best software if it support file on demand functionality,

@abraunegg
Copy link
Owner

@afzl-wtu

I have more than 200GB data over onedrive. So I exclude files and folders to use your onedrive software. otherwise it is best software if it support file on demand functionality

Please read: #757

@abraunegg
Copy link
Owner

@afzl-wtu

your Onedrive start download all files at once when connected to account , lol.

Because probably you are using Ubuntu ... please read #1274 and read the installation instructions for Ubuntu - https://github.com/abraunegg/onedrive/blob/master/docs/INSTALL.md & https://github.com/abraunegg/onedrive/blob/master/docs/ubuntu-package-install.md

@afzl-wtu
Copy link
Author

Sure I read them now. I I have vm instance with 4 cores arrch64 and 24GB on oracle. I just upload my files without encryption in NextCloud account it then pass to rclone directory on my vm server. It then encrypts the data and upload to onedrive. All this happens in background. When I need that data I just ask Nextcloud and it ask rclone to get data and rclone downloads and decrypts data and pass to nextcloud in background.

@afzl-wtu
Copy link
Author

Thanks all your suggestions and work arounds:
They reason to use rclone is it integrate onedrive as a local storage in my NextCloud Drive. So I just care for Nextcloud.
2nd my Organization do not allow to share files in one drive to public. But I can overcome this by sharing Nextcloud link as onedrive files are now available in Nextcloud drive.

@afzl-wtu
Copy link
Author

Now I got better solutions and all credit goes to you:
image

@afzl-wtu
Copy link
Author

Sadly.. This is not a solution. It will not run on my headless ubuntu it is GUI only. and their CLI is worse than even its existence.

@abraunegg
Copy link
Owner

abraunegg commented Jan 30, 2022

@afzl-wtu
As per #1023 - The OneDrive service from Microsoft is not architected to support encrypted files.

Whilst I get your desire to store encrypted content there and share the files using other technology solutions (why - for you to know ... getting around geo-political issues or sharing who-knows-what - thats your business - not mine) - OneDrive as a service itself is not the right solution for storing encrypted files in the manner you are trying to achieve.

There are many better cloud storage solutions / services that provide this including end-to-end encryption.

Now - just because your organisation (work|university|whatever) is providing you a nice subsidised storage space on OneDrive - can I suggest that potentially trying to use that, for whatever purpose you are doing (hence the encrypted files so your organisation + Microsoft cant see your data) is potentially against your user access policy / terms & conditions.

Repository owner locked and limited conversation to collaborators Jan 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature Request Feature Request | Enhancement Request Rejected Request Rejected
Projects
None yet
Development

No branches or pull requests

2 participants