Problems with Z-Push and Nextcloud, likely after package updates today

My Mail-in-a-box installation suddenly developed some problems today, such as:

Nextcloud - unable to get the login screen, instead get the error:
Cannot write into "apps" directory. This can usually be fixed by giving the web server write access to the apps directory or disabling the App Store in the config file.

Checking permissions, both /home/user-data/owncloud and /usr/local/lib/owncloud are owned by: www-data www-data

Z-push - I am unable to connect, I get repeated prompts for passwords. z-push-error.log is full of authentication errors, for both the IMAP and CalDAV servers. All users are getting similar errors: Exception: (AuthenticationRequiredException) - Access denied. Username or password incorrect

Currently IMAP, Roundcube, and the Admin interface are working.

I am using Mailinabox v74, and I am up to date with package updates. Today, I noticed that there were some updates to nginx and php, and suspect these could be the source of the problem.

I tried rerunning the mailinabox command, and it completed. However, I did see one error message: Error: stepping, UNIQUE constraint failed: oc_users_external.uid, oc_users_external.backend (19) and the problems remained

I also tried rebooting, to no effect.

I could try upgrading to v75 to see if this fixes permission errors, but am reluctant to at this time, as I am worried this could just amplify the problem. I could also try restoring from backups, but this would not change any file permissions.

Thanks for any help,
Rob