Nextcloud will not mount usb storage
Nextcloud V.1.16.6
is set up on a RasberyPi 3 using https://ownyourbits.com/2017/02/13/nextcloud-ready-raspberry-pi-image/
Rabian is NOT installed. The only thing in the SD card are the file for Nextcloud.
this means when power is connected to the Pi it loads only a terminal, and runs Nextcloud
Screen 1:
I have the Pi 3 connected with ethernet cable and connected to a monitor. Thereās a USB Switch that lets me swap keyboard form computer, to Pi On Boot of the Pi, I see a login screen. Iām awareā¦
The default username of PI is
Username:pi
Password: rasbian
Login incorrectnextcloudpi Login: (waiting for another try) ā
Iām awareā¦
Default username and password of Nextcloud is
Username: npc
Password: ownyourbits
This doesnāt work.
So. Giving up on Screen 1 for a moment since I canāt do squat but try to log inā¦
Screen 2:
Screen 2 is the computer in the same network. Iām able to go to the IP of the pi (found using Angry Ip Scanner) and view the activation page. Iām able to run the at ip/wizard and set everything up. Iām able to log into Nextcloud and see the defualt files.
HOWEVER. at this point itās using the SD card. I have a 9T hard drive Iād like to use that is already filed with of .PDFs MP3, .TXT files. Simple stuff.
During the Wizard of Nextcloud setup I was able to set
āāAutomount USBāā I āāplugged it ināā pressed continue. The second screen showed ā¦something going onā¦
I continued.
No external options. After some googling discovered I needed to
User icon > Settings > Apps > enable External storage support Now when logging out and logging back in under settings thereās a new External Storage option
it wants me to map the drive and I donāt know what to type.
If I click the Pi icon at the top it kicks me to a back-end page with options. I can see nc-automount with a Checkmark
Automount USB drives by plugging them in
Plugged in USB drives will be automounted under /media on boot or at the moment of insertion. Format your drive as ext4/btrfs in order to move NC datafolder or database. VFAT or NTFS is not recommended for this task, as it does not suport permissions WARNING If you want add a second drive later, make sure you have added a LABEL to the first and all other drives to be mounted when formating, as they will then be mounted at /media/LABEL instead of /media/USBdrive IMPORTANT: halt or umount the drive before removing
Thereās a checkmark in active. It also shows a check mark when you select the options on theā¦ sidebar thing. itās active.
That sounds great! Except itās not working.
If I was able to log into the First screen I could run
sudo blkid
to show whatās connected. But I canāt log in screen one. Itās asking for a username I donāt know and a password I canāt seem to find after HOURS of searching.
Default password? ownyourbits rasbery i donāt knowā¦ halp.
Since I canāt log in to find the drives, and it;s not AUTO DETECTING THE DRIVE like it said it willā¦
Iām stuck.
PLEASE HALP
[/details]
Nextcloud V.1.16.6
Operating system and version _ Nextcloud image
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.1):
The issue you are facing:
Iām unable to mount a hard drive. I have a external hard drive Iām trying to use with Nextcloud, and when going to External Storages/ It wants the location of the drive.
I have the Pi connected to another monitor so I can type on it.
I have a login screen in terminal, (on the PI)
and can open Nextcloud from the other screen with a browser.
But I canāt log in on the PI!
username: Iāve tried ncp
Password: ownyourbits
Iāve tried
Username: ncp
Password Ownyourbits.
Iāve tried
Username: ncp
Password ownyourbits
If I could log in, I could run ls disk to map whats connected, then go back to the other screen and put that location in, letting Nextcloud map my drive.
But Iām stuck
Screen one: trying to log into the Pi.
Thereās no Rasbian on this card. itās just the live image of Nextcloud.
Meanwhile on the Nextcloud GUI I can log into nexcloud interface, but canāt see files. I can try to add a external hard drive but it wants me to type the location. I donāt know the location so Iām going to the other monitor and trying to log in.
I canāt log in, so finally Iām asking for some assistance.
Is this the first time youāve seen this error? (Y/N):
The output of your Nextcloud log in Admin > Logging:
Warning Login failed: 'ncp' (Remote IP: 'REDACTED')
2019-09-16T22:43:40-0700
Warning Login failed: 'ncp' (Remote IP: 'REDACTED')
2019-09-16T22:05:25-0700
Error Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'SELECT `id`, `numeric_id`, `available`, `last_checked` FROM `oc_storages` WHERE `id` IN (?)' with params ["local::\/var\/www\/nextcloud\/data\/"]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
PASTE HERE
The output of your Apache/nginx/system log in /var/log/____
:
Since I'm using a live image I'm not able to show the outout of var log. At least not without signing in first