Trying to use new volumectl command for nextcloud fails

Hi,

I’m trying the new volumectl command in order to get Nextcloud’s data folder on a separate volume.

I searched in the codebase for the right org.nethserver.volumes id and found nextcloud-app-data

I’m running this :

volumectl add-volume nextcloud-data --for nextcloud-app-data --target /srv/fastdata 
Added volume target for [nextcloud-app-data]: nextcloud-data → /srv/fastdata 

Then I start the nextcloud instance installation, but its data is still written in /home/nextcloud1

Is there something I missed ?

Txs !

Only the nextcloud-app-data volume is written to the given disk, the rest is still in /home

Is there nothing in /srv/fastdisk?

EDIT:

I think you used a wrong command:

volumectl add-volume nextcloud-app-data --target /mnt/disk00 --for nextcloud

See also Volumes | NS8 dev manual

1 Like

Txs. I missed that page. I must say once again that the doc is scattered between the admin doc, the dev doc and even the GitHub readme and that is really not easy to find your way.

the instructions in the admin doc are not sufficient to get how volumeclt works.

I’ll wait for the GUI :slight_smile:

2 Likes