Add local disk on a VPS

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 18.0.2): 18.0.7
Operating system and version (eg, Ubuntu 20.04): Debian 10 Buster
Apache or nginx version (eg, Apache 2.4.25): ngninx 1.14.2
PHP version (eg, 7.1):PHP 7.0.33

The issue you are facing:

Hello, I haven’t found a solution for data access from nextcloud to an additional disk.
My instance is on a VPS at OVH. My disk being almost full I ordered an additional disk, mounted in /mnt/sdb.
Nextcloud is version 18.0.7.

I’ve done the commands :
chown -R nextcloud:nextcloud /mnt/sdb
sudo chmod -R 0750 /mnt/sdb

I logged off and then logged back on nextcloud, but when I want to add the local disk, it doesn’t work. I don’t have any particular log otherwise.

How can I solve it ?

Have you tried to mount the new hard disk manually on the console as the user “nextcloud”?

your web server is running as user “nextcloud”.

i would guess www-data or nginx is your web server user.

1 Like

ok, thanks, I’ll try it.

No, I’ll try it.