20.0.6 login form not working

Nextcloud version 20.0.6
Operating system and version Ubuntu 20.04.2
Apache 2.2.41
PHP version 7.4.3

I was able to load the site and use it without issue. Went to sleep, woke up went to login and it just reloads the login page over and over. It puts the redirect url in the address bar and so I thought it may be having an issue setting the cookie. Tried multiple browsers, cleared the caches, etc. Still can’t login. So I thought okay lets try this. I wanted to see how far it was processing. I put in usernames that aren’t in the system. Exact same behavior, I then tried wrong passwords and still the same behavior. No error messages. It seems that the form never submits fully. So I assume maybe one of the checks is failing and now posting the alert message.

config.php

<?php
$CONFIG = array (
  'instanceid' => 'blah blah blah id',
  'passwordsalt' => 'blah blah blah key',
  'secret' => 'blah blah blah key',
  'trusted_domains' =>
  array (
    0 => 'my_domain',
  ),
  'datadirectory' => '/home/user/public_html/cloud/data',
  'dbtype' => 'mysql',
  'version' => '20.0.6.1',
  'overwrite.cli.url' => 'https://my_domain/cloud',
  'dbname' => 'cloud_database',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'cloud_user',
  'dbpassword' => 'password',
  'installed' => true,
);

It doesn’t output anything to apache or syslogs. I followed them and tried about 10 logins of all types and no output at all.

update —

I tried adding another account using the desktop app and I got this error.

Access forbidden

Your login token is invalid or has expired