Synology CloudDrive mounts alist to the local file system

alist has been installed and configured before, and WebDAV protocol is really easy to use. Although Synology also supports mounting WebDAV to FileStation , it can only be accessed on the web page, and cannot be accessed in software such as client or Jellyfin , so it can be accessed in Synology Install CloudDrive package in , and mount alist to the file system, so that third-party packages and other clients can access alist data.

Reference document: https://imnks.com/3653.html

Install the CloudDrive suite

Search CloudDrive in the package center, there are two packages, the first one is an old version, which does not support the Alibaba cloud disk open platform, CloudDrive2 is a new version, both are third-party packages, click to install:

image-20230301114524569

Here is a reminder, after installation, you need to execute a separate command to start it:

ERROR: Due to the limitations of the Synology 7.0 system, the CloudDrive2 suite cannot be run directly after installation. Please use SSH to log in to Synology and use the sudo sed -i ‘s/package/root/g’ /var/packages/CloudDrive2/conf/privilege command to set up the suite Run with root privileges.

At this time, it cannot be started. There is a prompt:

Unable to start ‘CloudDrive2’. Please try again later, or contact the package developer.

Start SSH and perform repair

In Synology’s [Control Panel] suite, enable SSH function, and then use a third-party tool, MobaXTerm I use here to log in.

image-20230301114943693

Login to enter:

image-20230301115139566

Excuting an order:

 sudo sed -i 's/package/root/g' /var/packages/CloudDrive2/conf/privilege

Since it is running as an administrator, you need to enter your own login password

Then you can start the CloudDrive2 suite.

Note: Be sure to remember to turn off the SSH function. Hackers often scan the SSH port and try to log in. It is recommended to turn it off when not in use.

Access address after startup: http://nas_ip:19798/

The previous version seems to be port 9798 , this version seems to change the default port to 19798

Register an account

There is no account provided by default, and you need to register one yourself. The registered account information seems to be stored in a third-party cloud. This CloudDrive information is not very transparent. Consider the risk yourself:

image-20230301115849865

After registration, you can start to mount after logging in successfully.

Mount alist to the file system

CloudDrive can also directly mount Alibaba cloud disks, but our alist may mount many third-party resources, and directly mounting alist does not need to mount each resource separately.

image-20230301120315860

Select WebDAV to mount, enter the address and account information:

image-20230301120413649

After selection, you can rename it, such as alist

image-20230301120519859

By default, it has been mounted to the file system, as shown in the figure, you can see CloudNAS/CloudDrive2 in File Station

image-20230301120811598

custom mount point

Click the computer icon on the root directory to configure the mount point

image-20230301121120584

Now that the configuration is complete, the data in alist can be accessed anywhere else.

This article is transferred from https://fugary.com/?p=430
This site is only for collection, and the copyright belongs to the original author.