Tried also turning off nc-automount before nc-format-USB but got this error
/dev/sda: 2 bytes were erased at offset 0x000001fe (dos): 55 aa
Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0x86758692.
Command (m for help): Created a new DOS disklabel with disk identifier 0xee5d56eb.
Command (m for help): Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): Partition number (1-4, default 1): First sector (2048-1953458175, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-1953458175, default 1953458175):
Created a new partition 1 of type āLinuxā and of size 931.5 GiB.
Partition #1 contains a ext4 signature.
Command (m for help):
The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy
The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).
If you run from the web you will see a green dot if it went ok.
This is a successful output
Launching nc-format-USB
/dev/sda: 2 bytes were erased at offset 0x000001fe (dos): 55 aa
Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0xf0e7df70.
Command (m for help): Created a new DOS disklabel with disk identifier 0xd7c6eafc.
Command (m for help): Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): Partition number (1-4, default 1): First sector (2048-31266815, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-31266815, default 31266815):
Created a new partition 1 of type 'Linux' and of size 14.9 GiB.
Partition #1 contains a ext4 signature.
Command (m for help):
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
mke2fs 1.43.4 (31-Jan-2017)
/dev/sda1 contains a ext4 file system labelled 'myCloudDrive'
last mounted on /media/myCloudDrive on Sat Sep 9 07:07:01 2017
Creating filesystem with 3908096 4k blocks and 977280 inodes
Filesystem UUID: 781eb11c-d043-49cc-830b-7cae73ac77ba
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
After reboot, try again. Assuming you have nc-automount enabled, /media/USBdrive will be your USB drive and you can use the default /media/USBdrive for nc-datadir
It doesnāt find the datadir, makes sense. You can start over if you want, but it is probably easier to just run nc-init which will reset Nextcloud to defaults.
I just run it with the latest image and it works. Here is the output
Launching nc-init
Setting up database...
Setting up Nextcloud...
Nextcloud is not installed - only a limited number of commands are available
Nextcloud was successfully installed
Set mode for background jobs to 'cron'
System config value mysql.utf8mb4 set to boolean true
System config value trusted_domains => 1 set to string 192.168.0.128
System config value mail_smtpmode set to string php
System config value mail_smtpauthtype set to string LOGIN
System config value mail_from_address set to string admin
System config value mail_domain set to string ownyourbits.com
System config value overwriteprotocol set to string https
Done. Press any key...
I donāt understand what is going on. Maybe you should start from zero. Remember to run nc-update before using the NCP web interface or nextcloudpi-config
I am starting to loosing the believe that i can make it runningā¦
flashed it againā¦ plugged in and did just format to the usb drive then auto mount and then datadir
i did it all in tui and all went without errors