How to create a raid on Owncloud already working?

ok looks like issues to connect to database

"message": "Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [1698] Access denied for user 'oc_admin'@'localhost'",

You could try to set an own/new one.

Try to grab the password from config file

root@DietPi:~# cat /var/www/owncloud/config/config.php | grep dbpassword 
  'dbpassword' => 'topsecret', 
root@DietPi:~#

Set new password for Owncloud

mysql -u root -e "SET PASSWORD FOR 'oc_admin'@localhost = PASSWORD(\"topsecret\");"
dietpi-services restart

looks like there is no such file or directory… I mean with this command cat /var/www/owncloud/config/config.php | grep dbpassword
this is the answer:

cat: /var/www/owncloud/config/config.php: No such file or directory/code]

I'm really in confusion now.
I'm seriously thinking to format everything and start again from the beginning...

I’ve started again from the beginning :face_with_raised_eyebrow:
re-flashed the dietpi image and again re-installing all the software

Now I’ve re-installed everything trying to connect through ssh it gives me this error:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the xxxxxxx key sent by the remote host is
SHA256:'a big string with a lot of letters and numbers'.
Please contact your system administrator.
Add correct host key in /Users/mymacuser/.ssh/known_hosts to get rid of this message.
Offending xxxxxx key in /Users/mymacuser/.ssh/known_hosts:4
Host key for 192.168.1.15 has changed and you have requested strict checking.
Host key verification failed.

What does it means?

This has already been covered here:
https://dietpi.com/forum/t/after-fresh-dietpi-install-ive-installed-some-software-and-reboot-now-ssh-says-warning-remote-host-identification/6265/1

ssh-keygen -R <YOUR HOSTNAME/IP>

Where should I use this command? In the terminal on the Mac or in dietpi using another device to connect?

on the Mac as you need to remove the host key from your Mac device. Because with the new install of DietPi, the host key has been changed.

done, thanks…
now I have to re-configure everything :wink: