Last modified by Niko-Ville Koljonen on 2024/05/29 11:47

Show last authors
1 **A fix has been deployed and the shortcut from the University Menu should work.**
2
3 **If not and the folder that opens is empty, check the bottom of this page. You can also set this up with these instructions [[Rclone-MS OneDrive>>url:https://rclone.org/onedrive/||shape="rect"]]**
4
5
6 [[Rclone>>url:https://rclone.org/||shape="rect"]] is a open source software tool which can be used to access most cloud storage systems, including OneDrive. Rclone is installed by default in all Cubbli Linuxes (later than 18.04. If you have an older installation, you should upgrade). OneDrive cloud storage will work on any network. No VPN is needed.
7
8 University of Helsinki Office365 subscription has 1T of OneDrive storage available by default to all UH users. **Helsinki University OneDrive storage can be accessed by University admins. Store all private data in a folder named private. Consider using encryption. **More details about [[University OneDrive is available from Helpdesk. >>url:https://helpdesk.it.helsinki.fi/en/instructions/collaboration-and-publication/office-365/office-365-onedrive-business||shape="rect"]]
9
10 == OneDrive access with Cubbli ==
11
12 You can use the University menu to configure and access OneDrive in Cubbli. In VDI and Classroom Cubbli hosts you need to the configuration only once:
13
14 (% class="relative-table wrapped" style="width:72.0%" %)
15 |(((
16 (% class="content-wrapper" %)
17 (((
18 Select OneDrive from University menu:
19
20 [[image:attach:image2020-3-26_11-9-37.png]]
21 )))
22 )))|(((
23 (% class="content-wrapper" %)
24 (((
25 Select Yes to configure OneDrive access.[[image:attach:image2020-3-26_11-14-9.png]]
26 )))
27 )))
28 |(% colspan="1" %)(% colspan="1" %)
29 (((
30 (% class="content-wrapper" %)
31 (((
32 You need to login with your ad.helsinki.fi account.
33
34 [[image:attach:image2020-3-26_11-27-4.png]]
35 )))
36 )))|(% colspan="1" %)(% colspan="1" %)
37 (((
38 (% class="content-wrapper" %)
39 (((
40 If you don't at first succeed, try again!
41
42 [[image:attach:image2020-3-26_11-28-53.png]]
43 )))
44 )))
45 |(% colspan="1" %)(% colspan="1" %)
46 (((
47 (% class="content-wrapper" %)
48 (((
49 Success!
50
51 [[image:attach:image2020-3-26_11-32-2.png]]
52 )))
53 )))|(% colspan="1" %)(% colspan="1" %)
54 (((
55 (% class="content-wrapper" %)
56 (((
57 Access OneDrive and create the Private folder.
58
59 [[image:attach:image2020-3-26_11-34-36.png]]
60 )))
61 )))
62
63 === Boring technical details about the configuration: ===
64
65 * The script will mount OneDrive at path {{code language="none"}}/run/user/[your uid number]/rclone/onedrive-uh/{{/code}}
66 * The path will stay the same. You can use symlinks to create shortcuts there.
67 * You can access the directory from command line, just like any other directories. Reading and writing files might be slow though, depending on network conditions and OneDrive load.
68 * This is a fuse mount with rclone's mount command and full caching (~-~-cache-mode-full)
69 * You can unmount OneDrive with cubbli-rclone-setup umount
70 * It is safe to leave the mount on.
71
72 === **If rclone stops working / the shortcut opens an empty folder with nothing in it** ===
73
74 * This might be because the MFA has expired and you need to run the setup again for it to get authenticated
75
76 {{code language="bash"}}
77 # Run this in a terminal and select "Yes" when prompted.
78 $ cubbli-rclone-setup setup-onedrive
79 {{/code}}
80
81 === **If the folder is empty when you run the automated script from the uh-menu:** ===
82
83 * In the terminal run:
84
85 {{{$ rclone config reconnect onedrive-uh:}}}
86
87 * And answer to the questions accordingly.
88
89 == Using Rclone ==
90
91 You can set up other rclone remotes as you wish and you don't need to use the Cubbli Rclone configuration script. Remember that rclone mounts probably won't work under your AD home directory, so use a temporary directory for them.  Please consult the [[rclone documentation.>>url:https://rclone.org/docs/||shape="rect"]]
92
93
94