Hmmm, I thought that the issue was due to an error on my part (see my post: Ncadmin database password and ncp update issues of earlier), but perhaps there are other gremlins at work here complicating matters!
Can you access via ssh? If so from inside the container ( docker exec -it nextcloudpi /bin/bash ) check what passwords are configured in /data/nextcloud/config/config.php