iv’e done that as well but from the /config.php
I dot not get that screen when navigating to the webpage. That page was completed during the initial setup and does not showup when moving the files.
iv’e done that as well but from the /config.php
I dot not get that screen when navigating to the webpage. That page was completed during the initial setup and does not showup when moving the files.
this is what it shows with ls
pi@raspberrypi:~ $ sudo ls -la /media/pi/nc_dataStore/data
total 1012
drwxr-x— 6 www-data www-data 4096 Feb 1 11:54 .
drwxr-xr-x 3 www-data www-data 4096 Feb 1 11:58 …
drwxr-xr-x 10 www-data www-data 4096 Feb 1 10:40 appdata_ocbhjbhnbccz
drwxr-xr-x 2 www-data www-data 4096 Feb 1 10:39 files_external
drwxr-xr-x 5 www-data www-data 4096 Feb 1 10:41 george
-rw-r–r-- 1 www-data www-data 324 Feb 1 10:39 .htaccess
-rw-r–r-- 1 www-data www-data 0 Feb 1 10:39 index.html
drwxr-xr-x 4 www-data www-data 4096 Feb 1 10:40 nc_admin
-rw-r----- 1 www-data www-data 118287 Feb 1 11:54 nextcloud.log
-rw-r–r-- 1 www-data www-data 0 Feb 1 10:39 .ocdata
-rw-r–r-- 1 www-data www-data 888832 Feb 1 11:54 owncloud.db
and attached pic shows how it looks when navigating to the web page
Ok, try the following:
# delete old database
mysql -u root -p
# enter password
DROP DATABASE nextcloud;
Quit;
# delete old files
cd /media/pi/nc_dataStore/data
rm -R *
cd /var/www/html
rm -R nextcloud
# download new instance
cd /var/www/html
wget https://download.nextcloud.com/server/releases/latest-15.zip
unzip latest-15.zip
rm latest-15.zip
chown-R www-data:www-data nextcloud
Now call the cloud as before. Can you now see mentioned webpage dialogue?
first command error
pi@raspberrypi:~ $ mysql -u root -p
-bash: mysql: command not found
Well, just seen that the manual used Sqlite. No idea how to get rid of the old database.
Is this helpful?:
https://www.quackit.com/sqlite/tutorial/drop_a_database.cfm
You can install MySQL if you want:
sudo apt-get install mysql-server
sudo mysql_secure_installation
ah the default database used is SQLlite not MySQL.