Probably let over from when I ran a different script. Caddy was running. Made some progress got nextcloud to do a clean install. Had to comment out the overwrite.cli.url and overwritehost lines from the config.php to get it to run. My data is from version 20.0.4 so I think I have to install that version in order to restore my data. Change to FILE variablewonder where they came from.
#FILE="latest-${NEXTCLOUD_VERSION}.tar.bz2"
FILE="nextcloud-20.0.4.tar.bz2"
but getting errors dropping the old DB
Code:
Dropping old Nextcloud DB... ERROR 1045 (28000): Access denied for user 'nextcloud'@'localhost' (using password: YES) Done Creating new DB for Nextcloud... ERROR 1045 (28000): Access denied for user 'nextcloud'@'localhost' (using password: YES) Done Restoring backup DB... ERROR 1045 (28000): Access denied for user 'nextcloud'@'localhost' (using password: YES) Done
Will keep working on it and then move on to getting your caddy reverse proxy working with it again.