Last modified by Xwiki VePa on 2024/02/14 09:29

Show last authors
1 --**At the moment setting up this configuration from the University Menu is not working. A fix is on the way.**--** **
2
3 **A fix has now been deployed and the shortcut from the University Menu should work.**
4
5 **If not, let us know via Helpdesk. You can also set this up with these instructions [[Rclone-MS OneDrive>>url:https://rclone.org/onedrive/||shape="rect"]]**
6
7 \\
8
9 [[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.
10
11 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"]]
12
13 == OneDrive access with Cubbli ==
14
15 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:
16
17 (% class="wrapped relative-table" style="width: 72.0%;" %)
18 |(((
19 (% class="content-wrapper" %)
20 (((
21 Select OneDrive from University menu:
22
23 [[image:attach:image2020-3-26_11-9-37.png]]
24 )))
25 )))|(((
26 (% class="content-wrapper" %)
27 (((
28 Select Yes to configure OneDrive access.[[image:attach:image2020-3-26_11-14-9.png]]
29 )))
30 )))
31 |(% colspan="1" %)(% colspan="1" %)
32 (((
33 (% class="content-wrapper" %)
34 (((
35 You need to login with your ad.helsinki.fi account.
36
37 [[image:attach:image2020-3-26_11-27-4.png]]
38 )))
39 )))|(% colspan="1" %)(% colspan="1" %)
40 (((
41 (% class="content-wrapper" %)
42 (((
43 If you don't at first succeed, try again!
44
45 [[image:attach:image2020-3-26_11-28-53.png]]
46 )))
47 )))
48 |(% colspan="1" %)(% colspan="1" %)
49 (((
50 (% class="content-wrapper" %)
51 (((
52 Success!
53
54 [[image:attach:image2020-3-26_11-32-2.png]]
55 )))
56 )))|(% colspan="1" %)(% colspan="1" %)
57 (((
58 (% class="content-wrapper" %)
59 (((
60 Access OneDrive and create the Private folder.
61
62 [[image:attach:image2020-3-26_11-34-36.png]]
63 )))
64 )))
65
66 \\
67
68 === Boring technical details about the configuration: ===
69
70 * The script will mount OneDrive at path {{code language="none"}}/run/user/[your uid number]/rclone/onedrive-uh/{{/code}}
71 * The path will stay the same. You can use symlinks to create shortcuts there.
72 * 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.
73 * This is a fuse mount with rclone's mount command and full caching (~-~-cache-mode-full)
74 * You can unmount OneDrive with cubbli-rclone-setup umount
75 * It is safe to leave the mount on.
76
77 === **If rclone stops working / the shortcut opens an empty folder with nothing in it** ===
78
79 * This might be because the MFA has expired and you need to run the setup again for it to get authenticated
80
81 {{code language="bash"}}
82 # Run this in a terminal and select "Yes" when prompted.
83 $ cubbli-rclone-setup setup-onedrive
84 {{/code}}
85
86 \\
87
88 == Using Rclone ==
89
90 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"]]
91
92 \\
93
94 \\