Hi, after a lot of attempts, i decided to contact youâŚ
Im trying to install a new drive to expand the memory, by this steps:
- First, format the hdd drive from pc with ext4 filesystem
- Before power on the raspberry, connect the drive to raspberry
- active nextcloud pi with ssh, nc-automount and format the drive with label âDATAâ
- run nc-datadir and move data to the new drive
But nc-datadir give me this error:
Maintenance mode enabled
moving data directory from /var/www/nextcloud/data to /media/DATAâŚ
Nextcloud is in maintenance mode, hence the database isnât accessible.
Cannot perform any command except âmaintenance:mode --offâ
System config value logfile set to string /media/DATA/data/nextcloud.log
Nextcloud is in maintenance mode, hence the database isnât accessible.
Cannot perform any command except âmaintenance:mode --offâ
System config value tempdirectory set to string /media/DATA/data/tmp
Maintenance mode disabled
/usr/local/bin/ncp/SYSTEM/metrics.sh: line 9: DOCKERBUILD: unbound variable
So I look where the drive is mounted and I cant find it
I executed through ssh sudo -s and then lsblk, fdisk -l but i cant find /dev/sda
I tried to change USB port but with the same result
Anyway, when i connect it with my usual pc, i can see it and i can mount correctly
I dont know what to do